no-setter-return
Configuration
rslint.config.ts
Rule Details
Disallows returning a value from a setter. Setters cannot meaningfully return values since any return value is silently ignored by the JavaScript engine. A bare return; (without a value) is allowed for control flow purposes.
Examples of incorrect code for this rule:
Examples of correct code for this rule: