From 008ff751b59c89c8b31992b50f5d941d248bfef6 Mon Sep 17 00:00:00 2001 From: Dominik Nowik <12304307+nowyDEV@users.noreply.github.com> Date: Fri, 10 Feb 2023 16:37:02 +0100 Subject: [PATCH] disable problematic rule (#40) --- mixins/graphql/schema.js | 3 ++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/mixins/graphql/schema.js b/mixins/graphql/schema.js index 85227b9..df71b13 100644 --- a/mixins/graphql/schema.js +++ b/mixins/graphql/schema.js @@ -128,10 +128,11 @@ module.exports = { /** * Requires output types to have one unique identifier unless they do not have a logical one. * Exceptions can be used to ignore output types that do not have unique identifiers. + * DISABLED - reports false-positives in modularized schemas * @see https://github.com/B2o5T/graphql-eslint/blob/master/docs/rules/strict-id-in-types.md */ "@graphql-eslint/strict-id-in-types": [ - "warn", + "off", { acceptedIdNames: ["id", "nid"], acceptedIdTypes: ["ID"], diff --git a/package-lock.json b/package-lock.json index 0ef9eb6..f195143 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@nordcloud/eslint-config-pat", - "version": "4.16.1", + "version": "4.16.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@nordcloud/eslint-config-pat", - "version": "4.16.1", + "version": "4.16.2", "license": "MIT", "dependencies": { "@graphql-eslint/eslint-plugin": "^3.14.3", diff --git a/package.json b/package.json index 6ffebea..85d75cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nordcloud/eslint-config-pat", - "version": "4.16.1", + "version": "4.16.2", "description": "Shareable ESLint config for PAT projects", "author": "Nordcloud Engineering", "license": "MIT",