defmodule Mix.Tasks.Lint do @shortdoc """ Perform linting and static analysis using Lefthook as a runner for tools like Credo """ def run([]) do IO.puts "[STARTING] Static Analysis..." "lefthook" |> System.cmd(["run", "lint"]) IO.puts "[DONE] Static Analysis" end end