mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Enable the prefer-array-index-of
ESLint plugin rule
https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-array-index-of.md
This commit is contained in:
parent
05cab5c17d
commit
1c9a702f73
2 changed files with 3 additions and 4 deletions
|
@ -51,6 +51,7 @@
|
|||
"unicorn/no-useless-spread": "error",
|
||||
"unicorn/prefer-array-flat": "error",
|
||||
"unicorn/prefer-array-flat-map": "error",
|
||||
"unicorn/prefer-array-index-of": "error",
|
||||
"unicorn/prefer-at": "error",
|
||||
"unicorn/prefer-date-now": "error",
|
||||
"unicorn/prefer-dom-node-append": "error",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue