You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should this rule be split into three rules if it needs to be based on proposals?
(no-class-fields, no-static-class-features and no-private-methods ?)
What do you think?
Yes it would be nice to split this rule into multiple rules to have fine control over what we want or not in our code.
For example, personally I am only interested in disabling private methods.
Please describe what the rule should do:
Disallows Class Fields added in ES2022.
https://github.com/estree/estree/blob/master/es2022.md
Provide 2-3 code examples that this rule will warn about:
https://github.com/tc39/proposal-class-fields
https://github.com/tc39/proposal-private-methods
https://github.com/tc39/proposal-static-class-features
The text was updated successfully, but these errors were encountered: