From 63d36fa29d8e412ebbfbac06d6301f2211e489b1 Mon Sep 17 00:00:00 2001 From: "haifeng.li" Date: Tue, 3 Dec 2024 16:05:06 -0800 Subject: [PATCH 1/2] fix: put 'typescript-eslint/utils' into 'dependencies' from 'devDependencies' --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be6ff6c..c2db445 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,8 @@ "/dist" ], "dependencies": { - "@graphql-eslint/eslint-plugin": "^3.20.1" + "@graphql-eslint/eslint-plugin": "^3.20.1", + "@typescript-eslint/utils": "^7.8.0" }, "devDependencies": { "@commitlint/cli": "^19.5.0", @@ -76,7 +77,6 @@ "@typescript-eslint/eslint-plugin": "^7.8.0", "@typescript-eslint/parser": "^7.18.0", "@typescript-eslint/rule-tester": "^7.8.0", - "@typescript-eslint/utils": "^7.8.0", "conventional-changelog-conventionalcommits": "^8.0.0", "eslint": "^8.57.0", "eslint-plugin-eslint-plugin": "^6.3.1", From 0345f589cb7282acafb70f99715eae82820a61ea Mon Sep 17 00:00:00 2001 From: "haifeng.li" Date: Tue, 3 Dec 2024 16:06:28 -0800 Subject: [PATCH 2/2] doc: modify 'Incorrect' code sample --- src/rules/graphql/no-more-than-100-fields.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rules/graphql/no-more-than-100-fields.ts b/src/rules/graphql/no-more-than-100-fields.ts index 8b724c5..eeddab9 100644 --- a/src/rules/graphql/no-more-than-100-fields.ts +++ b/src/rules/graphql/no-more-than-100-fields.ts @@ -57,7 +57,7 @@ export const rule: GraphQLESLintRule = { query OpportunityExample { uiapi { query { - Opportunity { + Opportunity(first: 201) { edges { node { Id