Skip to content

Commit a5e3068

Browse files
committed
updated rules
1 parent dbd70e0 commit a5e3068

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ module.exports = {
5151
'jsx-a11y/no-static-element-interactions': 0, // allow click handler on <div>
5252
'no-unused-expressions': [2, { allowShortCircuit: true }], // allow x && y()
5353
'import/no-extraneous-dependencies': [2, { devDependencies: true }], // so can import enzyme, which is dev dependencies
54+
'react/jsx-props-no-spreading': 0, // allow passing in props like { ...restProps }
5455
},
5556

5657
// don't know what these are... generated by eslint --init

0 commit comments

Comments
 (0)