no-dupe-else-if
Configuration
rslint.config.ts
Rule Details
Disallow duplicate conditions in if-else-if chains. If an else if condition is identical to a previous condition in the same chain, the branch can never execute.
Examples of incorrect code for this rule:
Examples of correct code for this rule: