Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
formatter config file
[
inputs: ["lib/**/*.{ex,exs}", "test/**/*.{ex,exs}"],
locals_without_parens: [
# plug
plug: :*,
parse: :*,
serialize: :*,
value: :*,
match: :*,
# ecto
has_one: :*,
has_many: :*,
embeds_one: :*,
embeds_many: :*,
belongs_to: :*,
add: :*,
from: :*,
# ecto migrations
remove: 1,
add: :*,
# phoenix
transport: :*,
socket: :*,
pipe_through: :*,
forward: :*,
options: :*,
defenum: :*,
get: :*,
post: :*,
delete: :*,
patch: :*,
# absinthe
field: :*,
resolve: :*,
arg: :*,
list_of: :*,
middleware: :*,
import_types: 1
],
line_length: 120
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment