Skip to content

Commit 1e89064

Browse files
committed
switch back to husky
1 parent 4bf6801 commit 1e89064

File tree

3 files changed

+93
-85
lines changed

3 files changed

+93
-85
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm lint-staged
1+
npx lint-staged

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"lint:fix": "pnpm lint --fix && typos -w && pnpm fmt --write .",
1313
"typecheck": "tsc",
1414
"fmt": "dprint fmt",
15-
"sponsors": "degit Boshen/sponsors temp --force && mv temp/sponsors.svg public/sponsors.svg"
15+
"sponsors": "degit Boshen/sponsors temp --force && mv temp/sponsors.svg public/sponsors.svg",
16+
"prepare": "husky"
1617
},
1718
"devDependencies": {
1819
"@types/node": "^24.0.10",
@@ -21,18 +22,15 @@
2122
"dprint": "^0.50.1",
2223
"esbuild": "0.25.9",
2324
"feed": "^5.1.0",
25+
"husky": "^9.1.7",
2426
"lint-staged": "16.1.5",
2527
"oxc-minify": "^0.82.0",
2628
"oxlint": "^1.5.0",
27-
"simple-git-hooks": "^2.13.0",
2829
"typescript": "~5.9.0",
2930
"vitepress": "2.0.0-alpha.12",
3031
"vitepress-plugin-group-icons": "^1.6.1",
3132
"vue": "^3.5.17"
3233
},
33-
"simple-git-hooks": {
34-
"pre-commit": "npx lint-staged"
35-
},
3634
"lint-staged": {
3735
"*": "dprint fmt --staged"
3836
},

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)