Last active
April 20, 2020 18:10
-
-
Save voger/9823d7b470a2f53ac48e3debb8e1cc6a to your computer and use it in GitHub Desktop.
My custom .formatter.exs for elixir's mix format task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| inputs: ["mix.exs", "{config,lib,test}/**/*.{ex,exs}"], | |
| locals_without_parens: [ | |
| # Kernel | |
| inspect: :*, | |
| # Phoenix | |
| plug: :*, | |
| action_fallback: :*, | |
| render: :*, | |
| redirect: :*, | |
| socket: :*, | |
| get: :*, | |
| post: :*, | |
| put: :*, | |
| resources: :*, | |
| pipe_through: :*, | |
| delete: :*, | |
| forward: :*, | |
| channel: :*, | |
| transport: :*, | |
| # Ecto Schema | |
| field: :*, | |
| belongs_to: :*, | |
| has_one: :*, | |
| has_many: :*, | |
| embeds_one: :*, | |
| embeds_many: :*, | |
| many_to_many: :*, | |
| add: :*, | |
| # Ecto Query | |
| from: :*, | |
| # Ecto Migration | |
| create: :*, | |
| modify: :*, | |
| # Absinthe | |
| arg: :*, | |
| field: :*, | |
| resolve: :*, | |
| middleware: :*, | |
| trigger: :*, | |
| config: :*, | |
| parse: :*, | |
| serialize: :*, | |
| value: :*, | |
| resolve_type: :*, | |
| import_types: :*, | |
| import_fields: :*, | |
| interface: :*, | |
| union: :*, | |
| ] | |
| ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment