mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-16 16:12:41 +00:00
24 lines
700 B
Elixir
24 lines
700 B
Elixir
[
|
|
import_deps: [:surface, :ecto, :phoenix],
|
|
plugins: [Phoenix.LiveView.HTMLFormatter, Surface.Formatter.Plugin],
|
|
|
|
# add patterns matching all .sface files and all .ex files with ~F sigils
|
|
inputs: [
|
|
"{mix,.formatter,mess}.exs",
|
|
"{flavours,lib,test}/**/*.{ex,exs,sface,heex}",
|
|
"forks/bonfire*/{config,lib,test}/**/*.{ex,exs,sface,heex}"
|
|
],
|
|
subdirectories: ["priv/*/migrations"],
|
|
|
|
# THE FOLLOWING ARE OPTIONAL:
|
|
|
|
# set desired line length for both Elixir's code formatter and this one
|
|
# (only affects opening tags in Surface)
|
|
line_length: 98
|
|
|
|
# heex_line_length: 84,
|
|
|
|
# or, set line length only for Surface code (overrides `line_length`)
|
|
# surface_line_length: 84
|
|
]
|