%% -*- mode: erlang;erlang-indent-level: 2;indent-tabs-mode: nil -*-
%% ex: ts=4 sw=4 ft=erlang et
{erl_opts,
 [warn_unused_import,
  warn_export_vars,
  warnings_as_errors,
  verbose,
  report,
  debug_info,
  {feature, maybe_expr, enable}]}.

{minimum_otp_vsn, "23"}.

{ex_doc,
 [{source_url, <<"https://github.com/inaka/katana-code">>},
  {extras, [<<"README.md">>, <<"LICENSE">>]},
  {main, <<"readme">>}]}.

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

{project_plugins,
 [{rebar3_hex, "~> 7.0.1"},
  {rebar3_format, "~> 1.1.0"},
  {rebar3_lint, "~> 1.0.2"},
  {rebar3_ex_doc, "~> 0.2.9"}]}.

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

{edoc_opts,
 [{todo, true},
  {title, "Hank"},
  {packages, true},
  {subpackages, true},
  {source_path, "src"},
  {application, rebar3_hank},
  {new, true},
  {report_missing_types, true}]}.

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

{cover_enabled, true}.

{cover_opts, [verbose]}.

{format, [{options, #{unquote_atoms => false}}]}.

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