mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 14:48:08 +02:00
Merge pull request #15023 from Snuffleupagus/prefer-array-flat
Enable the `unicorn/prefer-array-flat` and `unicorn/prefer-array-flat-map` ESLint plugin rules
This commit is contained in:
commit
26ae50e449
2 changed files with 3 additions and 1 deletions
|
@ -49,6 +49,8 @@
|
|||
"unicorn/no-new-buffer": "error",
|
||||
"unicorn/no-instanceof-array": "error",
|
||||
"unicorn/no-useless-spread": "error",
|
||||
"unicorn/prefer-array-flat": "error",
|
||||
"unicorn/prefer-array-flat-map": "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