eslint-plugin-sonarjs
Version:
SonarJS rules for ESLint
8 lines (4 loc) ⢠300 B
Markdown
# "indexOf" checks should not be for positive numbers (`sonarjs/index-of-compare-to-positive-number`)
š¼ This rule is enabled in the ā
`recommended` config.
š This rule requires [type information](https://typescript-eslint.io/linting/typed-linting).
<!-- end auto-generated rule header -->