Add dialyzer to pre-commit hooks

This commit is contained in:
Maciej 2026-03-01 13:36:57 +02:00
parent a215380cfa
commit 49c60efefc
Signed by: maciej
GPG key ID: 28243AF437E32F99

View file

@ -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"
]