Skip to content

build: replace husky with lefthook for git hooks#123

Merged
DivMode merged 1 commit intomainfrom
build/replace-husky-with-lefthook
Mar 13, 2026
Merged

build: replace husky with lefthook for git hooks#123
DivMode merged 1 commit intomainfrom
build/replace-husky-with-lefthook

Conversation

@DivMode
Copy link
Copy Markdown
Owner

@DivMode DivMode commented Mar 13, 2026

Summary

  • Replace Husky v9 with Lefthook for git hook management
  • Migrate conventional commit validation from .husky/commit-msg to lefthook.yml
  • Migrate pre-push test runner from .husky/pre-push to lefthook.yml
  • Single Go binary, faster startup, single-file config

Test plan

  • Bad commit messages rejected by lefthook commit-msg hook
  • Valid conventional commit messages accepted
  • Pre-push hook runs full vitest suite (6/6 CF sites passed)

@DivMode DivMode merged commit 16d0f9b into main Mar 13, 2026
@DivMode DivMode deleted the build/replace-husky-with-lefthook branch March 13, 2026 09:51
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.

1 participant