Skip to content

Commit

Permalink
Update rebar.config
Browse files Browse the repository at this point in the history
  • Loading branch information
sile committed Nov 19, 2024
1 parent 573556d commit a7c042d
Showing 1 changed file with 36 additions and 2 deletions.
38 changes: 36 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
@@ -1,2 +1,36 @@
{erl_opts, [debug_info]}.
{deps, []}.
{minimum_otp_vsn, "27.1"}.

{erl_opts, [{i, "src"},
warnings_as_errors,
warn_export_all,
warn_unused_import]}.

{xref_checks, [undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions]}.

{dialyzer, [{warnings, [extra_return,
missing_return,
no_unknown
%% unmatched_returns,
%% overspecs,
%% underspecs,
%% specdiffs,
%% error_handling
]},
incremental,
{plt_apps, top_level_deps},
%% {plt_apps, all_apps},
{plt_location, local},
{base_plt_location, global}]}.

{project_plugins, [rebar3_efmt, rebar3_lint]}.
{elvis_output_format, colors}.

{cover_enabled, true}.

{validate_app_modules, true}.

{plugins, [rebar3_hex]}.

0 comments on commit a7c042d

Please sign in to comment.