jsx-eslint/eslint-plugin-react

`react/prop-types`: Option to force TypeScript and propTypes

Open

#3107 aperta il 20 ott 2021

Vedi su GitHub
 (4 commenti) (4 reazioni) (0 assegnatari)JavaScript (2797 fork)batch import
enhancementhelp wantedtypescript

Metriche repository

Star
 (8630 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Currently react/prop-types will validate prop types regardless of how I define them. I would like to force that both propTypes and TypeScript types are defined.

Guida contributor