eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
8 lines (4 loc) ⢠324 B
Markdown
# A "while" loop should be used instead of a "for" loop (`sonarjs/prefer-while`)
š¼ This rule is enabled in the ā
`recommended` config.
š§ This rule is automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/latest/user-guide/command-line-interface#--fix).
<!-- end auto-generated rule header -->