Skip to content

Commit

Permalink
Do not use --fix for Clippy
Browse files Browse the repository at this point in the history
`cargo fix` does not work with uncommitted changes by default.
  • Loading branch information
praseodym committed Apr 25, 2024
1 parent 72783e8 commit dd354c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ pre-commit:
backend-linter:
root: "backend/"
glob: "*.rs"
run: cargo clippy --fix
stage_fixed: true
run: cargo clippy
frontend-linter:
root: "frontend/"
glob: "*.{ts,tsx}"
Expand Down

0 comments on commit dd354c2

Please sign in to comment.