workspace: use eslint@9

This commit is contained in:
undefined committed 2025-03-21 09:39:11 +08:00
1 parent f0d49c2893
commit 040f7d8863
11 files changed
+650 -602

No files matched your search

+7 -8
View File
@@ -21,10 +21,8 @@
"test": "node -r @hydrooj/register packages/common/tests/subtask.spec.ts && node test/entry.js",
"benchmark": "cross-env BENCHMARK=true node test/entry.js",
"oxlint": "cd framework/eslint-config && node -r @hydrooj/register build.ts && cd ../../ && oxlint --config framework/eslint-config/.oxlintrc.json",
"lint": "eslint packages plugins modules framework --ext .ts,.tsx,.jsx --fix",
"lint:ci": "eslint packages plugins modules framework --ext .ts,.tsx,.jsx --max-warnings=0",
"lint:ui": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --fix",
"lint:ui:ci": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --max-warnings=0",
"lint": "eslint --flag unstable_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx --fix",
"lint:ci": "eslint --flag unstable_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx --max-warnings=0",
"debug": "node --trace-warnings --async-stack-traces --trace-deprecation packages/hydrooj/bin/hydrooj --debug --template",
"start": "packages/hydrooj/bin/hydrooj.js",
"postinstall": "node build/prepare.js",
@@ -45,20 +43,21 @@
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.6",
"esbuild": "0.25.0",
"eslint": "^8.57.1",
"eslint-import-resolver-typescript": "^4.1.1",
"eslint": "^9.22.0",
"eslint-import-resolver-typescript": "^4.2.2",
"eslint-import-resolver-webpack": "^0.13.10",
"fs-extra": "^11.3.0",
"globals": "^16.0.0",
"globby": "~14.0.2",
"inspectpack": "^4.7.1",
"mongodb-memory-server": "10.1.4",
"nyc": "^17.1.0",
"ora": "^8.2.0",
"oxlint": "^0.16.0",
"oxlint": "^0.16.1",
"package-json": "^10.0.1",
"semver": "^7.7.1",
"simple-git": "^3.27.0",
"supertest": "^7.0.0",
"supertest": "^7.1.0",
"supports-hyperlinks": "^3.2.0",
"typescript": "5.8.2",
"wtfnode": "^0.10.0"