graphql-lint-unused-fields
JSON →Terminal and pipeline tool for detecting unused fields in GraphQL queries across JavaScript/TypeScript projects. Current stable version: 1.6.18. Released as part of a monorepo with extensions. Supports traditional `gql`/`graphql` template literals, React JSX, hooks, destructuring, cross-file analysis, alias mapping, and configurable pipelines. CLI and programmatic API available. Output formats include console, JSON, and ESLint. Requires Node >=16.0.0. Open source core with optional extensions.
Resources
packagegraphql-lint-unused-fields ↗