Skip to content

Commit

Permalink
chore: more checks in pre-push hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
ahamez committed Feb 26, 2025
1 parent 4dcd9ee commit ad5b95b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .lefthook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ pre-push:
mix_test:
glob: "**/*.{ex,exs}"
run: mix test
mix_format:
glob: "**/*.{ex,exs}"
run: mix format {staged_files}
mix_credo:
glob: "**/*.{ex,exs}"
run: mix credo
trailing_whitespaces_and_merge_conflicts:
run: git --no-pager diff --check --cached

0 comments on commit ad5b95b

Please sign in to comment.