Skip to content

Commit 8a766a8

Browse files
committed
get rid of superfluous eslint warnings for props.children and props.className
1 parent 8f8abba commit 8a766a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"react/no-did-mount-set-state": 1,
2424
"react/no-did-update-set-state": 1,
2525
"react/no-multi-comp": 1,
26-
"react/prop-types": 1,
26+
"react/prop-types": [1, { ignore: [children, className] }],
2727
"react/react-in-jsx-scope": 1,
2828
"react/self-closing-comp": 1,
2929
"react/wrap-multilines": 1,

0 commit comments

Comments
 (0)