rebar.config

{minimum_otp_vsn, "21.2"}.

{
  erl_opts,
  [
    debug_info,
    warn_export_vars,
    warn_shadow_vars,
    warn_obsolete_guard,
    warn_untyped_record
    % warn_missing_spec
  ]
}.

{deps, [{prometheus, "4.6.0"}, {telemetry, "0.4.2"}, {cowboy, "2.8.0"}]}.

{
  profiles,
  [
    {
      test,
      [
        {escript_emu_args, "%%! +Bc +sbtu +A0\n"},
        {erl_opts, [debug_info, warnings_as_errors, nowarn_export_all, nowarn_missing_spec]},
        {relx, [{sys_config_src, "./config/sys.config.test"}]},
        {cover_enabled, true},
        {deps, [{hackney, "1.16.0"}]}
      ]
    }
  ]
}.

{plugins, [steamroller, rebar3_hex]}.

{
  steamroller,
  [
    {line_length, 100},
    {indent, 2},
    {inputs, ["rebar.config", "{src,test,include}/*.{[he]rl,app.src}"]}
  ]
}.