0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00

refactor: actived the rule jsx-no-duplicate-props

This commit is contained in:
Priscila Oliveira 2019-01-06 11:35:43 +01:00
parent d349b2f0d4
commit 412efb6ceb

View file

@ -85,7 +85,7 @@
"react/jsx-max-props-per-line": ["error", {"maximum": 3, "when": "multiline" }], "react/jsx-max-props-per-line": ["error", {"maximum": 3, "when": "multiline" }],
"react/jsx-no-bind": ["error"], "react/jsx-no-bind": ["error"],
"react/jsx-no-comment-textnodes": ["warn"], "react/jsx-no-comment-textnodes": ["warn"],
"react/jsx-no-duplicate-props": ["warn"], "react/jsx-no-duplicate-props": ["error"],
"react/jsx-no-literals": ["error"], "react/jsx-no-literals": ["error"],
"react/jsx-no-undef": ["error"], "react/jsx-no-undef": ["error"],
"react/jsx-one-expression-per-line": ["error", {"allow": "single-child"}], "react/jsx-one-expression-per-line": ["error", {"allow": "single-child"}],