no-constructor-return
Configuration
rslint.config.ts
Rule Details
Disallows return statements that return a value from class constructors. Returning a value from a constructor of a class is usually a mistake, as the returned value is only used when the constructor is called without new. Bare return statements (without a value) are allowed for flow control purposes.
Examples of incorrect code for this rule:
Examples of correct code for this rule: