add husky pre commit

This commit is contained in:
Evan
2025-02-12 08:48:02 -08:00
parent 5abd721826
commit 36b48d92eb
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
npx lint-staged
+1 -1
View File
@@ -11,7 +11,7 @@
"tunnel": "npm run build-prod && npm run start:server",
"test": "jest",
"format": "prettier --write .",
"prepare": "husky install"
"prepare": "husky"
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,css,md}": [