Skip to content

Add opt-in pre-commit hooks#132

Open
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-77-precommit-hooks
Open

Add opt-in pre-commit hooks#132
Sikkra wants to merge 1 commit into
Dgetsylver:mainfrom
Sikkra:bounty-77-precommit-hooks

Conversation

@Sikkra
Copy link
Copy Markdown

@Sikkra Sikkra commented May 19, 2026

Summary

  • Adds an opt-in Lefthook pre-commit config with staged-file scoped frontend and Rust checks.
  • Adds a root README section documenting install, what runs, and emergency bypass flags.
  • Adds a frontend typecheck script and small compatibility fixes so the frontend hook passes.

Verification

  • npm run build
  • npm run typecheck
  • npx --yes lefthook validate
  • npx --yes lefthook run pre-commit
  • git diff --check

Closes #77

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.

F10: Pre-commit hook config (lefthook / husky)

1 participant