jsx-eslint/eslint-plugin-react

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

Open

#3,107 opened on 2021年10月20日

GitHub で見る
 (4 comments) (4 reactions) (0 assignees)JavaScript (2,797 forks)batch import
enhancementhelp wantedtypescript

Repository metrics

Stars
 (8,630 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド