Skip to content

Commit

Permalink
feat(eslint-config-react): disable react/prop-types rule
Browse files Browse the repository at this point in the history
TypeScript removes the need for prop types
  • Loading branch information
spotify-kai committed Apr 6, 2021
1 parent 1696b5e commit d445345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-react/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
// Prevent usage of unknown DOM property
'react/no-unknown-property': 2,
// Prevent missing props validation in a React component definition
'react/prop-types': 2,
'react/prop-types': 0,
// Prevent missing React when using JSX
'react/react-in-jsx-scope': 2,
// Restrict file extensions that may be required
Expand Down

0 comments on commit d445345

Please sign in to comment.