{"id":18400917,"url":"https://github.com/magicmark/graphql-schema-linter-extras","last_synced_at":"2026-01-21T22:33:13.884Z","repository":{"id":69481835,"uuid":"229359126","full_name":"magicmark/graphql-schema-linter-extras","owner":"magicmark","description":"Additional rules for graphql-schema-linter, including a directive to disable rules for specific nodes of a GraphQL schema.","archived":false,"fork":false,"pushed_at":"2019-05-15T15:04:00.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-15T04:29:00.369Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicmark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2019-12-21T01:10:16.000Z","updated_at":"2022-07-04T05:12:19.000Z","dependencies_parsed_at":"2023-03-15T22:00:19.977Z","dependency_job_id":null,"html_url":"https://github.com/magicmark/graphql-schema-linter-extras","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/magicmark/graphql-schema-linter-extras","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicmark%2Fgraphql-schema-linter-extras","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicmark%2Fgraphql-schema-linter-extras/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicmark%2Fgraphql-schema-linter-extras/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicmark%2Fgraphql-schema-linter-extras/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicmark","download_url":"https://codeload.github.com/magicmark/graphql-schema-linter-extras/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicmark%2Fgraphql-schema-linter-extras/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645549,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-06T02:37:15.443Z","updated_at":"2026-01-21T22:33:13.868Z","avatar_url":"https://github.com/magicmark.png","language":null,"readme":"# GraphQL Schema Linter Extras\n\nAdditional rules for [graphql-schema-linter](https://github.com/cjoudrey/graphql-schema-linter),\nincluding a directive to disable rules for specific nodes of a GraphQL schema.\n\n## Installation and Usage\n\nInstall with `npm i graphql-schema-linter-extras -D`.\n\nEnable the additional rules (see below) in your\n[graphql-schema-linter-config](https://github.com/cjoudrey/graphql-schema-linter#configuration-file).\n\nUse `graphql-schema-linter --custom-rule-paths node_modules/graphql-schema-linter-extras/lib/*.js \u003cyour schema\u003e.gql` to lint a schema with the additional rules.\n\nTo use the `@lint`-directive (see below),\nadd the contents of `lint-directive.gql` to your schema.\nMake sure `lint-directive` is the first rule in your\n[graphql-schema-linter-config](https://github.com/cjoudrey/graphql-schema-linter#configuration-file).\n\n## Rules\n\n### `lint-directive`\n\nEnables the `@lint`-Directive.\n\n```graphql\n# For this type, missing field descriptions are allowed\ntype MyType @lint(disable: [\"fields-have-descriptions\"]) {\n  foo: String\n  # This is not an ID, suppress the typed-ids rule\n  notAnId: String @lint(disable: [\"typed-ids\"])\n}\n```\n\n### `list-items-not-null`\n\nThrows a validation error if a list field's items are nullable.\nFor example, `[String]` would allow `[\"foo\", null, \"baz\"]`, which is rarely desired.\n\n### `not-all-fields-null`\n\nThrows a validation error if all fields of a type are nullable, which is rarely desired.\n\n### `typed-ids`\n\nThrows a validation error if a field with an `id` suffix (case-insensitive) is not of type `ID`.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicmark%2Fgraphql-schema-linter-extras","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicmark%2Fgraphql-schema-linter-extras","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicmark%2Fgraphql-schema-linter-extras/lists"}