rome/tools
View on GitHub馃搸 `useForOf`, prefer-for-of, @typescript-eslint/prefer-for-of
Open
#4,174 opened on Jan 24, 2023
A-LinterHelp wantedI-Normalgood first issuetask
Description
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).