eslint-plugin-sonarjs
Version:
10 lines (5 loc) ⢠303 B
Markdown
# sonarjs/index-of-compare-to-positive-number
š "indexOf" checks should not be for positive numbers.
š¼ 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 -->