Skip to content

Commit 5355364

Browse files
committed
chore: setup husky
1 parent fa6e999 commit 5355364

File tree

4 files changed

+15
-1
lines changed

4 files changed

+15
-1
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

.husky/pre-push

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@
2020
"lint": "pnpm -r lint",
2121
"sort:check": "sort-package-json '**/package.json' '!**/node_modules/**/package.json' --check",
2222
"sort:run": "sort-package-json '**/package.json' '!**/node_modules/**/package.json'",
23-
"test": "pnpm -r test"
23+
"test": "pnpm -r test",
24+
"prepare": "husky"
2425
},
2526
"devDependencies": {
2627
"@biomejs/biome": "1.9.4",
2728
"depcheck": "1.4.7",
29+
"husky": "^9.1.7",
2830
"sort-package-json": "3.1.0",
2931
"tools": "file:tools",
3032
"typescript": "^5.8.3"

pnpm-lock.yaml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)