-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrebar.config
42 lines (34 loc) · 1.2 KB
/
rebar.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{minimum_otp_vsn, "27.2"}.
{erl_opts, [{i, "src"},
warnings_as_errors,
warn_shadow_vars,
warn_export_all,
warn_unused_import]}.
{xref_checks, [undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions]}.
%% https://rebar3.org/docs/configuration/configuration/#dialyzer
{dialyzer, [{warnings, [error_handling,
extra_return,
missing_return,
%% underspecs,
unmatched_returns
%% overspecs
%% specdiffs
]},
incremental,
{plt_apps, top_level_deps},
%% {plt_apps, all_apps},
{plt_location, local},
{base_plt_location, global}]}.
{cover_enabled, true}.
{validate_app_modules, true}.
{project_plugins, [rebar3_efmt, rebar3_lint]}.
{elvis_output_format, colors}.
{plugins, [rebar3_hex]}.
{profiles,
[{test,
[{plugins, [rebar3_proper]},
{deps, [{proper, {git, "https://github.com/proper-testing/proper", {branch, "master"}}}]}]}]}.