no-dupe-class-members
Configuration
rslint.config.ts
Rule Details
Disallow duplicate class members.
If there are declarations of the same name in class members, the last declaration overwrites other declarations silently. It can cause unexpected behaviors.
This rule extends the base ESLint no-dupe-class-members rule to support TypeScript method overload signatures, which should not be flagged as duplicates.
Examples of incorrect code for this rule:
Examples of correct code for this rule: