tools icon indicating copy to clipboard operation
tools copied to clipboard

📎 `useForOf`, prefer-for-of, @typescript-eslint/prefer-for-of

Open jpike88 opened this issue 2 years ago • 2 comments

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).

jpike88 avatar Jan 24 '23 08:01 jpike88

@jpike88 is this open to work on? If so, I'd love to have a look

PatrM avatar Jun 13 '23 15:06 PatrM

It's available :) I will assign it to you

ematipico avatar Jun 13 '23 17:06 ematipico