diff --git a/mix.exs b/mix.exs index a1f130bc..aaa8de25 100644 --- a/mix.exs +++ b/mix.exs @@ -132,6 +132,7 @@ defmodule MusicLibrary.MixProject do defp aliases do [ precommit: [ + "shellcheck", "credo --strict", "gettext.extract --check-up-to-date", "deps.unlock --unused", @@ -147,11 +148,12 @@ defmodule MusicLibrary.MixProject do ], "ecto.setup": ["ecto.create", "ecto.migrate"], "ecto.reset": ["ecto.drop", "ecto.setup"], + shellcheck: "cmd fd . 'scripts/' --exclude '*.hurl' -t file --exec shellcheck --color", lint: [ "format", "credo", "gettext.extract --merge", - "cmd fd . 'scripts/' --exclude '*.hurl' -t file --exec shellcheck --color" + "shellcheck" ], # When running the migrate task WITHOUT setting the log_level option, # Ecto defaults to debug IRRESPECTIVELY of the log level set in