GHA CI: lock to ESLint v8

For unknown reasons, ESLint v9 doesn't work correctly. Migration to ESLint v9 will be done
later when it is stable enough.

PR #20665.
This commit is contained in:
Chocobo1 2024-04-09 14:12:30 +08:00
parent a7dfefc2a5
commit db384896b8
No known key found for this signature in database
GPG key ID: 210D9C873253A68C

View file

@ -10,8 +10,8 @@
"lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public" "lint": "eslint private/*.html private/scripts/*.js private/views/*.html public/*.html public/scripts/*.js && stylelint **/*.css && html-validate private public"
}, },
"devDependencies": { "devDependencies": {
"eslint": "*", "eslint": "^8",
"eslint-plugin-html": "*", "eslint-plugin-html": "^8",
"html-validate": "*", "html-validate": "*",
"js-beautify": "*", "js-beautify": "*",
"prettier": "*", "prettier": "*",