Skip to content

Commit

Permalink
Downgrade eslint react/prop-types rule to warning.
Browse files Browse the repository at this point in the history
From jsx-eslint/eslint-plugin-react#2135, it seems that this may be an error in the eslint plugin?
  • Loading branch information
jasongrout committed Aug 28, 2020
1 parent 4ee83bd commit 7e71d98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ module.exports = {
'jest/no-jest-import': 'off',
'jest/no-export': 'warn',
'jest/no-try-expect': 'warn',
'jest/expect-expect': 'off'
'jest/expect-expect': 'off',
'react/prop-types': 'warn'
},
settings: {
react: {
Expand Down

0 comments on commit 7e71d98

Please sign in to comment.