jsx-eslint/eslint-plugin-react

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

Open

#3,107 创建于 2021年10月20日

在 GitHub 查看
 (4 评论) (4 反应) (0 负责人)JavaScript (8,630 star) (2,797 fork)batch import
enhancementhelp wantedtypescript

描述

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.

贡献者指南