Skip to content

Commit

Permalink
add formatter config
Browse files Browse the repository at this point in the history
We run the formatter in CI but don't fail as it comes back with a lot of
findings right now
  • Loading branch information
schultyy committed Jul 28, 2023
1 parent d27fa24 commit 45cc1f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .formatter.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
]
1 change: 1 addition & 0 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
# This step fails if something was found unformatted.
# Customize this step as desired.
- name: Check Formatting
if: always()
run: mix format --check-formatted

# Step: Execute the tests.
Expand Down

0 comments on commit 45cc1f5

Please sign in to comment.