20250609 Eslint V8版本

This commit is contained in:
mac·ufutx 2025-06-09 18:22:14 +08:00
parent 3d9f87d02b
commit 59521e4df4
2 changed files with 3 additions and 2 deletions

View File

View File

@ -7,9 +7,10 @@
"dev": "vite", "dev": "vite",
"build": "vue-tsc -b && vite build", "build": "vue-tsc -b && vite build",
"preview": "vite preview", "preview": "vite preview",
"lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix", "lint": "eslint . --ext .vue,.js,.jsx,.ts,.tsx --fix --max-warnings 0",
"lint:check": "eslint . --ext .vue,.js,.jsx,.ts,.tsx", "lint:check": "eslint . --ext .vue,.js,.jsx,.ts,.tsx",
"prepare": "husky install" "prepare": "husky install",
"reinstall": "rm -rf node_modules package-lock.json && npm install"
}, },
"lint-staged": { "lint-staged": {
"*.{vue,js,ts,jsx,tsx}": [ "*.{vue,js,ts,jsx,tsx}": [