Skip to content

Commit a7c042d

Browse files
committed
Update rebar.config
1 parent 573556d commit a7c042d

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

rebar.config

+36-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
{erl_opts, [debug_info]}.
2-
{deps, []}.
1+
{minimum_otp_vsn, "27.1"}.
2+
3+
{erl_opts, [{i, "src"},
4+
warnings_as_errors,
5+
warn_export_all,
6+
warn_unused_import]}.
7+
8+
{xref_checks, [undefined_function_calls,
9+
undefined_functions,
10+
locals_not_used,
11+
deprecated_function_calls,
12+
deprecated_functions]}.
13+
14+
{dialyzer, [{warnings, [extra_return,
15+
missing_return,
16+
no_unknown
17+
%% unmatched_returns,
18+
%% overspecs,
19+
%% underspecs,
20+
%% specdiffs,
21+
%% error_handling
22+
]},
23+
incremental,
24+
{plt_apps, top_level_deps},
25+
%% {plt_apps, all_apps},
26+
{plt_location, local},
27+
{base_plt_location, global}]}.
28+
29+
{project_plugins, [rebar3_efmt, rebar3_lint]}.
30+
{elvis_output_format, colors}.
31+
32+
{cover_enabled, true}.
33+
34+
{validate_app_modules, true}.
35+
36+
{plugins, [rebar3_hex]}.

0 commit comments

Comments
 (0)