@storm-software/eslint 0.126.2 → 0.127.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.
- package/README.md +1 -1
- package/dist/chunk-G7QVU75O.js +245 -0
- package/dist/preset.d.ts +1 -1
- package/dist/preset.js +151 -165
- package/dist/{types-CnDDaY3J.d.ts → types-CIpgkHRj.d.ts} +1613 -8
- package/dist/utils/combine.d.ts +1 -1
- package/dist/utils/correct-paths.d.ts +30 -0
- package/dist/utils/correct-paths.js +33 -0
- package/dist/utils/index.js +3 -3
- package/package.json +1 -2
|
@@ -9,6 +9,511 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
interface RuleOptions {
|
|
12
|
+
/**
|
|
13
|
+
* CSpell spellchecker
|
|
14
|
+
*/
|
|
15
|
+
'@cspell/spellchecker'?: Linter.RuleEntry<CspellSpellchecker>
|
|
16
|
+
/**
|
|
17
|
+
* Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more.
|
|
18
|
+
* @see https://the-guild.dev/graphql/eslint/rules/alphabetize
|
|
19
|
+
*/
|
|
20
|
+
'@graphql-eslint/alphabetize'?: Linter.RuleEntry<GraphqlEslintAlphabetize>
|
|
21
|
+
/**
|
|
22
|
+
* Require all comments to follow the same style (either block or inline).
|
|
23
|
+
* @see https://the-guild.dev/graphql/eslint/rules/description-style
|
|
24
|
+
*/
|
|
25
|
+
'@graphql-eslint/description-style'?: Linter.RuleEntry<GraphqlEslintDescriptionStyle>
|
|
26
|
+
/**
|
|
27
|
+
* A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.
|
|
28
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
29
|
+
* @see https://the-guild.dev/graphql/eslint/rules/executable-definitions
|
|
30
|
+
*/
|
|
31
|
+
'@graphql-eslint/executable-definitions'?: Linter.RuleEntry<[]>
|
|
32
|
+
/**
|
|
33
|
+
* A GraphQL document is only valid if all fields selected are defined by the parent type, or are an allowed meta field such as `__typename`.
|
|
34
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
35
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type
|
|
36
|
+
*/
|
|
37
|
+
'@graphql-eslint/fields-on-correct-type'?: Linter.RuleEntry<[]>
|
|
38
|
+
/**
|
|
39
|
+
* Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type.
|
|
40
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
41
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type
|
|
42
|
+
*/
|
|
43
|
+
'@graphql-eslint/fragments-on-composite-type'?: Linter.RuleEntry<[]>
|
|
44
|
+
/**
|
|
45
|
+
* Require mutation argument to be always called "input" and input type to be called Mutation name + "Input".
|
|
46
|
+
Using the same name for all input parameters will make your schemas easier to consume and more predictable. Using the same name as mutation for InputType will make it easier to find mutations that InputType belongs to.
|
|
47
|
+
* @see https://the-guild.dev/graphql/eslint/rules/input-name
|
|
48
|
+
*/
|
|
49
|
+
'@graphql-eslint/input-name'?: Linter.RuleEntry<GraphqlEslintInputName>
|
|
50
|
+
/**
|
|
51
|
+
* A GraphQL field is only valid if all supplied arguments are defined by that field.
|
|
52
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
53
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-argument-names
|
|
54
|
+
*/
|
|
55
|
+
'@graphql-eslint/known-argument-names'?: Linter.RuleEntry<[]>
|
|
56
|
+
/**
|
|
57
|
+
* A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned.
|
|
58
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
59
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-directives
|
|
60
|
+
*/
|
|
61
|
+
'@graphql-eslint/known-directives'?: Linter.RuleEntry<GraphqlEslintKnownDirectives>
|
|
62
|
+
/**
|
|
63
|
+
* A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document.
|
|
64
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
65
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-fragment-names
|
|
66
|
+
*/
|
|
67
|
+
'@graphql-eslint/known-fragment-names'?: Linter.RuleEntry<[]>
|
|
68
|
+
/**
|
|
69
|
+
* A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema.
|
|
70
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
71
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-type-names
|
|
72
|
+
*/
|
|
73
|
+
'@graphql-eslint/known-type-names'?: Linter.RuleEntry<[]>
|
|
74
|
+
/**
|
|
75
|
+
* A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition.
|
|
76
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
77
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation
|
|
78
|
+
*/
|
|
79
|
+
'@graphql-eslint/lone-anonymous-operation'?: Linter.RuleEntry<[]>
|
|
80
|
+
/**
|
|
81
|
+
* Require queries, mutations, subscriptions or fragments to be located in separate files.
|
|
82
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-executable-definition
|
|
83
|
+
*/
|
|
84
|
+
'@graphql-eslint/lone-executable-definition'?: Linter.RuleEntry<GraphqlEslintLoneExecutableDefinition>
|
|
85
|
+
/**
|
|
86
|
+
* A GraphQL document is only valid if it contains only one schema definition.
|
|
87
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
88
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-schema-definition
|
|
89
|
+
*/
|
|
90
|
+
'@graphql-eslint/lone-schema-definition'?: Linter.RuleEntry<[]>
|
|
91
|
+
/**
|
|
92
|
+
* This rule allows you to enforce that the file name should match the operation name.
|
|
93
|
+
* @see https://the-guild.dev/graphql/eslint/rules/match-document-filename
|
|
94
|
+
*/
|
|
95
|
+
'@graphql-eslint/match-document-filename'?: Linter.RuleEntry<GraphqlEslintMatchDocumentFilename>
|
|
96
|
+
/**
|
|
97
|
+
* Require names to follow specified conventions.
|
|
98
|
+
* @see https://the-guild.dev/graphql/eslint/rules/naming-convention
|
|
99
|
+
*/
|
|
100
|
+
'@graphql-eslint/naming-convention'?: Linter.RuleEntry<GraphqlEslintNamingConvention>
|
|
101
|
+
/**
|
|
102
|
+
* Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes.
|
|
103
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations
|
|
104
|
+
*/
|
|
105
|
+
'@graphql-eslint/no-anonymous-operations'?: Linter.RuleEntry<[]>
|
|
106
|
+
/**
|
|
107
|
+
* Enforce that deprecated fields or enum values are not in use by operations.
|
|
108
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-deprecated
|
|
109
|
+
*/
|
|
110
|
+
'@graphql-eslint/no-deprecated'?: Linter.RuleEntry<[]>
|
|
111
|
+
/**
|
|
112
|
+
* Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field.
|
|
113
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields
|
|
114
|
+
*/
|
|
115
|
+
'@graphql-eslint/no-duplicate-fields'?: Linter.RuleEntry<[]>
|
|
116
|
+
/**
|
|
117
|
+
* A GraphQL fragment is only valid when it does not have cycles in fragments usage.
|
|
118
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
119
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles
|
|
120
|
+
*/
|
|
121
|
+
'@graphql-eslint/no-fragment-cycles'?: Linter.RuleEntry<[]>
|
|
122
|
+
/**
|
|
123
|
+
* Requires to use `"""` or `"` for adding a GraphQL description instead of `#`.
|
|
124
|
+
Allows to use hashtag for comments, as long as it's not attached to an AST definition.
|
|
125
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-hashtag-description
|
|
126
|
+
*/
|
|
127
|
+
'@graphql-eslint/no-hashtag-description'?: Linter.RuleEntry<[]>
|
|
128
|
+
/**
|
|
129
|
+
* Disallow fragments that are used only in one place.
|
|
130
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments
|
|
131
|
+
*/
|
|
132
|
+
'@graphql-eslint/no-one-place-fragments'?: Linter.RuleEntry<[]>
|
|
133
|
+
/**
|
|
134
|
+
* Disallow using root types `mutation` and/or `subscription`.
|
|
135
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-root-type
|
|
136
|
+
*/
|
|
137
|
+
'@graphql-eslint/no-root-type'?: Linter.RuleEntry<GraphqlEslintNoRootType>
|
|
138
|
+
/**
|
|
139
|
+
* Avoid scalar result type on mutation type to make sure to return a valid state.
|
|
140
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation
|
|
141
|
+
*/
|
|
142
|
+
'@graphql-eslint/no-scalar-result-type-on-mutation'?: Linter.RuleEntry<[]>
|
|
143
|
+
/**
|
|
144
|
+
* Enforces users to avoid using the type name in a field name while defining your schema.
|
|
145
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-typename-prefix
|
|
146
|
+
*/
|
|
147
|
+
'@graphql-eslint/no-typename-prefix'?: Linter.RuleEntry<[]>
|
|
148
|
+
/**
|
|
149
|
+
* A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation.
|
|
150
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
151
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-undefined-variables
|
|
152
|
+
*/
|
|
153
|
+
'@graphql-eslint/no-undefined-variables'?: Linter.RuleEntry<[]>
|
|
154
|
+
/**
|
|
155
|
+
* Requires all types to be reachable at some level by root level fields.
|
|
156
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unreachable-types
|
|
157
|
+
*/
|
|
158
|
+
'@graphql-eslint/no-unreachable-types'?: Linter.RuleEntry<[]>
|
|
159
|
+
/**
|
|
160
|
+
* Requires all fields to be used at some level by siblings operations.
|
|
161
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fields
|
|
162
|
+
*/
|
|
163
|
+
'@graphql-eslint/no-unused-fields'?: Linter.RuleEntry<GraphqlEslintNoUnusedFields>
|
|
164
|
+
/**
|
|
165
|
+
* A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations.
|
|
166
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
167
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fragments
|
|
168
|
+
*/
|
|
169
|
+
'@graphql-eslint/no-unused-fragments'?: Linter.RuleEntry<[]>
|
|
170
|
+
/**
|
|
171
|
+
* A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment.
|
|
172
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
173
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-variables
|
|
174
|
+
*/
|
|
175
|
+
'@graphql-eslint/no-unused-variables'?: Linter.RuleEntry<[]>
|
|
176
|
+
/**
|
|
177
|
+
* A GraphQL subscription is valid only if it contains a single root field.
|
|
178
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
179
|
+
* @see https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions
|
|
180
|
+
*/
|
|
181
|
+
'@graphql-eslint/one-field-subscriptions'?: Linter.RuleEntry<[]>
|
|
182
|
+
/**
|
|
183
|
+
* A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity.
|
|
184
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
185
|
+
* @see https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged
|
|
186
|
+
*/
|
|
187
|
+
'@graphql-eslint/overlapping-fields-can-be-merged'?: Linter.RuleEntry<[]>
|
|
188
|
+
/**
|
|
189
|
+
* A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition.
|
|
190
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
191
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread
|
|
192
|
+
*/
|
|
193
|
+
'@graphql-eslint/possible-fragment-spread'?: Linter.RuleEntry<[]>
|
|
194
|
+
/**
|
|
195
|
+
* A type extension is only valid if the type is defined and has the same kind.
|
|
196
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
197
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-type-extension
|
|
198
|
+
*/
|
|
199
|
+
'@graphql-eslint/possible-type-extension'?: Linter.RuleEntry<[]>
|
|
200
|
+
/**
|
|
201
|
+
* A field or directive is only valid if all required (non-null without a default value) field arguments have been provided.
|
|
202
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
203
|
+
* @see https://the-guild.dev/graphql/eslint/rules/provided-required-arguments
|
|
204
|
+
*/
|
|
205
|
+
'@graphql-eslint/provided-required-arguments'?: Linter.RuleEntry<[]>
|
|
206
|
+
/**
|
|
207
|
+
* Set of rules to follow Relay specification for Arguments.
|
|
208
|
+
|
|
209
|
+
- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both
|
|
210
|
+
|
|
211
|
+
Forward pagination arguments
|
|
212
|
+
|
|
213
|
+
- `first` takes a non-negative integer
|
|
214
|
+
- `after` takes the Cursor type
|
|
215
|
+
|
|
216
|
+
Backward pagination arguments
|
|
217
|
+
|
|
218
|
+
- `last` takes a non-negative integer
|
|
219
|
+
- `before` takes the Cursor type
|
|
220
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-arguments
|
|
221
|
+
*/
|
|
222
|
+
'@graphql-eslint/relay-arguments'?: Linter.RuleEntry<GraphqlEslintRelayArguments>
|
|
223
|
+
/**
|
|
224
|
+
* Set of rules to follow Relay specification for Connection types.
|
|
225
|
+
|
|
226
|
+
- Any type whose name ends in "Connection" is considered by spec to be a `Connection type`
|
|
227
|
+
- Connection type must be an Object type
|
|
228
|
+
- Connection type must contain a field `edges` that return a list type that wraps an edge type
|
|
229
|
+
- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type
|
|
230
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-connection-types
|
|
231
|
+
*/
|
|
232
|
+
'@graphql-eslint/relay-connection-types'?: Linter.RuleEntry<[]>
|
|
233
|
+
/**
|
|
234
|
+
* Set of rules to follow Relay specification for Edge types.
|
|
235
|
+
|
|
236
|
+
- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type
|
|
237
|
+
- Edge type must be an Object type
|
|
238
|
+
- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list
|
|
239
|
+
- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types
|
|
240
|
+
- Edge type name must end in "Edge" _(optional)_
|
|
241
|
+
- Edge type's field `node` must implement `Node` interface _(optional)_
|
|
242
|
+
- A list type should only wrap an edge type _(optional)_
|
|
243
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-edge-types
|
|
244
|
+
*/
|
|
245
|
+
'@graphql-eslint/relay-edge-types'?: Linter.RuleEntry<GraphqlEslintRelayEdgeTypes>
|
|
246
|
+
/**
|
|
247
|
+
* Set of rules to follow Relay specification for `PageInfo` object.
|
|
248
|
+
|
|
249
|
+
- `PageInfo` must be an Object type
|
|
250
|
+
- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean
|
|
251
|
+
- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results
|
|
252
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-page-info
|
|
253
|
+
*/
|
|
254
|
+
'@graphql-eslint/relay-page-info'?: Linter.RuleEntry<[]>
|
|
255
|
+
/**
|
|
256
|
+
* Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date.
|
|
257
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-date
|
|
258
|
+
*/
|
|
259
|
+
'@graphql-eslint/require-deprecation-date'?: Linter.RuleEntry<GraphqlEslintRequireDeprecationDate>
|
|
260
|
+
/**
|
|
261
|
+
* Require all deprecation directives to specify a reason.
|
|
262
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason
|
|
263
|
+
*/
|
|
264
|
+
'@graphql-eslint/require-deprecation-reason'?: Linter.RuleEntry<[]>
|
|
265
|
+
/**
|
|
266
|
+
* Enforce descriptions in type definitions and operations.
|
|
267
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-description
|
|
268
|
+
*/
|
|
269
|
+
'@graphql-eslint/require-description'?: Linter.RuleEntry<GraphqlEslintRequireDescription>
|
|
270
|
+
/**
|
|
271
|
+
* Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application.
|
|
272
|
+
> Currently, no errors are reported for result type `union`, `interface` and `scalar`.
|
|
273
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result
|
|
274
|
+
*/
|
|
275
|
+
'@graphql-eslint/require-field-of-type-query-in-mutation-result'?: Linter.RuleEntry<[]>
|
|
276
|
+
/**
|
|
277
|
+
* Require fragments to be imported via an import expression.
|
|
278
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-import-fragment
|
|
279
|
+
*/
|
|
280
|
+
'@graphql-eslint/require-import-fragment'?: Linter.RuleEntry<[]>
|
|
281
|
+
/**
|
|
282
|
+
* Require `input` or `type` fields to be non-nullable with `@oneOf` directive.
|
|
283
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof
|
|
284
|
+
*/
|
|
285
|
+
'@graphql-eslint/require-nullable-fields-with-oneof'?: Linter.RuleEntry<[]>
|
|
286
|
+
/**
|
|
287
|
+
* Require nullable fields in root types.
|
|
288
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root
|
|
289
|
+
*/
|
|
290
|
+
'@graphql-eslint/require-nullable-result-in-root'?: Linter.RuleEntry<[]>
|
|
291
|
+
/**
|
|
292
|
+
* Enforce selecting specific fields when they are available on the GraphQL type.
|
|
293
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-selections
|
|
294
|
+
*/
|
|
295
|
+
'@graphql-eslint/require-selections'?: Linter.RuleEntry<GraphqlEslintRequireSelections>
|
|
296
|
+
/**
|
|
297
|
+
* Enforce types with `@oneOf` directive have `error` and `ok` fields.
|
|
298
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof
|
|
299
|
+
*/
|
|
300
|
+
'@graphql-eslint/require-type-pattern-with-oneof'?: Linter.RuleEntry<[]>
|
|
301
|
+
/**
|
|
302
|
+
* A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types.
|
|
303
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
304
|
+
* @see https://the-guild.dev/graphql/eslint/rules/scalar-leafs
|
|
305
|
+
*/
|
|
306
|
+
'@graphql-eslint/scalar-leafs'?: Linter.RuleEntry<[]>
|
|
307
|
+
/**
|
|
308
|
+
* Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit).
|
|
309
|
+
* @see https://the-guild.dev/graphql/eslint/rules/selection-set-depth
|
|
310
|
+
*/
|
|
311
|
+
'@graphql-eslint/selection-set-depth'?: Linter.RuleEntry<GraphqlEslintSelectionSetDepth>
|
|
312
|
+
/**
|
|
313
|
+
* Requires output types to have one unique identifier unless they do not have a logical one. Exceptions can be used to ignore output types that do not have unique identifiers.
|
|
314
|
+
* @see https://the-guild.dev/graphql/eslint/rules/strict-id-in-types
|
|
315
|
+
*/
|
|
316
|
+
'@graphql-eslint/strict-id-in-types'?: Linter.RuleEntry<GraphqlEslintStrictIdInTypes>
|
|
317
|
+
/**
|
|
318
|
+
* A GraphQL field or directive is only valid if all supplied arguments are uniquely named.
|
|
319
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
320
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-argument-names
|
|
321
|
+
*/
|
|
322
|
+
'@graphql-eslint/unique-argument-names'?: Linter.RuleEntry<[]>
|
|
323
|
+
/**
|
|
324
|
+
* A GraphQL document is only valid if all defined directives have unique names.
|
|
325
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
326
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names
|
|
327
|
+
*/
|
|
328
|
+
'@graphql-eslint/unique-directive-names'?: Linter.RuleEntry<[]>
|
|
329
|
+
/**
|
|
330
|
+
* A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named.
|
|
331
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
332
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location
|
|
333
|
+
*/
|
|
334
|
+
'@graphql-eslint/unique-directive-names-per-location'?: Linter.RuleEntry<[]>
|
|
335
|
+
/**
|
|
336
|
+
* A GraphQL enum type is only valid if all its values are uniquely named.
|
|
337
|
+
> This rule disallows case-insensitive enum values duplicates too.
|
|
338
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names
|
|
339
|
+
*/
|
|
340
|
+
'@graphql-eslint/unique-enum-value-names'?: Linter.RuleEntry<[]>
|
|
341
|
+
/**
|
|
342
|
+
* A GraphQL complex type is only valid if all its fields are uniquely named.
|
|
343
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
344
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names
|
|
345
|
+
*/
|
|
346
|
+
'@graphql-eslint/unique-field-definition-names'?: Linter.RuleEntry<[]>
|
|
347
|
+
/**
|
|
348
|
+
* Enforce unique fragment names across your project.
|
|
349
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-fragment-name
|
|
350
|
+
*/
|
|
351
|
+
'@graphql-eslint/unique-fragment-name'?: Linter.RuleEntry<[]>
|
|
352
|
+
/**
|
|
353
|
+
* A GraphQL input object value is only valid if all supplied fields are uniquely named.
|
|
354
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
355
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-input-field-names
|
|
356
|
+
*/
|
|
357
|
+
'@graphql-eslint/unique-input-field-names'?: Linter.RuleEntry<[]>
|
|
358
|
+
/**
|
|
359
|
+
* Enforce unique operation names across your project.
|
|
360
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-name
|
|
361
|
+
*/
|
|
362
|
+
'@graphql-eslint/unique-operation-name'?: Linter.RuleEntry<[]>
|
|
363
|
+
/**
|
|
364
|
+
* A GraphQL document is only valid if it has only one type per operation.
|
|
365
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
366
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-types
|
|
367
|
+
*/
|
|
368
|
+
'@graphql-eslint/unique-operation-types'?: Linter.RuleEntry<[]>
|
|
369
|
+
/**
|
|
370
|
+
* A GraphQL document is only valid if all defined types have unique names.
|
|
371
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
372
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-type-names
|
|
373
|
+
*/
|
|
374
|
+
'@graphql-eslint/unique-type-names'?: Linter.RuleEntry<[]>
|
|
375
|
+
/**
|
|
376
|
+
* A GraphQL operation is only valid if all its variables are uniquely named.
|
|
377
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
378
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-variable-names
|
|
379
|
+
*/
|
|
380
|
+
'@graphql-eslint/unique-variable-names'?: Linter.RuleEntry<[]>
|
|
381
|
+
/**
|
|
382
|
+
* A GraphQL document is only valid if all value literals are of the type expected at their position.
|
|
383
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
384
|
+
* @see https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type
|
|
385
|
+
*/
|
|
386
|
+
'@graphql-eslint/value-literals-of-correct-type'?: Linter.RuleEntry<[]>
|
|
387
|
+
/**
|
|
388
|
+
* A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object).
|
|
389
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
390
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-are-input-types
|
|
391
|
+
*/
|
|
392
|
+
'@graphql-eslint/variables-are-input-types'?: Linter.RuleEntry<[]>
|
|
393
|
+
/**
|
|
394
|
+
* Variables passed to field arguments conform to type.
|
|
395
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
396
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position
|
|
397
|
+
*/
|
|
398
|
+
'@graphql-eslint/variables-in-allowed-position'?: Linter.RuleEntry<[]>
|
|
399
|
+
/**
|
|
400
|
+
* Enforce font-display behavior with Google Fonts.
|
|
401
|
+
* @see https://nextjs.org/docs/messages/google-font-display
|
|
402
|
+
*/
|
|
403
|
+
'@next/next/google-font-display'?: Linter.RuleEntry<[]>
|
|
404
|
+
/**
|
|
405
|
+
* Ensure `preconnect` is used with Google Fonts.
|
|
406
|
+
* @see https://nextjs.org/docs/messages/google-font-preconnect
|
|
407
|
+
*/
|
|
408
|
+
'@next/next/google-font-preconnect'?: Linter.RuleEntry<[]>
|
|
409
|
+
/**
|
|
410
|
+
* Enforce `id` attribute on `next/script` components with inline content.
|
|
411
|
+
* @see https://nextjs.org/docs/messages/inline-script-id
|
|
412
|
+
*/
|
|
413
|
+
'@next/next/inline-script-id'?: Linter.RuleEntry<[]>
|
|
414
|
+
/**
|
|
415
|
+
* Prefer `next/script` component when using the inline script for Google Analytics.
|
|
416
|
+
* @see https://nextjs.org/docs/messages/next-script-for-ga
|
|
417
|
+
*/
|
|
418
|
+
'@next/next/next-script-for-ga'?: Linter.RuleEntry<[]>
|
|
419
|
+
/**
|
|
420
|
+
* Prevent assignment to the `module` variable.
|
|
421
|
+
* @see https://nextjs.org/docs/messages/no-assign-module-variable
|
|
422
|
+
*/
|
|
423
|
+
'@next/next/no-assign-module-variable'?: Linter.RuleEntry<[]>
|
|
424
|
+
/**
|
|
425
|
+
* Prevent client components from being async functions.
|
|
426
|
+
* @see https://nextjs.org/docs/messages/no-async-client-component
|
|
427
|
+
*/
|
|
428
|
+
'@next/next/no-async-client-component'?: Linter.RuleEntry<[]>
|
|
429
|
+
/**
|
|
430
|
+
* Prevent usage of `next/script`'s `beforeInteractive` strategy outside of `pages/_document.js`.
|
|
431
|
+
* @see https://nextjs.org/docs/messages/no-before-interactive-script-outside-document
|
|
432
|
+
*/
|
|
433
|
+
'@next/next/no-before-interactive-script-outside-document'?: Linter.RuleEntry<[]>
|
|
434
|
+
/**
|
|
435
|
+
* Prevent manual stylesheet tags.
|
|
436
|
+
* @see https://nextjs.org/docs/messages/no-css-tags
|
|
437
|
+
*/
|
|
438
|
+
'@next/next/no-css-tags'?: Linter.RuleEntry<[]>
|
|
439
|
+
/**
|
|
440
|
+
* Prevent importing `next/document` outside of `pages/_document.js`.
|
|
441
|
+
* @see https://nextjs.org/docs/messages/no-document-import-in-page
|
|
442
|
+
*/
|
|
443
|
+
'@next/next/no-document-import-in-page'?: Linter.RuleEntry<[]>
|
|
444
|
+
/**
|
|
445
|
+
* Prevent duplicate usage of `<Head>` in `pages/_document.js`.
|
|
446
|
+
* @see https://nextjs.org/docs/messages/no-duplicate-head
|
|
447
|
+
*/
|
|
448
|
+
'@next/next/no-duplicate-head'?: Linter.RuleEntry<[]>
|
|
449
|
+
/**
|
|
450
|
+
* Prevent usage of `<head>` element.
|
|
451
|
+
* @see https://nextjs.org/docs/messages/no-head-element
|
|
452
|
+
*/
|
|
453
|
+
'@next/next/no-head-element'?: Linter.RuleEntry<[]>
|
|
454
|
+
/**
|
|
455
|
+
* Prevent usage of `next/head` in `pages/_document.js`.
|
|
456
|
+
* @see https://nextjs.org/docs/messages/no-head-import-in-document
|
|
457
|
+
*/
|
|
458
|
+
'@next/next/no-head-import-in-document'?: Linter.RuleEntry<[]>
|
|
459
|
+
/**
|
|
460
|
+
* Prevent usage of `<a>` elements to navigate to internal Next.js pages.
|
|
461
|
+
* @see https://nextjs.org/docs/messages/no-html-link-for-pages
|
|
462
|
+
*/
|
|
463
|
+
'@next/next/no-html-link-for-pages'?: Linter.RuleEntry<NextNextNoHtmlLinkForPages>
|
|
464
|
+
/**
|
|
465
|
+
* Prevent usage of `<img>` element due to slower LCP and higher bandwidth.
|
|
466
|
+
* @see https://nextjs.org/docs/messages/no-img-element
|
|
467
|
+
*/
|
|
468
|
+
'@next/next/no-img-element'?: Linter.RuleEntry<[]>
|
|
469
|
+
/**
|
|
470
|
+
* Prevent page-only custom fonts.
|
|
471
|
+
* @see https://nextjs.org/docs/messages/no-page-custom-font
|
|
472
|
+
*/
|
|
473
|
+
'@next/next/no-page-custom-font'?: Linter.RuleEntry<[]>
|
|
474
|
+
/**
|
|
475
|
+
* Prevent usage of `next/script` in `next/head` component.
|
|
476
|
+
* @see https://nextjs.org/docs/messages/no-script-component-in-head
|
|
477
|
+
*/
|
|
478
|
+
'@next/next/no-script-component-in-head'?: Linter.RuleEntry<[]>
|
|
479
|
+
/**
|
|
480
|
+
* Prevent usage of `styled-jsx` in `pages/_document.js`.
|
|
481
|
+
* @see https://nextjs.org/docs/messages/no-styled-jsx-in-document
|
|
482
|
+
*/
|
|
483
|
+
'@next/next/no-styled-jsx-in-document'?: Linter.RuleEntry<[]>
|
|
484
|
+
/**
|
|
485
|
+
* Prevent synchronous scripts.
|
|
486
|
+
* @see https://nextjs.org/docs/messages/no-sync-scripts
|
|
487
|
+
*/
|
|
488
|
+
'@next/next/no-sync-scripts'?: Linter.RuleEntry<[]>
|
|
489
|
+
/**
|
|
490
|
+
* Prevent usage of `<title>` with `Head` component from `next/document`.
|
|
491
|
+
* @see https://nextjs.org/docs/messages/no-title-in-document-head
|
|
492
|
+
*/
|
|
493
|
+
'@next/next/no-title-in-document-head'?: Linter.RuleEntry<[]>
|
|
494
|
+
/**
|
|
495
|
+
* Prevent common typos in Next.js data fetching functions.
|
|
496
|
+
*/
|
|
497
|
+
'@next/next/no-typos'?: Linter.RuleEntry<[]>
|
|
498
|
+
/**
|
|
499
|
+
* Prevent duplicate polyfills from Polyfill.io.
|
|
500
|
+
* @see https://nextjs.org/docs/messages/no-unwanted-polyfillio
|
|
501
|
+
*/
|
|
502
|
+
'@next/next/no-unwanted-polyfillio'?: Linter.RuleEntry<[]>
|
|
503
|
+
/**
|
|
504
|
+
* Checks dependencies in project's package.json for version mismatches
|
|
505
|
+
* @see https://github.com/nrwl/nx/blob/20.4.6/docs/generated/packages/eslint-plugin/documents/dependency-checks.md
|
|
506
|
+
*/
|
|
507
|
+
'@nx/dependency-checks'?: Linter.RuleEntry<NxDependencyChecks>
|
|
508
|
+
/**
|
|
509
|
+
* Ensure that module boundaries are respected within the monorepo
|
|
510
|
+
* @see https://github.com/nrwl/nx/blob/20.4.6/docs/generated/packages/eslint-plugin/documents/enforce-module-boundaries.md
|
|
511
|
+
*/
|
|
512
|
+
'@nx/enforce-module-boundaries'?: Linter.RuleEntry<NxEnforceModuleBoundaries>
|
|
513
|
+
/**
|
|
514
|
+
* Checks common nx-plugin configuration files for validity
|
|
515
|
+
*/
|
|
516
|
+
'@nx/nx-plugin-checks'?: Linter.RuleEntry<NxNxPluginChecks>
|
|
12
517
|
/**
|
|
13
518
|
* Enforce getter and setter pairs in objects and classes
|
|
14
519
|
* @see https://eslint.org/docs/latest/rules/accessor-pairs
|
|
@@ -511,6 +1016,389 @@ interface RuleOptions {
|
|
|
511
1016
|
* @deprecated
|
|
512
1017
|
*/
|
|
513
1018
|
'global-require'?: Linter.RuleEntry<[]>
|
|
1019
|
+
/**
|
|
1020
|
+
* Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more.
|
|
1021
|
+
* @see https://the-guild.dev/graphql/eslint/rules/alphabetize
|
|
1022
|
+
*/
|
|
1023
|
+
'graphql/alphabetize'?: Linter.RuleEntry<GraphqlAlphabetize>
|
|
1024
|
+
/**
|
|
1025
|
+
* Require all comments to follow the same style (either block or inline).
|
|
1026
|
+
* @see https://the-guild.dev/graphql/eslint/rules/description-style
|
|
1027
|
+
*/
|
|
1028
|
+
'graphql/description-style'?: Linter.RuleEntry<GraphqlDescriptionStyle>
|
|
1029
|
+
/**
|
|
1030
|
+
* A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.
|
|
1031
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1032
|
+
* @see https://the-guild.dev/graphql/eslint/rules/executable-definitions
|
|
1033
|
+
*/
|
|
1034
|
+
'graphql/executable-definitions'?: Linter.RuleEntry<[]>
|
|
1035
|
+
/**
|
|
1036
|
+
* A GraphQL document is only valid if all fields selected are defined by the parent type, or are an allowed meta field such as `__typename`.
|
|
1037
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1038
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type
|
|
1039
|
+
*/
|
|
1040
|
+
'graphql/fields-on-correct-type'?: Linter.RuleEntry<[]>
|
|
1041
|
+
/**
|
|
1042
|
+
* Fragments use a type condition to determine if they apply, since fragments can only be spread into a composite type (object, interface, or union), the type condition must also be a composite type.
|
|
1043
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1044
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type
|
|
1045
|
+
*/
|
|
1046
|
+
'graphql/fragments-on-composite-type'?: Linter.RuleEntry<[]>
|
|
1047
|
+
/**
|
|
1048
|
+
* Require mutation argument to be always called "input" and input type to be called Mutation name + "Input".
|
|
1049
|
+
Using the same name for all input parameters will make your schemas easier to consume and more predictable. Using the same name as mutation for InputType will make it easier to find mutations that InputType belongs to.
|
|
1050
|
+
* @see https://the-guild.dev/graphql/eslint/rules/input-name
|
|
1051
|
+
*/
|
|
1052
|
+
'graphql/input-name'?: Linter.RuleEntry<GraphqlInputName>
|
|
1053
|
+
/**
|
|
1054
|
+
* A GraphQL field is only valid if all supplied arguments are defined by that field.
|
|
1055
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1056
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-argument-names
|
|
1057
|
+
*/
|
|
1058
|
+
'graphql/known-argument-names'?: Linter.RuleEntry<[]>
|
|
1059
|
+
/**
|
|
1060
|
+
* A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned.
|
|
1061
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1062
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-directives
|
|
1063
|
+
*/
|
|
1064
|
+
'graphql/known-directives'?: Linter.RuleEntry<GraphqlKnownDirectives>
|
|
1065
|
+
/**
|
|
1066
|
+
* A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document.
|
|
1067
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1068
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-fragment-names
|
|
1069
|
+
*/
|
|
1070
|
+
'graphql/known-fragment-names'?: Linter.RuleEntry<[]>
|
|
1071
|
+
/**
|
|
1072
|
+
* A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema.
|
|
1073
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1074
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-type-names
|
|
1075
|
+
*/
|
|
1076
|
+
'graphql/known-type-names'?: Linter.RuleEntry<[]>
|
|
1077
|
+
/**
|
|
1078
|
+
* A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition.
|
|
1079
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1080
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation
|
|
1081
|
+
*/
|
|
1082
|
+
'graphql/lone-anonymous-operation'?: Linter.RuleEntry<[]>
|
|
1083
|
+
/**
|
|
1084
|
+
* Require queries, mutations, subscriptions or fragments to be located in separate files.
|
|
1085
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-executable-definition
|
|
1086
|
+
*/
|
|
1087
|
+
'graphql/lone-executable-definition'?: Linter.RuleEntry<GraphqlLoneExecutableDefinition>
|
|
1088
|
+
/**
|
|
1089
|
+
* A GraphQL document is only valid if it contains only one schema definition.
|
|
1090
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1091
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-schema-definition
|
|
1092
|
+
*/
|
|
1093
|
+
'graphql/lone-schema-definition'?: Linter.RuleEntry<[]>
|
|
1094
|
+
/**
|
|
1095
|
+
* This rule allows you to enforce that the file name should match the operation name.
|
|
1096
|
+
* @see https://the-guild.dev/graphql/eslint/rules/match-document-filename
|
|
1097
|
+
*/
|
|
1098
|
+
'graphql/match-document-filename'?: Linter.RuleEntry<GraphqlMatchDocumentFilename>
|
|
1099
|
+
/**
|
|
1100
|
+
* Require names to follow specified conventions.
|
|
1101
|
+
* @see https://the-guild.dev/graphql/eslint/rules/naming-convention
|
|
1102
|
+
*/
|
|
1103
|
+
'graphql/naming-convention'?: Linter.RuleEntry<GraphqlNamingConvention>
|
|
1104
|
+
/**
|
|
1105
|
+
* Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes.
|
|
1106
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations
|
|
1107
|
+
*/
|
|
1108
|
+
'graphql/no-anonymous-operations'?: Linter.RuleEntry<[]>
|
|
1109
|
+
/**
|
|
1110
|
+
* Enforce that deprecated fields or enum values are not in use by operations.
|
|
1111
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-deprecated
|
|
1112
|
+
*/
|
|
1113
|
+
'graphql/no-deprecated'?: Linter.RuleEntry<[]>
|
|
1114
|
+
/**
|
|
1115
|
+
* Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field.
|
|
1116
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields
|
|
1117
|
+
*/
|
|
1118
|
+
'graphql/no-duplicate-fields'?: Linter.RuleEntry<[]>
|
|
1119
|
+
/**
|
|
1120
|
+
* A GraphQL fragment is only valid when it does not have cycles in fragments usage.
|
|
1121
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1122
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles
|
|
1123
|
+
*/
|
|
1124
|
+
'graphql/no-fragment-cycles'?: Linter.RuleEntry<[]>
|
|
1125
|
+
/**
|
|
1126
|
+
* Requires to use `"""` or `"` for adding a GraphQL description instead of `#`.
|
|
1127
|
+
Allows to use hashtag for comments, as long as it's not attached to an AST definition.
|
|
1128
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-hashtag-description
|
|
1129
|
+
*/
|
|
1130
|
+
'graphql/no-hashtag-description'?: Linter.RuleEntry<[]>
|
|
1131
|
+
/**
|
|
1132
|
+
* Disallow fragments that are used only in one place.
|
|
1133
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments
|
|
1134
|
+
*/
|
|
1135
|
+
'graphql/no-one-place-fragments'?: Linter.RuleEntry<[]>
|
|
1136
|
+
/**
|
|
1137
|
+
* Disallow using root types `mutation` and/or `subscription`.
|
|
1138
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-root-type
|
|
1139
|
+
*/
|
|
1140
|
+
'graphql/no-root-type'?: Linter.RuleEntry<GraphqlNoRootType>
|
|
1141
|
+
/**
|
|
1142
|
+
* Avoid scalar result type on mutation type to make sure to return a valid state.
|
|
1143
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation
|
|
1144
|
+
*/
|
|
1145
|
+
'graphql/no-scalar-result-type-on-mutation'?: Linter.RuleEntry<[]>
|
|
1146
|
+
/**
|
|
1147
|
+
* Enforces users to avoid using the type name in a field name while defining your schema.
|
|
1148
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-typename-prefix
|
|
1149
|
+
*/
|
|
1150
|
+
'graphql/no-typename-prefix'?: Linter.RuleEntry<[]>
|
|
1151
|
+
/**
|
|
1152
|
+
* A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation.
|
|
1153
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1154
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-undefined-variables
|
|
1155
|
+
*/
|
|
1156
|
+
'graphql/no-undefined-variables'?: Linter.RuleEntry<[]>
|
|
1157
|
+
/**
|
|
1158
|
+
* Requires all types to be reachable at some level by root level fields.
|
|
1159
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unreachable-types
|
|
1160
|
+
*/
|
|
1161
|
+
'graphql/no-unreachable-types'?: Linter.RuleEntry<[]>
|
|
1162
|
+
/**
|
|
1163
|
+
* Requires all fields to be used at some level by siblings operations.
|
|
1164
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fields
|
|
1165
|
+
*/
|
|
1166
|
+
'graphql/no-unused-fields'?: Linter.RuleEntry<GraphqlNoUnusedFields>
|
|
1167
|
+
/**
|
|
1168
|
+
* A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations.
|
|
1169
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1170
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fragments
|
|
1171
|
+
*/
|
|
1172
|
+
'graphql/no-unused-fragments'?: Linter.RuleEntry<[]>
|
|
1173
|
+
/**
|
|
1174
|
+
* A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment.
|
|
1175
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1176
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-variables
|
|
1177
|
+
*/
|
|
1178
|
+
'graphql/no-unused-variables'?: Linter.RuleEntry<[]>
|
|
1179
|
+
/**
|
|
1180
|
+
* A GraphQL subscription is valid only if it contains a single root field.
|
|
1181
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1182
|
+
* @see https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions
|
|
1183
|
+
*/
|
|
1184
|
+
'graphql/one-field-subscriptions'?: Linter.RuleEntry<[]>
|
|
1185
|
+
/**
|
|
1186
|
+
* A selection set is only valid if all fields (including spreading any fragments) either correspond to distinct response names or can be merged without ambiguity.
|
|
1187
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1188
|
+
* @see https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged
|
|
1189
|
+
*/
|
|
1190
|
+
'graphql/overlapping-fields-can-be-merged'?: Linter.RuleEntry<[]>
|
|
1191
|
+
/**
|
|
1192
|
+
* A fragment spread is only valid if the type condition could ever possibly be true: if there is a non-empty intersection of the possible parent types, and possible types which pass the type condition.
|
|
1193
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1194
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread
|
|
1195
|
+
*/
|
|
1196
|
+
'graphql/possible-fragment-spread'?: Linter.RuleEntry<[]>
|
|
1197
|
+
/**
|
|
1198
|
+
* A type extension is only valid if the type is defined and has the same kind.
|
|
1199
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1200
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-type-extension
|
|
1201
|
+
*/
|
|
1202
|
+
'graphql/possible-type-extension'?: Linter.RuleEntry<[]>
|
|
1203
|
+
/**
|
|
1204
|
+
* A field or directive is only valid if all required (non-null without a default value) field arguments have been provided.
|
|
1205
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1206
|
+
* @see https://the-guild.dev/graphql/eslint/rules/provided-required-arguments
|
|
1207
|
+
*/
|
|
1208
|
+
'graphql/provided-required-arguments'?: Linter.RuleEntry<[]>
|
|
1209
|
+
/**
|
|
1210
|
+
* Set of rules to follow Relay specification for Arguments.
|
|
1211
|
+
|
|
1212
|
+
- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both
|
|
1213
|
+
|
|
1214
|
+
Forward pagination arguments
|
|
1215
|
+
|
|
1216
|
+
- `first` takes a non-negative integer
|
|
1217
|
+
- `after` takes the Cursor type
|
|
1218
|
+
|
|
1219
|
+
Backward pagination arguments
|
|
1220
|
+
|
|
1221
|
+
- `last` takes a non-negative integer
|
|
1222
|
+
- `before` takes the Cursor type
|
|
1223
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-arguments
|
|
1224
|
+
*/
|
|
1225
|
+
'graphql/relay-arguments'?: Linter.RuleEntry<GraphqlRelayArguments>
|
|
1226
|
+
/**
|
|
1227
|
+
* Set of rules to follow Relay specification for Connection types.
|
|
1228
|
+
|
|
1229
|
+
- Any type whose name ends in "Connection" is considered by spec to be a `Connection type`
|
|
1230
|
+
- Connection type must be an Object type
|
|
1231
|
+
- Connection type must contain a field `edges` that return a list type that wraps an edge type
|
|
1232
|
+
- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type
|
|
1233
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-connection-types
|
|
1234
|
+
*/
|
|
1235
|
+
'graphql/relay-connection-types'?: Linter.RuleEntry<[]>
|
|
1236
|
+
/**
|
|
1237
|
+
* Set of rules to follow Relay specification for Edge types.
|
|
1238
|
+
|
|
1239
|
+
- A type that is returned in list form by a connection type's `edges` field is considered by this spec to be an Edge type
|
|
1240
|
+
- Edge type must be an Object type
|
|
1241
|
+
- Edge type must contain a field `node` that return either Scalar, Enum, Object, Interface, Union, or a non-null wrapper around one of those types. Notably, this field cannot return a list
|
|
1242
|
+
- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types
|
|
1243
|
+
- Edge type name must end in "Edge" _(optional)_
|
|
1244
|
+
- Edge type's field `node` must implement `Node` interface _(optional)_
|
|
1245
|
+
- A list type should only wrap an edge type _(optional)_
|
|
1246
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-edge-types
|
|
1247
|
+
*/
|
|
1248
|
+
'graphql/relay-edge-types'?: Linter.RuleEntry<GraphqlRelayEdgeTypes>
|
|
1249
|
+
/**
|
|
1250
|
+
* Set of rules to follow Relay specification for `PageInfo` object.
|
|
1251
|
+
|
|
1252
|
+
- `PageInfo` must be an Object type
|
|
1253
|
+
- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean
|
|
1254
|
+
- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results
|
|
1255
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-page-info
|
|
1256
|
+
*/
|
|
1257
|
+
'graphql/relay-page-info'?: Linter.RuleEntry<[]>
|
|
1258
|
+
/**
|
|
1259
|
+
* Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date.
|
|
1260
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-date
|
|
1261
|
+
*/
|
|
1262
|
+
'graphql/require-deprecation-date'?: Linter.RuleEntry<GraphqlRequireDeprecationDate>
|
|
1263
|
+
/**
|
|
1264
|
+
* Require all deprecation directives to specify a reason.
|
|
1265
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason
|
|
1266
|
+
*/
|
|
1267
|
+
'graphql/require-deprecation-reason'?: Linter.RuleEntry<[]>
|
|
1268
|
+
/**
|
|
1269
|
+
* Enforce descriptions in type definitions and operations.
|
|
1270
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-description
|
|
1271
|
+
*/
|
|
1272
|
+
'graphql/require-description'?: Linter.RuleEntry<GraphqlRequireDescription>
|
|
1273
|
+
/**
|
|
1274
|
+
* Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application.
|
|
1275
|
+
> Currently, no errors are reported for result type `union`, `interface` and `scalar`.
|
|
1276
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result
|
|
1277
|
+
*/
|
|
1278
|
+
'graphql/require-field-of-type-query-in-mutation-result'?: Linter.RuleEntry<[]>
|
|
1279
|
+
/**
|
|
1280
|
+
* Require fragments to be imported via an import expression.
|
|
1281
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-import-fragment
|
|
1282
|
+
*/
|
|
1283
|
+
'graphql/require-import-fragment'?: Linter.RuleEntry<[]>
|
|
1284
|
+
/**
|
|
1285
|
+
* Require `input` or `type` fields to be non-nullable with `@oneOf` directive.
|
|
1286
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof
|
|
1287
|
+
*/
|
|
1288
|
+
'graphql/require-nullable-fields-with-oneof'?: Linter.RuleEntry<[]>
|
|
1289
|
+
/**
|
|
1290
|
+
* Require nullable fields in root types.
|
|
1291
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root
|
|
1292
|
+
*/
|
|
1293
|
+
'graphql/require-nullable-result-in-root'?: Linter.RuleEntry<[]>
|
|
1294
|
+
/**
|
|
1295
|
+
* Enforce selecting specific fields when they are available on the GraphQL type.
|
|
1296
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-selections
|
|
1297
|
+
*/
|
|
1298
|
+
'graphql/require-selections'?: Linter.RuleEntry<GraphqlRequireSelections>
|
|
1299
|
+
/**
|
|
1300
|
+
* Enforce types with `@oneOf` directive have `error` and `ok` fields.
|
|
1301
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof
|
|
1302
|
+
*/
|
|
1303
|
+
'graphql/require-type-pattern-with-oneof'?: Linter.RuleEntry<[]>
|
|
1304
|
+
/**
|
|
1305
|
+
* A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types.
|
|
1306
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1307
|
+
* @see https://the-guild.dev/graphql/eslint/rules/scalar-leafs
|
|
1308
|
+
*/
|
|
1309
|
+
'graphql/scalar-leafs'?: Linter.RuleEntry<[]>
|
|
1310
|
+
/**
|
|
1311
|
+
* Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit).
|
|
1312
|
+
* @see https://the-guild.dev/graphql/eslint/rules/selection-set-depth
|
|
1313
|
+
*/
|
|
1314
|
+
'graphql/selection-set-depth'?: Linter.RuleEntry<GraphqlSelectionSetDepth>
|
|
1315
|
+
/**
|
|
1316
|
+
* Requires output types to have one unique identifier unless they do not have a logical one. Exceptions can be used to ignore output types that do not have unique identifiers.
|
|
1317
|
+
* @see https://the-guild.dev/graphql/eslint/rules/strict-id-in-types
|
|
1318
|
+
*/
|
|
1319
|
+
'graphql/strict-id-in-types'?: Linter.RuleEntry<GraphqlStrictIdInTypes>
|
|
1320
|
+
/**
|
|
1321
|
+
* A GraphQL field or directive is only valid if all supplied arguments are uniquely named.
|
|
1322
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1323
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-argument-names
|
|
1324
|
+
*/
|
|
1325
|
+
'graphql/unique-argument-names'?: Linter.RuleEntry<[]>
|
|
1326
|
+
/**
|
|
1327
|
+
* A GraphQL document is only valid if all defined directives have unique names.
|
|
1328
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1329
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names
|
|
1330
|
+
*/
|
|
1331
|
+
'graphql/unique-directive-names'?: Linter.RuleEntry<[]>
|
|
1332
|
+
/**
|
|
1333
|
+
* A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named.
|
|
1334
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1335
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location
|
|
1336
|
+
*/
|
|
1337
|
+
'graphql/unique-directive-names-per-location'?: Linter.RuleEntry<[]>
|
|
1338
|
+
/**
|
|
1339
|
+
* A GraphQL enum type is only valid if all its values are uniquely named.
|
|
1340
|
+
> This rule disallows case-insensitive enum values duplicates too.
|
|
1341
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names
|
|
1342
|
+
*/
|
|
1343
|
+
'graphql/unique-enum-value-names'?: Linter.RuleEntry<[]>
|
|
1344
|
+
/**
|
|
1345
|
+
* A GraphQL complex type is only valid if all its fields are uniquely named.
|
|
1346
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1347
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names
|
|
1348
|
+
*/
|
|
1349
|
+
'graphql/unique-field-definition-names'?: Linter.RuleEntry<[]>
|
|
1350
|
+
/**
|
|
1351
|
+
* Enforce unique fragment names across your project.
|
|
1352
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-fragment-name
|
|
1353
|
+
*/
|
|
1354
|
+
'graphql/unique-fragment-name'?: Linter.RuleEntry<[]>
|
|
1355
|
+
/**
|
|
1356
|
+
* A GraphQL input object value is only valid if all supplied fields are uniquely named.
|
|
1357
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1358
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-input-field-names
|
|
1359
|
+
*/
|
|
1360
|
+
'graphql/unique-input-field-names'?: Linter.RuleEntry<[]>
|
|
1361
|
+
/**
|
|
1362
|
+
* Enforce unique operation names across your project.
|
|
1363
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-name
|
|
1364
|
+
*/
|
|
1365
|
+
'graphql/unique-operation-name'?: Linter.RuleEntry<[]>
|
|
1366
|
+
/**
|
|
1367
|
+
* A GraphQL document is only valid if it has only one type per operation.
|
|
1368
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1369
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-types
|
|
1370
|
+
*/
|
|
1371
|
+
'graphql/unique-operation-types'?: Linter.RuleEntry<[]>
|
|
1372
|
+
/**
|
|
1373
|
+
* A GraphQL document is only valid if all defined types have unique names.
|
|
1374
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1375
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-type-names
|
|
1376
|
+
*/
|
|
1377
|
+
'graphql/unique-type-names'?: Linter.RuleEntry<[]>
|
|
1378
|
+
/**
|
|
1379
|
+
* A GraphQL operation is only valid if all its variables are uniquely named.
|
|
1380
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1381
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-variable-names
|
|
1382
|
+
*/
|
|
1383
|
+
'graphql/unique-variable-names'?: Linter.RuleEntry<[]>
|
|
1384
|
+
/**
|
|
1385
|
+
* A GraphQL document is only valid if all value literals are of the type expected at their position.
|
|
1386
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1387
|
+
* @see https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type
|
|
1388
|
+
*/
|
|
1389
|
+
'graphql/value-literals-of-correct-type'?: Linter.RuleEntry<[]>
|
|
1390
|
+
/**
|
|
1391
|
+
* A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object).
|
|
1392
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1393
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-are-input-types
|
|
1394
|
+
*/
|
|
1395
|
+
'graphql/variables-are-input-types'?: Linter.RuleEntry<[]>
|
|
1396
|
+
/**
|
|
1397
|
+
* Variables passed to field arguments conform to type.
|
|
1398
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
1399
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position
|
|
1400
|
+
*/
|
|
1401
|
+
'graphql/variables-in-allowed-position'?: Linter.RuleEntry<[]>
|
|
514
1402
|
/**
|
|
515
1403
|
* Require grouped accessor pairs in object literals and classes
|
|
516
1404
|
* @see https://eslint.org/docs/latest/rules/grouped-accessor-pairs
|
|
@@ -1633,6 +2521,10 @@ interface RuleOptions {
|
|
|
1633
2521
|
* @deprecated
|
|
1634
2522
|
*/
|
|
1635
2523
|
'max-statements-per-line'?: Linter.RuleEntry<MaxStatementsPerLine>
|
|
2524
|
+
/**
|
|
2525
|
+
* Linter integration with remark plugins
|
|
2526
|
+
*/
|
|
2527
|
+
'mdx/remark'?: Linter.RuleEntry<[]>
|
|
1636
2528
|
/**
|
|
1637
2529
|
* Enforce a particular style for multiline comments
|
|
1638
2530
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
@@ -2235,6 +3127,14 @@ interface RuleOptions {
|
|
|
2235
3127
|
* @see https://eslint.org/docs/latest/rules/no-script-url
|
|
2236
3128
|
*/
|
|
2237
3129
|
'no-script-url'?: Linter.RuleEntry<[]>
|
|
3130
|
+
/**
|
|
3131
|
+
* An eslint rule that does pattern matching against an entire file
|
|
3132
|
+
*/
|
|
3133
|
+
'no-secrets/no-pattern-match'?: Linter.RuleEntry<[]>
|
|
3134
|
+
/**
|
|
3135
|
+
* An eslint rule that looks for possible leftover secrets in code
|
|
3136
|
+
*/
|
|
3137
|
+
'no-secrets/no-secrets'?: Linter.RuleEntry<[]>
|
|
2238
3138
|
/**
|
|
2239
3139
|
* Disallow assignments where both sides are exactly the same
|
|
2240
3140
|
* @see https://eslint.org/docs/latest/rules/no-self-assign
|
|
@@ -2565,7 +3465,7 @@ interface RuleOptions {
|
|
|
2565
3465
|
* disallow the use of `process.env`
|
|
2566
3466
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2567
3467
|
*/
|
|
2568
|
-
'node/no-process-env'?: Linter.RuleEntry<
|
|
3468
|
+
'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
|
|
2569
3469
|
/**
|
|
2570
3470
|
* disallow the use of `process.exit()`
|
|
2571
3471
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -3077,6 +3977,16 @@ interface RuleOptions {
|
|
|
3077
3977
|
* @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
|
|
3078
3978
|
*/
|
|
3079
3979
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
3980
|
+
'react-native/no-color-literals'?: Linter.RuleEntry<[]>
|
|
3981
|
+
'react-native/no-inline-styles'?: Linter.RuleEntry<[]>
|
|
3982
|
+
'react-native/no-raw-text'?: Linter.RuleEntry<ReactNativeNoRawText>
|
|
3983
|
+
/**
|
|
3984
|
+
* Disallow single element style arrays. These cause unnecessary re-renders as the identity of the array always changes
|
|
3985
|
+
*/
|
|
3986
|
+
'react-native/no-single-element-style-arrays'?: Linter.RuleEntry<[]>
|
|
3987
|
+
'react-native/no-unused-styles'?: Linter.RuleEntry<[]>
|
|
3988
|
+
'react-native/sort-styles'?: Linter.RuleEntry<ReactNativeSortStyles>
|
|
3989
|
+
'react-native/split-platform-components'?: Linter.RuleEntry<ReactNativeSplitPlatformComponents>
|
|
3080
3990
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
3081
3991
|
/**
|
|
3082
3992
|
* enforce that every 'addEventListener' in a component or custom Hook has a corresponding 'removeEventListener'.
|
|
@@ -3783,6 +4693,30 @@ interface RuleOptions {
|
|
|
3783
4693
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
|
|
3784
4694
|
*/
|
|
3785
4695
|
'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
|
|
4696
|
+
/**
|
|
4697
|
+
* Relay Compat transforms fragment spreads from `...Container_foo` to `Container.getFragment('foo')`. This makes ESLint aware of this.
|
|
4698
|
+
*/
|
|
4699
|
+
'relay/compat-uses-vars'?: Linter.RuleEntry<[]>
|
|
4700
|
+
/**
|
|
4701
|
+
* Validates that the second argument is passed to relay functions.
|
|
4702
|
+
*/
|
|
4703
|
+
'relay/function-required-argument'?: Linter.RuleEntry<[]>
|
|
4704
|
+
/**
|
|
4705
|
+
* Validates usage of RelayModern generated flow types
|
|
4706
|
+
*/
|
|
4707
|
+
'relay/generated-flow-types'?: Linter.RuleEntry<RelayGeneratedFlowTypes>
|
|
4708
|
+
/**
|
|
4709
|
+
* Validates naming conventions of graphql tags
|
|
4710
|
+
*/
|
|
4711
|
+
'relay/graphql-naming'?: Linter.RuleEntry<[]>
|
|
4712
|
+
/**
|
|
4713
|
+
* Validates the syntax of graphql`...` templates.
|
|
4714
|
+
*/
|
|
4715
|
+
'relay/graphql-syntax'?: Linter.RuleEntry<[]>
|
|
4716
|
+
/**
|
|
4717
|
+
* Validates that the second argument is passed to relay hooks.
|
|
4718
|
+
*/
|
|
4719
|
+
'relay/hook-required-argument'?: Linter.RuleEntry<[]>
|
|
3786
4720
|
/**
|
|
3787
4721
|
* Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
|
|
3788
4722
|
* @see https://eslint.org/docs/latest/rules/require-atomic-updates
|
|
@@ -3878,6 +4812,76 @@ interface RuleOptions {
|
|
|
3878
4812
|
* @deprecated
|
|
3879
4813
|
*/
|
|
3880
4814
|
'spaced-comment'?: Linter.RuleEntry<SpacedComment>
|
|
4815
|
+
/**
|
|
4816
|
+
* Interactions should be awaited
|
|
4817
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/await-interactions.md
|
|
4818
|
+
*/
|
|
4819
|
+
'storybook/await-interactions'?: Linter.RuleEntry<[]>
|
|
4820
|
+
/**
|
|
4821
|
+
* Pass a context when invoking play function of another story
|
|
4822
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/context-in-play-function.md
|
|
4823
|
+
*/
|
|
4824
|
+
'storybook/context-in-play-function'?: Linter.RuleEntry<[]>
|
|
4825
|
+
/**
|
|
4826
|
+
* The component property should be set
|
|
4827
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/csf-component.md
|
|
4828
|
+
*/
|
|
4829
|
+
'storybook/csf-component'?: Linter.RuleEntry<[]>
|
|
4830
|
+
/**
|
|
4831
|
+
* Story files should have a default export
|
|
4832
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/default-exports.md
|
|
4833
|
+
*/
|
|
4834
|
+
'storybook/default-exports'?: Linter.RuleEntry<[]>
|
|
4835
|
+
/**
|
|
4836
|
+
* Deprecated hierarchy separator in title property
|
|
4837
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/hierarchy-separator.md
|
|
4838
|
+
*/
|
|
4839
|
+
'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>
|
|
4840
|
+
/**
|
|
4841
|
+
* Meta should only have inline properties
|
|
4842
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/meta-inline-properties.md
|
|
4843
|
+
*/
|
|
4844
|
+
'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>
|
|
4845
|
+
/**
|
|
4846
|
+
* A story should not have a redundant name property
|
|
4847
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-redundant-story-name.md
|
|
4848
|
+
*/
|
|
4849
|
+
'storybook/no-redundant-story-name'?: Linter.RuleEntry<[]>
|
|
4850
|
+
/**
|
|
4851
|
+
* storiesOf is deprecated and should not be used
|
|
4852
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-stories-of.md
|
|
4853
|
+
*/
|
|
4854
|
+
'storybook/no-stories-of'?: Linter.RuleEntry<[]>
|
|
4855
|
+
/**
|
|
4856
|
+
* Do not define a title in meta
|
|
4857
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-title-property-in-meta.md
|
|
4858
|
+
*/
|
|
4859
|
+
'storybook/no-title-property-in-meta'?: Linter.RuleEntry<[]>
|
|
4860
|
+
/**
|
|
4861
|
+
* This rule identifies storybook addons that are invalid because they are either not installed or contain a typo in their name.
|
|
4862
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/no-uninstalled-addons.md
|
|
4863
|
+
*/
|
|
4864
|
+
'storybook/no-uninstalled-addons'?: Linter.RuleEntry<StorybookNoUninstalledAddons>
|
|
4865
|
+
/**
|
|
4866
|
+
* Stories should use PascalCase
|
|
4867
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/prefer-pascal-case.md
|
|
4868
|
+
*/
|
|
4869
|
+
'storybook/prefer-pascal-case'?: Linter.RuleEntry<[]>
|
|
4870
|
+
/**
|
|
4871
|
+
* A story file must contain at least one story export
|
|
4872
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/story-exports.md
|
|
4873
|
+
*/
|
|
4874
|
+
'storybook/story-exports'?: Linter.RuleEntry<[]>
|
|
4875
|
+
/**
|
|
4876
|
+
* Use expect from `@storybook/test` or `@storybook/jest`
|
|
4877
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-expect.md
|
|
4878
|
+
*/
|
|
4879
|
+
'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>
|
|
4880
|
+
/**
|
|
4881
|
+
* Do not use testing-library directly on stories
|
|
4882
|
+
* @see https://github.com/storybookjs/eslint-plugin-storybook/blob/main/docs/rules/use-storybook-testing-library.md
|
|
4883
|
+
*/
|
|
4884
|
+
'storybook/use-storybook-testing-library'?: Linter.RuleEntry<[]>
|
|
3881
4885
|
/**
|
|
3882
4886
|
* Require or disallow strict mode directives
|
|
3883
4887
|
* @see https://eslint.org/docs/latest/rules/strict
|
|
@@ -6474,8 +7478,342 @@ interface RuleOptions {
|
|
|
6474
7478
|
*/
|
|
6475
7479
|
'yoda'?: Linter.RuleEntry<Yoda>
|
|
6476
7480
|
}
|
|
6477
|
-
|
|
6478
|
-
/* ======= Declarations ======= */
|
|
7481
|
+
|
|
7482
|
+
/* ======= Declarations ======= */
|
|
7483
|
+
// ----- @cspell/spellchecker -----
|
|
7484
|
+
type CspellSpellchecker = []|[{
|
|
7485
|
+
|
|
7486
|
+
autoFix: boolean
|
|
7487
|
+
|
|
7488
|
+
checkComments?: boolean
|
|
7489
|
+
|
|
7490
|
+
checkIdentifiers?: boolean
|
|
7491
|
+
|
|
7492
|
+
checkJSXText?: boolean
|
|
7493
|
+
|
|
7494
|
+
checkScope?: [string, boolean][]
|
|
7495
|
+
|
|
7496
|
+
checkStringTemplates?: boolean
|
|
7497
|
+
|
|
7498
|
+
checkStrings?: boolean
|
|
7499
|
+
|
|
7500
|
+
configFile?: string
|
|
7501
|
+
|
|
7502
|
+
cspell?: {
|
|
7503
|
+
|
|
7504
|
+
allowCompoundWords?: boolean
|
|
7505
|
+
|
|
7506
|
+
dictionaries?: (string | string)[]
|
|
7507
|
+
dictionaryDefinitions?: {
|
|
7508
|
+
|
|
7509
|
+
description?: string
|
|
7510
|
+
|
|
7511
|
+
name: string
|
|
7512
|
+
|
|
7513
|
+
noSuggest?: boolean
|
|
7514
|
+
|
|
7515
|
+
path: string
|
|
7516
|
+
|
|
7517
|
+
repMap?: [string, string][]
|
|
7518
|
+
|
|
7519
|
+
type?: ("S" | "W" | "C" | "T")
|
|
7520
|
+
|
|
7521
|
+
useCompounds?: boolean
|
|
7522
|
+
}[]
|
|
7523
|
+
|
|
7524
|
+
enabled?: boolean
|
|
7525
|
+
|
|
7526
|
+
flagWords?: string[]
|
|
7527
|
+
|
|
7528
|
+
ignoreRegExpList?: (string | string | ("Base64" | "Base64MultiLine" | "Base64SingleLine" | "CStyleComment" | "CStyleHexValue" | "CSSHexValue" | "CommitHash" | "CommitHashLink" | "Email" | "EscapeCharacters" | "HexValues" | "href" | "PhpHereDoc" | "PublicKey" | "RsaCert" | "SshRsa" | "SHA" | "HashStrings" | "SpellCheckerDisable" | "SpellCheckerDisableBlock" | "SpellCheckerDisableLine" | "SpellCheckerDisableNext" | "SpellCheckerIgnoreInDocSetting" | "string" | "UnicodeRef" | "Urls" | "UUID" | "Everything"))[]
|
|
7529
|
+
|
|
7530
|
+
ignoreWords?: string[]
|
|
7531
|
+
|
|
7532
|
+
import?: (string | string[])
|
|
7533
|
+
|
|
7534
|
+
includeRegExpList?: (string | string | ("Base64" | "Base64MultiLine" | "Base64SingleLine" | "CStyleComment" | "CStyleHexValue" | "CSSHexValue" | "CommitHash" | "CommitHashLink" | "Email" | "EscapeCharacters" | "HexValues" | "href" | "PhpHereDoc" | "PublicKey" | "RsaCert" | "SshRsa" | "SHA" | "HashStrings" | "SpellCheckerDisable" | "SpellCheckerDisableBlock" | "SpellCheckerDisableLine" | "SpellCheckerDisableNext" | "SpellCheckerIgnoreInDocSetting" | "string" | "UnicodeRef" | "Urls" | "UUID" | "Everything"))[]
|
|
7535
|
+
|
|
7536
|
+
language?: string
|
|
7537
|
+
|
|
7538
|
+
words?: string[]
|
|
7539
|
+
}
|
|
7540
|
+
|
|
7541
|
+
cspellOptionsRoot?: (string | string)
|
|
7542
|
+
|
|
7543
|
+
customWordListFile?: (string | {
|
|
7544
|
+
|
|
7545
|
+
path: string
|
|
7546
|
+
})
|
|
7547
|
+
|
|
7548
|
+
debugMode?: boolean
|
|
7549
|
+
|
|
7550
|
+
generateSuggestions: boolean
|
|
7551
|
+
|
|
7552
|
+
ignoreImportProperties?: boolean
|
|
7553
|
+
|
|
7554
|
+
ignoreImports?: boolean
|
|
7555
|
+
|
|
7556
|
+
numSuggestions: number
|
|
7557
|
+
}]
|
|
7558
|
+
// ----- @graphql-eslint/alphabetize -----
|
|
7559
|
+
type GraphqlEslintAlphabetize = [{
|
|
7560
|
+
|
|
7561
|
+
fields?: [("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"), ...(("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"))[]]
|
|
7562
|
+
|
|
7563
|
+
values?: boolean
|
|
7564
|
+
|
|
7565
|
+
selections?: [("OperationDefinition" | "FragmentDefinition"), ...(("OperationDefinition" | "FragmentDefinition"))[]]
|
|
7566
|
+
|
|
7567
|
+
variables?: boolean
|
|
7568
|
+
|
|
7569
|
+
arguments?: [("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"), ...(("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"))[]]
|
|
7570
|
+
|
|
7571
|
+
definitions?: boolean
|
|
7572
|
+
|
|
7573
|
+
groups?: [string, string, ...(string)[]]
|
|
7574
|
+
}]
|
|
7575
|
+
// ----- @graphql-eslint/description-style -----
|
|
7576
|
+
type GraphqlEslintDescriptionStyle = []|[{
|
|
7577
|
+
style?: ("block" | "inline")
|
|
7578
|
+
}]
|
|
7579
|
+
// ----- @graphql-eslint/input-name -----
|
|
7580
|
+
type GraphqlEslintInputName = []|[{
|
|
7581
|
+
|
|
7582
|
+
checkInputType?: boolean
|
|
7583
|
+
|
|
7584
|
+
caseSensitiveInputType?: boolean
|
|
7585
|
+
|
|
7586
|
+
checkQueries?: boolean
|
|
7587
|
+
|
|
7588
|
+
checkMutations?: boolean
|
|
7589
|
+
}]
|
|
7590
|
+
// ----- @graphql-eslint/known-directives -----
|
|
7591
|
+
type GraphqlEslintKnownDirectives = []|[{
|
|
7592
|
+
|
|
7593
|
+
ignoreClientDirectives: [string, ...(string)[]]
|
|
7594
|
+
}]
|
|
7595
|
+
// ----- @graphql-eslint/lone-executable-definition -----
|
|
7596
|
+
type GraphqlEslintLoneExecutableDefinition = []|[{
|
|
7597
|
+
|
|
7598
|
+
ignore?: [("fragment" | "query" | "mutation" | "subscription")]|[("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription")]|[("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription")]
|
|
7599
|
+
}]
|
|
7600
|
+
// ----- @graphql-eslint/match-document-filename -----
|
|
7601
|
+
type GraphqlEslintMatchDocumentFilename = [{
|
|
7602
|
+
fileExtension?: (".gql" | ".graphql")
|
|
7603
|
+
query?: (_GraphqlEslintMatchDocumentFilenameAsString | _GraphqlEslintMatchDocumentFilename_AsObject)
|
|
7604
|
+
mutation?: (_GraphqlEslintMatchDocumentFilenameAsString | _GraphqlEslintMatchDocumentFilename_AsObject)
|
|
7605
|
+
subscription?: (_GraphqlEslintMatchDocumentFilenameAsString | _GraphqlEslintMatchDocumentFilename_AsObject)
|
|
7606
|
+
fragment?: (_GraphqlEslintMatchDocumentFilenameAsString | _GraphqlEslintMatchDocumentFilename_AsObject)
|
|
7607
|
+
}]
|
|
7608
|
+
type _GraphqlEslintMatchDocumentFilenameAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
7609
|
+
interface _GraphqlEslintMatchDocumentFilename_AsObject {
|
|
7610
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
7611
|
+
suffix?: string
|
|
7612
|
+
prefix?: string
|
|
7613
|
+
}
|
|
7614
|
+
// ----- @graphql-eslint/naming-convention -----
|
|
7615
|
+
type GraphqlEslintNamingConvention = []|[{
|
|
7616
|
+
|
|
7617
|
+
types?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7618
|
+
|
|
7619
|
+
Argument?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7620
|
+
|
|
7621
|
+
DirectiveDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7622
|
+
|
|
7623
|
+
EnumTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7624
|
+
|
|
7625
|
+
EnumValueDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7626
|
+
|
|
7627
|
+
FieldDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7628
|
+
|
|
7629
|
+
FragmentDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7630
|
+
|
|
7631
|
+
InputObjectTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7632
|
+
|
|
7633
|
+
InputValueDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7634
|
+
|
|
7635
|
+
InterfaceTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7636
|
+
|
|
7637
|
+
ObjectTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7638
|
+
|
|
7639
|
+
OperationDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7640
|
+
|
|
7641
|
+
ScalarTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7642
|
+
|
|
7643
|
+
UnionTypeDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7644
|
+
|
|
7645
|
+
VariableDefinition?: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7646
|
+
allowLeadingUnderscore?: boolean
|
|
7647
|
+
allowTrailingUnderscore?: boolean
|
|
7648
|
+
[k: string]: (_GraphqlEslintNamingConventionAsString | _GraphqlEslintNamingConvention_AsObject)
|
|
7649
|
+
}]
|
|
7650
|
+
type _GraphqlEslintNamingConventionAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
7651
|
+
interface _GraphqlEslintNamingConvention_AsObject {
|
|
7652
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
7653
|
+
prefix?: string
|
|
7654
|
+
suffix?: string
|
|
7655
|
+
|
|
7656
|
+
forbiddenPatterns?: [{
|
|
7657
|
+
[k: string]: unknown | undefined
|
|
7658
|
+
}, ...({
|
|
7659
|
+
[k: string]: unknown | undefined
|
|
7660
|
+
})[]]
|
|
7661
|
+
|
|
7662
|
+
requiredPatterns?: [{
|
|
7663
|
+
[k: string]: unknown | undefined
|
|
7664
|
+
}, ...({
|
|
7665
|
+
[k: string]: unknown | undefined
|
|
7666
|
+
})[]]
|
|
7667
|
+
|
|
7668
|
+
forbiddenPrefixes?: [string, ...(string)[]]
|
|
7669
|
+
|
|
7670
|
+
forbiddenSuffixes?: [string, ...(string)[]]
|
|
7671
|
+
|
|
7672
|
+
requiredPrefixes?: [string, ...(string)[]]
|
|
7673
|
+
|
|
7674
|
+
requiredSuffixes?: [string, ...(string)[]]
|
|
7675
|
+
|
|
7676
|
+
ignorePattern?: string
|
|
7677
|
+
}
|
|
7678
|
+
// ----- @graphql-eslint/no-root-type -----
|
|
7679
|
+
type GraphqlEslintNoRootType = [{
|
|
7680
|
+
|
|
7681
|
+
disallow: [("mutation" | "subscription"), ...(("mutation" | "subscription"))[]]
|
|
7682
|
+
}]
|
|
7683
|
+
// ----- @graphql-eslint/no-unused-fields -----
|
|
7684
|
+
type GraphqlEslintNoUnusedFields = []|[{
|
|
7685
|
+
|
|
7686
|
+
ignoredFieldSelectors?: [string, ...(string)[]]
|
|
7687
|
+
}]
|
|
7688
|
+
// ----- @graphql-eslint/relay-arguments -----
|
|
7689
|
+
type GraphqlEslintRelayArguments = []|[{
|
|
7690
|
+
|
|
7691
|
+
includeBoth?: boolean
|
|
7692
|
+
}]
|
|
7693
|
+
// ----- @graphql-eslint/relay-edge-types -----
|
|
7694
|
+
type GraphqlEslintRelayEdgeTypes = []|[{
|
|
7695
|
+
|
|
7696
|
+
withEdgeSuffix?: boolean
|
|
7697
|
+
|
|
7698
|
+
shouldImplementNode?: boolean
|
|
7699
|
+
|
|
7700
|
+
listTypeCanWrapOnlyEdgeType?: boolean
|
|
7701
|
+
}]
|
|
7702
|
+
// ----- @graphql-eslint/require-deprecation-date -----
|
|
7703
|
+
type GraphqlEslintRequireDeprecationDate = []|[{
|
|
7704
|
+
argumentName?: string
|
|
7705
|
+
}]
|
|
7706
|
+
// ----- @graphql-eslint/require-description -----
|
|
7707
|
+
type GraphqlEslintRequireDescription = [{
|
|
7708
|
+
|
|
7709
|
+
types?: true
|
|
7710
|
+
|
|
7711
|
+
rootField?: true
|
|
7712
|
+
|
|
7713
|
+
ignoredSelectors?: [string, ...(string)[]]
|
|
7714
|
+
|
|
7715
|
+
DirectiveDefinition?: boolean
|
|
7716
|
+
|
|
7717
|
+
EnumTypeDefinition?: boolean
|
|
7718
|
+
|
|
7719
|
+
EnumValueDefinition?: boolean
|
|
7720
|
+
|
|
7721
|
+
FieldDefinition?: boolean
|
|
7722
|
+
|
|
7723
|
+
InputObjectTypeDefinition?: boolean
|
|
7724
|
+
|
|
7725
|
+
InputValueDefinition?: boolean
|
|
7726
|
+
|
|
7727
|
+
InterfaceTypeDefinition?: boolean
|
|
7728
|
+
|
|
7729
|
+
ObjectTypeDefinition?: boolean
|
|
7730
|
+
|
|
7731
|
+
OperationDefinition?: boolean
|
|
7732
|
+
|
|
7733
|
+
ScalarTypeDefinition?: boolean
|
|
7734
|
+
|
|
7735
|
+
UnionTypeDefinition?: boolean
|
|
7736
|
+
}]
|
|
7737
|
+
// ----- @graphql-eslint/require-selections -----
|
|
7738
|
+
type GraphqlEslintRequireSelections = []|[{
|
|
7739
|
+
fieldName?: (_GraphqlEslintRequireSelectionsAsString | _GraphqlEslintRequireSelections_AsArray)
|
|
7740
|
+
|
|
7741
|
+
requireAllFields?: boolean
|
|
7742
|
+
}]
|
|
7743
|
+
type _GraphqlEslintRequireSelectionsAsString = string
|
|
7744
|
+
type _GraphqlEslintRequireSelections_AsArray = [string, ...(string)[]]
|
|
7745
|
+
// ----- @graphql-eslint/selection-set-depth -----
|
|
7746
|
+
type GraphqlEslintSelectionSetDepth = [{
|
|
7747
|
+
maxDepth: number
|
|
7748
|
+
|
|
7749
|
+
ignore?: [string, ...(string)[]]
|
|
7750
|
+
}]
|
|
7751
|
+
// ----- @graphql-eslint/strict-id-in-types -----
|
|
7752
|
+
type GraphqlEslintStrictIdInTypes = []|[{
|
|
7753
|
+
|
|
7754
|
+
acceptedIdNames?: [string, ...(string)[]]
|
|
7755
|
+
|
|
7756
|
+
acceptedIdTypes?: [string, ...(string)[]]
|
|
7757
|
+
exceptions?: {
|
|
7758
|
+
|
|
7759
|
+
types?: [string, ...(string)[]]
|
|
7760
|
+
|
|
7761
|
+
suffixes?: [string, ...(string)[]]
|
|
7762
|
+
}
|
|
7763
|
+
}]
|
|
7764
|
+
// ----- @next/next/no-html-link-for-pages -----
|
|
7765
|
+
type NextNextNoHtmlLinkForPages = []|[(string | string[])]
|
|
7766
|
+
// ----- @nx/dependency-checks -----
|
|
7767
|
+
type NxDependencyChecks = []|[{
|
|
7768
|
+
buildTargets?: string[]
|
|
7769
|
+
ignoredDependencies?: string[]
|
|
7770
|
+
ignoredFiles?: string[]
|
|
7771
|
+
checkMissingDependencies?: boolean
|
|
7772
|
+
checkObsoleteDependencies?: boolean
|
|
7773
|
+
checkVersionMismatches?: boolean
|
|
7774
|
+
includeTransitiveDependencies?: boolean
|
|
7775
|
+
useLocalPathsForWorkspaceDependencies?: boolean
|
|
7776
|
+
}]
|
|
7777
|
+
// ----- @nx/enforce-module-boundaries -----
|
|
7778
|
+
type NxEnforceModuleBoundaries = []|[{
|
|
7779
|
+
enforceBuildableLibDependency?: boolean
|
|
7780
|
+
allowCircularSelfDependency?: boolean
|
|
7781
|
+
checkDynamicDependenciesExceptions?: string[]
|
|
7782
|
+
ignoredCircularDependencies?: [string, string][]
|
|
7783
|
+
banTransitiveDependencies?: boolean
|
|
7784
|
+
checkNestedExternalImports?: boolean
|
|
7785
|
+
allow?: string[]
|
|
7786
|
+
buildTargets?: string[]
|
|
7787
|
+
depConstraints?: ({
|
|
7788
|
+
sourceTag?: string
|
|
7789
|
+
onlyDependOnLibsWithTags?: string[]
|
|
7790
|
+
allowedExternalImports?: string[]
|
|
7791
|
+
bannedExternalImports?: string[]
|
|
7792
|
+
notDependOnLibsWithTags?: string[]
|
|
7793
|
+
} | {
|
|
7794
|
+
|
|
7795
|
+
allSourceTags?: [string, string, ...(string)[]]
|
|
7796
|
+
onlyDependOnLibsWithTags?: string[]
|
|
7797
|
+
allowedExternalImports?: string[]
|
|
7798
|
+
bannedExternalImports?: string[]
|
|
7799
|
+
notDependOnLibsWithTags?: string[]
|
|
7800
|
+
})[]
|
|
7801
|
+
}]
|
|
7802
|
+
// ----- @nx/nx-plugin-checks -----
|
|
7803
|
+
type NxNxPluginChecks = []|[{
|
|
7804
|
+
|
|
7805
|
+
generatorsJson?: string
|
|
7806
|
+
|
|
7807
|
+
executorsJson?: string
|
|
7808
|
+
|
|
7809
|
+
migrationsJson?: string
|
|
7810
|
+
|
|
7811
|
+
packageJson?: string
|
|
7812
|
+
|
|
7813
|
+
allowedVersionStrings?: string[]
|
|
7814
|
+
|
|
7815
|
+
tsConfig?: string
|
|
7816
|
+
}]
|
|
6479
7817
|
// ----- accessor-pairs -----
|
|
6480
7818
|
type AccessorPairs = []|[{
|
|
6481
7819
|
getWithoutSet?: boolean
|
|
@@ -6902,6 +8240,212 @@ type GeneratorStarSpacing = []|[(("before" | "after" | "both" | "neither") | {
|
|
|
6902
8240
|
type GetterReturn = []|[{
|
|
6903
8241
|
allowImplicit?: boolean
|
|
6904
8242
|
}]
|
|
8243
|
+
// ----- graphql/alphabetize -----
|
|
8244
|
+
type GraphqlAlphabetize = [{
|
|
8245
|
+
|
|
8246
|
+
fields?: [("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"), ...(("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"))[]]
|
|
8247
|
+
|
|
8248
|
+
values?: boolean
|
|
8249
|
+
|
|
8250
|
+
selections?: [("OperationDefinition" | "FragmentDefinition"), ...(("OperationDefinition" | "FragmentDefinition"))[]]
|
|
8251
|
+
|
|
8252
|
+
variables?: boolean
|
|
8253
|
+
|
|
8254
|
+
arguments?: [("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"), ...(("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"))[]]
|
|
8255
|
+
|
|
8256
|
+
definitions?: boolean
|
|
8257
|
+
|
|
8258
|
+
groups?: [string, string, ...(string)[]]
|
|
8259
|
+
}]
|
|
8260
|
+
// ----- graphql/description-style -----
|
|
8261
|
+
type GraphqlDescriptionStyle = []|[{
|
|
8262
|
+
style?: ("block" | "inline")
|
|
8263
|
+
}]
|
|
8264
|
+
// ----- graphql/input-name -----
|
|
8265
|
+
type GraphqlInputName = []|[{
|
|
8266
|
+
|
|
8267
|
+
checkInputType?: boolean
|
|
8268
|
+
|
|
8269
|
+
caseSensitiveInputType?: boolean
|
|
8270
|
+
|
|
8271
|
+
checkQueries?: boolean
|
|
8272
|
+
|
|
8273
|
+
checkMutations?: boolean
|
|
8274
|
+
}]
|
|
8275
|
+
// ----- graphql/known-directives -----
|
|
8276
|
+
type GraphqlKnownDirectives = []|[{
|
|
8277
|
+
|
|
8278
|
+
ignoreClientDirectives: [string, ...(string)[]]
|
|
8279
|
+
}]
|
|
8280
|
+
// ----- graphql/lone-executable-definition -----
|
|
8281
|
+
type GraphqlLoneExecutableDefinition = []|[{
|
|
8282
|
+
|
|
8283
|
+
ignore?: [("fragment" | "query" | "mutation" | "subscription")]|[("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription")]|[("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription"), ("fragment" | "query" | "mutation" | "subscription")]
|
|
8284
|
+
}]
|
|
8285
|
+
// ----- graphql/match-document-filename -----
|
|
8286
|
+
type GraphqlMatchDocumentFilename = [{
|
|
8287
|
+
fileExtension?: (".gql" | ".graphql")
|
|
8288
|
+
query?: (_GraphqlMatchDocumentFilenameAsString | _GraphqlMatchDocumentFilename_AsObject)
|
|
8289
|
+
mutation?: (_GraphqlMatchDocumentFilenameAsString | _GraphqlMatchDocumentFilename_AsObject)
|
|
8290
|
+
subscription?: (_GraphqlMatchDocumentFilenameAsString | _GraphqlMatchDocumentFilename_AsObject)
|
|
8291
|
+
fragment?: (_GraphqlMatchDocumentFilenameAsString | _GraphqlMatchDocumentFilename_AsObject)
|
|
8292
|
+
}]
|
|
8293
|
+
type _GraphqlMatchDocumentFilenameAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
8294
|
+
interface _GraphqlMatchDocumentFilename_AsObject {
|
|
8295
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
8296
|
+
suffix?: string
|
|
8297
|
+
prefix?: string
|
|
8298
|
+
}
|
|
8299
|
+
// ----- graphql/naming-convention -----
|
|
8300
|
+
type GraphqlNamingConvention = []|[{
|
|
8301
|
+
|
|
8302
|
+
types?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8303
|
+
|
|
8304
|
+
Argument?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8305
|
+
|
|
8306
|
+
DirectiveDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8307
|
+
|
|
8308
|
+
EnumTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8309
|
+
|
|
8310
|
+
EnumValueDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8311
|
+
|
|
8312
|
+
FieldDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8313
|
+
|
|
8314
|
+
FragmentDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8315
|
+
|
|
8316
|
+
InputObjectTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8317
|
+
|
|
8318
|
+
InputValueDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8319
|
+
|
|
8320
|
+
InterfaceTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8321
|
+
|
|
8322
|
+
ObjectTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8323
|
+
|
|
8324
|
+
OperationDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8325
|
+
|
|
8326
|
+
ScalarTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8327
|
+
|
|
8328
|
+
UnionTypeDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8329
|
+
|
|
8330
|
+
VariableDefinition?: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8331
|
+
allowLeadingUnderscore?: boolean
|
|
8332
|
+
allowTrailingUnderscore?: boolean
|
|
8333
|
+
[k: string]: (_GraphqlNamingConventionAsString | _GraphqlNamingConvention_AsObject)
|
|
8334
|
+
}]
|
|
8335
|
+
type _GraphqlNamingConventionAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
8336
|
+
interface _GraphqlNamingConvention_AsObject {
|
|
8337
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
8338
|
+
prefix?: string
|
|
8339
|
+
suffix?: string
|
|
8340
|
+
|
|
8341
|
+
forbiddenPatterns?: [{
|
|
8342
|
+
[k: string]: unknown | undefined
|
|
8343
|
+
}, ...({
|
|
8344
|
+
[k: string]: unknown | undefined
|
|
8345
|
+
})[]]
|
|
8346
|
+
|
|
8347
|
+
requiredPatterns?: [{
|
|
8348
|
+
[k: string]: unknown | undefined
|
|
8349
|
+
}, ...({
|
|
8350
|
+
[k: string]: unknown | undefined
|
|
8351
|
+
})[]]
|
|
8352
|
+
|
|
8353
|
+
forbiddenPrefixes?: [string, ...(string)[]]
|
|
8354
|
+
|
|
8355
|
+
forbiddenSuffixes?: [string, ...(string)[]]
|
|
8356
|
+
|
|
8357
|
+
requiredPrefixes?: [string, ...(string)[]]
|
|
8358
|
+
|
|
8359
|
+
requiredSuffixes?: [string, ...(string)[]]
|
|
8360
|
+
|
|
8361
|
+
ignorePattern?: string
|
|
8362
|
+
}
|
|
8363
|
+
// ----- graphql/no-root-type -----
|
|
8364
|
+
type GraphqlNoRootType = [{
|
|
8365
|
+
|
|
8366
|
+
disallow: [("mutation" | "subscription"), ...(("mutation" | "subscription"))[]]
|
|
8367
|
+
}]
|
|
8368
|
+
// ----- graphql/no-unused-fields -----
|
|
8369
|
+
type GraphqlNoUnusedFields = []|[{
|
|
8370
|
+
|
|
8371
|
+
ignoredFieldSelectors?: [string, ...(string)[]]
|
|
8372
|
+
}]
|
|
8373
|
+
// ----- graphql/relay-arguments -----
|
|
8374
|
+
type GraphqlRelayArguments = []|[{
|
|
8375
|
+
|
|
8376
|
+
includeBoth?: boolean
|
|
8377
|
+
}]
|
|
8378
|
+
// ----- graphql/relay-edge-types -----
|
|
8379
|
+
type GraphqlRelayEdgeTypes = []|[{
|
|
8380
|
+
|
|
8381
|
+
withEdgeSuffix?: boolean
|
|
8382
|
+
|
|
8383
|
+
shouldImplementNode?: boolean
|
|
8384
|
+
|
|
8385
|
+
listTypeCanWrapOnlyEdgeType?: boolean
|
|
8386
|
+
}]
|
|
8387
|
+
// ----- graphql/require-deprecation-date -----
|
|
8388
|
+
type GraphqlRequireDeprecationDate = []|[{
|
|
8389
|
+
argumentName?: string
|
|
8390
|
+
}]
|
|
8391
|
+
// ----- graphql/require-description -----
|
|
8392
|
+
type GraphqlRequireDescription = [{
|
|
8393
|
+
|
|
8394
|
+
types?: true
|
|
8395
|
+
|
|
8396
|
+
rootField?: true
|
|
8397
|
+
|
|
8398
|
+
ignoredSelectors?: [string, ...(string)[]]
|
|
8399
|
+
|
|
8400
|
+
DirectiveDefinition?: boolean
|
|
8401
|
+
|
|
8402
|
+
EnumTypeDefinition?: boolean
|
|
8403
|
+
|
|
8404
|
+
EnumValueDefinition?: boolean
|
|
8405
|
+
|
|
8406
|
+
FieldDefinition?: boolean
|
|
8407
|
+
|
|
8408
|
+
InputObjectTypeDefinition?: boolean
|
|
8409
|
+
|
|
8410
|
+
InputValueDefinition?: boolean
|
|
8411
|
+
|
|
8412
|
+
InterfaceTypeDefinition?: boolean
|
|
8413
|
+
|
|
8414
|
+
ObjectTypeDefinition?: boolean
|
|
8415
|
+
|
|
8416
|
+
OperationDefinition?: boolean
|
|
8417
|
+
|
|
8418
|
+
ScalarTypeDefinition?: boolean
|
|
8419
|
+
|
|
8420
|
+
UnionTypeDefinition?: boolean
|
|
8421
|
+
}]
|
|
8422
|
+
// ----- graphql/require-selections -----
|
|
8423
|
+
type GraphqlRequireSelections = []|[{
|
|
8424
|
+
fieldName?: (_GraphqlRequireSelectionsAsString | _GraphqlRequireSelections_AsArray)
|
|
8425
|
+
|
|
8426
|
+
requireAllFields?: boolean
|
|
8427
|
+
}]
|
|
8428
|
+
type _GraphqlRequireSelectionsAsString = string
|
|
8429
|
+
type _GraphqlRequireSelections_AsArray = [string, ...(string)[]]
|
|
8430
|
+
// ----- graphql/selection-set-depth -----
|
|
8431
|
+
type GraphqlSelectionSetDepth = [{
|
|
8432
|
+
maxDepth: number
|
|
8433
|
+
|
|
8434
|
+
ignore?: [string, ...(string)[]]
|
|
8435
|
+
}]
|
|
8436
|
+
// ----- graphql/strict-id-in-types -----
|
|
8437
|
+
type GraphqlStrictIdInTypes = []|[{
|
|
8438
|
+
|
|
8439
|
+
acceptedIdNames?: [string, ...(string)[]]
|
|
8440
|
+
|
|
8441
|
+
acceptedIdTypes?: [string, ...(string)[]]
|
|
8442
|
+
exceptions?: {
|
|
8443
|
+
|
|
8444
|
+
types?: [string, ...(string)[]]
|
|
8445
|
+
|
|
8446
|
+
suffixes?: [string, ...(string)[]]
|
|
8447
|
+
}
|
|
8448
|
+
}]
|
|
6905
8449
|
// ----- grouped-accessor-pairs -----
|
|
6906
8450
|
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
6907
8451
|
// ----- handle-callback-err -----
|
|
@@ -9094,7 +10638,7 @@ type NodeHashbang = []|[{
|
|
|
9094
10638
|
// ----- node/no-deprecated-api -----
|
|
9095
10639
|
type NodeNoDeprecatedApi = []|[{
|
|
9096
10640
|
version?: string
|
|
9097
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
10641
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
9098
10642
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
9099
10643
|
ignoreIndirectDependencies?: boolean
|
|
9100
10644
|
}]
|
|
@@ -9118,6 +10662,9 @@ type NodeNoExtraneousImport = []|[{
|
|
|
9118
10662
|
replace: [string, string]
|
|
9119
10663
|
})[]])
|
|
9120
10664
|
resolvePaths?: string[]
|
|
10665
|
+
resolverConfig?: {
|
|
10666
|
+
[k: string]: unknown | undefined
|
|
10667
|
+
}
|
|
9121
10668
|
}]
|
|
9122
10669
|
// ----- node/no-extraneous-require -----
|
|
9123
10670
|
type NodeNoExtraneousRequire = []|[{
|
|
@@ -9139,6 +10686,9 @@ type NodeNoExtraneousRequire = []|[{
|
|
|
9139
10686
|
replace: [string, string]
|
|
9140
10687
|
})[]])
|
|
9141
10688
|
resolvePaths?: string[]
|
|
10689
|
+
resolverConfig?: {
|
|
10690
|
+
[k: string]: unknown | undefined
|
|
10691
|
+
}
|
|
9142
10692
|
tryExtensions?: string[]
|
|
9143
10693
|
}]
|
|
9144
10694
|
// ----- node/no-hide-core-modules -----
|
|
@@ -9151,7 +10701,11 @@ type NodeNoHideCoreModules = []|[{
|
|
|
9151
10701
|
type NodeNoMissingImport = []|[{
|
|
9152
10702
|
allowModules?: string[]
|
|
9153
10703
|
resolvePaths?: string[]
|
|
10704
|
+
resolverConfig?: {
|
|
10705
|
+
[k: string]: unknown | undefined
|
|
10706
|
+
}
|
|
9154
10707
|
tryExtensions?: string[]
|
|
10708
|
+
ignoreTypeImport?: boolean
|
|
9155
10709
|
tsconfigPath?: string
|
|
9156
10710
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
9157
10711
|
}]
|
|
@@ -9160,6 +10714,9 @@ type NodeNoMissingRequire = []|[{
|
|
|
9160
10714
|
allowModules?: string[]
|
|
9161
10715
|
tryExtensions?: string[]
|
|
9162
10716
|
resolvePaths?: string[]
|
|
10717
|
+
resolverConfig?: {
|
|
10718
|
+
[k: string]: unknown | undefined
|
|
10719
|
+
}
|
|
9163
10720
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
9164
10721
|
tsconfigPath?: string
|
|
9165
10722
|
}]
|
|
@@ -9168,6 +10725,10 @@ type NodeNoMixedRequires = []|[(boolean | {
|
|
|
9168
10725
|
grouping?: boolean
|
|
9169
10726
|
allowCall?: boolean
|
|
9170
10727
|
})]
|
|
10728
|
+
// ----- node/no-process-env -----
|
|
10729
|
+
type NodeNoProcessEnv = []|[{
|
|
10730
|
+
allowedVariables?: string[]
|
|
10731
|
+
}]
|
|
9171
10732
|
// ----- node/no-restricted-import -----
|
|
9172
10733
|
type NodeNoRestrictedImport = []|[(string | {
|
|
9173
10734
|
name: (string | string[])
|
|
@@ -9181,6 +10742,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
9181
10742
|
// ----- node/no-sync -----
|
|
9182
10743
|
type NodeNoSync = []|[{
|
|
9183
10744
|
allowAtRootLevel?: boolean
|
|
10745
|
+
ignores?: string[]
|
|
9184
10746
|
}]
|
|
9185
10747
|
// ----- node/no-unpublished-bin -----
|
|
9186
10748
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -9222,7 +10784,11 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
9222
10784
|
replace: [string, string]
|
|
9223
10785
|
})[]])
|
|
9224
10786
|
resolvePaths?: string[]
|
|
10787
|
+
resolverConfig?: {
|
|
10788
|
+
[k: string]: unknown | undefined
|
|
10789
|
+
}
|
|
9225
10790
|
ignoreTypeImport?: boolean
|
|
10791
|
+
ignorePrivate?: boolean
|
|
9226
10792
|
}]
|
|
9227
10793
|
// ----- node/no-unpublished-require -----
|
|
9228
10794
|
type NodeNoUnpublishedRequire = []|[{
|
|
@@ -9244,7 +10810,11 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9244
10810
|
replace: [string, string]
|
|
9245
10811
|
})[]])
|
|
9246
10812
|
resolvePaths?: string[]
|
|
10813
|
+
resolverConfig?: {
|
|
10814
|
+
[k: string]: unknown | undefined
|
|
10815
|
+
}
|
|
9247
10816
|
tryExtensions?: string[]
|
|
10817
|
+
ignorePrivate?: boolean
|
|
9248
10818
|
}]
|
|
9249
10819
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9250
10820
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
@@ -9260,7 +10830,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9260
10830
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9261
10831
|
version?: string
|
|
9262
10832
|
allowExperimental?: boolean
|
|
9263
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
10833
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
9264
10834
|
}]
|
|
9265
10835
|
// ----- node/prefer-global/buffer -----
|
|
9266
10836
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -11189,6 +12759,20 @@ type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
|
11189
12759
|
extensions?: string[]
|
|
11190
12760
|
ignoreFilesWithoutCode?: boolean
|
|
11191
12761
|
})]
|
|
12762
|
+
// ----- react-native/no-raw-text -----
|
|
12763
|
+
type ReactNativeNoRawText = []|[{
|
|
12764
|
+
skip?: string[]
|
|
12765
|
+
}]
|
|
12766
|
+
// ----- react-native/sort-styles -----
|
|
12767
|
+
type ReactNativeSortStyles = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
12768
|
+
ignoreClassNames?: boolean
|
|
12769
|
+
ignoreStyleProperties?: boolean
|
|
12770
|
+
}]
|
|
12771
|
+
// ----- react-native/split-platform-components -----
|
|
12772
|
+
type ReactNativeSplitPlatformComponents = []|[{
|
|
12773
|
+
androidPathRegex?: string
|
|
12774
|
+
iosPathRegex?: string
|
|
12775
|
+
}]
|
|
11192
12776
|
// ----- react-refresh/only-export-components -----
|
|
11193
12777
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
11194
12778
|
allowExportNames?: string[]
|
|
@@ -11319,6 +12903,11 @@ type RegexpUnicodeProperty = []|[{
|
|
|
11319
12903
|
script?: ("short" | "long" | "ignore")
|
|
11320
12904
|
})
|
|
11321
12905
|
}]
|
|
12906
|
+
// ----- relay/generated-flow-types -----
|
|
12907
|
+
type RelayGeneratedFlowTypes = []|[{
|
|
12908
|
+
fix?: boolean
|
|
12909
|
+
haste?: boolean
|
|
12910
|
+
}]
|
|
11322
12911
|
// ----- require-atomic-updates -----
|
|
11323
12912
|
type RequireAtomicUpdates = []|[{
|
|
11324
12913
|
allowProperties?: boolean
|
|
@@ -11406,6 +12995,16 @@ type SpacedComment = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
11406
12995
|
balanced?: boolean
|
|
11407
12996
|
}
|
|
11408
12997
|
}]
|
|
12998
|
+
// ----- storybook/meta-inline-properties -----
|
|
12999
|
+
type StorybookMetaInlineProperties = []|[{
|
|
13000
|
+
csfVersion?: number
|
|
13001
|
+
}]
|
|
13002
|
+
// ----- storybook/no-uninstalled-addons -----
|
|
13003
|
+
type StorybookNoUninstalledAddons = []|[{
|
|
13004
|
+
packageJsonLocation?: string
|
|
13005
|
+
ignore?: string[]
|
|
13006
|
+
[k: string]: unknown | undefined
|
|
13007
|
+
}]
|
|
11409
13008
|
// ----- strict -----
|
|
11410
13009
|
type Strict = []|[("never" | "global" | "function" | "safe")]
|
|
11411
13010
|
// ----- style/array-bracket-newline -----
|
|
@@ -14340,6 +15939,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
14340
15939
|
// ----- yaml/plain-scalar -----
|
|
14341
15940
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
14342
15941
|
ignorePatterns?: string[]
|
|
15942
|
+
overrides?: {
|
|
15943
|
+
mappingKey?: ("always" | "never" | null)
|
|
15944
|
+
}
|
|
14343
15945
|
}]
|
|
14344
15946
|
// ----- yaml/quotes -----
|
|
14345
15947
|
type YamlQuotes = []|[{
|
|
@@ -14549,6 +16151,9 @@ type YmlNoMultipleEmptyLines = []|[{
|
|
|
14549
16151
|
// ----- yml/plain-scalar -----
|
|
14550
16152
|
type YmlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
14551
16153
|
ignorePatterns?: string[]
|
|
16154
|
+
overrides?: {
|
|
16155
|
+
mappingKey?: ("always" | "never" | null)
|
|
16156
|
+
}
|
|
14552
16157
|
}]
|
|
14553
16158
|
// ----- yml/quotes -----
|
|
14554
16159
|
type YmlQuotes = []|[{
|
|
@@ -14639,7 +16244,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14639
16244
|
onlyEquality?: boolean
|
|
14640
16245
|
}]
|
|
14641
16246
|
// Names of all the configs
|
|
14642
|
-
type ConfigNames = 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/markdown/disables' | 'storm/node/rules' | 'storm/perfectionist/rules' | 'storm/react/setup' | 'storm/react/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/test/setup' | 'storm/test/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/regexp/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules'
|
|
16247
|
+
type ConfigNames = 'storm/cspell/rules' | 'storm/astro/setup' | 'storm/astro/rules' | 'storm/formatter/setup' | 'storm/imports/rules' | 'storm/graphql/setup' | 'storm/graphql/rules' | 'storm/graphql/relay' | 'storm/javascript/setup' | 'storm/javascript/banner' | 'storm/javascript/rules' | 'storm/jsx/rules' | 'storm/jsdoc/rules' | 'storm/jsonc/setup' | 'storm/jsonc/rules' | 'storm/markdown/setup' | 'storm/markdown/processor' | 'storm/markdown/parser' | 'storm/markdown/disables' | 'storm/mdx/setup' | 'storm/node/rules' | 'storm/nx/setup' | 'storm/nx/schema' | 'storm/nx/dependency-check' | 'storm/nx/module-boundaries' | 'storm/next/rules' | 'storm/perfectionist/rules' | 'storm/react/setup' | 'storm/react/rules' | 'storm/react-native/rules' | 'storm/sort/package-json' | 'storm/stylistic/rules' | 'storm/secrets/rules' | 'storm/storybook/setup' | 'storm/storybook/rules' | 'storm/storybook/main' | 'storm/test/setup' | 'storm/test/rules' | 'storm/toml/setup' | 'storm/toml/rules' | 'storm/regexp/rules' | 'storm/typescript/setup' | 'storm/typescript/parser' | 'storm/typescript/type-aware-parser' | 'storm/typescript/rules' | 'storm/typescript/rules-type-aware' | 'storm/unicorn/rules' | 'storm/unocss' | 'storm/yaml/setup' | 'storm/yaml/rules'
|
|
14643
16248
|
|
|
14644
16249
|
/**
|
|
14645
16250
|
* Vendor types from Prettier so we don't rely on the dependency.
|
|
@@ -15088,7 +16693,7 @@ interface OptionsJavascript {
|
|
|
15088
16693
|
/**
|
|
15089
16694
|
* The name of the repository used in adding the banner comments
|
|
15090
16695
|
*/
|
|
15091
|
-
|
|
16696
|
+
repositoryName: string;
|
|
15092
16697
|
/**
|
|
15093
16698
|
* An object containing a list of extra global variables to include in the configuration.
|
|
15094
16699
|
*/
|
|
@@ -15256,7 +16861,7 @@ interface OptionsConfig extends OptionsComponentExts, OptionsJavascript, Options
|
|
|
15256
16861
|
* Enable next rules.
|
|
15257
16862
|
*
|
|
15258
16863
|
* Requires installing:
|
|
15259
|
-
* - `@next/eslint-plugin`
|
|
16864
|
+
* - `@next/eslint-plugin-next`
|
|
15260
16865
|
*
|
|
15261
16866
|
* @default false
|
|
15262
16867
|
*/
|