standard / eslint-config-standard

ESLint Config for JavaScript Standard Style
https://standardjs.com
MIT License
2.6k stars 565 forks source link

Switch braces #404

Open flippidippi opened 5 months ago

flippidippi commented 5 months ago

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