graphql-lint
graphql-lint: A focused Rust library and CLI for checking GraphQL SDL naming and deprecation rules. Ranked #14 of 19 in API Linting Tools by our editors (6.8/10); pricing: Free plan; best for rust projects linting GraphQL SDL schemas.
At a glance
- Editor score6.8 / 10
- PricingFree plan
- Best forRust projects linting GraphQL SDL schemas
- Free planYes
- Paid fromFree
- OpenAPI lintingNo
- Facts checked14 Nov 2026
Where it wins
- Use gqlint for command-line GraphQL SDL linting.
- Embed the library crate in Rust projects.
- Check naming conventions and @deprecated reason arguments.
Where it doesn't
- Focused on GraphQL SDL rather than OpenAPI or AsyncAPI.
- Custom rules are not supported.
- Its published feature set centers on naming and deprecation checks.
Our verdict on graphql-lint
graphql-lint is an open-source Rust tool for developers who need checks on GraphQL SDL schemas. It comes in two forms: a library crate for use from Rust projects and gqlint, a command-line interface for linting. Its published rules cover naming conventions across schema types, fields, arguments, directives, enums, unions, and interfaces. The tool also requires a reason argument when a schema uses the @deprecated directive. This makes it a fit for Rust teams that want repeatable schema checks in a codebase or command-line workflow, rather than a general-purpose API definition linter.
The scope is deliberately specific: the listed checks focus on naming and deprecation, and the category specification identifies GraphQL schema linting rather than OpenAPI or AsyncAPI linting. Custom rules are not supported. Teams needing a tailored policy engine or checks spanning multiple API description formats should look for a broader tool. For projects whose requirements align with its published rules, the combination of a library crate and CLI provides two ways to bring the checks into a workflow without changing the product's narrow focus.
The project is open source and has a free plan, with Linux, macOS, and Windows listed as supported platforms. Deployment is self-hosted, which suits teams that want to run linting within their own development environment. Grafbase also documents a separate GraphQL schema linting workflow in its platform CLI, but that is distinct from graphql-lint/gqlint; buyers evaluating this product should assess the standalone Rust library and CLI on their own terms. Choose graphql-lint when GraphQL SDL naming and deprecation rules are the main need, especially in a Rust project. Choose another option when you need custom rules, broader API-format coverage, or a wider set of published lint checks.
Your product? Our editors can test graphql-lint in depth and publish a review, labelled as paid · from $149/mo →
graphql-lint pricing
graphql-lint fact sheet
| Free plan | Yes |
|---|---|
| Paid from | Free |
| OpenAPI linting | No |
| AsyncAPI linting | No |
| GraphQL schema linting | Yes |
| Custom rules | No |
| CI integration | Not verified |
| Deployment | Self-hosted |
| Platforms | Linux, macOS, Windows |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | grafbase.com |
| Facts checked | 14 Nov 2026 |
Alternatives to graphql-lint
- SpectralA customizable JSON and YAML linter for teams enforcing OpenAPI and AsyncAPI standards.8.8
- ZallyA focused OpenAPI linter with REST API, CLI, web UI, and configurable rules.7.9
- APIMaticAPI linting and validation alongside SDK, documentation and portal generation.7.9
See all graphql-lint alternatives →
Used graphql-lint? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used graphql-lint for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
graphql-lint is listed in our API Linting Tools directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/graphql-lint/"><img src="https://www.itechguides.com/best/badge/graphql-lint.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update

