Skip to content

Commit 9fa1ce8

Browse files
chore: add git-hooks config
1 parent faefbc1 commit 9fa1ce8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@
6262
"@stacksjs/rpx": "^0.10.0",
6363
"bumpp": "^10.1.0",
6464
"changelogen": "^0.6.1",
65-
"lint-staged": "^15.5.0",
66-
"simple-git-hooks": "^2.12.1",
6765
"typescript": "^5.8.3",
6866
"vite": "^6.2.5",
6967
"vite-plugin-vue-devtools": "^7.7.2",
@@ -73,10 +71,12 @@
7371
"overrides": {
7472
"unconfig": "0.3.10"
7573
},
76-
"simple-git-hooks": {
77-
"pre-commit": "bunx lint-staged"
78-
},
79-
"lint-staged": {
80-
"*.{js,ts}": "bunx --bun pickier lint --fix"
74+
"git-hooks": {
75+
"pre-commit": {
76+
"staged-lint": {
77+
"*.{js,ts,json,yaml,yml,md}": "bunx --bun pickier lint --fix"
78+
}
79+
},
80+
"commit-msg": "bunx gitlint --edit .git/COMMIT_EDITMSG"
8181
}
8282
}

0 commit comments

Comments
 (0)