Skip to content

Commit 57e3d39

Browse files
committed
chore: update husky config
1 parent 7a67a19 commit 57e3d39

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
npx commitlint --edit $1

.husky/pre-commit

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"commitlint": "commitlint --verbose --from=$( git rev-list --max-parents=0 $( git rev-parse --abbrev-ref HEAD ) )",
1414
"install:clean": "npm install",
1515
"preinstall:clean": "rm -rf node_modules package-lock.json",
16-
"prepare": "husky install",
16+
"prepare": "husky",
1717
"prettier": "prettier -c .",
1818
"prettier:write": "npm run prettier -- --write"
1919
},

0 commit comments

Comments
 (0)