{require_min_otp_vsn, "22"}.

{erl_opts, [
  debug_info,

  warn_unused_vars,
  warn_shadow_vars,
  warn_unused_import
 ]
}.

{profiles, [
    {test, [
        {deps, [
            {proper, "1.3.0"},
            {mochiweb, "2.20.1"},
            {eiconv, "1.0.0"},
            {erlang_localtime, "1.0.0"}
        ]},

        {xref_checks, [
            undefined_function_calls,
            locals_not_used,
            deprecated_function_calls
        ]},

        {xref_ignores, [
            {z_css_parser, return_error, 2},
            {z_trans, lookup_fallback, 2}
        ]},

        {dialyzer, [
          {warnings, [
              no_unused
          ]}
        ]}
    ]}
]}.
