Skip to content

Commit b118d8c

Browse files
committed
fix: remove deprecated husky configuration lines
- Remove deprecated shebang and husky.sh import from pre-commit hook - Remove deprecated shebang and husky.sh import from commit-msg hook - Fixes deprecation warnings for husky v10.0.0 compatibility
1 parent beaa62f commit b118d8c

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

.husky/commit-msg

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
# Conventional commit validation
52
commit_regex='^(feat|fix|docs|style|refactor|test|chore|perf|ci|build|revert)(\(.+\))?: .{1,50}'
63

.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

0 commit comments

Comments
 (0)