Skip to content

chore: add lefthook configuration - #51

Open
HenryMBaldwin wants to merge 1 commit into
seismicfrom
hbai__h/lefthook
Open

chore: add lefthook configuration#51
HenryMBaldwin wants to merge 1 commit into
seismicfrom
hbai__h/lefthook

Conversation

@HenryMBaldwin

Copy link
Copy Markdown
Contributor

Summary

  • Adds lefthook.yml with a pre-commit hook that runs cargo +nightly fmt --all to auto-format code before each commit
  • Matches the cargo fmt check already in CI (seismic.yml)

Setup

After merging, each developer needs to run lefthook install once in their local clone.

Add pre-commit and pre-push git hooks via lefthook to catch CI
issues locally before pushing.
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