jsx-eslint/eslint-plugin-react
`react/prop-types`: Option to force TypeScript and propTypes
Open
#3,107 opened on Oct 20, 2021
enhancementhelp wantedtypescript
Repository metrics
- Stars
- (9,294 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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.