Skip to content

Commit dfc722f

Browse files
matthargettthymikee
authored andcommitted
feat: disable no-unused-prop-types rule (#59)
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
1 parent 8c77528 commit dfc722f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = {
2626
'promise/prefer-await-to-then': WARNING,
2727
'react/display-name': OFF,
2828
'react/no-multi-comp': [WARNING, { "ignoreStateless": true }],
29+
'react/no-unused-prop-types': OFF,
2930
'react/prop-types': OFF,
3031
'react-native/no-unused-styles': ERROR,
3132
'no-unused-vars': [ERROR, { 'argsIgnorePattern': '^_', 'caughtErrorsIgnorePattern': '^_' }],

0 commit comments

Comments
 (0)