mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
JavaScript: Add new query UnusedIndexVariable.
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
| **Query** | **Tags** | **Purpose** |
|
||||
|---------------------------------------------------------------------------|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| Unused index variable (`js/unused-index-variable`) | correctness | Highlights loops that iterate over an array, but do not use the index variable to access array elements, indicating a possible typo or logic error. |
|
||||
|
||||
|
||||
## Changes to existing queries
|
||||
|
||||
Reference in New Issue
Block a user