rome/tools
ð `useForOf`, prefer-for-of, @typescript-eslint/prefer-for-of
ãªãŒãã³
#4,174 opened on 2023/01/24
A-LinterHelp wantedI-Normalgood first issuetask
Repository metrics
- Stars
-  (23,438 åã®ã¹ã¿ãŒ)
- PR merge metrics
-  (30d ã« merged PR ã¯ãããŸãã)
説æ
Description
https://typescript-eslint.io/rules/prefer-for-of
This rule forces loop functions to use for of if the index of a for loop is never used, greatly improving readability and ensuring there are no unused variables being referenced (in this case, the index variable).