Do you use formatter in your elixir project?

Why not go all the way? :slight_smile: Have that in your aliases section of mix.exs:

      check: [
        "compile --warnings-as-errors",
        "format --check-formatted",
        "credo --strict",
        "coveralls.html",
        "dialyzer --format short"
      ]

Then just run mix check and voila, you almost have locally running CI.

16 Likes