Skip to content

Commit

Permalink
chore: update git hook config
Browse files Browse the repository at this point in the history
  • Loading branch information
heywhy committed Jun 19, 2024
1 parent 2b49769 commit 9ad7089
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ config :git_hooks,
],
pre_commit: [
tasks: [
cmd: "mix format --check-formatted",
cmd: "mix credo --strict"
{:mix_task, :format, ["--check-formatted"]},
{:mix_task, :credo, ["--strict"]}
]
],
pre_push: [
tasks: [
cmd: "mix dialyzer",
cmd: "mix test --color"
{:mix_task, :dialyzer},
{:mix_task, :test, ["--color"]}
]
]
]
Expand Down

0 comments on commit 9ad7089

Please sign in to comment.