2022-09-02 04:04:16 +00:00
|
|
|
[
|
2023-10-09 12:37:44 +00:00
|
|
|
import_deps: [
|
2023-11-06 18:51:18 +00:00
|
|
|
# :beacon, :beacon_live_admin,
|
2023-10-09 12:37:44 +00:00
|
|
|
:surface,
|
|
|
|
:phoenix,
|
|
|
|
:ecto,
|
2023-10-16 23:55:21 +00:00
|
|
|
:ecto_sql,
|
2023-11-06 18:51:18 +00:00
|
|
|
:assert_value,
|
|
|
|
:mneme
|
2023-10-09 12:37:44 +00:00
|
|
|
],
|
2022-09-12 04:34:14 +00:00
|
|
|
plugins: [Phoenix.LiveView.HTMLFormatter, Surface.Formatter.Plugin],
|
2022-09-02 04:04:16 +00:00
|
|
|
|
|
|
|
# add patterns matching all .sface files and all .ex files with ~F sigils
|
2022-09-12 04:34:14 +00:00
|
|
|
inputs: [
|
|
|
|
"{mix,.formatter,mess}.exs",
|
|
|
|
"{flavours,lib,test}/**/*.{ex,exs,sface,heex}",
|
2022-11-29 22:59:22 +00:00
|
|
|
"extensions/*/{config,lib,test}/**/*.{ex,exs,sface,heex}",
|
2023-02-14 05:21:51 +00:00
|
|
|
"forks/bonfire*/{config,lib,test}/**/*.{ex,exs,sface,heex}",
|
|
|
|
"forks/{untangle,voodoo,zest,pointers,pointers_ulid,nodeinfo,iconify_ex,grumble,flexto,emote.ecto_sparkles,activity_pub,absinthe_client}/{config,lib,test}/**/*.{ex,exs,heex}"
|
2022-09-12 04:34:14 +00:00
|
|
|
],
|
2022-11-12 06:08:34 +00:00
|
|
|
subdirectories: ["priv/*/migrations"],
|
2022-09-02 04:04:16 +00:00
|
|
|
|
|
|
|
# THE FOLLOWING ARE OPTIONAL:
|
|
|
|
|
|
|
|
# set desired line length for both Elixir's code formatter and this one
|
|
|
|
# (only affects opening tags in Surface)
|
2022-09-12 04:34:14 +00:00
|
|
|
line_length: 98
|
|
|
|
|
|
|
|
# heex_line_length: 84,
|
2022-09-02 04:04:16 +00:00
|
|
|
|
|
|
|
# or, set line length only for Surface code (overrides `line_length`)
|
|
|
|
# surface_line_length: 84
|
|
|
|
]
|