jsx-eslint/eslint-plugin-react
在 GitHub 查看`react/prop-types`: Option to force TypeScript and propTypes
Open
#3,107 建立於 2021年10月20日
enhancementhelp wantedtypescript
倉庫指標
- Star
- (8,630 star)
- PR 合併指標
- (30 天內沒有已合併 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.