graphql-code-generator VS graphql-eslint

Compare graphql-code-generator vs graphql-eslint and see what are their differences.

graphql-code-generator

A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins. (by dotansimha)

graphql-eslint

ESLint parser, plugin and set rules for GraphQL (for schema and operations). Easily customizable with custom rules. Integrates with IDEs and modern GraphQL tools. (by dimaMachina)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
graphql-code-generator graphql-eslint
69 8
10,605 761
- -
9.3 9.7
6 days ago 1 day ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

graphql-code-generator

Posts with mentions or reviews of graphql-code-generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-15.

graphql-eslint

Posts with mentions or reviews of graphql-eslint. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-24.
  • Can I get some advice on whether I should be using @graphql-eslint/eslint-plugin or eslint-plugin-graphql for linting please?
    1 project | /r/graphql | 26 Jan 2023
    You can read more on this blog post and also check out the new graphql-eslint website (with the online interactive playground)
  • Scalable APIs with GraphQL Server Codegen Preset
    3 projects | dev.to | 24 Jan 2023
    GraphQL ESLint for validation, linting, and checking for best practices and conventions (like all resolvers must be camel case!!! 💀).
  • GraphQL-ESLint v3.14 - What's New?
    2 projects | dev.to | 29 Dec 2022
    ## Next Steps Check out [the roadmap for the V4 version](https://github.com/B2o5T/graphql-eslint/issues/981), the next major will be released once ESLint 9 will out and of course, propose your suggestions 🙂. Don't forget to give a star ⭐️ for [GraphQL-ESLint](https://github.com/B2o5T/graphql-eslint) if you like it! And Happy New 2023 Year! 🎄🎉 🥂 ### Community Thanks to our contributors @FloEdelmann, @TuvalSimha and @tshedor.
  • GitHub - cjoudrey/graphql-schema-linter: Validate GraphQL schema definitions against a set of rules
    2 projects | /r/graphql | 12 Aug 2022
    This is cool. How much overlap does it have and/or not have with https://github.com/B2o5T/graphql-eslint ?
  • Introducing GraphQL-ESLint!
    2 projects | dev.to | 29 Jul 2021
    Those could be standards that are specific for a single codebase or shared in the community. As the GraphQL ecosystem is growing quickly, we decided it's important to create a modern integration between GraphQL and ESLint, that supports all the modern needs of a GraphQL developer: graphql-eslint.
  • GraphQL - Diving Deep
    47 projects | dev.to | 29 Jul 2021
    Want to have ESLint support to enforce standards and maintain sanity across your team, try something like GraphQL ESLint and set it up with your preferred conventions.
  • The Stack #1
    9 projects | dev.to | 29 Jul 2021
    GraphQL ESLint
  • The Stack #2
    13 projects | dev.to | 29 Jul 2021
    In the previous blog, we had started going through "The GraphQL Stack" that we use at Timecampus going through various libraries and tools like VSCode, GraphQL Config, VSCode GraphQL, GraphQL ESLint, GraphQL Inspector, Typescript, GraphQL Helix and GraphQL Codegen. In this blog, we will continue our journey exploring from where we left off.

What are some alternatives?

When comparing graphql-code-generator and graphql-eslint you can also consider the following projects:

nexus - Code-First, Type-Safe, GraphQL Schema Construction

vscode-graphql - MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)

contentful-typescript-codegen - Generate TypeScript interfaces from a Contentful environment

TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

Visual Studio Code - Visual Studio Code

TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.

graphql-helix - A highly evolved GraphQL HTTP Server 🧬

rtk-query-codegen

PostgreSQL - Mirror of the official PostgreSQL GIT repository. Note that this is just a *mirror* - we don't work with pull requests on github. To contribute, please see https://wiki.postgresql.org/wiki/Submitting_a_Patch

lint-staged - 🚫💩 — Run linters on git staged files

estree - The ESTree Spec