@graphql-eslint/eslint-plugin 3.11.0-alpha-20220828135426-e9545b1 → 3.11.0-alpha-20220828135635-ce6bf36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +0 -6
  2. package/index.mjs +0 -6
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -772,18 +772,12 @@ const rule = {
772
772
  if (shouldSkipIgnorePrefix) {
773
773
  continue;
774
774
  }
775
- if (!shouldSkipIgnorePrefix) {
776
- console.error(`${opts.ignorePrefix} is not match to "${prevName}" or "${currName}"`);
777
- }
778
775
  }
779
776
  if ((opts.ignoreSuffix || []).length > 0) {
780
777
  const shouldSkipIgnoreSuffix = opts.ignoreSuffix.some(suffix => suffix === prevName || suffix === currName || prevName.endsWith(suffix) || currName.endsWith(suffix));
781
778
  if (shouldSkipIgnoreSuffix) {
782
779
  continue;
783
780
  }
784
- if (!shouldSkipIgnoreSuffix) {
785
- console.error(`${opts.ignoreSuffix} is not match to "${prevName}" or "${currName}"`);
786
- }
787
781
  }
788
782
  // Compare with lexicographic order
789
783
  const compareResult = prevName.localeCompare(currName);
package/index.mjs CHANGED
@@ -766,18 +766,12 @@ const rule = {
766
766
  if (shouldSkipIgnorePrefix) {
767
767
  continue;
768
768
  }
769
- if (!shouldSkipIgnorePrefix) {
770
- console.error(`${opts.ignorePrefix} is not match to "${prevName}" or "${currName}"`);
771
- }
772
769
  }
773
770
  if ((opts.ignoreSuffix || []).length > 0) {
774
771
  const shouldSkipIgnoreSuffix = opts.ignoreSuffix.some(suffix => suffix === prevName || suffix === currName || prevName.endsWith(suffix) || currName.endsWith(suffix));
775
772
  if (shouldSkipIgnoreSuffix) {
776
773
  continue;
777
774
  }
778
- if (!shouldSkipIgnoreSuffix) {
779
- console.error(`${opts.ignoreSuffix} is not match to "${prevName}" or "${currName}"`);
780
- }
781
775
  }
782
776
  // Compare with lexicographic order
783
777
  const compareResult = prevName.localeCompare(currName);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.11.0-alpha-20220828135426-e9545b1",
3
+ "version": "3.11.0-alpha-20220828135635-ce6bf36",
4
4
  "description": "GraphQL plugin for ESLint",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {