mirror of
https://github.com/valitydev/snowflake.git
synced 2024-11-06 00:55:17 +00:00
563d8ef954
The library should not block the compilation of other applications
52 lines
858 B
Erlang
52 lines
858 B
Erlang
%%-*- mode: erlang -*-
|
|
|
|
{erl_opts, [
|
|
debug_info,
|
|
warn_untyped_record,
|
|
warn_export_vars,
|
|
warn_unused_record,
|
|
warn_bif_clash,
|
|
warn_obsolete_guard,
|
|
warn_unused_vars,
|
|
warn_shadow_vars,
|
|
warn_unused_import,
|
|
warn_unused_function,
|
|
warn_deprecated_function,
|
|
warn_export_all
|
|
]}.
|
|
|
|
%% XRef checks
|
|
{xref_checks, [
|
|
undefined_function_calls,
|
|
undefined_functions,
|
|
deprecated_functions_calls,
|
|
deprecated_functions
|
|
]}.
|
|
% at will
|
|
% {xref_warnings, true}.
|
|
|
|
%% Tests
|
|
{cover_enabled, true}.
|
|
|
|
{deps, []}.
|
|
|
|
%% Dialyzer static analyzing
|
|
{dialyzer, [
|
|
{warnings, [
|
|
% mandatory
|
|
unmatched_returns,
|
|
error_handling,
|
|
race_conditions,
|
|
unknown
|
|
]},
|
|
{plt_apps, all_deps}
|
|
]}.
|
|
|
|
{profiles, [
|
|
{strict, [
|
|
{erl_opts, [
|
|
warnings_as_errors
|
|
]}
|
|
]}
|
|
]}.
|