lager_logstash_formatter/rebar.config

56 lines
1.0 KiB
Plaintext
Raw Normal View History

%% Common project erlang options.
{erl_opts, [
% mandatory
debug_info,
warnings_as_errors,
warn_export_all,
% due to rebar3 bug erl_opts supersede eunit_compile_opts,
% so to make eunit work ignore missing specs in compile for now
% which is not a big issue for this tiny lib
%
% warn_missing_spec,
warn_untyped_record,
warn_export_vars,
% by default
warn_unused_record,
warn_bif_clash,
warn_obsolete_guard,
warn_unused_vars,
warn_shadow_vars,
warn_unused_import,
warn_unused_function,
warn_deprecated_function
]}.
%% Common project dependencies.
{deps, [
{jsx, "2.8.2"},
2018-07-06 12:13:56 +00:00
{rfc3339, "0.2.2"}
]}.
%% XRef checks
{xref_checks, [
undefined_function_calls,
undefined_functions,
deprecated_functions_calls,
deprecated_functions
]}.
% at will
% {xref_warnings, true}.
%% Tests
{cover_enabled, true}.
{profiles, [
{test, [
{deps, [{lager, "3.2.1"}]}
]}
]}.
{eunit_compile_opts, [
nowarn_missing_spec
]}.