fix: 添加lint规则运行脚本,修复lint错误

This commit is contained in:
tnt group
2022-09-16 12:26:12 +08:00
parent 1bd0f516e2
commit 810f4d8e6d
20 changed files with 84 additions and 88 deletions
+3 -1
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 .js,.jsx,.ts,.tsx,.vue src",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.vue src --fix"
},
"dependencies": {
"@types/color": "^3.0.3",