Skip to content

Commit fe3be9b

Browse files
committed
Added mix lint alias
1 parent 3e99f1b commit fe3be9b

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,4 @@ jobs:
1919
mix local.hex --force
2020
mix local.rebar --force
2121
mix deps.get
22-
mix compile
23-
mix format --check-formatted
24-
# Credo otherwise complains about `TODO` tags in our comments...
25-
mix credo --ignore design
26-
# mix test
22+
mix lint

mix.exs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ defmodule Todo.MixProject do
4949
"esbuild default --minify",
5050
"sass default --no-source-map --style=compressed",
5151
"phx.digest"
52+
],
53+
lint: [
54+
"compile --warnings-as-errors",
55+
"format --check-formatted",
56+
"credo --ignore design"
5257
]
5358
]
5459
end

0 commit comments

Comments
 (0)