Skip to content

Commit

Permalink
Merge pull request #60 from aaronrenner/formatter-updates
Browse files Browse the repository at this point in the history
Configure formatter for macros
  • Loading branch information
mathieuprog authored Sep 2, 2022
2 parents a610c4a + 027be4f commit 7063a1c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Used by "mix format"
locals_without_parens = [
polymorphic_embeds_one: 2,
polymorphic_embeds_many: 2
]

[
import_deps: [:ecto],
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
locals_without_parens: locals_without_parens,
export: [
locals_without_parens: locals_without_parens
]
]

0 comments on commit 7063a1c

Please sign in to comment.