This repository was archived by the owner on Aug 31, 2023. It is now read-only.
This repository was archived by the owner on Aug 31, 2023. It is now read-only.
useForOf, prefer-for-of, @typescript-eslint/prefer-for-of #4174
Description
https://typescript-eslint.io/rules/prefer-for-of
This rule forces loop functions to use
for ofif 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).