standard / eslint-config-standard

ESLint Config for JavaScript Standard Style

Home Page:https://standardjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch braces

flippidippi opened this issue · comments

What version of this package are you using?
17.1.0

What problem do you want to solve?
There is no rule enforcing opinion on switch/case braces.
I think we should force them to be consistent, and it would help be consistent in avoiding no-case-declarations.

What do you think is the correct solution to this problem?
Add a rule to enforce switch/case braces

Are you willing to submit a pull request to implement this change?
Yes