From 5c6dd081d4d3d8d1b1bf2d708a2aa2089361e364 Mon Sep 17 00:00:00 2001 From: Maikel Date: Wed, 1 Oct 2025 15:22:37 +0200 Subject: [PATCH] docs: fix broken urls --- .github/ISSUE_TEMPLATE/config.yml | 2 +- README.md | 2 - examples/code-file/package.json | 2 +- examples/custom-rules/package.json | 2 +- examples/graphql-config/package.json | 2 +- examples/prettier/package.json | 2 +- examples/programmatic/package.json | 2 +- package.json | 4 +- packages/plugin/CHANGELOG.md | 266 +++++++++--------- packages/plugin/package.json | 2 +- packages/plugin/src/processor.ts | 2 +- scripts/generate-docs.ts | 4 +- website/app/layout.tsx | 10 +- website/content/docs/configs.mdx | 20 +- website/content/docs/custom-rules.mdx | 2 +- website/content/docs/usage/astro.mdx | 2 +- website/content/rules/alphabetize.mdx | 4 +- website/content/rules/description-style.mdx | 4 +- website/content/rules/input-name.mdx | 4 +- .../rules/lone-executable-definition.mdx | 4 +- .../content/rules/match-document-filename.mdx | 4 +- website/content/rules/naming-convention.mdx | 4 +- .../content/rules/no-anonymous-operations.mdx | 4 +- website/content/rules/no-deprecated.mdx | 4 +- website/content/rules/no-duplicate-fields.mdx | 4 +- .../content/rules/no-hashtag-description.mdx | 4 +- .../content/rules/no-one-place-fragments.mdx | 4 +- website/content/rules/no-root-type.mdx | 4 +- .../no-scalar-result-type-on-mutation.mdx | 4 +- website/content/rules/no-typename-prefix.mdx | 4 +- .../content/rules/no-unreachable-types.mdx | 4 +- website/content/rules/no-unused-fields.mdx | 4 +- website/content/rules/prettier.md | 2 +- website/content/rules/relay-arguments.mdx | 4 +- .../content/rules/relay-connection-types.mdx | 4 +- website/content/rules/relay-edge-types.mdx | 4 +- website/content/rules/relay-page-info.mdx | 4 +- .../rules/require-deprecation-date.mdx | 4 +- .../rules/require-deprecation-reason.mdx | 4 +- website/content/rules/require-description.mdx | 4 +- ...field-of-type-query-in-mutation-result.mdx | 4 +- .../content/rules/require-import-fragment.mdx | 4 +- .../require-nullable-fields-with-oneof.mdx | 4 +- .../rules/require-nullable-result-in-root.mdx | 4 +- website/content/rules/require-selections.mdx | 4 +- .../rules/require-type-pattern-with-oneof.mdx | 4 +- website/content/rules/selection-set-depth.mdx | 4 +- website/content/rules/strict-id-in-types.mdx | 4 +- .../content/rules/unique-enum-value-names.mdx | 4 +- .../content/rules/unique-fragment-name.mdx | 4 +- .../content/rules/unique-operation-name.mdx | 4 +- 51 files changed, 233 insertions(+), 231 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 51f21279f63..c080b2490b3 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,7 +1,7 @@ blank_issues_enabled: false contact_links: - name: Have a question? - url: https://github.com/dimaMachina/graphql-eslint/discussions/new + url: https://github.com/graphql-hive/graphql-eslint/discussions/new about: Not sure about something? need help from the community? have a question to our team? please ask and answer questions here. diff --git a/README.md b/README.md index 8414b9d22b1..70ba0fdb2c0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ - - # GraphQL-ESLint [![npm version](https://badge.fury.io/js/%40graphql-eslint%2Feslint-plugin.svg)](https://badge.fury.io/js/%40graphql-eslint%2Feslint-plugin) diff --git a/examples/code-file/package.json b/examples/code-file/package.json index d986c710311..4032b081a5e 100644 --- a/examples/code-file/package.json +++ b/examples/code-file/package.json @@ -2,7 +2,7 @@ "name": "@graphql-eslint/example-code-file", "version": "0.0.0", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dotan Simha ", "private": true, "scripts": { diff --git a/examples/custom-rules/package.json b/examples/custom-rules/package.json index 4ab1f3c23c4..831c624258a 100644 --- a/examples/custom-rules/package.json +++ b/examples/custom-rules/package.json @@ -2,7 +2,7 @@ "name": "@graphql-eslint/example-custom-rules", "version": "0.0.0", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dimitri POSTOLOV ", "private": true, "scripts": { diff --git a/examples/graphql-config/package.json b/examples/graphql-config/package.json index 6191d76181c..4e044163c3f 100644 --- a/examples/graphql-config/package.json +++ b/examples/graphql-config/package.json @@ -2,7 +2,7 @@ "name": "@graphql-eslint/example-graphql-config", "version": "0.0.0", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dotan Simha ", "private": true, "scripts": { diff --git a/examples/prettier/package.json b/examples/prettier/package.json index c542185fefb..84c618cd585 100644 --- a/examples/prettier/package.json +++ b/examples/prettier/package.json @@ -2,7 +2,7 @@ "name": "@graphql-eslint/example-prettier", "version": "0.0.0", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "JounQin ", "private": true, "scripts": { diff --git a/examples/programmatic/package.json b/examples/programmatic/package.json index e24dec396df..b7b9870fe6e 100644 --- a/examples/programmatic/package.json +++ b/examples/programmatic/package.json @@ -2,7 +2,7 @@ "name": "@graphql-eslint/example-programmatic", "version": "0.0.0", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dotan Simha ", "private": true, "scripts": { diff --git a/package.json b/package.json index 5e069fad1ae..a7560597210 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "graphql-eslint-monorepo", "type": "module", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dotan Simha ", "license": "MIT", "private": true, @@ -69,4 +69,4 @@ "cookie": "0.7.0" } } -} \ No newline at end of file +} diff --git a/packages/plugin/CHANGELOG.md b/packages/plugin/CHANGELOG.md index c50f9e07d90..f182613f434 100644 --- a/packages/plugin/CHANGELOG.md +++ b/packages/plugin/CHANGELOG.md @@ -33,15 +33,15 @@ ### Minor Changes -- [#2814](https://github.com/dimaMachina/graphql-eslint/pull/2814) - [`ccc302d`](https://github.com/dimaMachina/graphql-eslint/commit/ccc302d3e43634f1010564a6522413f133aeb674) +- [#2814](https://github.com/graphql-hive/graphql-eslint/pull/2814) + [`ccc302d`](https://github.com/graphql-hive/graphql-eslint/commit/ccc302d3e43634f1010564a6522413f133aeb674) Thanks [@dimaMachina](https://github.com/dimaMachina)! - lint federation subgraphs schemas without parse errors ### Patch Changes -- [#2814](https://github.com/dimaMachina/graphql-eslint/pull/2814) - [`ccc302d`](https://github.com/dimaMachina/graphql-eslint/commit/ccc302d3e43634f1010564a6522413f133aeb674) +- [#2814](https://github.com/graphql-hive/graphql-eslint/pull/2814) + [`ccc302d`](https://github.com/graphql-hive/graphql-eslint/commit/ccc302d3e43634f1010564a6522413f133aeb674) Thanks [@dimaMachina](https://github.com/dimaMachina)! - dependencies updates: - Updated dependency @@ -51,16 +51,16 @@ [`@apollo/subgraph@^2` ↗︎](https://www.npmjs.com/package/@apollo/subgraph/v/2.0.0) (to `peerDependencies`) -- [#2797](https://github.com/dimaMachina/graphql-eslint/pull/2797) - [`b904515`](https://github.com/dimaMachina/graphql-eslint/commit/b9045158e181925cbf2eedbb9f6b9964f25fe613) +- [#2797](https://github.com/graphql-hive/graphql-eslint/pull/2797) + [`b904515`](https://github.com/graphql-hive/graphql-eslint/commit/b9045158e181925cbf2eedbb9f6b9964f25fe613) Thanks [@dimaMachina](https://github.com/dimaMachina)! - remove `truthy` helper function ## 4.2.1 ### Patch Changes -- [#2805](https://github.com/dimaMachina/graphql-eslint/pull/2805) - [`fc2bf85`](https://github.com/dimaMachina/graphql-eslint/commit/fc2bf850b813ac567967ee5ce0f1358f0b7fa4e0) +- [#2805](https://github.com/graphql-hive/graphql-eslint/pull/2805) + [`fc2bf85`](https://github.com/graphql-hive/graphql-eslint/commit/fc2bf850b813ac567967ee5ce0f1358f0b7fa4e0) Thanks [@FloEdelmann](https://github.com/FloEdelmann)! - fix(deps): increase minimum graphql-config version @@ -68,8 +68,8 @@ ### Minor Changes -- [#2790](https://github.com/dimaMachina/graphql-eslint/pull/2790) - [`438078d`](https://github.com/dimaMachina/graphql-eslint/commit/438078d54442ef5e584affb2ae82c32898ce7e3e) +- [#2790](https://github.com/graphql-hive/graphql-eslint/pull/2790) + [`438078d`](https://github.com/graphql-hive/graphql-eslint/commit/438078d54442ef5e584affb2ae82c32898ce7e3e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - feat(`require-selections` rule): introduce new option `requireAllFields` to require all values of `fieldName: string[]` option @@ -77,41 +77,41 @@ ### Patch Changes -- [#2785](https://github.com/dimaMachina/graphql-eslint/pull/2785) - [`99b0703`](https://github.com/dimaMachina/graphql-eslint/commit/99b0703e91fc6661664c8773f48ffe28ac4a3467) +- [#2785](https://github.com/graphql-hive/graphql-eslint/pull/2785) + [`99b0703`](https://github.com/graphql-hive/graphql-eslint/commit/99b0703e91fc6661664c8773f48ffe28ac4a3467) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `allowLeadingUnderscore` and `allowTrailingUnderscore` should not conflict with `ignorePattern` in `naming-convention` rule -- [#2787](https://github.com/dimaMachina/graphql-eslint/pull/2787) - [`f370359`](https://github.com/dimaMachina/graphql-eslint/commit/f370359b4844c291cf5790e4503454ebd30373a2) +- [#2787](https://github.com/graphql-hive/graphql-eslint/pull/2787) + [`f370359`](https://github.com/graphql-hive/graphql-eslint/commit/f370359b4844c291cf5790e4503454ebd30373a2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add an example with - [custom graphql rules](https://github.com/dimaMachina/graphql-eslint/tree/master/examples/custom-rules) + [custom graphql rules](https://github.com/graphql-hive/graphql-eslint/tree/master/examples/custom-rules) ## 4.1.0 ### Minor Changes -- [#2780](https://github.com/dimaMachina/graphql-eslint/pull/2780) - [`98e0b56`](https://github.com/dimaMachina/graphql-eslint/commit/98e0b564a7df339aad03e5ea69e40d34864b2fc1) +- [#2780](https://github.com/graphql-hive/graphql-eslint/pull/2780) + [`98e0b56`](https://github.com/graphql-hive/graphql-eslint/commit/98e0b564a7df339aad03e5ea69e40d34864b2fc1) Thanks [@dimaMachina](https://github.com/dimaMachina)! - introduce `forbiddenPatterns` and `requiredPatterns` options for `naming-convention` rule and deprecate `forbiddenPrefixes`, `forbiddenSuffixes` and `requiredPrefixes` and `requiredSuffixes` -- [#2782](https://github.com/dimaMachina/graphql-eslint/pull/2782) - [`4c20cdd`](https://github.com/dimaMachina/graphql-eslint/commit/4c20cddd252091d61be708a83649ef4b3655e66c) +- [#2782](https://github.com/graphql-hive/graphql-eslint/pull/2782) + [`4c20cdd`](https://github.com/graphql-hive/graphql-eslint/commit/4c20cddd252091d61be708a83649ef4b3655e66c) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add new option `ignoredSelectors` for `require-description` rule, to ignore eslint selectors, e.g. types which ends with `Connection` or `Edge` -- [#2783](https://github.com/dimaMachina/graphql-eslint/pull/2783) - [`6e354c9`](https://github.com/dimaMachina/graphql-eslint/commit/6e354c91ec926ae2ff82668d7b81c0a79b019bc3) +- [#2783](https://github.com/graphql-hive/graphql-eslint/pull/2783) + [`6e354c9`](https://github.com/graphql-hive/graphql-eslint/commit/6e354c91ec926ae2ff82668d7b81c0a79b019bc3) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `json-schema-to-ts` as optional peer dependency ### Patch Changes -- [#2783](https://github.com/dimaMachina/graphql-eslint/pull/2783) - [`6e354c9`](https://github.com/dimaMachina/graphql-eslint/commit/6e354c91ec926ae2ff82668d7b81c0a79b019bc3) +- [#2783](https://github.com/graphql-hive/graphql-eslint/pull/2783) + [`6e354c9`](https://github.com/graphql-hive/graphql-eslint/commit/6e354c91ec926ae2ff82668d7b81c0a79b019bc3) Thanks [@dimaMachina](https://github.com/dimaMachina)! - dependencies updates: - Added dependency [`json-schema-to-ts@^3` ↗︎](https://www.npmjs.com/package/json-schema-to-ts/v/3.0.0) (to @@ -121,8 +121,8 @@ ### Patch Changes -- [#2775](https://github.com/dimaMachina/graphql-eslint/pull/2775) - [`84d78b7`](https://github.com/dimaMachina/graphql-eslint/commit/84d78b796ad2c44221dd5789be858e8dc87933b5) +- [#2775](https://github.com/graphql-hive/graphql-eslint/pull/2775) + [`84d78b7`](https://github.com/graphql-hive/graphql-eslint/commit/84d78b796ad2c44221dd5789be858e8dc87933b5) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix error `TypeError: Cannot read properties of undefined (reading 'type')` in `require-description` rule @@ -130,8 +130,8 @@ ### Major Changes -- [#2598](https://github.com/dimaMachina/graphql-eslint/pull/2598) - [`e771499`](https://github.com/dimaMachina/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb) +- [#2598](https://github.com/graphql-hive/graphql-eslint/pull/2598) + [`e771499`](https://github.com/graphql-hive/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb) Thanks [@bmulholland](https://github.com/bmulholland)! - 1. graphql plugin can now we be specified as @@ -166,8 +166,8 @@ + import graphqlPlugin from '@graphql-eslint/eslint-plugin' ``` -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - bring back `possible-type-extension` rule to `schema-recommended` config @@ -183,8 +183,8 @@ > To avoid confusing when users extend this config for executable definitions (operations and > fragments) -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - `alphabetize` rule changes - add `definitions: true` option for `schema-all`/`operations-all` configs @@ -235,8 +235,8 @@ Do not check subscriptions -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - remove `parserOptions.schema` - remove `parserOptions.documents` @@ -250,30 +250,30 @@ - remove `parserOptions.operations` - add `parserOptions.graphQLConfig?: IGraphQLConfig` for programmatic usage -- [#2281](https://github.com/dimaMachina/graphql-eslint/pull/2281) - [`c53cb4e`](https://github.com/dimaMachina/graphql-eslint/commit/c53cb4e8e462f65e880cb700020602081632503c) +- [#2281](https://github.com/graphql-hive/graphql-eslint/pull/2281) + [`c53cb4e`](https://github.com/graphql-hive/graphql-eslint/commit/c53cb4e8e462f65e880cb700020602081632503c) Thanks [@maciesielka](https://github.com/maciesielka)! - Add new config option `ignoredFieldSelectors` to `no-unused-fields` rule to ignore all the relay pagination fields for every connection exposed in schema for example -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - drop support of Node.js 12/14/16, GraphQL 14/15 -- [#2418](https://github.com/dimaMachina/graphql-eslint/pull/2418) - [`c2d5386`](https://github.com/dimaMachina/graphql-eslint/commit/c2d53869c84e7393b11239f78d55eb1477a9a077) +- [#2418](https://github.com/graphql-hive/graphql-eslint/pull/2418) + [`c2d5386`](https://github.com/graphql-hive/graphql-eslint/commit/c2d53869c84e7393b11239f78d55eb1477a9a077) Thanks [@comatory](https://github.com/comatory)! - exposing GraphQLESTreeNode type -- [#2768](https://github.com/dimaMachina/graphql-eslint/pull/2768) - [`241936a`](https://github.com/dimaMachina/graphql-eslint/commit/241936acfebef3e6201703e483776d3f952a6f0f) +- [#2768](https://github.com/graphql-hive/graphql-eslint/pull/2768) + [`241936a`](https://github.com/graphql-hive/graphql-eslint/commit/241936acfebef3e6201703e483776d3f952a6f0f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - rename `requireSiblingsOperations` to `requireGraphQLOperations` - rename `requireGraphQLSchemaFromContext` to `requireGraphQLSchema` -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - Remove `GraphQLRuleTester` from bundle, to test your rules use regular `RuleTester` from eslint @@ -287,40 +287,40 @@ }) ``` -- [#2319](https://github.com/dimaMachina/graphql-eslint/pull/2319) - [`b3c73dc`](https://github.com/dimaMachina/graphql-eslint/commit/b3c73dc6f0d1de7cfb232bc0e78ab871edc247de) +- [#2319](https://github.com/graphql-hive/graphql-eslint/pull/2319) + [`b3c73dc`](https://github.com/graphql-hive/graphql-eslint/commit/b3c73dc6f0d1de7cfb232bc0e78ab871edc247de) Thanks [@maciesielka](https://github.com/maciesielka)! - Enforce `require-selections` on `FragmentSpread`s within `GraphQLUnionType`s ### Minor Changes -- [#2385](https://github.com/dimaMachina/graphql-eslint/pull/2385) - [`afa8b8a`](https://github.com/dimaMachina/graphql-eslint/commit/afa8b8af92b8eb92595a1cc9b24c42c4e4705ed2) +- [#2385](https://github.com/graphql-hive/graphql-eslint/pull/2385) + [`afa8b8a`](https://github.com/graphql-hive/graphql-eslint/commit/afa8b8af92b8eb92595a1cc9b24c42c4e4705ed2) Thanks [@deathemperor](https://github.com/deathemperor)! - feat: add a new option `{` for alphabetize rule to sort fields `selection set` -- [#2293](https://github.com/dimaMachina/graphql-eslint/pull/2293) - [`01f7087`](https://github.com/dimaMachina/graphql-eslint/commit/01f70879e5befc92acd9afffe7d2a56ee447f316) +- [#2293](https://github.com/graphql-hive/graphql-eslint/pull/2293) + [`01f7087`](https://github.com/graphql-hive/graphql-eslint/commit/01f70879e5befc92acd9afffe7d2a56ee447f316) Thanks [@yoavsion](https://github.com/yoavsion)! - Support the fragment spread group when defining alphabetize rule's groups with new option `...` -- [#2719](https://github.com/dimaMachina/graphql-eslint/pull/2719) - [`57d6edf`](https://github.com/dimaMachina/graphql-eslint/commit/57d6edf07226dba743b4045ddaab3c0212d738bf) +- [#2719](https://github.com/graphql-hive/graphql-eslint/pull/2719) + [`57d6edf`](https://github.com/graphql-hive/graphql-eslint/commit/57d6edf07226dba743b4045ddaab3c0212d738bf) Thanks [@dimaMachina](https://github.com/dimaMachina)! - check for deprecated arguments and object field nodes in graphql operations in `no-deprecated` rule ### Patch Changes -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - dependencies updates: - Removed dependency [`@babel/code-frame@^7.18.6` ↗︎](https://www.npmjs.com/package/@babel/code-frame/v/7.18.6) (from `dependencies`) -- [#1813](https://github.com/dimaMachina/graphql-eslint/pull/1813) - [`1c2d220`](https://github.com/dimaMachina/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) +- [#1813](https://github.com/graphql-hive/graphql-eslint/pull/1813) + [`1c2d220`](https://github.com/graphql-hive/graphql-eslint/commit/1c2d2205a8eb1d7446e4101bb4300e6e71120e42) Thanks [@dimaMachina](https://github.com/dimaMachina)! - dependencies updates: - Updated dependency @@ -339,39 +339,39 @@ - Added dependency [`eslint@>=8.44.0` ↗︎](https://www.npmjs.com/package/eslint/v/8.44.0) (to `peerDependencies`) -- [#2455](https://github.com/dimaMachina/graphql-eslint/pull/2455) - [`08a8a13`](https://github.com/dimaMachina/graphql-eslint/commit/08a8a1382d51140ddf7a310de3a711b354533879) +- [#2455](https://github.com/graphql-hive/graphql-eslint/pull/2455) + [`08a8a13`](https://github.com/graphql-hive/graphql-eslint/commit/08a8a1382d51140ddf7a310de3a711b354533879) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix caching issues for `no-unreachable-types` / `no-unused-fields` rules for multi projects -- [#2483](https://github.com/dimaMachina/graphql-eslint/pull/2483) - [`d52585a`](https://github.com/dimaMachina/graphql-eslint/commit/d52585a08513546e1c403a6cf83de6d6370e96da) +- [#2483](https://github.com/graphql-hive/graphql-eslint/pull/2483) + [`d52585a`](https://github.com/graphql-hive/graphql-eslint/commit/d52585a08513546e1c403a6cf83de6d6370e96da) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix compatibility with Node.js v22 -- [#2743](https://github.com/dimaMachina/graphql-eslint/pull/2743) - [`03ccb9d`](https://github.com/dimaMachina/graphql-eslint/commit/03ccb9dabcd70af92ae46a0807f6cd979317a38f) +- [#2743](https://github.com/graphql-hive/graphql-eslint/pull/2743) + [`03ccb9d`](https://github.com/graphql-hive/graphql-eslint/commit/03ccb9dabcd70af92ae46a0807f6cd979317a38f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix error from `no-deprecated` rule `4.0.0-alpha.13: node.typeInfo(...).inputType.getFields is not a function` -- [#2466](https://github.com/dimaMachina/graphql-eslint/pull/2466) - [`da608d7`](https://github.com/dimaMachina/graphql-eslint/commit/da608d735f7e292b15955ace2fd4b1f17406105e) +- [#2466](https://github.com/graphql-hive/graphql-eslint/pull/2466) + [`da608d7`](https://github.com/graphql-hive/graphql-eslint/commit/da608d735f7e292b15955ace2fd4b1f17406105e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix `require is not defined` in flat configs for Vue/Svelte projects -- [#2277](https://github.com/dimaMachina/graphql-eslint/pull/2277) - [`3b35bae`](https://github.com/dimaMachina/graphql-eslint/commit/3b35baedacb8cdac542268933d8a8fec6c199af0) +- [#2277](https://github.com/graphql-hive/graphql-eslint/pull/2277) + [`3b35bae`](https://github.com/graphql-hive/graphql-eslint/commit/3b35baedacb8cdac542268933d8a8fec6c199af0) Thanks [@yoavain-sundaysky](https://github.com/yoavain-sundaysky)! - fix false positive cases for `require-import-fragment` on Windows, when `graphql-config`'s `documents` key contained glob pattern => source file path of document contained always forward slashes -- [#2735](https://github.com/dimaMachina/graphql-eslint/pull/2735) - [`ccd9303`](https://github.com/dimaMachina/graphql-eslint/commit/ccd930309957896f5d22ed59d40a67803ee77868) +- [#2735](https://github.com/graphql-hive/graphql-eslint/pull/2735) + [`ccd9303`](https://github.com/graphql-hive/graphql-eslint/commit/ccd930309957896f5d22ed59d40a67803ee77868) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix reporting lint issues not on first char of file for `.vue` and support ESLint fixes and suggestions for them. Use - [new official example](https://github.com/dimaMachina/graphql-eslint/blob/master/examples/vue-code-file/eslint.config.js) + [new official example](https://github.com/graphql-hive/graphql-eslint/blob/master/examples/vue-code-file/eslint.config.js) -- [#2468](https://github.com/dimaMachina/graphql-eslint/pull/2468) - [`733a66e`](https://github.com/dimaMachina/graphql-eslint/commit/733a66e38cb5a444ff3a2f9ed7c1b31665fca404) +- [#2468](https://github.com/graphql-hive/graphql-eslint/pull/2468) + [`733a66e`](https://github.com/graphql-hive/graphql-eslint/commit/733a66e38cb5a444ff3a2f9ed7c1b31665fca404) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - rename flat configs exports ```diff @@ -390,51 +390,51 @@ - fix with programmatic usage when passing large schema as string causes `pattern too long` error - fix loading ESM `graphql.config.js` configs -- [#2616](https://github.com/dimaMachina/graphql-eslint/pull/2616) - [`c0f1b07`](https://github.com/dimaMachina/graphql-eslint/commit/c0f1b077c8c7b8ee872bcee191f1acf5a8d5f62b) +- [#2616](https://github.com/graphql-hive/graphql-eslint/pull/2616) + [`c0f1b07`](https://github.com/graphql-hive/graphql-eslint/commit/c0f1b077c8c7b8ee872bcee191f1acf5a8d5f62b) Thanks [@fcortes](https://github.com/fcortes)! - The import attribute syntax (with { type: "json" }) is still experimental so warnings showed up when using the library as it was being used to import the package.json file to extract the package version As an alternative, the current version will be injected on build time through tsup configuration. -- [#2605](https://github.com/dimaMachina/graphql-eslint/pull/2605) - [`2ae64e1`](https://github.com/dimaMachina/graphql-eslint/commit/2ae64e12ab2e61c14b8a195410e2e68dc3fb29d0) +- [#2605](https://github.com/graphql-hive/graphql-eslint/pull/2605) + [`2ae64e1`](https://github.com/graphql-hive/graphql-eslint/commit/2ae64e12ab2e61c14b8a195410e2e68dc3fb29d0) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix types exports by `@arethetypeswrong/cli` package -- [#2458](https://github.com/dimaMachina/graphql-eslint/pull/2458) - [`9096458`](https://github.com/dimaMachina/graphql-eslint/commit/909645893d41f2ccf618b2c74fb7671ddab538b9) +- [#2458](https://github.com/graphql-hive/graphql-eslint/pull/2458) + [`9096458`](https://github.com/graphql-hive/graphql-eslint/commit/909645893d41f2ccf618b2c74fb7671ddab538b9) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `meta` object with `name` and `version` to `parser` and `processor` to be compatible with ESLint 9 -- [#2692](https://github.com/dimaMachina/graphql-eslint/pull/2692) - [`dcf4e35`](https://github.com/dimaMachina/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2) +- [#2692](https://github.com/graphql-hive/graphql-eslint/pull/2692) + [`dcf4e35`](https://github.com/graphql-hive/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix some issues on Windows by running tests with matrix on github CI -- [#2711](https://github.com/dimaMachina/graphql-eslint/pull/2711) - [`b15df66`](https://github.com/dimaMachina/graphql-eslint/commit/b15df66b048fdd57e108a6332a6b546765685f7e) +- [#2711](https://github.com/graphql-hive/graphql-eslint/pull/2711) + [`b15df66`](https://github.com/graphql-hive/graphql-eslint/commit/b15df66b048fdd57e108a6332a6b546765685f7e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - Reenable running `require-id-when-available` on `FragmentDefinition` -- [#2752](https://github.com/dimaMachina/graphql-eslint/pull/2752) - [`1e3e966`](https://github.com/dimaMachina/graphql-eslint/commit/1e3e96634a29099704c29a328955c28b060aa7dc) +- [#2752](https://github.com/graphql-hive/graphql-eslint/pull/2752) + [`1e3e966`](https://github.com/graphql-hive/graphql-eslint/commit/1e3e96634a29099704c29a328955c28b060aa7dc) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix - Config types don't satisfy `FlatConfig.Config` -- [#2721](https://github.com/dimaMachina/graphql-eslint/pull/2721) - [`cda7929`](https://github.com/dimaMachina/graphql-eslint/commit/cda7929a69256afe3f87ef69f950d35b089775f2) +- [#2721](https://github.com/graphql-hive/graphql-eslint/pull/2721) + [`cda7929`](https://github.com/graphql-hive/graphql-eslint/commit/cda7929a69256afe3f87ef69f950d35b089775f2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix `no-unreachable-types` to consider wrapped request directive argument types -- [#2763](https://github.com/dimaMachina/graphql-eslint/pull/2763) - [`baba639`](https://github.com/dimaMachina/graphql-eslint/commit/baba6392a5e4c8a43690ddd95b54bd2a22f97af2) +- [#2763](https://github.com/graphql-hive/graphql-eslint/pull/2763) + [`baba639`](https://github.com/graphql-hive/graphql-eslint/commit/baba6392a5e4c8a43690ddd95b54bd2a22f97af2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix https://bit.ly/graphql-eslint-operations links -- [#2713](https://github.com/dimaMachina/graphql-eslint/pull/2713) - [`8b6d46b`](https://github.com/dimaMachina/graphql-eslint/commit/8b6d46b3ceac6397c6471ce127add2daa6593e30) +- [#2713](https://github.com/graphql-hive/graphql-eslint/pull/2713) + [`8b6d46b`](https://github.com/graphql-hive/graphql-eslint/commit/8b6d46b3ceac6397c6471ce127add2daa6593e30) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `naming-convention` rule should not fail when aliasing underscore fields @@ -442,8 +442,8 @@ ### Patch Changes -- [#2752](https://github.com/dimaMachina/graphql-eslint/pull/2752) - [`1e3e966`](https://github.com/dimaMachina/graphql-eslint/commit/1e3e96634a29099704c29a328955c28b060aa7dc) +- [#2752](https://github.com/graphql-hive/graphql-eslint/pull/2752) + [`1e3e966`](https://github.com/graphql-hive/graphql-eslint/commit/1e3e96634a29099704c29a328955c28b060aa7dc) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix - Config types don't satisfy `FlatConfig.Config` @@ -451,23 +451,23 @@ ### Patch Changes -- [#2743](https://github.com/dimaMachina/graphql-eslint/pull/2743) - [`03ccb9d`](https://github.com/dimaMachina/graphql-eslint/commit/03ccb9dabcd70af92ae46a0807f6cd979317a38f) +- [#2743](https://github.com/graphql-hive/graphql-eslint/pull/2743) + [`03ccb9d`](https://github.com/graphql-hive/graphql-eslint/commit/03ccb9dabcd70af92ae46a0807f6cd979317a38f) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix error from `no-deprecated` rule `4.0.0-alpha.13: node.typeInfo(...).inputType.getFields is not a function` -- [#2735](https://github.com/dimaMachina/graphql-eslint/pull/2735) - [`ccd9303`](https://github.com/dimaMachina/graphql-eslint/commit/ccd930309957896f5d22ed59d40a67803ee77868) +- [#2735](https://github.com/graphql-hive/graphql-eslint/pull/2735) + [`ccd9303`](https://github.com/graphql-hive/graphql-eslint/commit/ccd930309957896f5d22ed59d40a67803ee77868) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix reporting lint issues not on first char of file for `.vue` and support ESLint fixes and suggestions for them. Use - [new official example](https://github.com/dimaMachina/graphql-eslint/blob/master/examples/vue-code-file/eslint.config.js) + [new official example](https://github.com/graphql-hive/graphql-eslint/blob/master/examples/vue-code-file/eslint.config.js) ## 4.0.0-alpha.14 ### Patch Changes -- [#2721](https://github.com/dimaMachina/graphql-eslint/pull/2721) - [`cda7929`](https://github.com/dimaMachina/graphql-eslint/commit/cda7929a69256afe3f87ef69f950d35b089775f2) +- [#2721](https://github.com/graphql-hive/graphql-eslint/pull/2721) + [`cda7929`](https://github.com/graphql-hive/graphql-eslint/commit/cda7929a69256afe3f87ef69f950d35b089775f2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix `no-unreachable-types` to consider wrapped request directive argument types @@ -475,8 +475,8 @@ ### Minor Changes -- [#2719](https://github.com/dimaMachina/graphql-eslint/pull/2719) - [`57d6edf`](https://github.com/dimaMachina/graphql-eslint/commit/57d6edf07226dba743b4045ddaab3c0212d738bf) +- [#2719](https://github.com/graphql-hive/graphql-eslint/pull/2719) + [`57d6edf`](https://github.com/graphql-hive/graphql-eslint/commit/57d6edf07226dba743b4045ddaab3c0212d738bf) Thanks [@dimaMachina](https://github.com/dimaMachina)! - check for deprecated arguments and object field nodes in graphql operations in `no-deprecated` rule @@ -484,13 +484,13 @@ ### Patch Changes -- [#2711](https://github.com/dimaMachina/graphql-eslint/pull/2711) - [`b15df66`](https://github.com/dimaMachina/graphql-eslint/commit/b15df66b048fdd57e108a6332a6b546765685f7e) +- [#2711](https://github.com/graphql-hive/graphql-eslint/pull/2711) + [`b15df66`](https://github.com/graphql-hive/graphql-eslint/commit/b15df66b048fdd57e108a6332a6b546765685f7e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - Reenable running `require-id-when-available` on `FragmentDefinition` -- [#2713](https://github.com/dimaMachina/graphql-eslint/pull/2713) - [`8b6d46b`](https://github.com/dimaMachina/graphql-eslint/commit/8b6d46b3ceac6397c6471ce127add2daa6593e30) +- [#2713](https://github.com/graphql-hive/graphql-eslint/pull/2713) + [`8b6d46b`](https://github.com/graphql-hive/graphql-eslint/commit/8b6d46b3ceac6397c6471ce127add2daa6593e30) Thanks [@dimaMachina](https://github.com/dimaMachina)! - `naming-convention` rule should not fail when aliasing underscore fields @@ -498,8 +498,8 @@ ### Major Changes -- [#2281](https://github.com/dimaMachina/graphql-eslint/pull/2281) - [`c53cb4e`](https://github.com/dimaMachina/graphql-eslint/commit/c53cb4e8e462f65e880cb700020602081632503c) +- [#2281](https://github.com/graphql-hive/graphql-eslint/pull/2281) + [`c53cb4e`](https://github.com/graphql-hive/graphql-eslint/commit/c53cb4e8e462f65e880cb700020602081632503c) Thanks [@maciesielka](https://github.com/maciesielka)! - Add new config option `ignoredFieldSelectors` to `no-unused-fields` rule to ignore all the relay pagination fields for every connection exposed in schema for example @@ -508,8 +508,8 @@ ### Major Changes -- [#2319](https://github.com/dimaMachina/graphql-eslint/pull/2319) - [`b3c73dc`](https://github.com/dimaMachina/graphql-eslint/commit/b3c73dc6f0d1de7cfb232bc0e78ab871edc247de) +- [#2319](https://github.com/graphql-hive/graphql-eslint/pull/2319) + [`b3c73dc`](https://github.com/graphql-hive/graphql-eslint/commit/b3c73dc6f0d1de7cfb232bc0e78ab871edc247de) Thanks [@maciesielka](https://github.com/maciesielka)! - Enforce `require-selections` on `FragmentSpread`s within `GraphQLUnionType`s @@ -517,8 +517,8 @@ ### Patch Changes -- [#2277](https://github.com/dimaMachina/graphql-eslint/pull/2277) - [`3b35bae`](https://github.com/dimaMachina/graphql-eslint/commit/3b35baedacb8cdac542268933d8a8fec6c199af0) +- [#2277](https://github.com/graphql-hive/graphql-eslint/pull/2277) + [`3b35bae`](https://github.com/graphql-hive/graphql-eslint/commit/3b35baedacb8cdac542268933d8a8fec6c199af0) Thanks [@yoavain-sundaysky](https://github.com/yoavain-sundaysky)! - fix false positive cases for `require-import-fragment` on Windows, when `graphql-config`'s `documents` key contained glob pattern => source file path of document contained always forward slashes @@ -527,13 +527,13 @@ ### Minor Changes -- [#2385](https://github.com/dimaMachina/graphql-eslint/pull/2385) - [`afa8b8a`](https://github.com/dimaMachina/graphql-eslint/commit/afa8b8af92b8eb92595a1cc9b24c42c4e4705ed2) +- [#2385](https://github.com/graphql-hive/graphql-eslint/pull/2385) + [`afa8b8a`](https://github.com/graphql-hive/graphql-eslint/commit/afa8b8af92b8eb92595a1cc9b24c42c4e4705ed2) Thanks [@deathemperor](https://github.com/deathemperor)! - feat: add a new option `{` for alphabetize rule to sort fields `selection set` -- [#2293](https://github.com/dimaMachina/graphql-eslint/pull/2293) - [`01f7087`](https://github.com/dimaMachina/graphql-eslint/commit/01f70879e5befc92acd9afffe7d2a56ee447f316) +- [#2293](https://github.com/graphql-hive/graphql-eslint/pull/2293) + [`01f7087`](https://github.com/graphql-hive/graphql-eslint/commit/01f70879e5befc92acd9afffe7d2a56ee447f316) Thanks [@yoavsion](https://github.com/yoavsion)! - Support the fragment spread group when defining alphabetize rule's groups with new option `...` @@ -541,8 +541,8 @@ ### Major Changes -- [#2598](https://github.com/dimaMachina/graphql-eslint/pull/2598) - [`e771499`](https://github.com/dimaMachina/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb) +- [#2598](https://github.com/graphql-hive/graphql-eslint/pull/2598) + [`e771499`](https://github.com/graphql-hive/graphql-eslint/commit/e771499db22ed6aa358af090b535f6206e191ebb) Thanks [@bmulholland](https://github.com/bmulholland)! - 1. graphql plugin can now we be specified as @@ -579,8 +579,8 @@ ### Patch Changes -- [#2692](https://github.com/dimaMachina/graphql-eslint/pull/2692) - [`dcf4e35`](https://github.com/dimaMachina/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2) +- [#2692](https://github.com/graphql-hive/graphql-eslint/pull/2692) + [`dcf4e35`](https://github.com/graphql-hive/graphql-eslint/commit/dcf4e3558e13f4350e4e0960d8e9603667cda0b2) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix some issues on Windows by running tests with matrix on github CI @@ -588,8 +588,8 @@ ### Patch Changes -- [#2616](https://github.com/dimaMachina/graphql-eslint/pull/2616) - [`c0f1b07`](https://github.com/dimaMachina/graphql-eslint/commit/c0f1b077c8c7b8ee872bcee191f1acf5a8d5f62b) +- [#2616](https://github.com/graphql-hive/graphql-eslint/pull/2616) + [`c0f1b07`](https://github.com/graphql-hive/graphql-eslint/commit/c0f1b077c8c7b8ee872bcee191f1acf5a8d5f62b) Thanks [@fcortes](https://github.com/fcortes)! - The import attribute syntax (with { type: "json" }) is still experimental so warnings showed up when using the library as it was being used to import the package.json file to extract the package version @@ -600,8 +600,8 @@ ### Patch Changes -- [#2605](https://github.com/dimaMachina/graphql-eslint/pull/2605) - [`2ae64e1`](https://github.com/dimaMachina/graphql-eslint/commit/2ae64e12ab2e61c14b8a195410e2e68dc3fb29d0) +- [#2605](https://github.com/graphql-hive/graphql-eslint/pull/2605) + [`2ae64e1`](https://github.com/graphql-hive/graphql-eslint/commit/2ae64e12ab2e61c14b8a195410e2e68dc3fb29d0) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix types exports by `@arethetypeswrong/cli` package @@ -609,21 +609,21 @@ ### Patch Changes -- [#2483](https://github.com/dimaMachina/graphql-eslint/pull/2483) - [`d52585a`](https://github.com/dimaMachina/graphql-eslint/commit/d52585a08513546e1c403a6cf83de6d6370e96da) +- [#2483](https://github.com/graphql-hive/graphql-eslint/pull/2483) + [`d52585a`](https://github.com/graphql-hive/graphql-eslint/commit/d52585a08513546e1c403a6cf83de6d6370e96da) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix compatibility with Node.js v22 ## 4.0.0-alpha.3 ### Patch Changes -- [#2466](https://github.com/dimaMachina/graphql-eslint/pull/2466) - [`da608d7`](https://github.com/dimaMachina/graphql-eslint/commit/da608d735f7e292b15955ace2fd4b1f17406105e) +- [#2466](https://github.com/graphql-hive/graphql-eslint/pull/2466) + [`da608d7`](https://github.com/graphql-hive/graphql-eslint/commit/da608d735f7e292b15955ace2fd4b1f17406105e) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix `require is not defined` in flat configs for Vue/Svelte projects -- [#2468](https://github.com/dimaMachina/graphql-eslint/pull/2468) - [`733a66e`](https://github.com/dimaMachina/graphql-eslint/commit/733a66e38cb5a444ff3a2f9ed7c1b31665fca404) +- [#2468](https://github.com/graphql-hive/graphql-eslint/pull/2468) + [`733a66e`](https://github.com/graphql-hive/graphql-eslint/commit/733a66e38cb5a444ff3a2f9ed7c1b31665fca404) Thanks [@dimaMachina](https://github.com/dimaMachina)! - - rename flat configs exports ```diff @@ -646,13 +646,13 @@ ### Patch Changes -- [#2455](https://github.com/dimaMachina/graphql-eslint/pull/2455) - [`08a8a13`](https://github.com/dimaMachina/graphql-eslint/commit/08a8a1382d51140ddf7a310de3a711b354533879) +- [#2455](https://github.com/graphql-hive/graphql-eslint/pull/2455) + [`08a8a13`](https://github.com/graphql-hive/graphql-eslint/commit/08a8a1382d51140ddf7a310de3a711b354533879) Thanks [@dimaMachina](https://github.com/dimaMachina)! - fix caching issues for `no-unreachable-types` / `no-unused-fields` rules for multi projects -- [#2458](https://github.com/dimaMachina/graphql-eslint/pull/2458) - [`9096458`](https://github.com/dimaMachina/graphql-eslint/commit/909645893d41f2ccf618b2c74fb7671ddab538b9) +- [#2458](https://github.com/graphql-hive/graphql-eslint/pull/2458) + [`9096458`](https://github.com/graphql-hive/graphql-eslint/commit/909645893d41f2ccf618b2c74fb7671ddab538b9) Thanks [@dimaMachina](https://github.com/dimaMachina)! - add `meta` object with `name` and `version` to `parser` and `processor` to be compatible with ESLint 9 @@ -660,8 +660,8 @@ ### Major Changes -- [#2418](https://github.com/dimaMachina/graphql-eslint/pull/2418) - [`c2d5386`](https://github.com/dimaMachina/graphql-eslint/commit/c2d53869c84e7393b11239f78d55eb1477a9a077) +- [#2418](https://github.com/graphql-hive/graphql-eslint/pull/2418) + [`c2d5386`](https://github.com/graphql-hive/graphql-eslint/commit/c2d53869c84e7393b11239f78d55eb1477a9a077) Thanks [@comatory](https://github.com/comatory)! - exposing GraphQLESTreeNode type ## 4.0.0-alpha.0 diff --git a/packages/plugin/package.json b/packages/plugin/package.json index 8277dce0f81..c360fb862eb 100644 --- a/packages/plugin/package.json +++ b/packages/plugin/package.json @@ -3,7 +3,7 @@ "version": "4.4.0", "type": "module", "description": "GraphQL plugin for ESLint", - "repository": "https://github.com/dimaMachina/graphql-eslint", + "repository": "https://github.com/graphql-hive/graphql-eslint", "author": "Dotan Simha ", "license": "MIT", "engines": { diff --git a/packages/plugin/src/processor.ts b/packages/plugin/src/processor.ts index cea118b1dc2..38022868f1e 100644 --- a/packages/plugin/src/processor.ts +++ b/packages/plugin/src/processor.ts @@ -31,7 +31,7 @@ export const processor = { preprocess(code, filePath) { if (process.env.ESLINT_USE_FLAT_CONFIG !== 'false' && filePath.endsWith('.vue')) { throw new Error( - "Processing of `.vue` files is no longer supported, follow the new official vue example for ESLint's flat config https://github.com/dimaMachina/graphql-eslint/tree/master/examples/vue-code-file", + "Processing of `.vue` files is no longer supported, follow the new official vue example for ESLint's flat config https://github.com/graphql-hive/graphql-eslint/tree/master/examples/vue-code-file", ); } if (!onDiskConfigLoaded) { diff --git a/scripts/generate-docs.ts b/scripts/generate-docs.ts index b1f478df7fa..77121d6d9f9 100644 --- a/scripts/generate-docs.ts +++ b/scripts/generate-docs.ts @@ -157,8 +157,8 @@ async function generateDocs(): Promise { ); } else { blocks.push( - `- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/${ruleName}.ts)`, - `- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/${ruleName}.spec.ts)`, + `- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/${ruleName}/index.ts)`, + `- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/${ruleName}/index.test.ts)`, ); } return { diff --git a/website/app/layout.tsx b/website/app/layout.tsx index 4ccdbeae671..238931ad6e0 100644 --- a/website/app/layout.tsx +++ b/website/app/layout.tsx @@ -40,7 +40,7 @@ const RootLayout: FC<{ here. ), - docsRepositoryBase: 'https://github.com/dimaMachina/graphql-eslint/tree/master/website', + docsRepositoryBase: 'https://github.com/graphql-hive/graphql-eslint/tree/master/website', }} navbarProps={{ navLinks: [ @@ -53,9 +53,13 @@ const RootLayout: FC<{ icon: , children: 'Documentation', }, - { href: 'https://the-guild.dev/graphql/hive/blog', icon: , children: 'Blog' }, { - href: 'https://github.com/dimaMachina/graphql-eslint', + href: 'https://the-guild.dev/graphql/hive/blog', + icon: , + children: 'Blog', + }, + { + href: 'https://github.com/graphql-hive/graphql-eslint', icon: , children: 'GitHub', }, diff --git a/website/content/docs/configs.mdx b/website/content/docs/configs.mdx index 9aa4cc80065..9850a6b6d2a 100644 --- a/website/content/docs/configs.mdx +++ b/website/content/docs/configs.mdx @@ -2,18 +2,18 @@ ## Schema Configs -| Name | Description | -| :--------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------- | -| [`flat/schema-recommended`](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/configs/schema-recommended.ts) | enables recommended rules for schema development | -| [`flat/schema-all`](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/configs/schema-all.ts) | enables all rules for schema development, except for those that require `parserOptions.operations` option | -| [`flat/schema-relay`](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/configs/schema-relay.ts) | enables rules from Relay specification for schema development | +| Name | Description | +| :---------------------------------------------------------------------------------------------------------------------------------------: | --------------------------------------------------------------------------------------------------------- | +| [`flat/schema-recommended`](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/configs/schema-recommended.ts) | enables recommended rules for schema development | +| [`flat/schema-all`](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/configs/schema-all.ts) | enables all rules for schema development, except for those that require `parserOptions.operations` option | +| [`flat/schema-relay`](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/configs/schema-relay.ts) | enables rules from Relay specification for schema development | ## Operations Configs -| Name | Description | -| :----------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------ | -| [`flat/operations-recommended`](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/configs/operations-recommended.ts) | enables recommended rules for consuming GraphQL (operations) development | -| [`flat/operations-all`](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/configs/operations-all.ts) | enables all rules for consuming GraphQL (operations) development | +| Name | Description | +| :-----------------------------------------------------------------------------------------------------------------------------------------------: | ------------------------------------------------------------------------ | +| [`flat/operations-recommended`](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/configs/operations-recommended.ts) | enables recommended rules for consuming GraphQL (operations) development | +| [`flat/operations-all`](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/configs/operations-all.ts) | enables all rules for consuming GraphQL (operations) development | > [!TIP] > @@ -23,7 +23,7 @@ > you'll need `operations` rules. > > If you are in a monorepo project, you probably need both sets of rules, see -> [example of configuration](https://github.com/dimaMachina/graphql-eslint/tree/master/examples/monorepo/eslint.config.js). +> [example of configuration](https://github.com/graphql-hive/graphql-eslint/tree/master/examples/monorepo/eslint.config.js). ## Config Usage diff --git a/website/content/docs/custom-rules.mdx b/website/content/docs/custom-rules.mdx index 946d3518b90..1ce9dcf9d36 100644 --- a/website/content/docs/custom-rules.mdx +++ b/website/content/docs/custom-rules.mdx @@ -151,7 +151,7 @@ export const rule = { ``` The structure of the return value of `.typeInfo()` is -[defined here](https://github.com/dimaMachina/graphql-eslint/blob/master/packages/plugin/src/estree-converter/converter.ts#L32-L40). +[defined here](https://github.com/graphql-hive/graphql-eslint/blob/master/packages/plugin/src/estree-converter/converter.ts#L32-L40). So based on the `node` you are using, you'll get a different values on `.typeInfo()` result. ## Testing Your Rules diff --git a/website/content/docs/usage/astro.mdx b/website/content/docs/usage/astro.mdx index 90aceab255d..ad592862e03 100644 --- a/website/content/docs/usage/astro.mdx +++ b/website/content/docs/usage/astro.mdx @@ -8,5 +8,5 @@ icon: AstroIcon > [!NOTE] > > GraphQL-ESLint should work with Astro files as well. Feel free to submit a PR with a -> [new example](https://github.com/dimaMachina/graphql-eslint/tree/master/examples) in the +> [new example](https://github.com/graphql-hive/graphql-eslint/tree/master/examples) in the > GraphQL-ESLint repository. diff --git a/website/content/rules/alphabetize.mdx b/website/content/rules/alphabetize.mdx index cae85338b8c..c1712348b4c 100644 --- a/website/content/rules/alphabetize.mdx +++ b/website/content/rules/alphabetize.mdx @@ -180,5 +180,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/alphabetize.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/alphabetize.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/alphabetize/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/alphabetize/index.test.ts) diff --git a/website/content/rules/description-style.mdx b/website/content/rules/description-style.mdx index 60d7ebf2c06..049fa96648c 100644 --- a/website/content/rules/description-style.mdx +++ b/website/content/rules/description-style.mdx @@ -58,5 +58,5 @@ Default: `"block"` ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/description-style.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/description-style.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/description-style/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/description-style/index.test.ts) diff --git a/website/content/rules/input-name.mdx b/website/content/rules/input-name.mdx index d680be83379..357fb2a2059 100644 --- a/website/content/rules/input-name.mdx +++ b/website/content/rules/input-name.mdx @@ -83,5 +83,5 @@ Default: `true` ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/input-name.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/input-name.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/input-name/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/input-name/index.test.ts) diff --git a/website/content/rules/lone-executable-definition.mdx b/website/content/rules/lone-executable-definition.mdx index 344f098bcc7..70f5400476a 100644 --- a/website/content/rules/lone-executable-definition.mdx +++ b/website/content/rules/lone-executable-definition.mdx @@ -61,5 +61,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/lone-executable-definition.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/lone-executable-definition.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/lone-executable-definition/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/lone-executable-definition/index.test.ts) diff --git a/website/content/rules/match-document-filename.mdx b/website/content/rules/match-document-filename.mdx index 576c8401e76..56a81cabe62 100644 --- a/website/content/rules/match-document-filename.mdx +++ b/website/content/rules/match-document-filename.mdx @@ -184,5 +184,5 @@ This element must be one of the following enum values: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/match-document-filename.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/match-document-filename.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/match-document-filename/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/match-document-filename/index.test.ts) diff --git a/website/content/rules/naming-convention.mdx b/website/content/rules/naming-convention.mdx index c2d0dba90bb..c66ad4057e3 100644 --- a/website/content/rules/naming-convention.mdx +++ b/website/content/rules/naming-convention.mdx @@ -445,5 +445,5 @@ Option to skip validation of some words, e.g. acronyms ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/naming-convention.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/naming-convention.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/naming-convention/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/naming-convention/index.test.ts) diff --git a/website/content/rules/no-anonymous-operations.mdx b/website/content/rules/no-anonymous-operations.mdx index 9225096ac5c..7d92aa0dc5c 100644 --- a/website/content/rules/no-anonymous-operations.mdx +++ b/website/content/rules/no-anonymous-operations.mdx @@ -45,5 +45,5 @@ query user { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-anonymous-operations.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-anonymous-operations.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-anonymous-operations/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-anonymous-operations/index.test.ts) diff --git a/website/content/rules/no-deprecated.mdx b/website/content/rules/no-deprecated.mdx index 759103f0f81..b0da2f57cf9 100644 --- a/website/content/rules/no-deprecated.mdx +++ b/website/content/rules/no-deprecated.mdx @@ -89,5 +89,5 @@ query user { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-deprecated.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-deprecated.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-deprecated/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-deprecated/index.test.ts) diff --git a/website/content/rules/no-duplicate-fields.mdx b/website/content/rules/no-duplicate-fields.mdx index 1dd9f8e1b99..2d790ed723f 100644 --- a/website/content/rules/no-duplicate-fields.mdx +++ b/website/content/rules/no-duplicate-fields.mdx @@ -71,5 +71,5 @@ query ( ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-duplicate-fields.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-duplicate-fields.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-duplicate-fields/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-duplicate-fields/index.test.ts) diff --git a/website/content/rules/no-hashtag-description.mdx b/website/content/rules/no-hashtag-description.mdx index 8ea8a3f5ef9..4344f9c5f92 100644 --- a/website/content/rules/no-hashtag-description.mdx +++ b/website/content/rules/no-hashtag-description.mdx @@ -63,5 +63,5 @@ type User { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-hashtag-description.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-hashtag-description.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-hashtag-description/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-hashtag-description/index.test.ts) diff --git a/website/content/rules/no-one-place-fragments.mdx b/website/content/rules/no-one-place-fragments.mdx index 6086f0f1904..aaf554036ef 100644 --- a/website/content/rules/no-one-place-fragments.mdx +++ b/website/content/rules/no-one-place-fragments.mdx @@ -52,5 +52,5 @@ fragment UserFields on User { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-one-place-fragments.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-one-place-fragments.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-one-place-fragments/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-one-place-fragments/index.test.ts) diff --git a/website/content/rules/no-root-type.mdx b/website/content/rules/no-root-type.mdx index 764e43786ac..e0c5ee5cf2a 100644 --- a/website/content/rules/no-root-type.mdx +++ b/website/content/rules/no-root-type.mdx @@ -56,5 +56,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-root-type.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-root-type.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-root-type/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-root-type/index.test.ts) diff --git a/website/content/rules/no-scalar-result-type-on-mutation.mdx b/website/content/rules/no-scalar-result-type-on-mutation.mdx index 8da736402cc..fe90675156f 100644 --- a/website/content/rules/no-scalar-result-type-on-mutation.mdx +++ b/website/content/rules/no-scalar-result-type-on-mutation.mdx @@ -40,5 +40,5 @@ type Mutation { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-scalar-result-type-on-mutation.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-scalar-result-type-on-mutation.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-scalar-result-type-on-mutation/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-scalar-result-type-on-mutation/index.test.ts) diff --git a/website/content/rules/no-typename-prefix.mdx b/website/content/rules/no-typename-prefix.mdx index 37cd748e525..1e4d75e00f7 100644 --- a/website/content/rules/no-typename-prefix.mdx +++ b/website/content/rules/no-typename-prefix.mdx @@ -44,5 +44,5 @@ type User { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-typename-prefix.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-typename-prefix.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-typename-prefix/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-typename-prefix/index.test.ts) diff --git a/website/content/rules/no-unreachable-types.mdx b/website/content/rules/no-unreachable-types.mdx index faaf0396cb7..3b9bb008204 100644 --- a/website/content/rules/no-unreachable-types.mdx +++ b/website/content/rules/no-unreachable-types.mdx @@ -53,5 +53,5 @@ type Query { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-unreachable-types.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-unreachable-types.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-unreachable-types/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-unreachable-types/index.test.ts) diff --git a/website/content/rules/no-unused-fields.mdx b/website/content/rules/no-unused-fields.mdx index d8da4326c43..6ac41fae57b 100644 --- a/website/content/rules/no-unused-fields.mdx +++ b/website/content/rules/no-unused-fields.mdx @@ -161,5 +161,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/no-unused-fields.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/no-unused-fields.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-unused-fields/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/no-unused-fields/index.test.ts) diff --git a/website/content/rules/prettier.md b/website/content/rules/prettier.md index e92a86ae62e..dfba70944bb 100644 --- a/website/content/rules/prettier.md +++ b/website/content/rules/prettier.md @@ -24,5 +24,5 @@ better. You need to do the following: ``` You can take -[`this repository`](https://github.com/dimaMachina/graphql-eslint/tree/master/examples/prettier) as +[`this repository`](https://github.com/graphql-hive/graphql-eslint/tree/master/examples/prettier) as example. diff --git a/website/content/rules/relay-arguments.mdx b/website/content/rules/relay-arguments.mdx index 09c8ec32f26..b057b99f13e 100644 --- a/website/content/rules/relay-arguments.mdx +++ b/website/content/rules/relay-arguments.mdx @@ -60,5 +60,5 @@ Default: `true` ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/relay-arguments.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/relay-arguments.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-arguments/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-arguments/index.test.ts) diff --git a/website/content/rules/relay-connection-types.mdx b/website/content/rules/relay-connection-types.mdx index 23c984a6585..4699c977cba 100644 --- a/website/content/rules/relay-connection-types.mdx +++ b/website/content/rules/relay-connection-types.mdx @@ -44,5 +44,5 @@ type UserConnection { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/relay-connection-types.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/relay-connection-types.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-connection-types/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-connection-types/index.test.ts) diff --git a/website/content/rules/relay-edge-types.mdx b/website/content/rules/relay-edge-types.mdx index 554e502c0aa..b443a7df22d 100644 --- a/website/content/rules/relay-edge-types.mdx +++ b/website/content/rules/relay-edge-types.mdx @@ -61,5 +61,5 @@ Default: `true` ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/relay-edge-types.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/relay-edge-types.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-edge-types/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-edge-types/index.test.ts) diff --git a/website/content/rules/relay-page-info.mdx b/website/content/rules/relay-page-info.mdx index acd709ae50b..8a4b3062502 100644 --- a/website/content/rules/relay-page-info.mdx +++ b/website/content/rules/relay-page-info.mdx @@ -35,5 +35,5 @@ type PageInfo { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/relay-page-info.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/relay-page-info.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-page-info/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/relay-page-info/index.test.ts) diff --git a/website/content/rules/require-deprecation-date.mdx b/website/content/rules/require-deprecation-date.mdx index dd7e121600a..e362ff3c44b 100644 --- a/website/content/rules/require-deprecation-date.mdx +++ b/website/content/rules/require-deprecation-date.mdx @@ -61,5 +61,5 @@ The schema defines the following properties: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-date.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-deprecation-date.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-date/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-date/index.test.ts) diff --git a/website/content/rules/require-deprecation-reason.mdx b/website/content/rules/require-deprecation-reason.mdx index 12e82444023..de541751146 100644 --- a/website/content/rules/require-deprecation-reason.mdx +++ b/website/content/rules/require-deprecation-reason.mdx @@ -50,5 +50,5 @@ type MyType { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-reason.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-deprecation-reason.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-reason/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-deprecation-reason/index.test.ts) diff --git a/website/content/rules/require-description.mdx b/website/content/rules/require-description.mdx index ef19c96cc4f..2a32d17e895 100644 --- a/website/content/rules/require-description.mdx +++ b/website/content/rules/require-description.mdx @@ -219,5 +219,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-description.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-description.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-description/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-description/index.test.ts) diff --git a/website/content/rules/require-field-of-type-query-in-mutation-result.mdx b/website/content/rules/require-field-of-type-query-in-mutation-result.mdx index e6ce0ddd5e3..c825dde13d6 100644 --- a/website/content/rules/require-field-of-type-query-in-mutation-result.mdx +++ b/website/content/rules/require-field-of-type-query-in-mutation-result.mdx @@ -53,5 +53,5 @@ type Mutation { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-field-of-type-query-in-mutation-result.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-field-of-type-query-in-mutation-result.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-field-of-type-query-in-mutation-result/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-field-of-type-query-in-mutation-result/index.test.ts) diff --git a/website/content/rules/require-import-fragment.mdx b/website/content/rules/require-import-fragment.mdx index e7dd11740a3..3d8be66f41c 100644 --- a/website/content/rules/require-import-fragment.mdx +++ b/website/content/rules/require-import-fragment.mdx @@ -71,5 +71,5 @@ query { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-import-fragment.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-import-fragment.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-import-fragment/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-import-fragment/index.test.ts) diff --git a/website/content/rules/require-nullable-fields-with-oneof.mdx b/website/content/rules/require-nullable-fields-with-oneof.mdx index 69d02b58e83..d8b5e4cdb8f 100644 --- a/website/content/rules/require-nullable-fields-with-oneof.mdx +++ b/website/content/rules/require-nullable-fields-with-oneof.mdx @@ -39,5 +39,5 @@ input Input @oneOf { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-fields-with-oneof.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-nullable-fields-with-oneof.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-fields-with-oneof/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-fields-with-oneof/index.test.ts) diff --git a/website/content/rules/require-nullable-result-in-root.mdx b/website/content/rules/require-nullable-result-in-root.mdx index 688dca13b39..0273f417639 100644 --- a/website/content/rules/require-nullable-result-in-root.mdx +++ b/website/content/rules/require-nullable-result-in-root.mdx @@ -42,5 +42,5 @@ type Query { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-result-in-root.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-nullable-result-in-root.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-result-in-root/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-nullable-result-in-root/index.test.ts) diff --git a/website/content/rules/require-selections.mdx b/website/content/rules/require-selections.mdx index ba5d8f5dd1f..f50fdb7e063 100644 --- a/website/content/rules/require-selections.mdx +++ b/website/content/rules/require-selections.mdx @@ -102,5 +102,5 @@ conflict with another Relay rule: `relay/unused-fields`. ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-selections.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-selections.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-selections/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-selections/index.test.ts) diff --git a/website/content/rules/require-type-pattern-with-oneof.mdx b/website/content/rules/require-type-pattern-with-oneof.mdx index 30e28c6c0ff..fca69e90f45 100644 --- a/website/content/rules/require-type-pattern-with-oneof.mdx +++ b/website/content/rules/require-type-pattern-with-oneof.mdx @@ -40,5 +40,5 @@ type DoSomethingSuccess { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/require-type-pattern-with-oneof.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/require-type-pattern-with-oneof.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-type-pattern-with-oneof/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/require-type-pattern-with-oneof/index.test.ts) diff --git a/website/content/rules/selection-set-depth.mdx b/website/content/rules/selection-set-depth.mdx index 30d68058d2d..411f10665fc 100644 --- a/website/content/rules/selection-set-depth.mdx +++ b/website/content/rules/selection-set-depth.mdx @@ -89,5 +89,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/selection-set-depth.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/selection-set-depth.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/selection-set-depth/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/selection-set-depth/index.test.ts) diff --git a/website/content/rules/strict-id-in-types.mdx b/website/content/rules/strict-id-in-types.mdx index cff446c9a88..47d42cc0389 100644 --- a/website/content/rules/strict-id-in-types.mdx +++ b/website/content/rules/strict-id-in-types.mdx @@ -131,5 +131,5 @@ Additional restrictions: ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/strict-id-in-types.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/strict-id-in-types.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/strict-id-in-types/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/strict-id-in-types/index.test.ts) diff --git a/website/content/rules/unique-enum-value-names.mdx b/website/content/rules/unique-enum-value-names.mdx index 2f3c712c472..f7199f182b7 100644 --- a/website/content/rules/unique-enum-value-names.mdx +++ b/website/content/rules/unique-enum-value-names.mdx @@ -49,5 +49,5 @@ enum MyEnum { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/unique-enum-value-names.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/unique-enum-value-names.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-enum-value-names/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-enum-value-names/index.test.ts) diff --git a/website/content/rules/unique-fragment-name.mdx b/website/content/rules/unique-fragment-name.mdx index 04d5a7620b7..4c17e70405d 100644 --- a/website/content/rules/unique-fragment-name.mdx +++ b/website/content/rules/unique-fragment-name.mdx @@ -56,5 +56,5 @@ fragment UserFields on User { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/unique-fragment-name.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/unique-fragment-name.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-fragment-name/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-fragment-name/index.test.ts) diff --git a/website/content/rules/unique-operation-name.mdx b/website/content/rules/unique-operation-name.mdx index 4ef2c02e6a4..c8abd8956fc 100644 --- a/website/content/rules/unique-operation-name.mdx +++ b/website/content/rules/unique-operation-name.mdx @@ -60,5 +60,5 @@ query me { ## Resources -- [Rule source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/src/rules/unique-operation-name.ts) -- [Test source](https://github.com/dimaMachina/graphql-eslint/tree/master/packages/plugin/__tests__/unique-operation-name.spec.ts) +- [Rule source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-operation-name/index.ts) +- [Test source](https://github.com/graphql-hive/graphql-eslint/tree/master/packages/plugin/src/rules/unique-operation-name/index.test.ts)