Skip to content

Commit 8afecc3

Browse files
committed
fix(base): Avoid braces in switch statements (unicorn/switch-case-braces)
Was misconfigured
1 parent 7c5cb97 commit 8afecc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configurations/base/plugins/unicorn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ module.exports = {
470470

471471
// Enforce consistent brace style for `case` clauses (autofixable)
472472
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
473-
'+unicorn/switch-case-braces': ['warn', 'always'],
473+
'+unicorn/switch-case-braces': ['warn', 'avoid'],
474474

475475
// Fix whitespace-insensitive template indentation (autofixable)
476476
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/template-indent.md

0 commit comments

Comments
 (0)