We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unicorn/switch-case-braces
1 parent 7c5cb97 commit 8afecc3Copy full SHA for 8afecc3
configurations/base/plugins/unicorn.js
@@ -470,7 +470,7 @@ module.exports = {
470
471
// Enforce consistent brace style for `case` clauses (autofixable)
472
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/switch-case-braces.md
473
- '+unicorn/switch-case-braces': ['warn', 'always'],
+ '+unicorn/switch-case-braces': ['warn', 'avoid'],
474
475
// Fix whitespace-insensitive template indentation (autofixable)
476
// https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/template-indent.md
0 commit comments