Skip to content

Conversation

@reverentgeek
Copy link
Collaborator

Summary

  • Add Husky for Git hook management (shareable with team)
  • Add pre-commit hook that runs pnpm lint
  • Add pre-push hook that runs pnpm lint && pnpm build
  • Hooks auto-install via prepare script when running pnpm install

Test plan

  • Pre-commit hook runs lint on commit
  • Pre-push hook runs lint and build before push
  • Both hooks pass successfully

🤖 Generated with Claude Code

- Add pre-commit hook to run lint on every commit
- Add pre-push hook to run lint and build before pushing
- Install Husky with prepare script for automatic setup on pnpm install

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@reverentgeek reverentgeek merged commit 0125c9e into main Jan 27, 2026
3 checks passed
@reverentgeek reverentgeek deleted the dn-add-husky-git-hooks branch January 27, 2026 16:14
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