Skip to content

chore: add pre-commit hooks with husky and lint-staged#15

Merged
VinciGit00 merged 1 commit intomainfrom
chore/add-pre-commit-hooks
Apr 18, 2026
Merged

chore: add pre-commit hooks with husky and lint-staged#15
VinciGit00 merged 1 commit intomainfrom
chore/add-pre-commit-hooks

Conversation

@VinciGit00
Copy link
Copy Markdown
Member

Summary

How it works

  • prepare script installs husky git hooks on bun install
  • .husky/pre-commit runs bunx lint-staged
  • lint-staged config in package.json routes staged files through biome

Test plan

  • Verified hook runs on commit and auto-fixes formatting
  • bun run check passes
  • After merge, contributors should run bun install once to install the hook

🤖 Generated with Claude Code

Runs biome check --write on staged JS/TS/JSON files before commit,
catching formatter issues like the one that broke CI on #12.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@VinciGit00 VinciGit00 merged commit 051a50e into main Apr 18, 2026
3 checks passed
@VinciGit00 VinciGit00 deleted the chore/add-pre-commit-hooks branch April 18, 2026 13: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.

1 participant