Skip to content

Add Husky and lint-staged git hooks#68

Open
kentcdodds wants to merge 1 commit intomainfrom
cursor/husky-lint-staged-setup-9ec3
Open

Add Husky and lint-staged git hooks#68
kentcdodds wants to merge 1 commit intomainfrom
cursor/husky-lint-staged-setup-9ec3

Conversation

@kentcdodds
Copy link
Copy Markdown
Member

@kentcdodds kentcdodds commented Apr 2, 2026

Summary

  • add Husky and lint-staged to install Git hooks automatically after bun install
  • run staged-file formatting plus lint, typecheck, and build on pre-commit
  • run local migrations plus Bun, Playwright, and MCP tests on pre-push
  • document the new hook workflow in the setup guide and README

Testing

  • git add package.json bun.lock README.md docs/agents/setup.md .husky/pre-commit .husky/pre-push .husky/.gitignore && git commit -m "Add Husky git hook automation"
  • bun run hooks:pre-push
Open in Web Open in Cursor 

@kentcdodds kentcdodds marked this pull request as ready for review April 2, 2026 16:52
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