Current section

Files

Jump to
epgsql rebar.config
Raw

rebar.config

%% -*- mode: erlang -*-
{cover_enabled, true}.
{edoc_opts, [{preprocess, true}]}.
{profiles, [
{test, [
{deps, [
{erlexec, "1.10.0"}
]}
]},
{lint, [
{plugins, [{rebar3_lint, "0.2.0"}]}
]}
]}.
{ct_opts, [
{ct_hooks, [epgsql_cth]}
]}.
{elvis,
[#{dirs => ["src", "src/*"],
include_dirs => ["include"],
filter => "*.erl",
ruleset => erl_files,
rules =>
[{elvis_style, line_length, #{limit => 120}},
{elvis_style, god_modules, #{ignore => [epgsql, epgsqla, epgsqli, epgsql_sock, epgsql_wire]}},
{elvis_style, dont_repeat_yourself, #{min_complexity => 11}},
{elvis_style, state_record_and_type, disable} % epgsql_sock
]}
]
}.
{dialyzer,
[
{warnings, [unknown]},
{plt_apps, all_deps}
]}.