Skip to content

es-x/no-class-static-fields

disallow static class fields

This rule reports static class fields as errors.

💡 Examples

⛔ Examples of incorrect code for this rule:

Now loading...

🚀 Version

This rule was introduced in v8.0.0.

📚 References