1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 06:38:07 +02:00

Upgrade eslint to version 9

This is unblocked now that all dependencies have been updated and the
flat configuration format (compatible with ESLint 8 and 9) was
introduced first. The following deprecation warnings during `npm
install` are resolved by this upgrade:

```
npm warn deprecated @humanwhocodes/config-array@0.13.0: Use @eslint/config-array instead
npm warn deprecated @humanwhocodes/object-schema@2.0.3: Use @eslint/object-schema instead
npm warn deprecated eslint@8.57.1: This version is no longer supported. Please see https://eslint.org/version-support for other options.
```

Note that according to https://eslint.org/version-support ESLint 8 is
officially EOL now, and ESLint 9 has been released for over seven
months and is the only officially supported version.

Fixes #17928.
This commit is contained in:
Tim van der Meij 2024-11-12 20:26:32 +01:00
parent cdb32dae45
commit 499fab998e
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
2 changed files with 235 additions and 229 deletions

View file

@ -16,7 +16,7 @@
"babel-loader": "^9.2.1",
"caniuse-lite": "^1.0.30001680",
"core-js": "^3.39.0",
"eslint": "^8.57.1",
"eslint": "^9.14.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jasmine": "^4.2.2",
"eslint-plugin-json": "^4.0.1",