Skip to content

Commit

Permalink
Use formatter for heex templates
Browse files Browse the repository at this point in the history
  • Loading branch information
13ue committed Nov 14, 2022
1 parent 371202e commit 36bf988
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .formatter.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"]
line_length: 120,
import_deps: [:phoenix],
plugins: [Phoenix.LiveView.HTMLFormatter],
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}"]
]

0 comments on commit 36bf988

Please sign in to comment.