jsx-eslint/eslint-plugin-react
Auf GitHub ansehen`react/prop-types`: Option to force TypeScript and propTypes
Open
#3.107 geöffnet am 20. Okt. 2021
enhancementhelp wantedtypescript
Repository-Metriken
- Stars
- (8.630 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
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.