{"id":39456162,"url":"https://github.com/zakodium/eslint-config-graphql","last_synced_at":"2026-01-18T04:36:13.352Z","repository":{"id":38196148,"uuid":"335574680","full_name":"zakodium/eslint-config-graphql","owner":"zakodium","description":"Eslint config for graphql files","archived":false,"fork":false,"pushed_at":"2024-10-06T13:49:02.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-20T02:52:33.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zakodium.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-02-03T09:39:46.000Z","updated_at":"2024-10-06T13:48:52.000Z","dependencies_parsed_at":"2023-12-05T10:29:43.898Z","dependency_job_id":"bc15321f-f09a-4fc8-a2d2-6a73101c2e9d","html_url":"https://github.com/zakodium/eslint-config-graphql","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/zakodium/eslint-config-graphql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakodium%2Feslint-config-graphql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakodium%2Feslint-config-graphql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakodium%2Feslint-config-graphql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakodium%2Feslint-config-graphql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zakodium","download_url":"https://codeload.github.com/zakodium/eslint-config-graphql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zakodium%2Feslint-config-graphql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28529859,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-18T04:36:13.288Z","updated_at":"2026-01-18T04:36:13.346Z","avatar_url":"https://github.com/zakodium.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @zakodium/eslint-config-graphql\n\nShared ESLint config for frontend and backend projects using GraphQL\n\n## Installation\n\n```console\nnpm i -D @zakodium/eslint-config-graphql eslint\n```\n\n`graphql` is also a peer dependency and would usually be in the dependencies of your project\n\n```console\nnpm i graphql\n```\n\n## Usage\n\nCreate a `eslint.config.mjs` with the following contents:\n\n```js\nimport graphql from '@zakodium/eslint-config-graphql';\n\nexport default [\n  // You will probably extend other configs as well.\n  ...graphql,\n];\n```\n\nCreate a `.graphqlrc` or `.graphqlconfig` file with your GraphQL configuration\n\nOr alternatively, specify the options in the ESLint config:\n\n```js\nimport graphql from '@zakodium/eslint-config-graphql';\n\nexport default [\n  // You will probably extend other configs as well.\n  ...graphql,\n  {\n    files: ['**/*.{gql,graphql}'],\n    languageOptions: {\n      parserOptions: {\n        graphQLConfig: {\n          schema: 'path/to/your/schema/**/*.{gql,graphql}',\n          documents: 'path/to/your/operations/**/*.{gql,graphql}',\n        },\n      },\n    },\n  },\n];\n```\n\nYou can then customize the config for your project by changing rules in this file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakodium%2Feslint-config-graphql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzakodium%2Feslint-config-graphql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzakodium%2Feslint-config-graphql/lists"}