-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionfeatureThis change adds a new feature to ESLintThis change adds a new feature to ESLintruleRelates to ESLint's core rulesRelates to ESLint's core rules
Description
Rule details
Restricts empty static blocks
Related ECMAScript feature
https://github.com/tc39/proposal-class-static-block
What type of rule is this?
Enforces a formatting/stylistic preference
Example code
class Foo {
static {
}
}
Why should this rule be in the core instead of a plugin?
Static blocks is a core feature of ECMAScript
Participation
- I am willing to submit a pull request to implement this rule.
Additional comments
no-empty (or no-empty-function?)neither, possibly a new rule.
mdjermanovic, haykam821, snitin315 and aladdin-add
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionfeatureThis change adds a new feature to ESLintThis change adds a new feature to ESLintruleRelates to ESLint's core rulesRelates to ESLint's core rules
Type
Projects
Status
Complete