rome/tools

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

オヌプン

#4,174 opened on 2023/01/24

 (2 件のコメント) (0 件のリアクション) (0 人の担圓者)Rust (647 件のフォヌク)batch import
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).

コントリビュヌタヌガむド