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 (2,797 fork)batch import
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.

贡献者指南