@graphql-eslint/eslint-plugin 3.14.1-alpha-20221227090835-c39b5f5 → 3.14.1-alpha-20221227103351-5f80ba8

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = {
4
- parser: '@graphql-eslint/eslint-plugin',
5
- plugins: ['@graphql-eslint'],
6
- };
7
1
  module.exports = exports.default;
@@ -2,14 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.configs = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const base_js_1 = tslib_1.__importDefault(require("./base.js"));
6
5
  const schema_recommended_js_1 = tslib_1.__importDefault(require("./schema-recommended.js"));
7
6
  const schema_all_js_1 = tslib_1.__importDefault(require("./schema-all.js"));
8
7
  const operations_recommended_js_1 = tslib_1.__importDefault(require("./operations-recommended.js"));
9
8
  const operations_all_js_1 = tslib_1.__importDefault(require("./operations-all.js"));
10
9
  const relay_js_1 = tslib_1.__importDefault(require("./relay.js"));
11
10
  exports.configs = {
12
- base: base_js_1.default,
13
11
  'schema-recommended': schema_recommended_js_1.default,
14
12
  'schema-all': schema_all_js_1.default,
15
13
  'operations-recommended': operations_recommended_js_1.default,
@@ -4,7 +4,7 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = {
7
- extends: ['./configs/base', './configs/operations-recommended'],
7
+ extends: './configs/operations-recommended',
8
8
  rules: {
9
9
  '@graphql-eslint/alphabetize': [
10
10
  'error',
@@ -4,7 +4,8 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = {
7
- extends: './configs/base',
7
+ parser: '@graphql-eslint/eslint-plugin',
8
+ plugins: ['@graphql-eslint'],
8
9
  rules: {
9
10
  '@graphql-eslint/executable-definitions': 'error',
10
11
  '@graphql-eslint/fields-on-correct-type': 'error',
@@ -1,7 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.default = {
4
- extends: './configs/base',
4
+ parser: '@graphql-eslint/eslint-plugin',
5
+ plugins: ['@graphql-eslint'],
5
6
  rules: {
6
7
  '@graphql-eslint/relay-arguments': 'error',
7
8
  '@graphql-eslint/relay-connection-types': 'error',
@@ -4,7 +4,7 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = {
7
- extends: ['./configs/base', './configs/schema-recommended'],
7
+ extends: './configs/schema-recommended',
8
8
  rules: {
9
9
  '@graphql-eslint/alphabetize': [
10
10
  'error',
@@ -4,7 +4,8 @@
4
4
  */
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = {
7
- extends: './configs/base',
7
+ parser: '@graphql-eslint/eslint-plugin',
8
+ plugins: ['@graphql-eslint'],
8
9
  rules: {
9
10
  '@graphql-eslint/description-style': 'error',
10
11
  '@graphql-eslint/known-argument-names': 'error',
@@ -1,11 +1,9 @@
1
- import baseConfig from './base.js';
2
1
  import schemaRecommendedConfig from './schema-recommended.js';
3
2
  import schemaAllConfig from './schema-all.js';
4
3
  import operationsRecommendedConfig from './operations-recommended.js';
5
4
  import operationsAllConfig from './operations-all.js';
6
5
  import relayConfig from './relay.js';
7
6
  export const configs = {
8
- base: baseConfig,
9
7
  'schema-recommended': schemaRecommendedConfig,
10
8
  'schema-all': schemaAllConfig,
11
9
  'operations-recommended': operationsRecommendedConfig,
@@ -2,7 +2,7 @@
2
2
  * 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
3
3
  */
4
4
  export default {
5
- extends: ['./configs/base', './configs/operations-recommended'],
5
+ extends: './configs/operations-recommended',
6
6
  rules: {
7
7
  '@graphql-eslint/alphabetize': [
8
8
  'error',
@@ -2,7 +2,8 @@
2
2
  * 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
3
3
  */
4
4
  export default {
5
- extends: './configs/base',
5
+ parser: '@graphql-eslint/eslint-plugin',
6
+ plugins: ['@graphql-eslint'],
6
7
  rules: {
7
8
  '@graphql-eslint/executable-definitions': 'error',
8
9
  '@graphql-eslint/fields-on-correct-type': 'error',
@@ -1,5 +1,6 @@
1
1
  export default {
2
- extends: './configs/base',
2
+ parser: '@graphql-eslint/eslint-plugin',
3
+ plugins: ['@graphql-eslint'],
3
4
  rules: {
4
5
  '@graphql-eslint/relay-arguments': 'error',
5
6
  '@graphql-eslint/relay-connection-types': 'error',
@@ -2,7 +2,7 @@
2
2
  * 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
3
3
  */
4
4
  export default {
5
- extends: ['./configs/base', './configs/schema-recommended'],
5
+ extends: './configs/schema-recommended',
6
6
  rules: {
7
7
  '@graphql-eslint/alphabetize': [
8
8
  'error',
@@ -2,7 +2,8 @@
2
2
  * 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
3
3
  */
4
4
  export default {
5
- extends: './configs/base',
5
+ parser: '@graphql-eslint/eslint-plugin',
6
+ plugins: ['@graphql-eslint'],
6
7
  rules: {
7
8
  '@graphql-eslint/description-style': 'error',
8
9
  '@graphql-eslint/known-argument-names': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-eslint/eslint-plugin",
3
- "version": "3.14.1-alpha-20221227090835-c39b5f5",
3
+ "version": "3.14.1-alpha-20221227103351-5f80ba8",
4
4
  "description": "GraphQL plugin for ESLint",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -1,10 +1,7 @@
1
1
  export declare const configs: {
2
- base: {
2
+ 'schema-recommended': {
3
3
  parser: string;
4
4
  plugins: string[];
5
- };
6
- 'schema-recommended': {
7
- extends: string;
8
5
  rules: {
9
6
  '@graphql-eslint/description-style': string;
10
7
  '@graphql-eslint/known-argument-names': string;
@@ -50,7 +47,7 @@ export declare const configs: {
50
47
  };
51
48
  };
52
49
  'schema-all': {
53
- extends: string[];
50
+ extends: string;
54
51
  rules: {
55
52
  '@graphql-eslint/alphabetize': (string | {
56
53
  fields: string[];
@@ -66,7 +63,8 @@ export declare const configs: {
66
63
  };
67
64
  };
68
65
  'operations-recommended': {
69
- extends: string;
66
+ parser: string;
67
+ plugins: string[];
70
68
  rules: {
71
69
  '@graphql-eslint/executable-definitions': string;
72
70
  '@graphql-eslint/fields-on-correct-type': string;
@@ -115,7 +113,7 @@ export declare const configs: {
115
113
  };
116
114
  };
117
115
  'operations-all': {
118
- extends: string[];
116
+ extends: string;
119
117
  rules: {
120
118
  '@graphql-eslint/alphabetize': (string | {
121
119
  selections: string[];
@@ -135,7 +133,8 @@ export declare const configs: {
135
133
  };
136
134
  };
137
135
  relay: {
138
- extends: string;
136
+ parser: string;
137
+ plugins: string[];
139
138
  rules: {
140
139
  '@graphql-eslint/relay-arguments': string;
141
140
  '@graphql-eslint/relay-connection-types': string;
@@ -1,10 +1,7 @@
1
1
  export declare const configs: {
2
- base: {
2
+ 'schema-recommended': {
3
3
  parser: string;
4
4
  plugins: string[];
5
- };
6
- 'schema-recommended': {
7
- extends: string;
8
5
  rules: {
9
6
  '@graphql-eslint/description-style': string;
10
7
  '@graphql-eslint/known-argument-names': string;
@@ -50,7 +47,7 @@ export declare const configs: {
50
47
  };
51
48
  };
52
49
  'schema-all': {
53
- extends: string[];
50
+ extends: string;
54
51
  rules: {
55
52
  '@graphql-eslint/alphabetize': (string | {
56
53
  fields: string[];
@@ -66,7 +63,8 @@ export declare const configs: {
66
63
  };
67
64
  };
68
65
  'operations-recommended': {
69
- extends: string;
66
+ parser: string;
67
+ plugins: string[];
70
68
  rules: {
71
69
  '@graphql-eslint/executable-definitions': string;
72
70
  '@graphql-eslint/fields-on-correct-type': string;
@@ -115,7 +113,7 @@ export declare const configs: {
115
113
  };
116
114
  };
117
115
  'operations-all': {
118
- extends: string[];
116
+ extends: string;
119
117
  rules: {
120
118
  '@graphql-eslint/alphabetize': (string | {
121
119
  selections: string[];
@@ -135,7 +133,8 @@ export declare const configs: {
135
133
  };
136
134
  };
137
135
  relay: {
138
- extends: string;
136
+ parser: string;
137
+ plugins: string[];
139
138
  rules: {
140
139
  '@graphql-eslint/relay-arguments': string;
141
140
  '@graphql-eslint/relay-connection-types': string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- extends: string[];
2
+ extends: string;
3
3
  rules: {
4
4
  '@graphql-eslint/alphabetize': (string | {
5
5
  selections: string[];
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- extends: string[];
2
+ extends: string;
3
3
  rules: {
4
4
  '@graphql-eslint/alphabetize': (string | {
5
5
  selections: string[];
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/executable-definitions': string;
5
6
  '@graphql-eslint/fields-on-correct-type': string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/executable-definitions': string;
5
6
  '@graphql-eslint/fields-on-correct-type': string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/relay-arguments': string;
5
6
  '@graphql-eslint/relay-connection-types': string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/relay-arguments': string;
5
6
  '@graphql-eslint/relay-connection-types': string;
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- extends: string[];
2
+ extends: string;
3
3
  rules: {
4
4
  '@graphql-eslint/alphabetize': (string | {
5
5
  fields: string[];
@@ -1,5 +1,5 @@
1
1
  declare const _default: {
2
- extends: string[];
2
+ extends: string;
3
3
  rules: {
4
4
  '@graphql-eslint/alphabetize': (string | {
5
5
  fields: string[];
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/description-style': string;
5
6
  '@graphql-eslint/known-argument-names': string;
@@ -1,5 +1,6 @@
1
1
  declare const _default: {
2
- extends: string;
2
+ parser: string;
3
+ plugins: string[];
3
4
  rules: {
4
5
  '@graphql-eslint/description-style': string;
5
6
  '@graphql-eslint/known-argument-names': string;
@@ -1,4 +0,0 @@
1
- export default {
2
- parser: '@graphql-eslint/eslint-plugin',
3
- plugins: ['@graphql-eslint'],
4
- };
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- parser: string;
3
- plugins: string[];
4
- };
5
- export default _default;
@@ -1,5 +0,0 @@
1
- declare const _default: {
2
- parser: string;
3
- plugins: string[];
4
- };
5
- export default _default;