@graphql-eslint/eslint-plugin 4.4.0-alpha-20241226203053-975aab4856f084c11463f49e74ae7747415790e3 → 4.4.0-alpha-20241226203126-0478642b0e27fca0a5394da8b9cde4fcdb2b29f5
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.
- package/browser.js +1 -1
- package/cjs/index.d.cts +1 -1
- package/cjs/meta.js +1 -1
- package/cjs/rules/index.d.cts +1 -1
- package/esm/index.d.ts +9 -9
- package/esm/meta.js +1 -1
- package/esm/rules/alphabetize/index.d.ts +3 -3
- package/esm/rules/index.d.ts +9 -9
- package/package.json +1 -1
package/browser.js
CHANGED
@@ -408,7 +408,7 @@ function convertToESTree(node, schema16) {
|
|
408
408
|
}
|
409
409
|
|
410
410
|
// src/meta.ts
|
411
|
-
var version = "4.4.0-alpha-
|
411
|
+
var version = "4.4.0-alpha-20241226203126-0478642b0e27fca0a5394da8b9cde4fcdb2b29f5";
|
412
412
|
|
413
413
|
// src/siblings.ts
|
414
414
|
import {
|
package/cjs/index.d.cts
CHANGED
@@ -48,10 +48,10 @@ declare const _default: {
|
|
48
48
|
};
|
49
49
|
rules: {
|
50
50
|
alphabetize: GraphQLESLintRule<{
|
51
|
+
values?: boolean | undefined;
|
51
52
|
definitions?: boolean | undefined;
|
52
53
|
selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
|
53
54
|
arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
|
54
|
-
values?: boolean | undefined;
|
55
55
|
fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
|
56
56
|
variables?: boolean | undefined;
|
57
57
|
groups?: string[] | undefined;
|
package/cjs/meta.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.4.0-alpha-
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});const version = "4.4.0-alpha-20241226203126-0478642b0e27fca0a5394da8b9cde4fcdb2b29f5";
|
2
2
|
|
3
3
|
|
4
4
|
exports.version = version;
|
package/cjs/rules/index.d.cts
CHANGED
@@ -11,10 +11,10 @@ import 'json-schema-to-ts';
|
|
11
11
|
|
12
12
|
declare const rules: {
|
13
13
|
alphabetize: GraphQLESLintRule<{
|
14
|
+
values?: boolean | undefined;
|
14
15
|
definitions?: boolean | undefined;
|
15
16
|
selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
|
16
17
|
arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
|
17
|
-
values?: boolean | undefined;
|
18
18
|
fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
|
19
19
|
variables?: boolean | undefined;
|
20
20
|
groups?: string[] | undefined;
|
package/esm/index.d.ts
CHANGED
@@ -48,12 +48,12 @@ declare const _default: {
|
|
48
48
|
};
|
49
49
|
rules: {
|
50
50
|
alphabetize: GraphQLESLintRule<{
|
51
|
-
values?: boolean | undefined;
|
52
51
|
definitions?: boolean | undefined;
|
53
|
-
|
54
|
-
|
52
|
+
selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
|
53
|
+
arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
|
54
|
+
values?: boolean | undefined;
|
55
|
+
fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
|
55
56
|
variables?: boolean | undefined;
|
56
|
-
arguments?: ("Directive" | "DirectiveDefinition" | "Field" | "FieldDefinition")[] | undefined;
|
57
57
|
groups?: string[] | undefined;
|
58
58
|
}[]>;
|
59
59
|
'description-style': GraphQLESLintRule<{
|
@@ -66,7 +66,7 @@ declare const _default: {
|
|
66
66
|
checkMutations?: boolean | undefined;
|
67
67
|
}[]>;
|
68
68
|
'lone-executable-definition': GraphQLESLintRule<{
|
69
|
-
ignore?: ("fragment"
|
69
|
+
ignore?: (graphql.OperationTypeNode | "fragment")[] | undefined;
|
70
70
|
}[]>;
|
71
71
|
'match-document-filename': GraphQLESLintRule<{
|
72
72
|
fragment?: (CaseStyle | "matchDocumentStyle") | {
|
@@ -74,7 +74,6 @@ declare const _default: {
|
|
74
74
|
suffix?: string | undefined;
|
75
75
|
prefix?: string | undefined;
|
76
76
|
} | undefined;
|
77
|
-
fileExtension?: ".gql" | ".graphql" | undefined;
|
78
77
|
query?: (CaseStyle | "matchDocumentStyle") | {
|
79
78
|
style?: (CaseStyle | "matchDocumentStyle") | undefined;
|
80
79
|
suffix?: string | undefined;
|
@@ -90,11 +89,10 @@ declare const _default: {
|
|
90
89
|
suffix?: string | undefined;
|
91
90
|
prefix?: string | undefined;
|
92
91
|
} | undefined;
|
92
|
+
fileExtension?: ".gql" | ".graphql" | undefined;
|
93
93
|
}[]>;
|
94
94
|
'naming-convention': GraphQLESLintRule<{
|
95
95
|
[x: string]: unknown;
|
96
|
-
allowLeadingUnderscore?: boolean | undefined;
|
97
|
-
allowTrailingUnderscore?: boolean | undefined;
|
98
96
|
types?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE") | {
|
99
97
|
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE") | undefined;
|
100
98
|
suffix?: string | undefined;
|
@@ -111,6 +109,8 @@ declare const _default: {
|
|
111
109
|
requiredSuffixes?: string[] | undefined;
|
112
110
|
ignorePattern?: string | undefined;
|
113
111
|
} | undefined;
|
112
|
+
allowLeadingUnderscore?: boolean | undefined;
|
113
|
+
allowTrailingUnderscore?: boolean | undefined;
|
114
114
|
}[]>;
|
115
115
|
'no-anonymous-operations': GraphQLESLintRule;
|
116
116
|
'no-deprecated': GraphQLESLintRule<[], true>;
|
@@ -141,6 +141,7 @@ declare const _default: {
|
|
141
141
|
}[]>;
|
142
142
|
'require-deprecation-reason': GraphQLESLintRule;
|
143
143
|
'require-description': GraphQLESLintRule<{
|
144
|
+
types?: true | undefined;
|
144
145
|
OperationDefinition?: boolean | undefined;
|
145
146
|
ScalarTypeDefinition?: boolean | undefined;
|
146
147
|
ObjectTypeDefinition?: boolean | undefined;
|
@@ -152,7 +153,6 @@ declare const _default: {
|
|
152
153
|
EnumValueDefinition?: boolean | undefined;
|
153
154
|
InputObjectTypeDefinition?: boolean | undefined;
|
154
155
|
DirectiveDefinition?: boolean | undefined;
|
155
|
-
types?: true | undefined;
|
156
156
|
rootField?: true | undefined;
|
157
157
|
ignoredSelectors?: string[] | undefined;
|
158
158
|
}[]>;
|
package/esm/meta.js
CHANGED
@@ -19,7 +19,7 @@ declare const schema: {
|
|
19
19
|
readonly properties: {
|
20
20
|
readonly fields: {
|
21
21
|
readonly items: {
|
22
|
-
readonly enum: ("
|
22
|
+
readonly enum: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[];
|
23
23
|
};
|
24
24
|
readonly description: "Fields of `type`, `interface`, and `input`.";
|
25
25
|
readonly type: "array";
|
@@ -32,7 +32,7 @@ declare const schema: {
|
|
32
32
|
};
|
33
33
|
readonly selections: {
|
34
34
|
readonly items: {
|
35
|
-
readonly enum: ("
|
35
|
+
readonly enum: ("OperationDefinition" | "FragmentDefinition")[];
|
36
36
|
};
|
37
37
|
readonly description: "Selections of `fragment` and operations `query`, `mutation` and `subscription`.";
|
38
38
|
readonly type: "array";
|
@@ -45,7 +45,7 @@ declare const schema: {
|
|
45
45
|
};
|
46
46
|
readonly arguments: {
|
47
47
|
readonly items: {
|
48
|
-
readonly enum: ("
|
48
|
+
readonly enum: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[];
|
49
49
|
};
|
50
50
|
readonly description: "Arguments of fields and directives.";
|
51
51
|
readonly type: "array";
|
package/esm/rules/index.d.ts
CHANGED
@@ -11,12 +11,12 @@ import 'json-schema-to-ts';
|
|
11
11
|
|
12
12
|
declare const rules: {
|
13
13
|
alphabetize: GraphQLESLintRule<{
|
14
|
-
values?: boolean | undefined;
|
15
14
|
definitions?: boolean | undefined;
|
16
|
-
|
17
|
-
|
15
|
+
selections?: ("OperationDefinition" | "FragmentDefinition")[] | undefined;
|
16
|
+
arguments?: ("Field" | "Directive" | "FieldDefinition" | "DirectiveDefinition")[] | undefined;
|
17
|
+
values?: boolean | undefined;
|
18
|
+
fields?: ("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition")[] | undefined;
|
18
19
|
variables?: boolean | undefined;
|
19
|
-
arguments?: ("Directive" | "DirectiveDefinition" | "Field" | "FieldDefinition")[] | undefined;
|
20
20
|
groups?: string[] | undefined;
|
21
21
|
}[]>;
|
22
22
|
'description-style': GraphQLESLintRule<{
|
@@ -29,7 +29,7 @@ declare const rules: {
|
|
29
29
|
checkMutations?: boolean | undefined;
|
30
30
|
}[]>;
|
31
31
|
'lone-executable-definition': GraphQLESLintRule<{
|
32
|
-
ignore?: ("fragment"
|
32
|
+
ignore?: (graphql.OperationTypeNode | "fragment")[] | undefined;
|
33
33
|
}[]>;
|
34
34
|
'match-document-filename': GraphQLESLintRule<{
|
35
35
|
fragment?: (CaseStyle | "matchDocumentStyle") | {
|
@@ -37,7 +37,6 @@ declare const rules: {
|
|
37
37
|
suffix?: string | undefined;
|
38
38
|
prefix?: string | undefined;
|
39
39
|
} | undefined;
|
40
|
-
fileExtension?: ".gql" | ".graphql" | undefined;
|
41
40
|
query?: (CaseStyle | "matchDocumentStyle") | {
|
42
41
|
style?: (CaseStyle | "matchDocumentStyle") | undefined;
|
43
42
|
suffix?: string | undefined;
|
@@ -53,11 +52,10 @@ declare const rules: {
|
|
53
52
|
suffix?: string | undefined;
|
54
53
|
prefix?: string | undefined;
|
55
54
|
} | undefined;
|
55
|
+
fileExtension?: ".gql" | ".graphql" | undefined;
|
56
56
|
}[]>;
|
57
57
|
'naming-convention': GraphQLESLintRule<{
|
58
58
|
[x: string]: unknown;
|
59
|
-
allowLeadingUnderscore?: boolean | undefined;
|
60
|
-
allowTrailingUnderscore?: boolean | undefined;
|
61
59
|
types?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE") | {
|
62
60
|
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE") | undefined;
|
63
61
|
suffix?: string | undefined;
|
@@ -74,6 +72,8 @@ declare const rules: {
|
|
74
72
|
requiredSuffixes?: string[] | undefined;
|
75
73
|
ignorePattern?: string | undefined;
|
76
74
|
} | undefined;
|
75
|
+
allowLeadingUnderscore?: boolean | undefined;
|
76
|
+
allowTrailingUnderscore?: boolean | undefined;
|
77
77
|
}[]>;
|
78
78
|
'no-anonymous-operations': GraphQLESLintRule;
|
79
79
|
'no-deprecated': GraphQLESLintRule<[], true>;
|
@@ -104,6 +104,7 @@ declare const rules: {
|
|
104
104
|
}[]>;
|
105
105
|
'require-deprecation-reason': GraphQLESLintRule;
|
106
106
|
'require-description': GraphQLESLintRule<{
|
107
|
+
types?: true | undefined;
|
107
108
|
OperationDefinition?: boolean | undefined;
|
108
109
|
ScalarTypeDefinition?: boolean | undefined;
|
109
110
|
ObjectTypeDefinition?: boolean | undefined;
|
@@ -115,7 +116,6 @@ declare const rules: {
|
|
115
116
|
EnumValueDefinition?: boolean | undefined;
|
116
117
|
InputObjectTypeDefinition?: boolean | undefined;
|
117
118
|
DirectiveDefinition?: boolean | undefined;
|
118
|
-
types?: true | undefined;
|
119
119
|
rootField?: true | undefined;
|
120
120
|
ignoredSelectors?: string[] | undefined;
|
121
121
|
}[]>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@graphql-eslint/eslint-plugin",
|
3
|
-
"version": "4.4.0-alpha-
|
3
|
+
"version": "4.4.0-alpha-20241226203126-0478642b0e27fca0a5394da8b9cde4fcdb2b29f5",
|
4
4
|
"type": "module",
|
5
5
|
"description": "GraphQL plugin for ESLint",
|
6
6
|
"repository": "https://github.com/dimaMachina/graphql-eslint",
|