A convenient set of rebar options added to rebar.config
This commit is contained in:
parent
85ffad2081
commit
252b9b695c
1 changed files with 16 additions and 1 deletions
17
rebar.config
17
rebar.config
|
@ -5,4 +5,19 @@
|
|||
%% uncomment to get verbose output from test suite
|
||||
%% {eunit_opts, [verbose]}.
|
||||
|
||||
{erl_opts, [{i, "src"}, {src_dirs, ["src"]}]}.
|
||||
{erl_opts, [{i, "src"}, {src_dirs, ["src"]},
|
||||
warn_unused_vars,
|
||||
warn_export_all,
|
||||
warn_shadow_vars,
|
||||
warn_unused_import,
|
||||
warn_unused_function,
|
||||
warn_bif_clash,
|
||||
warn_unused_record,
|
||||
warn_deprecated_function,
|
||||
warn_obsolete_guard,
|
||||
strict_validation,
|
||||
warn_export_vars,
|
||||
warn_exported_vars,
|
||||
debug_info]}.
|
||||
{dialyzer_opts, [{warnings, [unmatched_returns, error_handling, race_conditions, behaviours]}]}.
|
||||
{xref_checks, [undefined_function_calls]}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue