# 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 -->
