Skip to content

chore: migrate husky to v9 configuration#11466

Merged
dhmlau merged 1 commit intomasterfrom
chore/husky-v9
Mar 10, 2026
Merged

chore: migrate husky to v9 configuration#11466
dhmlau merged 1 commit intomasterfrom
chore/husky-v9

Conversation

@raymondfeng
Copy link
Contributor

Summary

  • Replace deprecated husky install with husky in the prepare script
  • Remove v8 artifacts: husky.sh sourcing in hooks, .husky/_/ directory, .husky/.gitignore
  • Hook scripts updated to plain shell format expected by Husky v9

Test plan

  • npm run prepare runs without deprecation warning
  • Pre-commit hook (lint-staged) executes correctly
  • Commit-msg hook (commitlint) executes correctly

🤖 Generated with Claude Code

The `husky install` command is deprecated in v9. Replace with the new
`husky` command and remove v8 artifacts (husky.sh sourcing, _/ directory).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
@dhmlau dhmlau merged commit e3257a5 into master Mar 10, 2026
13 checks passed
@dhmlau dhmlau deleted the chore/husky-v9 branch March 10, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants