Skip to content

Commit

Permalink
feat: disable no-unused-prop-types rule (#59)
Browse files Browse the repository at this point in the history
We ran into a few false positives with this rule, and it turns out there are over a dozen issues filed in eslint-plugin-react and a few unmerged PRs. Disabling it for now.

I sifted through the numerous false positive issues, and added a reduction of one of our cases that seemed to match:
jsx-eslint/eslint-plugin-react#1764
  • Loading branch information
matthargett authored and thymikee committed May 31, 2019
1 parent 8c77528 commit dfc722f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -26,6 +26,7 @@ module.exports = {
'promise/prefer-await-to-then': WARNING,
'react/display-name': OFF,
'react/no-multi-comp': [WARNING, { "ignoreStateless": true }],
'react/no-unused-prop-types': OFF,
'react/prop-types': OFF,
'react-native/no-unused-styles': ERROR,
'no-unused-vars': [ERROR, { 'argsIgnorePattern': '^_', 'caughtErrorsIgnorePattern': '^_' }],
Expand Down

0 comments on commit dfc722f

Please sign in to comment.