GraphQL Schema Linter

JSON →
library 3.0.1 ·javascript
verified Jun 7, 2026

Command-line tool and library for validating GraphQL schema definitions against a configurable set of rules. Current stable version is 3.0.1, with monthly releases. It supports custom rules, multiple output formats (compact, JSON, text), and integration with pre-commit hooks via lint-staged. Unlike graphql-eslint or other query-focused tools, this linter targets schema definition files (.graphql) and enforces best practices like field descriptions, type naming conventions, and alphabetical sorting. Requires graphql as a peer dependency (v15 or v16).