constructor-super
Configuration
rslint.config.ts
Rule Details
Verifies that constructors of derived classes (classes that extend another class) call super(), and that constructors of non-derived classes do not call super(). Also detects duplicate super() calls in the same constructor and ensures super() is called in all code paths.
Examples of incorrect code for this rule:
Examples of correct code for this rule: