Skip to content

Commit

Permalink
chore: husky配置修改
Browse files Browse the repository at this point in the history
  • Loading branch information
hesoso committed Dec 19, 2023
1 parent f3f9b0c commit 3bd6ce9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no-install commitlint --edit
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm lint
npx lint-staged

0 comments on commit 3bd6ce9

Please sign in to comment.