Skip to content

Commit cc84d32

Browse files
committed
Update Husky setup
1 parent 14e9dfe commit cc84d32

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
bun lint-staged --allow-empty

packages/create-jc-project/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const packageJSON = {
8181
format: "prettier -w .",
8282
lint: 'eslint "**/*.{js,ts,jsx,tsx}"',
8383
spellcheck: 'cspell "**" --no-progress',
84-
prepare: "husky install",
84+
prepare: "husky",
8585
},
8686
};
8787

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
3-
41
bun lint-staged --allow-empty

0 commit comments

Comments
 (0)