chore(husky): add pre-commit and pre-push hooks
This commit is contained in:
@@ -3,3 +3,4 @@ node_modules/
|
||||
.turbo/
|
||||
.idea/
|
||||
.eslintcache
|
||||
/.husky/_
|
||||
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
pnpm lint:staged
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
pnpm typecheck
|
||||
pnpm test
|
||||
+3
-1
@@ -10,7 +10,8 @@
|
||||
"lint": "turbo run lint && eslint .",
|
||||
"typecheck": "turbo run typecheck",
|
||||
"format": "prettier --write .",
|
||||
"lint:staged": "lint-staged"
|
||||
"lint:staged": "lint-staged",
|
||||
"prepare": "husky"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
@@ -21,6 +22,7 @@
|
||||
"@eslint/js": "^10.0.1",
|
||||
"eslint": "^10.2.0",
|
||||
"globals": "^17.4.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^16.4.0",
|
||||
"prettier": "^3.8.1",
|
||||
"turbo": "^2.9.3"
|
||||
|
||||
Generated
+578
-244
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user