๐ Feature: Remove the manual disable of no-case-declarations
Closed this issue ยท 1 comments
JoshuaKGoldberg commented
Bug Report Checklist
- I have pulled the latest
main
branch of the repository. - I have searched for related issues and found none that matched my issue.
Overview
I've had a manual disable of https://eslint.org/docs/latest/rules/no-case-declarations in this template for a while. But it doesn't really need to be there. Let's remove it to simplify the config.
Additional Info
I believe I'd added it in out of irritation for not wanting to wrap case
statements with {}
blocks. But that actually is semantically what the rule is trying to enforce, for some good reasons.
github-actions commented