Skip to content

Commit c48326c

Browse files
committed
build: migrate to husky v9
1 parent ca98783 commit c48326c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpx lint-staged
52
pnpm test -- --onlyChanged

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"prettier:apply": "prettier --write 'src/**/*.{js,ts,tsx}'",
1414
"test": "jest",
1515
"start": "electron . --enable-logging",
16-
"prepare": "husky install"
16+
"prepare": "husky"
1717
},
1818
"repository": {
1919
"type": "git",
@@ -144,4 +144,4 @@
144144
"lint-staged": {
145145
"*.{md,js,ts,tsx}": "prettier --write"
146146
}
147-
}
147+
}

0 commit comments

Comments
 (0)