Skip to content

Commit

Permalink
fix: husky
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Jul 27, 2024
1 parent a1bb963 commit db7fe90
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 602 deletions.
1 change: 0 additions & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn commitlint --edit "$1"
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged-files --debug

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"changeset": "changeset",
"release": "yarn build && changeset publish",
"cz": "cz",
"prepare": " husky"
"prepare": "husky"
},
"config": {
"commitizen": {
Expand Down
Loading

0 comments on commit db7fe90

Please sign in to comment.