eslint/constructor-super Nursery ​
What it does ​
Require 'super()' calls in constructors.
Why is this bad? ​
Example ​
javascript
class A extends B {
constructor() {}
}
How to use ​
To enable this rule in the CLI or using the config file, you can use:
bash
oxlint --deny constructor-super
json
{
"rules": {
"constructor-super": "error"
}
}