eslint-plugin-es
eslint-plugin-es copied to clipboard
New Rule Proposal: `no-class-static-block`
Please describe what the rule should do:
Disallow class static initialization blocks added in ES2022.
https://github.com/tc39/proposal-class-static-block
Provide 2-3 code examples that this rule will warn about:
class C {
static {
// ...
}
}