From e09d7193a24a89733cb737643f52a7984296f62b Mon Sep 17 00:00:00 2001 From: David Anson Date: Wed, 5 Oct 2022 05:52:54 +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 5bed8063..d5c76535 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -205,7 +205,8 @@ "unicorn/prefer-string-replace-all": "off", "unicorn/prefer-string-slice": "off", "unicorn/prefer-switch": "off", - "unicorn/prevent-abbreviations": "off" + "unicorn/prevent-abbreviations": "off", + "unicorn/switch-case-braces": ["error", "avoid"] }, "settings": { "jsdoc": {