Skip to content

Commit 28d3738

Browse files
author
Chu Fan
committed
chore: 修改git hook校验
1 parent b6c2fb4 commit 28d3738

File tree

4 files changed

+326
-301
lines changed

4 files changed

+326
-301
lines changed

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
3+
4+
npm run lintfix && git add .

0 commit comments

Comments
 (0)