-
-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESlint rules fixes #2229
ESlint rules fixes #2229
Conversation
diff --git a/website/algolia-lockfile.json b/website/algolia-lockfile.json%0Aindex 0967ef42..a61b5806 100644%0A--- a/website/algolia-lockfile.json%0A+++ b/website/algolia-lockfile.json%0A@@ -1 +1,1077 @@%0A-{}%0A+[%0A+ {%0A+ "objectID": "inspector-docs-api-documents",%0A+ "headings": [%0A+ "JavaScript And TypeScript Files",%0A+ "GraphQL Files",%0A+ "Programmatic API"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "JavaScript And TypeScript Files",%0A+ "anchor": "javascript-and-typescript-files"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GraphQL Files",%0A+ "anchor": "graphql-files"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Programmatic API",%0A+ "anchor": "programmatic-api"%0A+ }%0A+ ],%0A+ "content": "fa7a7313300bbcde1b7a397927d179f2",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/api/documents",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "API"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Providing Documents",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-api-schema",%0A+ "headings": [%0A+ "JavaScript And TypeScript File",%0A+ "GraphQL File",%0A+ "JSON File",%0A+ "GraphQL Endpoint",%0A+ "Git Repository",%0A+ "GitHub Repository",%0A+ "Programmatic API"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "JavaScript And TypeScript File",%0A+ "anchor": "javascript-and-typescript-file"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GraphQL File",%0A+ "anchor": "graphql-file"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "JSON File",%0A+ "anchor": "json-file"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GraphQL Endpoint",%0A+ "anchor": "graphql-endpoint"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Git Repository",%0A+ "anchor": "git-repository"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GitHub Repository",%0A+ "anchor": "github-repository"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Programmatic API",%0A+ "anchor": "programmatic-api"%0A+ }%0A+ ],%0A+ "content": "130b57f734850ef8a8ab5e9d53f8212e",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/api/schema",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "API"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Providing Schema",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-audit",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Example",%0A+ "anchor": "example"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "338710dd0b89f2a5c6addbc1f7148afb",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/audit",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Audit Documents",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-coverage",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "8f24e3901b120493a730c4e1243b5d02",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/coverage",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Schema Coverage",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-diff",%0A+ "headings": [%0A+ "Using GitHub Application",%0A+ "Using GitHub Action",%0A+ "Using in CI",%0A+ "Using CLI"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Using GitHub Application",%0A+ "anchor": "using-github-application"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Using GitHub Action",%0A+ "anchor": "using-github-action"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Using in CI",%0A+ "anchor": "using-in-ci"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Examples",%0A+ "anchor": "examples"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Rules",%0A+ "anchor": "rules"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Custom rules",%0A+ "anchor": "custom-rules"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Passing different headers to multiple remote schemas",%0A+ "anchor": "passing-different-headers-to-multiple-remote-schemas"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "title": "Using CLI",%0A+ "anchor": "using-cli"%0A+ }%0A+ ],%0A+ "content": "17a2bf77d2eb45118828acf10c390b8e",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/diff",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Schema Validation",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-introspect",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "93beaac082f89520eac59a97a6e625fb",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/introspect",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Introspection",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-notifications",%0A+ "headings": [%0A+ "How does it Work?",%0A+ "Configuration",%0A+ "Notifications on Slack",%0A+ "Notifications on Discord",%0A+ "Notifications via Webhook"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "How does it Work?",%0A+ "anchor": "how-does-it-work"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Using with Environments",%0A+ "anchor": "using-with-environments"%0A+ }%0A+ ],%0A+ "title": "Configuration",%0A+ "anchor": "configuration"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Notifications on Slack",%0A+ "anchor": "notifications-on-slack"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Notifications on Discord",%0A+ "anchor": "notifications-on-discord"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Example Payload",%0A+ "anchor": "example-payload"%0A+ }%0A+ ],%0A+ "title": "Payload Structure",%0A+ "anchor": "payload-structure"%0A+ }%0A+ ],%0A+ "title": "Notifications via Webhook",%0A+ "anchor": "notifications-via-webhook"%0A+ }%0A+ ],%0A+ "content": "fed90ae49a4f3e4de3b1f7834915681f",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/notifications",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Schema Change Notifications",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-serve",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "22e84a2568da9a6849c3b4ed2c979f22",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/serve",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Serve With Faked Data",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-similar",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "fbdc2d82cfb558b9b0b9135bfbefe8d7",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/similar",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Find Similar Types",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-essentials-validate",%0A+ "headings": [%0A+ "Usage"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Arguments",%0A+ "anchor": "arguments"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Flags",%0A+ "anchor": "flags"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Output",%0A+ "anchor": "output"%0A+ }%0A+ ],%0A+ "title": "Example",%0A+ "anchor": "example"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "content": "4e90c0042c3506a9062f9b9de916ec0b",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/essentials/validate",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Essentials"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Validate Documents",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-introduction-index",%0A+ "headings": [%0A+ "GitHub Application and Action",%0A+ "Command Line Tool",%0A+ "Features"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "GitHub Application and Action",%0A+ "anchor": "github-application-and-action"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Command Line Tool",%0A+ "anchor": "command-line-tool"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Keep Operations and Fragments in Line with GraphQL Schema",%0A+ "anchor": "keep-operations-and-fragments-in-line-with-graphql-schema"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GitHub Application and GitHub Action",%0A+ "anchor": "github-application-and-github-action"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Find Duplicated Types",%0A+ "anchor": "find-duplicated-types"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Schema coverage",%0A+ "anchor": "schema-coverage"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Serve Faked GraphQL API",%0A+ "anchor": "serve-faked-graphql-api"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Introspect GraphQL API",%0A+ "anchor": "introspect-graphql-api"%0A+ }%0A+ ],%0A+ "title": "Detect Changes Between GraphQL Schemas",%0A+ "anchor": "detect-changes-between-graphql-schemas"%0A+ }%0A+ ],%0A+ "title": "Features",%0A+ "anchor": "features"%0A+ }%0A+ ],%0A+ "content": "496c400b43f1433b323161ed6848f260",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/introduction/index",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Introduction"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "What is GraphQL Inspector?",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-introduction-installation",%0A+ "headings": [%0A+ "GitHub Application",%0A+ "GitHub Action",%0A+ "CLI",%0A+ "CLI for CI",%0A+ "Programmatic API",%0A+ "Docker"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "GitHub Application",%0A+ "anchor": "github-application"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "GitHub Action",%0A+ "anchor": "github-action"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ }%0A+ ],%0A+ "title": "CLI",%0A+ "anchor": "cli"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage-1"%0A+ }%0A+ ],%0A+ "title": "Commands",%0A+ "anchor": "commands"%0A+ }%0A+ ],%0A+ "title": "CLI for CI",%0A+ "anchor": "cli-for-ci"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage-2"%0A+ }%0A+ ],%0A+ "title": "Programmatic API",%0A+ "anchor": "programmatic-api"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Docker",%0A+ "anchor": "docker"%0A+ }%0A+ ],%0A+ "content": "85a178d8f55dbf0621c44be0600480ee",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/introduction/installation",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Introduction"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Getting Started",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-products-action",%0A+ "headings": [%0A+ "Usage",%0A+ "Inputs",%0A+ "Outputs"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "`annotations`",%0A+ "anchor": "annotations"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "`fail-on-breaking`",%0A+ "anchor": "fail-on-breaking"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "`approve-label`",%0A+ "anchor": "approve-label"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "`endpoint`",%0A+ "anchor": "endpoint"%0A+ }%0A+ ],%0A+ "title": "`name`",%0A+ "anchor": "name"%0A+ }%0A+ ],%0A+ "title": "Inputs",%0A+ "anchor": "inputs"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "`changes`",%0A+ "anchor": "changes"%0A+ }%0A+ ],%0A+ "title": "Outputs",%0A+ "anchor": "outputs"%0A+ }%0A+ ],%0A+ "content": "3f5e9c4dedd3fb707c6b48f4691d90ed",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/products/action",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Products"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "GitHub Action",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-products-ci",%0A+ "headings": [%0A+ "Installation",%0A+ "Commands",%0A+ "Loaders",%0A+ "Usage",%0A+ "Example",%0A+ "Recommended Workflow",%0A+ "Using Docker Image"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Installation",%0A+ "anchor": "installation"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Commands",%0A+ "anchor": "commands"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Loaders",%0A+ "anchor": "loaders"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Example",%0A+ "anchor": "example"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Recommended Workflow",%0A+ "anchor": "recommended-workflow"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Using Docker Image",%0A+ "anchor": "using-docker-image"%0A+ }%0A+ ],%0A+ "content": "ca63074fe710ba20bf26648697fcc7f0",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/products/ci",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Products"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Continuous Integration",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-products-github",%0A+ "headings": [%0A+ "Main Features",%0A+ "Installation",%0A+ "Usage",%0A+ "Features",%0A+ "Other"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Main Features",%0A+ "anchor": "main-features"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Installation",%0A+ "anchor": "installation"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Annotations",%0A+ "anchor": "annotations"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Detection of changes",%0A+ "anchor": "detection-of-changes"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Using GraphQL Endpoint",%0A+ "anchor": "using-graphql-endpoint"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Using Multiple environments",%0A+ "anchor": "using-multiple-environments"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Intercept Checks With Serverless Functions",%0A+ "anchor": "intercept-checks-with-serverless-functions"%0A+ }%0A+ ],%0A+ "title": "Schema Change Notifications",%0A+ "anchor": "schema-change-notifications"%0A+ }%0A+ ],%0A+ "title": "Features",%0A+ "anchor": "features"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Limit Summary Length",%0A+ "anchor": "limit-summary-length"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Experimental",%0A+ "anchor": "experimental"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Full Configuration",%0A+ "anchor": "full-configuration"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Recommended workflow",%0A+ "anchor": "recommended-workflow"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Deploy your own GraphQL Inspector App",%0A+ "anchor": "deploy-your-own-graphql-inspector-app"%0A+ }%0A+ ],%0A+ "title": "Approved Breaking Change Label",%0A+ "anchor": "approved-breaking-change-label"%0A+ }%0A+ ],%0A+ "title": "Other",%0A+ "anchor": "other"%0A+ }%0A+ ],%0A+ "content": "e17b55e5770070c28846dcb9789dc7d4",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/products/github",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Products"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "GitHub Application",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-recipes-annotations",%0A+ "headings": [%0A+ "Disabling Annotations"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Multiple Environment Setup",%0A+ "anchor": "multiple-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Single Environment Setup",%0A+ "anchor": "single-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Disabling Annotations",%0A+ "anchor": "disabling-annotations"%0A+ }%0A+ ],%0A+ "content": "aa5f4b19e082938f6764060b7c8745ed",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/recipes/annotations",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Recipes"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Annotations",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-recipes-endpoints",%0A+ "headings": [%0A+ "Usage",%0A+ "How it works"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Multiple Environment Setup",%0A+ "anchor": "multiple-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Single Environment Setup",%0A+ "anchor": "single-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "How it works",%0A+ "anchor": "how-it-works"%0A+ }%0A+ ],%0A+ "content": "2e852c09baaf22a40b27c63cd07dd88e",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/recipes/endpoints",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Recipes"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Using GraphQL Endpoints",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-recipes-environments",%0A+ "headings": [%0A+ "Migrate from One to Multiple Environments",%0A+ "Global Configuration"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Migrate from One to Multiple Environments",%0A+ "anchor": "migrate-from-one-to-multiple-environments"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Global Configuration",%0A+ "anchor": "global-configuration"%0A+ }%0A+ ],%0A+ "content": "729448c6f8289030e6ecaaec3953f1e6",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/recipes/environments",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Recipes"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Using Environments",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-recipes-intercept",%0A+ "headings": [%0A+ "Usage",%0A+ "Setting an Interceptor Logic",%0A+ "Payload and Response Structures"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Multiple Environment Setup",%0A+ "anchor": "multiple-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Single Environment Setup",%0A+ "anchor": "single-environment-setup"%0A+ }%0A+ ],%0A+ "title": "Usage",%0A+ "anchor": "usage"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Setting an Interceptor Logic",%0A+ "anchor": "setting-an-interceptor-logic"%0A+ },%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [%0A+ {%0A+ "children": [],%0A+ "title": "Response",%0A+ "anchor": "response"%0A+ }%0A+ ],%0A+ "title": "Payload",%0A+ "anchor": "payload"%0A+ }%0A+ ],%0A+ "title": "Payload and Response Structures",%0A+ "anchor": "payload-and-response-structures"%0A+ }%0A+ ],%0A+ "content": "fd1816f48b4eed469ae74c0ec5da0112",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/recipes/intercept",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Recipes"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Intercepting Schema Changes",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-docs-recipes-pull-requests",%0A+ "headings": [%0A+ "Single environment",%0A+ "Multiple environments",%0A+ "Disabling GitHub Action"%0A+ ],%0A+ "toc": [%0A+ {%0A+ "children": [],%0A+ "title": "Single environment",%0A+ "anchor": "single-environment"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Multiple environments",%0A+ "anchor": "multiple-environments"%0A+ },%0A+ {%0A+ "children": [],%0A+ "title": "Disabling GitHub Action",%0A+ "anchor": "disabling-github-action"%0A+ }%0A+ ],%0A+ "content": "a3f4e8c859da4ae2718f0c97244ad1d7",%0A+ "url": "https://www.the-guild.dev/graphql/inspector/docs/recipes/pull-requests",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [%0A+ "Docs",%0A+ "Recipes"%0A+ ],%0A+ "source": "Inspector",%0A+ "title": "Managing Pull Requests",%0A+ "type": "Documentation"%0A+ },%0A+ {%0A+ "objectID": "inspector-index",%0A+ "headings": [],%0A+ "toc": [],%0A+ "content": "d41d8cd98f00b204e9800998ecf8427e",%0A+ "url": "https://www.the-guild.dev/graphql/inspector//index",%0A+ "domain": "https://www.the-guild.dev/graphql/inspector/",%0A+ "hierarchy": [],%0A+ "source": "Inspector",%0A+ "title": "Home",%0A+ "type": "Documentation"%0A+ }%0A+]%0A\ No newline at end of file |
🚀 Website PreviewThe latest changes to the website are available as preview in: https://249e7418.graphql-inspector.pages.dev |
packages/commands/introspect/__tests__/introspect-command.spec.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left suggestions, also let's fix the following rules
no-prototype-builtins
, no-implicit-coercion
and no-restricted-syntax
023b4f1
to
704f078
Compare
|
@B2o5T Issue: |
7973567
to
270e8a3
Compare
270e8a3
to
974737d
Compare
🚀 Snapshot Release (
|
Package | Version | Info |
---|---|---|
@graphql-inspector/action |
3.4.3-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/ci |
3.4.1-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/cli |
3.4.3-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/audit-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/commands |
3.4.1-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/coverage-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/diff-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/docs-command |
3.4.1-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/introspect-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/serve-command |
3.4.1-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/similar-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/validate-command |
3.4.2-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/github |
3.4.3-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
@graphql-inspector/loaders |
3.4.1-alpha-20230207141519-a258d5ca |
npm ↗︎ unpkg ↗︎ |
Rules: