TypedGql.Formatter (typedGql v0.11.0)

Copy Markdown View Source

Formatter plugin for the ~GQL sigil.

Formats GraphQL code inside ~GQL sigils when running mix format.

Setup

Add to your .formatter.exs:

[
  plugins: [TypedGql.Formatter],
  # ...
]

Or if using TypedGql as a dependency:

[
  import_deps: [:typed_gql],
  # ...
]