vetkit.js.quality.duplicate-else-if-condition
This else-if branch repeats an earlier condition in the same chain, so it can never run.
Last updated:
Suite: Code quality
javascript, typescript
This else-if branch repeats an earlier condition in the same chain, so it can never run.
Category: QUALITY · Engine rule severity: WARNING
How to fix it
Fix the condition of the duplicated branch or remove the dead branch.
References
Source: packages/engine/rules/quality/javascript.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.