@graphql-eslint/eslint-plugin 3.4.0-alpha-d977284.0 → 3.4.0-alpha-735b6ae.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -340,7 +340,7 @@ function validateDocument(context, schema = null, documentNode, rule) {
340
340
  try {
341
341
  const validationErrors = schema
342
342
  ? graphql.validate(schema, documentNode, [rule])
343
- : validate.validateSDL(documentNode, schema, [rule]);
343
+ : validate.validateSDL(documentNode, null, [rule]);
344
344
  for (const error of validationErrors) {
345
345
  /*
346
346
  * TODO: Fix ESTree-AST converter because currently it's incorrectly convert loc.end
package/index.mjs CHANGED
@@ -334,7 +334,7 @@ function validateDocument(context, schema = null, documentNode, rule) {
334
334
  try {
335
335
  const validationErrors = schema
336
336
  ? validate(schema, documentNode, [rule])
337
- : validateSDL(documentNode, schema, [rule]);
337
+ : validateSDL(documentNode, null, [rule]);
338
338
  for (const error of validationErrors) {
339
339
  /*
340
340
  * TODO: Fix ESTree-AST converter because currently it's incorrectly convert loc.end
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.4.0-alpha-d977284.0",
3
+ "version": "3.4.0-alpha-735b6ae.0",
4
4
  "description": "GraphQL plugin for ESLint",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {