avoid-unnecessary-super
preset: recommended
Warns when a constructor has an unnecessary super
invocation.
Example
❌ Bad:
class Base {}
class Subclass extends Base {
const Subclass() : super(); // LINT
}
✅ Good:
class Base {}
class Subclass extends Base {
const Subclass();
}