接入 ESLint 与 Prettier 并加入 CI 静态门禁
前端验证 / verify (push) Failing after 15m2s

This commit is contained in:
cieanyau committed 2026-11-07 01:24:36 +08:00
1 parent 339df89fcf
commit 651c36367f
33 files changed
+1420 -40

No files matched your search

+11 -2
View File
@@ -9,7 +9,10 @@
"preview": "node .output/server/index.mjs",
"prepare": "nuxt prepare",
"check": "node scripts/check-source.mjs",
"format": "prettier --write app nuxt.config.ts tests scripts",
"lint": "eslint . --max-warnings 0",
"lint:fix": "eslint . --fix --max-warnings 0",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "node --test tests/*.test.mjs"
},
"dependencies": {
@@ -34,9 +37,15 @@
"@babel/parser": "7.29.8",
"@babel/traverse": "^7.29.0",
"@babel/types": "^7.29.0",
"@eslint/js": "10.0.1",
"@vue/compiler-sfc": "3.5.45",
"eslint": "10.14.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-vue": "10.12.0",
"globals": "17.14.0",
"playwright": "^1.64.1",
"prettier": "^3.8.0"
"prettier": "3.9.10",
"typescript-eslint": "8.72.1"
},
"overrides": {
"glob": "14.0.3",