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

Latest commit

 

History

History
14 lines (12 loc) · 384 Bytes

File metadata and controls

14 lines (12 loc) · 384 Bytes

graphql-linter

Pre-commit hook that will run prettier -c --write on .graphql files to detect and fix GraphQL linting errors.

usage

Add the following block to your .pre-commit-config.yaml

  - repo: https://github.com/CyberGRX/graphql-linter
    rev: master
    hooks:
      - id: graphql-linter

docker

Public repo: https://hub.docker.com/r/cybergrx/graphql-linter