Enable no-duplicate-props lint rule
Reviewed By: davidaurelio Differential Revision: D3281234 fbshipit-source-id: 1b382694ad7a647464add4d1c856e7dde472205d
This commit is contained in:
parent
cd9271567f
commit
ca1caf2713
|
@ -221,17 +221,19 @@
|
||||||
|
|
||||||
"react/display-name": 0,
|
"react/display-name": 0,
|
||||||
"react/jsx-boolean-value": 0,
|
"react/jsx-boolean-value": 0,
|
||||||
|
"react/jsx-no-duplicate-props": 2,
|
||||||
"react/jsx-no-undef": 1,
|
"react/jsx-no-undef": 1,
|
||||||
"react/jsx-sort-props": 0,
|
"react/jsx-sort-props": 0,
|
||||||
"react/jsx-uses-react": 0,
|
"react/jsx-uses-react": 1,
|
||||||
"react/jsx-uses-vars": 1,
|
"react/jsx-uses-vars": 1,
|
||||||
"react/no-did-mount-set-state": [1, "allow-in-func"],
|
"react/no-did-mount-set-state": [1, "allow-in-func"],
|
||||||
"react/no-did-update-set-state": [1, "allow-in-func"],
|
"react/no-did-update-set-state": [1, "allow-in-func"],
|
||||||
"react/no-multi-comp": 0,
|
"react/no-multi-comp": 0,
|
||||||
|
"react/no-string-refs": 1,
|
||||||
"react/no-unknown-property": 0,
|
"react/no-unknown-property": 0,
|
||||||
"react/prop-types": 0,
|
"react/prop-types": 0,
|
||||||
"react/react-in-jsx-scope": 0,
|
"react/react-in-jsx-scope": 1,
|
||||||
"react/self-closing-comp": 1,
|
"react/self-closing-comp": 1,
|
||||||
"react/wrap-multilines": 0
|
"react/wrap-multilines": 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue