@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.
- package/cjs/configs/base.js +0 -6
- package/cjs/configs/index.js +0 -2
- package/cjs/configs/operations-all.js +1 -1
- package/cjs/configs/operations-recommended.js +2 -1
- package/cjs/configs/relay.js +2 -1
- package/cjs/configs/schema-all.js +1 -1
- package/cjs/configs/schema-recommended.js +2 -1
- package/esm/configs/index.js +0 -2
- package/esm/configs/operations-all.js +1 -1
- package/esm/configs/operations-recommended.js +2 -1
- package/esm/configs/relay.js +2 -1
- package/esm/configs/schema-all.js +1 -1
- package/esm/configs/schema-recommended.js +2 -1
- package/package.json +1 -1
- package/typings/configs/index.d.cts +7 -8
- package/typings/configs/index.d.ts +7 -8
- package/typings/configs/operations-all.d.cts +1 -1
- package/typings/configs/operations-all.d.ts +1 -1
- package/typings/configs/operations-recommended.d.cts +2 -1
- package/typings/configs/operations-recommended.d.ts +2 -1
- package/typings/configs/relay.d.cts +2 -1
- package/typings/configs/relay.d.ts +2 -1
- package/typings/configs/schema-all.d.cts +1 -1
- package/typings/configs/schema-all.d.ts +1 -1
- package/typings/configs/schema-recommended.d.cts +2 -1
- package/typings/configs/schema-recommended.d.ts +2 -1
- package/esm/configs/base.js +0 -4
- package/typings/configs/base.d.cts +0 -5
- package/typings/configs/base.d.ts +0 -5
package/cjs/configs/base.js
CHANGED
package/cjs/configs/index.js
CHANGED
@@ -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,8 @@
|
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.default = {
|
7
|
-
|
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',
|
package/cjs/configs/relay.js
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.default = {
|
4
|
-
|
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,8 @@
|
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.default = {
|
7
|
-
|
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',
|
package/esm/configs/index.js
CHANGED
@@ -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:
|
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
|
-
|
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',
|
package/esm/configs/relay.js
CHANGED
@@ -2,7 +2,8 @@
|
|
2
2
|
* 🚨 IMPORTANT! Do not manually modify this file. Run: `yarn generate-configs`
|
3
3
|
*/
|
4
4
|
export default {
|
5
|
-
|
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,10 +1,7 @@
|
|
1
1
|
export declare const configs: {
|
2
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
136
|
+
parser: string;
|
137
|
+
plugins: string[];
|
139
138
|
rules: {
|
140
139
|
'@graphql-eslint/relay-arguments': string;
|
141
140
|
'@graphql-eslint/relay-connection-types': string;
|
package/esm/configs/base.js
DELETED