提交 ee73ad58 编写于 作者: D DebugIsFalse

fix: eslint

上级 71b38133
......@@ -10,7 +10,9 @@
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint": "eslint . --fix"
"prepare": "husky install",
"lint": "eslint .",
"lint:fix": "eslint . --fix"
},
"dependencies": {
"@formkit/auto-animate": "^0.8.2",
......@@ -37,5 +39,10 @@
"husky": "^9.0.11",
"lint-staged": "^15.2.6",
"vite-plugin-eslint2": "^4.4.0"
},
"husky": {
"hooks": {
"pre-commit": ["npm run prepare"]
}
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册