Skip to content

Commit 73f71d9

Browse files
committed
[eslint config] [breaking] enable react/jsx-props-no-spreading
1 parent 089022a commit 73f71d9

File tree

1 file changed

+1
-2
lines changed
  • packages/eslint-config-airbnb/rules

1 file changed

+1
-2
lines changed

packages/eslint-config-airbnb/rules/react.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,8 +491,7 @@ module.exports = {
491491

492492
// Disallow JSX props spreading
493493
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-props-no-spreading.md
494-
// TODO: enable, semver-major
495-
'react/jsx-props-no-spreading': ['off', {
494+
'react/jsx-props-no-spreading': ['error', {
496495
html: 'enforce',
497496
custom: 'enforce',
498497
exceptions: [],

0 commit comments

Comments
 (0)