{erl_opts, [
    debug_info,
    warnings_as_errors,
    warn_missing_spec
]}.

{deps, [
    {jsx, "~> 3.1"}
]}.

{project_plugins, [
    rebar3_ex_doc,
    rebar3_hex
]}.

{hex, [{doc, ex_doc}]}.

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

{dialyzer, [
    {warnings, [
        error_handling,
        underspecs,
        unmatched_returns
    ]}
]}.

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

{profiles, [
    {test, [
        {erl_opts, [nowarn_export_all, nowarn_missing_spec]},
        {deps, [
            {meck, "~> 0.9"}
        ]}
    ]}
]}.
