Rule Change: Add suggestion fixer to no-case-declarations #18349
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
What rule do you want to change?
no-case-declarations
What change do you want to make?
Implement suggestions
How do you think the change should be implemented?
A new default behavior
Example code
What does the rule currently do for this code?
No fixers or suggestions, per #15851.
What will the rule do after it's changed?
Add a suggestion to wrap the
case 1
's consequent in{}
:Participation
Additional comments
The discussion in
The text was updated successfully, but these errors were encountered: