mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Update the eslint-plugin-unicorn
package to the latest version
Also enables the `no-useless-spread` rule, see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/no-useless-spread.md, which didn't require any code changes.
This commit is contained in:
parent
014d00e4fb
commit
d0c87e13ce
3 changed files with 6 additions and 11 deletions
|
@ -47,6 +47,7 @@
|
|||
"unicorn/no-abusive-eslint-disable": "error",
|
||||
"unicorn/no-array-push-push": "error",
|
||||
"unicorn/no-instanceof-array": "error",
|
||||
"unicorn/no-useless-spread": "error",
|
||||
"unicorn/prefer-string-starts-ends-with": "error",
|
||||
|
||||
// Possible errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue