rebar.config 605 B

1234567891011121314151617181920212223242526272829303132
  1. %% -*- mode: erlang -*-
  2. {deps, [
  3. {emqx, {path, "../emqx"}},
  4. {emqx_utils, {path, "../emqx_utils"}}
  5. ]}.
  6. {edoc_opts, [{preprocess, true}]}.
  7. {erl_opts, [
  8. warn_unused_vars,
  9. warn_shadow_vars,
  10. warnings_as_errors,
  11. warn_unused_import,
  12. warn_obsolete_guard,
  13. debug_info,
  14. {parse_transform}
  15. ]}.
  16. {xref_checks, [
  17. undefined_function_calls,
  18. undefined_functions,
  19. locals_not_used,
  20. deprecated_function_calls,
  21. warnings_as_errors,
  22. deprecated_functions
  23. ]}.
  24. {cover_enabled, true}.
  25. {cover_opts, [verbose]}.
  26. {cover_export_enabled, true}.
  27. {project_plugins, [erlfmt]}.