Rule Change: option to not require semicolons after class properties #15381
Labels
archived due to age
This issue has been archived; please open a new issue for any further discussion
enhancement
This change enhances an existing feature of ESLint
rule
Relates to ESLint's core rules
Projects
What rule do you want to change?
semi
.What change to do you want to make?
Generate fewer warnings.
How do you think the change should be implemented?
A new option.
Example code
What does the rule currently do for this code?
In the example above,
semi
currently requires semicolons after the declarations ofa
,b
andbar
(class properties), but not forfoo
(method).What will the rule do after it's changed?
It'd be great to have an option to exclude semicolons checks for class properties, but still requires them everywhere else.
Participation
Additional comments
This was actually the previous behavior, before
semi
was updated to support class properties, I think in #14857.The text was updated successfully, but these errors were encountered: