Packages
elvis_core
5.0.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
retired
4.2.3
4.2.2
4.2.1
4.2.0
4.1.1
4.1.0
4.0.0
3.2.5
3.2.4
3.2.3
3.2.2
3.2.1
3.2.0
3.1.0
3.0.1
3.0.0
2.0.1
2.0.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.2
1.1.1
1.1.0
1.0.0
0.7.0
0.6.1
0.6.0
0.5.0
0.4.3
0.4.2
0.4.1
0.4.0
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
Core library for the Erlang style reviewer
Retired package: Release invalid - We found a bug that needs fixing before using this release in rebar3_lint/elvis
Current section
Files
Jump to
Current section
Files
elvis_core
rebar.config
rebar.config
%% == Compiler and Profiles ==
{erl_opts, [
warn_missing_spec,
warn_unused_import,
warn_export_vars,
warnings_as_errors,
verbose,
debug_info
]}.
{minimum_otp_vsn, "26"}.
{profiles, [
{test, [
{extra_src_dirs, ["test/examples"]},
{deps, [{meck, "1.1.0"}]},
{erl_opts, [nowarn_missing_spec, nowarn_export_all]},
{dialyzer, [{warnings, [no_return, error_handling]}, {plt_extra_apps, [common_test]}]},
{ct_opts, [{sys_config, ["./config/test.config"]}, {verbose, true}]},
{cover_enabled, true},
{cover_opts, [verbose]}
]}
]}.
{alias, [
{test, [hank, xref, dialyzer, ct, cover, ex_doc]},
{go, [fmt, hank, xref, dialyzer, {ct, "--verbose"}, {cover, "--verbose"}, ex_doc, escriptize]}
]}.
{shell, [{config, "config/test.config"}]}.
%% == Dependencies and plugins ==
{deps, [{zipper, "1.1.0"}, {katana_code, "~> 2.4.2"}]}.
{project_plugins, [
{rebar3_hank, "~> 1.6.1"},
{rebar3_hex, "~> 7.0.11"},
{erlfmt, "~> v1.7.0"},
{rebar3_ex_doc, "0.2.30"}
]}.
%% == Documentation ==
{ex_doc, [
{source_url, <<"https://github.com/inaka/elvis_core">>},
{extras, [<<"README.md">>, <<"MIGRATION.md">>, <<"LICENSE">>]},
{main, <<"README.md">>},
{prefix_ref_vsn_with_v, false}
]}.
{hex, [{doc, #{provider => ex_doc}}]}.
%% == Format ==
{erlfmt, [
write,
{files, ["config/**/*.config", "src/**/*.app.src", "src/**/*.erl", "test/*.erl", "*.config"]}
]}.
%% == Hank ==
{hank, [{ignore, ["test/*/**"]}]}.
%% == Dialyzer + XRef ==
{dialyzer, [{warnings, [no_return, unmatched_returns, error_handling, unknown]}]}.
{xref_checks, [
undefined_function_calls, deprecated_function_calls, deprecated_functions, exports_not_used
]}.
{xref_extra_paths, ["test/**"]}.