@dry-lint/graphql
Part of the dry-lint monorepo.
Extracts types, queries, mutations, and fragments from GraphQL schemas (.graphql
/ .gql
) so you can detect duplicate or overlapping type definitions and operations across your GraphQL API.
bun add -D @dry-lint/graphql
Add it to your .drylintrc.json
:
{
"plugins": ["@dry-lint/graphql"]
}
Run detection with the CLI. This plugin auto-registers itself.
MIT — see LICENSE.