Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create rule: Disallow lexical declarations in case/default clauses #690

Closed
fmallet opened this issue Aug 2, 2017 · 3 comments · Fixed by #4312
Closed

Create rule: Disallow lexical declarations in case/default clauses #690

fmallet opened this issue Aug 2, 2017 · 3 comments · Fixed by #4312
Assignees
Labels
type: new rule Creating a new rule not existing before
Milestone

Comments

@fmallet
Copy link
Contributor

fmallet commented Aug 2, 2017

http://eslint.org/docs/rules/no-case-declarations.html

@vilchik-elena vilchik-elena added this to the 3.2 milestone Aug 28, 2017
@vilchik-elena vilchik-elena removed this from the 3.2 milestone Sep 12, 2017
@vilchik-elena vilchik-elena added type: new rule Creating a new rule not existing before and removed rule labels Jul 1, 2020
@vilchik-elena
Copy link
Contributor

a nice rule!

@vilchik-elena vilchik-elena added this to the New Rules milestone Apr 25, 2022
@vilchik-elena vilchik-elena modified the milestones: New Rules, 9.4 Jun 7, 2022
@vilchik-elena vilchik-elena removed this from the 9.4 milestone Jun 23, 2022
@ilia-kebets-sonarsource
Copy link
Contributor

in the latest ESLint recommended rules review, we decided to add this as a new rule, but didn't go through with it for some reason.

@yassin-kammoun-sonarsource
Copy link
Contributor

in the latest ESLint recommended rules review, we decided to add this as a new rule, but didn't go through with it for some reason.

I think we either forgot to create a new ticket for the rule or we realize this one existed but didn't label it with the mmf label.

@yassin-kammoun-sonarsource yassin-kammoun-sonarsource changed the title Rule: Disallow lexical declarations in case/default clauses Create new rule: Disallow lexical declarations in case/default clauses Sep 27, 2023
@yassin-kammoun-sonarsource yassin-kammoun-sonarsource changed the title Create new rule: Disallow lexical declarations in case/default clauses Create rule: Disallow lexical declarations in case/default clauses Sep 27, 2023
@ilia-kebets-sonarsource ilia-kebets-sonarsource added this to the 10.9 milestone Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: new rule Creating a new rule not existing before
Projects
None yet
4 participants