引入 husky,并全局重新格式化

This commit is contained in:
2025-06-07 11:49:57 +08:00
parent 05fce179c9
commit c7527177b0
89 changed files with 2140 additions and 1899 deletions

View File

@@ -6,7 +6,8 @@
"dev": "next dev -H 0.0.0.0 --turbo",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint --fix",
"prepare": "husky"
},
"dependencies": {
"@hookform/resolvers": "^4.1.3",
@@ -62,6 +63,7 @@
"eslint": "^9",
"eslint-config-next": "15.2.1",
"eslint-plugin-react-hooks": "^5.2.0",
"husky": "^9.1.7",
"tailwindcss": "^4",
"typescript": "^5"
},