Add dialyzer to pre-commit hooks
This commit is contained in:
parent
a215380cfa
commit
49c60efefc
1 changed files with 3 additions and 1 deletions
4
mix.exs
4
mix.exs
|
|
@ -11,7 +11,8 @@ defmodule BirdyChat.MixProject do
|
|||
aliases: aliases(),
|
||||
deps: deps(),
|
||||
compilers: [:phoenix_live_view] ++ Mix.compilers(),
|
||||
listeners: [Phoenix.CodeReloader]
|
||||
listeners: [Phoenix.CodeReloader],
|
||||
dialyzer: [plt_add_apps: [:ex_unit]]
|
||||
]
|
||||
end
|
||||
|
||||
|
|
@ -91,6 +92,7 @@ defmodule BirdyChat.MixProject do
|
|||
"compile --warnings-as-errors",
|
||||
"credo --strict",
|
||||
"deps.unlock --unused",
|
||||
"dialyzer",
|
||||
"format",
|
||||
"test"
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue