fix(deps): upgrade eslint and plugins to 9.39.4 (#201701)

* fix(deps): upgrade eslint and plugins to 10.2.0

* chore: manual lint-fix

* chore: automatic lint-fix

* feat(repo): github actions - lint - use node v24

because it is linting (not runtime), so why not
to use the latest stable Node version

* fix: remove @stylistic/eslint-plugin (in favor of prettier)

* fix: eslint uses `ecmaVersion` 2025

* fix: eslint's "mocha" config is isolated (for test files only)

for example `describe` is not considered "global" outside the
test files. the same for all other "eslint/mocha" rules -
they are applied only to files in `/tests` folder.

* chore: update package-lock.json after eslint upgrade
This commit is contained in:
Maksim Koryukov 2026-04-18 16:50:05 -04:00 • committed by GitHub
commit 211205363c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 370 additions and 414 deletions

View file

@ -42,18 +42,20 @@
"puppeteer": "24.38.0"
},
"devDependencies": {
"is-ci": "^4.1.0",
"@commitlint/cli": "^20.4.3",
"@commitlint/config-conventional": "^20.4.3",
"@eslint/js": "^9.39.4",
"@types/node-fetch": "^2.6.13",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"dotenv": "^16.6.1",
"eslint": "^8.4.1",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-mocha": "^10.0.3",
"eslint-plugin-mocha": "^11.2.0",
"eslint-plugin-prettier": "^5.5.5",
"globals": "^17.4.0",
"husky": "^9.1.7",
"is-ci": "^4.1.0",
"jsdoc": "^3.6.4",
"jsdoc-baseline": "^0.1.5",
"lint-staged": "^16.3.2",