-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrebar.config
More file actions
57 lines (48 loc) · 1.02 KB
/
rebar.config
File metadata and controls
57 lines (48 loc) · 1.02 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
%% % @format
{erl_opts, [
debug_info,
warnings_as_errors,
warn_export_vars,
warn_unused_import,
warn_missing_spec_all
]}.
{deps, [
{erlfmt, "1.5.0"},
{diffy, "1.1.2"}
]}.
{minimum_otp_vsn, "26"}.
{erlfmt, [
write,
{files, ["{src,include,test}/*.{hrl,erl,app.src}", "rebar.config"]},
{exclude_files, []},
{print_width, 120}
]}.
{project_plugins, [
erlfmt
]}.
{profiles, [
{test, [
{erl_opts, [
nowarn_export_all,
nowarn_missing_spec_all
]}
]}
]}.
{dialyzer, [
{warnings, [unknown]},
{plt_apps, all_deps},
{plt_extra_apps, []}
]}.
{xref_checks, [
undefined_function_calls,
undefined_functions,
locals_not_used,
deprecated_function_calls,
deprecated_functions
]}.
% We select `ex_doc` as the documentation provider. This renders documentation in Elixir style, as opposed to the old Erlang EDoc style.
{hex, [{doc, ex_doc}]}.
{ex_doc, [
{extras, [~"README.md", ~"LICENSE.md"]},
{main, ~"README.md"}
]}.