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.

貢獻者指南