vetkit.js.quality.self-assignment
A variable is assigned to itself. This has no effect and usually indicates a typo.
Last updated:
Suite: Code quality
javascript, typescript
A variable is assigned to itself. This has no effect and usually indicates a typo.
Category: QUALITY · Engine rule severity: WARNING
How to fix it
Assign the intended value (often a parameter or another property with a similar name).
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.