{erl_opts, []}.

{minimum_otp_vsn, "27"}.

{deps, []}.

{project_plugins, [
    {rebar3_hex, "~> 7.1"},
    {rebar3_ex_doc, "~> 0.3"},
    {erlfmt, "~> 1.8"},
    {rebar3_lint, "~> 5.0"}
]}.

{alias, [
    {check, [{fmt, "--check"}, lint, xref, dialyzer, ct]}
]}.

{erlfmt, [
    write,
    {files, [
        "src/**/*.{hrl,erl,app.src}",
        "test/**/*.erl",
        "rebar.config"
    ]}
]}.

{hex, [
    {doc, #{provider => ex_doc}}
]}.

{ex_doc, [
    {source_url, <<"https://github.com/NelsonVides/erl_csv">>},
    {extras, [<<"README.md">>, <<"CHANGELOG.md">>, <<"LICENSE">>]},
    {main, <<"README.md">>}
]}.

{profiles, [
    {prod, [
        {erl_opts, [inline_list_funcs, deterministic]}
    ]}
]}.

{dialyzer, [{warnings, [unknown]}]}.
{xref_checks, [
    undefined_function_calls,
    undefined_functions,
    locals_not_used,
    deprecated_function_calls,
    deprecated_functions
]}.
