{erl_opts, [warn_unused_import, warn_export_vars, verbose, report, debug_info]}.

{minimum_otp_vsn, "23"}.

{deps, [{katana_code, "~> 2.0.0"}]}.

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

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

{project_plugins,
 [{rebar3_hex, "~> 7.0.1"},
  {rebar3_hank, "~> 1.3.0"},
  {rebar3_lint, "~> 1.1.0"},
  {rebar3_sheldon, "~> 0.4.2"},
  {rebar3_ex_doc, "~> 0.2.11"}]}.

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

{edoc_opts, [{todo, true}, {overview, "priv/overview.edoc"}]}.

{cover_enabled, true}.

{cover_opts, [verbose]}.

{spellcheck,
 [{ignore_regex, "([\\=+|(<>#{}/*]+|^\\-|^_|\\d[.]\\d|[a-z][.][a-z]|[?][A-Z])"},
  {files, ["src/**/*.?rl", "src/*.app.src", "test/*.?rl"]},
  {additional_dictionaries, ["nextroll.dict", "test.dict"]}]}.

{alias,
 [{test, [spellcheck, lint, hank, dialyzer, {ct, "--verbose"}, cover, edoc]},
  {format, [compile]}]}.

{post_hooks, [{compile, "escript priv/scripts/format"}]}.

{hank, [{ignore, ["test_app/**/*"]}]}.
