From e374bc051c2794451a6004880ef46582bc56ca66 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Mon, 22 Apr 2024 17:29:11 +0200 Subject: [PATCH] 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. --- .eslintrc.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.json b/.eslintrc.json index c0d51d5..3591615 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -37,6 +37,7 @@ "quotes": "off", "react/jsx-curly-spacing": "off", "react/jsx-indent-props": "off", + "react/jsx-no-useless-fragment": "error", "react/prop-types": "off", "space-before-function-paren": "off", "standard/no-callback-literal": "off"