Skip to content

Commit 09cae98

Browse files
committed
chore: auto-fmt code on commit (#2968)
1 parent 3bd3c68 commit 09cae98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lefthook.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ pre-commit:
22
parallel: true
33
commands:
44
fmt:
5-
run: cargo fmt --all -- --check
6-
fail_text: "Code is not formatted. Run 'cargo fmt' and commit again."
5+
run: cargo fmt --all
6+
tags: formatting
7+
stage_fixed: true
78

0 commit comments

Comments
 (0)