@graphql-eslint/eslint-plugin 3.16.2-alpha-20230316061052-f906c24 → 3.16.2-alpha-20230316061943-b3c71ef
Sign up to get free protection for your applications and to get access to all the features.
@@ -111,7 +111,7 @@ const validationToRule = ({ ruleId, ruleName, getDocumentNode, schema = [], hasD
|
|
111
111
|
ruleFn = require('graphql/validation')[ruleKey];
|
112
112
|
}
|
113
113
|
catch (_c) {
|
114
|
-
const specifiedRules = require('graphql')
|
114
|
+
const { specifiedRules } = require('graphql');
|
115
115
|
ruleFn = specifiedRules.find((ruleFn) => ruleFn.name === ruleKey);
|
116
116
|
}
|
117
117
|
}
|
@@ -110,7 +110,7 @@ const validationToRule = ({ ruleId, ruleName, getDocumentNode, schema = [], hasD
|
|
110
110
|
ruleFn = require('graphql/validation')[ruleKey];
|
111
111
|
}
|
112
112
|
catch (_c) {
|
113
|
-
const specifiedRules = require('graphql')
|
113
|
+
const { specifiedRules } = require('graphql');
|
114
114
|
ruleFn = specifiedRules.find((ruleFn) => ruleFn.name === ruleKey);
|
115
115
|
}
|
116
116
|
}
|
package/package.json
CHANGED