test: 测试husky忽略文件

This commit is contained in:
WANGFAN\wangf 2024-12-05 18:30:39 +08:00
parent 04b9b1190b
commit a7b101e3fb
2 changed files with 8 additions and 0 deletions

4
.husky/_/commit-msg Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/husky.sh"
npx --no-install commitlint --edit $1

4
.husky/_/pre-commit Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname "$0")/husky.sh"
pnpm run lint:lint-staged