chore: add lefthook git hooks and just task runner - #201
Merged
Conversation
- Add .lefthook.yml: format/lint checks on pre-commit, build/type-check on pre-push - Add justfile: setup, format, check, test, test-contract, test-all, clean recipes - Pin deno, just, lefthook in mise.toml - Update docs/contributing.md with new setup and daily commands - Ignore local lefthook override files in .gitignore
- Add a comment block that explains the required PR title format. - Add a "How to test" section. - Replace "Related issues" with a closes-issue note.
Erlend Ellefsen (erlendellefsen)
merged commit Aug 21, 2026
5adc493
into
main
15 of 16 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This change adds two developer tools to the repository.
justfileadds recipes for setup, formatting, checks, and tests. It replaces long manual command sequences with short recipe names.mise.tomlnow pins Deno, just, and lefthook, somise installsets up all tools at once.docs/contributing.mdexplains the new setup step and lists the daily commands.CI stays the source of truth for full test suites. The hooks catch common issues early, before a push.