Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
18 lines (13 loc) · 387 Bytes

09-Lint.md

File metadata and controls

18 lines (13 loc) · 387 Bytes

Linting

Lint GraphQL Schema

With graphql lint you can validate a GraphQL schema against a perdefined set of rules.

Assume the following .graphqlconfig:

projects:
  hello-world:
    schemaPath: schema.graphql
    extensions:
      endpoints:
        dev: https://myapiserver.com/graphql/dev

Running graphql lint will emit validation errors against the schema.