Rules
no-prop-types
Full Name in eslint-plugin-react-x
Full Name in @eslint-react/eslint-plugin
Features
🔍
Presets
corerecommendedrecommended-typescriptrecommended-type-checked
What it does
Disallows using propTypes property in favor of TypeScript or another type-checking solution.
PropTypes were deprecated in April 2017 (v15.5.0).
The propType checks will be removed from the React package, and using them will be silently ignored. If you’re using propTypes, it is recommend to migrate to TypeScript or another type-checking solution.