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:
Jelle van der Waa 2024-04-22 17:29:11 +02:00 committed by Martin Pitt
parent 24c0543adf
commit c86352d179

View file

@ -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"