Sign inSign up

cybergrx/graphql-linter

By cybergrx

•Updated about 6 years ago

Run graphql schema linting with a pre-commit hook

Image
0

500K+

cybergrx/graphql-linter repository overview

⁠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/pre-commit
    rev: v1.0.0
    hooks:
      - id: graphql-linter

⁠github

Repository: https://github.com/CyberGRX/pre-commit/tree/master/graphql-linter⁠

Tag summary

Content type

Image

Digest

Size

51.4 MB

Last updated

about 6 years ago

docker pull cybergrx/graphql-linter