Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ pre-commit:
parallel: true
commands:
fmt:
run: cargo fmt --all -- --check
fail_text: "Code is not formatted. Run 'cargo fmt' and commit again."
run: cargo fmt --all
tags: formatting
stage_fixed: true

Loading