引入 husky,并全局重新格式化
This commit is contained in:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user