@graphql-eslint/eslint-plugin 3.12.0-alpha-20221010131634-608c49a → 3.12.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -81,7 +81,7 @@ const processor = {
|
|
81
81
|
let keywords = RELEVANT_KEYWORDS;
|
82
82
|
const pluckConfig = onDiskConfig === null || onDiskConfig === void 0 ? void 0 : onDiskConfig.getProjectForFile(filePath).extensions.pluckConfig;
|
83
83
|
if (pluckConfig) {
|
84
|
-
const { modules = [], globalGqlIdentifierName = ['gql', 'graphql'], gqlMagicComment = 'GraphQL', } = pluckConfig
|
84
|
+
const { modules = [], globalGqlIdentifierName = ['gql', 'graphql'], gqlMagicComment = 'GraphQL', } = pluckConfig;
|
85
85
|
keywords = [
|
86
86
|
...new Set([
|
87
87
|
...modules.map(({ identifier }) => identifier),
|
package/index.mjs
CHANGED
@@ -75,7 +75,7 @@ const processor = {
|
|
75
75
|
let keywords = RELEVANT_KEYWORDS;
|
76
76
|
const pluckConfig = onDiskConfig === null || onDiskConfig === void 0 ? void 0 : onDiskConfig.getProjectForFile(filePath).extensions.pluckConfig;
|
77
77
|
if (pluckConfig) {
|
78
|
-
const { modules = [], globalGqlIdentifierName = ['gql', 'graphql'], gqlMagicComment = 'GraphQL', } = pluckConfig
|
78
|
+
const { modules = [], globalGqlIdentifierName = ['gql', 'graphql'], gqlMagicComment = 'GraphQL', } = pluckConfig;
|
79
79
|
keywords = [
|
80
80
|
...new Set([
|
81
81
|
...modules.map(({ identifier }) => identifier),
|