Loading...
Loading...
Use when configuring Dialyzer for Erlang/Elixir type checking and static analysis.
npx skill4agent add thebushidocollective/han dialyzer-configuration# Ignore specific warnings
lib/my_module.ex:42:pattern_match_cov[
{"lib/generated_code.ex", :no_return},
{~r/lib\/legacy\/.*/, :unknown_function}
]def project do
[
app: :my_app,
dialyzer: [
plt_add_apps: [:mix, :ex_unit],
plt_core_path: "priv/plts",
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
flags: [:error_handling, :underspecs, :unmatched_returns],
ignore_warnings: ".dialyzer_ignore.exs",
list_unused_filters: true
]
]
endplt_add_appsplt_core_pathplt_fileplt_add_deps:app_tree:apps_direct:transitive:error_handling:underspecs:unmatched_returns:unknown:overspecsignore_warningslist_unused_filtersif Mix.env() in [:dev, :test] do
{:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}
end#!/bin/bash
mix dialyzer --format github- name: Run Dialyzer
run: mix dialyzer --format github