no-duplicate-enum-values
Configuration
rslint.config.ts
Rule Details
Disallows duplicate enum member values. Enum members that share the same literal value (number, string, or template literal) are almost always a mistake. This rule checks for duplicate initializer values within a single enum declaration.
Examples of incorrect code for this rule:
Examples of correct code for this rule: