Skip to content

Commit

Permalink
fix: rule react/jsx-props-no-spreading disabled
Browse files Browse the repository at this point in the history
The rule is inherited from `eslint-config-airbnb/rules/react` but considered superfluous for this package.
  • Loading branch information
d.dekhanov authored and SuperOleg39 committed Oct 14, 2021
1 parent 1baefce commit 04b992a
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 @@ -124,7 +124,7 @@ module.exports = {
'jsx-a11y/click-events-have-key-events': 'warn',
'jsx-a11y/mouse-events-have-key-events': 'warn',
'class-methods-use-this': 'off',
'react/jsx-props-no-spreading': 'warn',
'react/jsx-props-no-spreading': 'off',
'no-underscore-dangle': 'off',
},
};

0 comments on commit 04b992a

Please sign in to comment.