{minimum_otp_vsn, "27"}.

{erl_opts, [debug_info]}.

{deps, []}.

{cover_export_enabled, true}.

{project_plugins, [
    {rebar3_hex, "7.1.0"},
    {rebar3_proper, "0.12.1"},
    {rebar3_codecov, "0.7.0"},
    {erlfmt, "1.8.0"},
    {rebar3_ex_doc, "0.3.0"}
]}.
{erlfmt, [write]}.

{ex_doc, [
    {source_url, <<"https://github.com/denizdogan/zz">>},
    {extras, [
        <<"README.md">>,
        <<"CHANGELOG.md">>,
        <<"CONTRIBUTING.md">>,
        <<"CODE_OF_CONDUCT.md">>,
        <<"LICENSE.md">>
    ]},
    {main, <<"readme">>}
]}.

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

{dialyzer, [{plt_extra_apps, [eunit]}]}.

{profiles, [
    {test, [
        {deps, [
            {proper, "1.5.0"},
            %% Intentionally track ELP main: this is the dependency form recommended
            %% by ELP's official Eqwalizer setup documentation.
            {eqwalizer_support,
                {git_subdir, "https://github.com/whatsapp/erlang-language-platform.git",
                    {branch, "main"}, "eqwalizer/eqwalizer_support"}}
        ]}
    ]}
]}.
