[Refactor] Prefer includes over indexOf -1 (#646)

Enables ESLint auto-fix rule.
This commit is contained in:
filtered
2025-02-28 19:53:29 +11:00
committed by GitHub
parent 7b19abf83a
commit b4688e18f9
3 changed files with 4 additions and 5 deletions

View File

@@ -71,7 +71,6 @@ export default tseslint.config(
"unicorn/prefer-structured-clone": "off",
"unicorn/prefer-switch": "off",
"unicorn/prefer-ternary": "off",
"unicorn/prefer-includes": "off",
// Disable rules
"unicorn/consistent-function-scoping": "off",