From d0b92774bc0b8d7cba32e2eef60399721c9a233b Mon Sep 17 00:00:00 2001 From: Athou Date: Thu, 4 Apr 2024 07:53:28 +0200 Subject: [PATCH] remove unnecessary curly braces automatically --- commafeed-client/.eslintrc.cjs | 1 + 1 file changed, 1 insertion(+) diff --git a/commafeed-client/.eslintrc.cjs b/commafeed-client/.eslintrc.cjs index f5d572a34..579f7751d 100644 --- a/commafeed-client/.eslintrc.cjs +++ b/commafeed-client/.eslintrc.cjs @@ -44,6 +44,7 @@ module.exports = { "@typescript-eslint/prefer-nullish-coalescing": ["error", { ignoreConditionalTests: true }], "@typescript-eslint/restrict-template-expressions": ["error", { allowNumber: true }], "@typescript-eslint/strict-boolean-expressions": "off", + "react/jsx-curly-brace-presence": ["error", "never"], "react/no-unescaped-entities": "off", "react/react-in-jsx-scope": "off", "react-hooks/exhaustive-deps": "error",