From 4739e81a928fcfe0fcdb4d367b350305826b415c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 18:28:41 +0000 Subject: [PATCH 1/2] chore(deps): update dependency eslint-plugin-eslint-plugin to v5.5.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d78f7a5e833..bff9e405620 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dedent": "1.5.3", "enquirer": "2.4.1", "eslint": "8.57.0", - "eslint-plugin-eslint-plugin": "5.0.7", + "eslint-plugin-eslint-plugin": "5.5.1", "eslint-plugin-tailwindcss": "3.17.4", "husky": "9.0.11", "jest-snapshot-serializer-raw": "2.0.0", From 82ea0e3b5a932f09e7f66725169d1cc47b6de769 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Mon, 29 Jul 2024 22:00:58 +0200 Subject: [PATCH 2/2] aa --- .eslintrc.cjs | 1 - package.json | 3 +- .../plugin/src/rules/require-selections.ts | 1 + pnpm-lock.yaml | 36 +++++-------------- 4 files changed, 10 insertions(+), 31 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 5d85b242f8f..cc59a246361 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -36,7 +36,6 @@ module.exports = { files: ['**/rules/*.ts'], extends: ['plugin:eslint-plugin/rules-recommended'], rules: { - 'eslint-plugin/require-meta-docs-description': ['error', { pattern: '.+\\.$' }], // force to put a point at the end 'eslint-plugin/require-meta-docs-url': [ 'error', { pattern: 'https://the-guild.dev/graphql/eslint/rules/{{name}}' }, diff --git a/package.json b/package.json index bff9e405620..5bbf1d3c59d 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dedent": "1.5.3", "enquirer": "2.4.1", "eslint": "8.57.0", - "eslint-plugin-eslint-plugin": "5.5.1", + "eslint-plugin-eslint-plugin": "6.2.0", "eslint-plugin-tailwindcss": "3.17.4", "husky": "9.0.11", "jest-snapshot-serializer-raw": "2.0.0", @@ -53,7 +53,6 @@ "pnpm": { "patchedDependencies": { "eslint@8.48.0": "patches/eslint@8.46.0.patch", - "eslint-plugin-eslint-plugin@5.0.7": "patches/eslint-plugin-eslint-plugin@5.0.6.patch", "json-schema-to-markdown@1.1.1": "patches/json-schema-to-markdown@1.1.1.patch" } } diff --git a/packages/plugin/src/rules/require-selections.ts b/packages/plugin/src/rules/require-selections.ts index b338b18f249..deabb3ad1f5 100644 --- a/packages/plugin/src/rules/require-selections.ts +++ b/packages/plugin/src/rules/require-selections.ts @@ -51,6 +51,7 @@ export type RuleOptions = FromSchema; export const rule: GraphQLESLintRule = { meta: { type: 'suggestion', + // eslint-disable-next-line eslint-plugin/require-meta-has-suggestions -- false positive since we assign `problem.suggest` conditionally hasSuggestions: true, docs: { category: 'Operations', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 266c2c920b7..cef4b5b19cd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -5,9 +5,6 @@ settings: excludeLinksFromLockfile: false patchedDependencies: - eslint-plugin-eslint-plugin@5.0.7: - hash: cdhdgvmsbh3fbusrlxsl6de2he - path: patches/eslint-plugin-eslint-plugin@5.0.6.patch eslint@8.48.0: hash: yi5cqffjk423hcgr7hl33kguwu path: patches/eslint@8.46.0.patch @@ -56,8 +53,8 @@ importers: specifier: 8.57.0 version: 8.57.0 eslint-plugin-eslint-plugin: - specifier: 5.0.7 - version: 5.0.7(patch_hash=cdhdgvmsbh3fbusrlxsl6de2he)(eslint@8.57.0) + specifier: 6.2.0 + version: 6.2.0(eslint@8.57.0) eslint-plugin-tailwindcss: specifier: 3.17.4 version: 3.17.4(tailwindcss@3.4.4) @@ -2726,11 +2723,11 @@ packages: peerDependencies: eslint: '>=8' - eslint-plugin-eslint-plugin@5.0.7: - resolution: {integrity: sha512-hcz4Bze1ECwv3Q/Bi/ZMZZNiuvI2YclNuxjnczkblQ0skrlPhdO83rSM7felf5n+7ZJOZi4GS8y8gNiRtvI0hA==} - engines: {node: ^14.17.0 || ^16.0.0 || >= 18.0.0} + eslint-plugin-eslint-plugin@6.2.0: + resolution: {integrity: sha512-+SSHlThUMBb6MhXl/CqNhKvnUY3111s/1vEcu+paOwTJzniTanRZCfl0kQXNfK57XsWJ5aRsiwMlPg/FgnYsag==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: '>=7.0.0' + eslint: '>=8.23.0' eslint-plugin-import@2.29.1: resolution: {integrity: sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==} @@ -2836,16 +2833,6 @@ packages: resolution: {integrity: sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - eslint-utils@3.0.0: - resolution: {integrity: sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==} - engines: {node: ^10.0.0 || ^12.0.0 || >= 14.0.0} - peerDependencies: - eslint: '>=5' - - eslint-visitor-keys@2.1.0: - resolution: {integrity: sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==} - engines: {node: '>=10'} - eslint-visitor-keys@3.4.3: resolution: {integrity: sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -8791,10 +8778,10 @@ snapshots: eslint: 8.57.0 eslint-compat-utils: 0.5.1(eslint@8.57.0) - eslint-plugin-eslint-plugin@5.0.7(patch_hash=cdhdgvmsbh3fbusrlxsl6de2he)(eslint@8.57.0): + eslint-plugin-eslint-plugin@6.2.0(eslint@8.57.0): dependencies: + '@eslint-community/eslint-utils': 4.4.0(eslint@8.57.0) eslint: 8.57.0 - eslint-utils: 3.0.0(eslint@8.57.0) estraverse: 5.3.0 eslint-plugin-import@2.29.1(@typescript-eslint/parser@7.13.1(eslint@8.57.0)(typescript@5.5.2))(eslint-import-resolver-typescript@3.6.1)(eslint@8.57.0): @@ -8981,13 +8968,6 @@ snapshots: esrecurse: 4.3.0 estraverse: 5.3.0 - eslint-utils@3.0.0(eslint@8.57.0): - dependencies: - eslint: 8.57.0 - eslint-visitor-keys: 2.1.0 - - eslint-visitor-keys@2.1.0: {} - eslint-visitor-keys@3.4.3: {} eslint@8.48.0(patch_hash=yi5cqffjk423hcgr7hl33kguwu):