Skip to content
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

@jpike88

Description

@jpike88

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LinterArea: linterHelp wantedHelp would be really appreciatedI-NormalImplementation: normal understanding of the tool and awarenessgood first issueGood for newcomerstaskA task, an action that needs to be performed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions