SonarSource / eslint-plugin-sonarjs

SonarJS rules for ESLint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no-one-iteration-loop is obsolete, recommend eslint built-in rule instead

lostfictions opened this issue · comments

commented

I want to provide the following feedback.

no-one-iteration-loop already exists in the eslint built-in rules under the name no-unreachable-loop, introduced in eslint 7.3.0 (June 2020). no-one-iteration-loop should probably be deprecated in favour of the built-in rule to avoid confusion and duplicate warnings.

Rule key: no-one-iteration-loop

This issue has been migrated to Jira. ESLINTJS-18