强化前端格式检测

This commit is contained in:
yml2213
2026-06-08 06:46:47 +08:00
parent 500f511185
commit 04f42e5a96
23 changed files with 17 additions and 64 deletions
+3 -1
View File
@@ -9,9 +9,11 @@
"preview": "vite preview --host 0.0.0.0",
"typecheck": "vue-tsc -b --noEmit",
"lint": "eslint .",
"lint:strict": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check ."
"format:check": "prettier --check .",
"check": "npm run format:check && npm run lint:strict && npm run typecheck"
},
"dependencies": {
"@element-plus/icons-vue": "^2.3.1",