chore: 添加 lint/lint:fix 命令

This commit is contained in:
tnt group 2022-09-01 17:43:20 +08:00
parent 9e21a1d036
commit 610a8170ef

View File

@ -6,7 +6,9 @@
"build": "vue-tsc --noEmit && vite build",
"preview": "vite preview",
"new": "plop --plopfile ./plop/plopfile.js",
"postinstall": "husky install"
"postinstall": "husky install",
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --fix"
},
"dependencies": {
"@types/color": "^3.0.3",