We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
react/jsx-props-no-spreading
1 parent 99e3882 commit 874fdc0Copy full SHA for 874fdc0
src/config/__tests__/__snapshots__/eslintrc.js.snap
@@ -127,6 +127,7 @@ Object {
127
},
128
],
129
"prettier/prettier": "error",
130
+ "react/jsx-props-no-spreading": "off",
131
"react/prop-types": "error",
132
133
}
src/config/eslintrc-react.js
@@ -1,3 +1,11 @@
1
const {buildConfig} = require('./helpers/build-eslint')
2
3
-module.exports = buildConfig({withReact: true})
+const {rules, ...rest} = buildConfig({withReact: true})
4
+
5
+module.exports = {
6
+ rules: {
7
+ 'react/jsx-props-no-spreading': 'off',
8
+ ...rules,
9
+ },
10
+ ...rest,
11
+}
0 commit comments