From d7fae4d75e6af42ade3f0a7b06712bcf5a9af693 Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 5 Oct 2022 05:57:42 +0000 Subject: [PATCH] Customize new ESLint rule unicorn/switch-case-braces. --- .eslintrc.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.json b/.eslintrc.json index fab8b40..f82f882 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -65,6 +65,7 @@ "unicorn/no-array-callback-reference": "off", "unicorn/no-unsafe-regex": "off", "unicorn/prefer-module": "off", - "unicorn/prefer-top-level-await": "off" + "unicorn/prefer-top-level-await": "off", + "unicorn/switch-case-braces": ["error", "avoid"] } }