eslint: enable no-useless-fragment rule by default
This rule is not part of the standard ESLint recommends set but is useful and can be auto-fixed.
This commit is contained in:
parent
24c0543adf
commit
c86352d179
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
"quotes": "off",
|
"quotes": "off",
|
||||||
"react/jsx-curly-spacing": "off",
|
"react/jsx-curly-spacing": "off",
|
||||||
"react/jsx-indent-props": "off",
|
"react/jsx-indent-props": "off",
|
||||||
|
"react/jsx-no-useless-fragment": "error",
|
||||||
"react/prop-types": "off",
|
"react/prop-types": "off",
|
||||||
"space-before-function-paren": "off",
|
"space-before-function-paren": "off",
|
||||||
"standard/no-callback-literal": "off"
|
"standard/no-callback-literal": "off"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue