@2digits/eslint-config 2.0.1 → 2.2.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/dist/index.cjs +27 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +820 -10
- package/dist/index.d.ts +820 -10
- package/dist/index.js +9 -8
- package/dist/index.js.map +1 -1
- package/package.json +13 -10
package/dist/index.d.cts
CHANGED
|
@@ -10,7 +10,7 @@ import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
|
|
|
10
10
|
interface RuleOptions {
|
|
11
11
|
/**
|
|
12
12
|
* Enforce giving proper names to type parameters when there are two or more
|
|
13
|
-
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.0.
|
|
13
|
+
* @see https://github.com/2digits-agency/configs/blob/@2digits/eslint-plugin@2.0.1/packages/eslint/src/rules/type-param-names.ts
|
|
14
14
|
*/
|
|
15
15
|
'@2digits/type-param-names'?: Linter.RuleEntry<[]>
|
|
16
16
|
/**
|
|
@@ -282,6 +282,394 @@ interface RuleOptions {
|
|
|
282
282
|
* @deprecated
|
|
283
283
|
*/
|
|
284
284
|
'global-require'?: Linter.RuleEntry<[]>
|
|
285
|
+
/**
|
|
286
|
+
* Enforce arrange in alphabetical order for type fields, enum values, input object fields, operation selections and more.
|
|
287
|
+
* @see https://the-guild.dev/graphql/eslint/rules/alphabetize
|
|
288
|
+
*/
|
|
289
|
+
'gql/alphabetize'?: Linter.RuleEntry<GqlAlphabetize>
|
|
290
|
+
/**
|
|
291
|
+
* Require all comments to follow the same style (either block or inline).
|
|
292
|
+
* @see https://the-guild.dev/graphql/eslint/rules/description-style
|
|
293
|
+
*/
|
|
294
|
+
'gql/description-style'?: Linter.RuleEntry<GqlDescriptionStyle>
|
|
295
|
+
/**
|
|
296
|
+
* A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.
|
|
297
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
298
|
+
* @see https://the-guild.dev/graphql/eslint/rules/executable-definitions
|
|
299
|
+
*/
|
|
300
|
+
'gql/executable-definitions'?: Linter.RuleEntry<[]>
|
|
301
|
+
/**
|
|
302
|
+
* 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`.
|
|
303
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
304
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fields-on-correct-type
|
|
305
|
+
*/
|
|
306
|
+
'gql/fields-on-correct-type'?: Linter.RuleEntry<[]>
|
|
307
|
+
/**
|
|
308
|
+
* 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.
|
|
309
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
310
|
+
* @see https://the-guild.dev/graphql/eslint/rules/fragments-on-composite-type
|
|
311
|
+
*/
|
|
312
|
+
'gql/fragments-on-composite-type'?: Linter.RuleEntry<[]>
|
|
313
|
+
/**
|
|
314
|
+
* Require mutation argument to be always called "input" and input type to be called Mutation name + "Input".
|
|
315
|
+
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.
|
|
316
|
+
* @see https://the-guild.dev/graphql/eslint/rules/input-name
|
|
317
|
+
*/
|
|
318
|
+
'gql/input-name'?: Linter.RuleEntry<GqlInputName>
|
|
319
|
+
/**
|
|
320
|
+
* A GraphQL field is only valid if all supplied arguments are defined by that field.
|
|
321
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
322
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-argument-names
|
|
323
|
+
*/
|
|
324
|
+
'gql/known-argument-names'?: Linter.RuleEntry<[]>
|
|
325
|
+
/**
|
|
326
|
+
* A GraphQL document is only valid if all `@directive`s are known by the schema and legally positioned.
|
|
327
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
328
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-directives
|
|
329
|
+
*/
|
|
330
|
+
'gql/known-directives'?: Linter.RuleEntry<GqlKnownDirectives>
|
|
331
|
+
/**
|
|
332
|
+
* A GraphQL document is only valid if all `...Fragment` fragment spreads refer to fragments defined in the same document.
|
|
333
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
334
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-fragment-names
|
|
335
|
+
*/
|
|
336
|
+
'gql/known-fragment-names'?: Linter.RuleEntry<[]>
|
|
337
|
+
/**
|
|
338
|
+
* A GraphQL document is only valid if referenced types (specifically variable definitions and fragment conditions) are defined by the type schema.
|
|
339
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
340
|
+
* @see https://the-guild.dev/graphql/eslint/rules/known-type-names
|
|
341
|
+
*/
|
|
342
|
+
'gql/known-type-names'?: Linter.RuleEntry<[]>
|
|
343
|
+
/**
|
|
344
|
+
* A GraphQL document that contains an anonymous operation (the `query` short-hand) is only valid if it contains only that one operation definition.
|
|
345
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
346
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-anonymous-operation
|
|
347
|
+
*/
|
|
348
|
+
'gql/lone-anonymous-operation'?: Linter.RuleEntry<[]>
|
|
349
|
+
/**
|
|
350
|
+
* Require queries, mutations, subscriptions or fragments to be located in separate files.
|
|
351
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-executable-definition
|
|
352
|
+
*/
|
|
353
|
+
'gql/lone-executable-definition'?: Linter.RuleEntry<GqlLoneExecutableDefinition>
|
|
354
|
+
/**
|
|
355
|
+
* A GraphQL document is only valid if it contains only one schema definition.
|
|
356
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
357
|
+
* @see https://the-guild.dev/graphql/eslint/rules/lone-schema-definition
|
|
358
|
+
*/
|
|
359
|
+
'gql/lone-schema-definition'?: Linter.RuleEntry<[]>
|
|
360
|
+
/**
|
|
361
|
+
* This rule allows you to enforce that the file name should match the operation name.
|
|
362
|
+
* @see https://the-guild.dev/graphql/eslint/rules/match-document-filename
|
|
363
|
+
*/
|
|
364
|
+
'gql/match-document-filename'?: Linter.RuleEntry<GqlMatchDocumentFilename>
|
|
365
|
+
/**
|
|
366
|
+
* Require names to follow specified conventions.
|
|
367
|
+
* @see https://the-guild.dev/graphql/eslint/rules/naming-convention
|
|
368
|
+
*/
|
|
369
|
+
'gql/naming-convention'?: Linter.RuleEntry<GqlNamingConvention>
|
|
370
|
+
/**
|
|
371
|
+
* Require name for your GraphQL operations. This is useful since most GraphQL client libraries are using the operation name for caching purposes.
|
|
372
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-anonymous-operations
|
|
373
|
+
*/
|
|
374
|
+
'gql/no-anonymous-operations'?: Linter.RuleEntry<[]>
|
|
375
|
+
/**
|
|
376
|
+
* Disallow case-insensitive enum values duplicates.
|
|
377
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-case-insensitive-enum-values-duplicates
|
|
378
|
+
*/
|
|
379
|
+
'gql/no-case-insensitive-enum-values-duplicates'?: Linter.RuleEntry<[]>
|
|
380
|
+
/**
|
|
381
|
+
* Enforce that deprecated fields or enum values are not in use by operations.
|
|
382
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-deprecated
|
|
383
|
+
*/
|
|
384
|
+
'gql/no-deprecated'?: Linter.RuleEntry<[]>
|
|
385
|
+
/**
|
|
386
|
+
* Checks for duplicate fields in selection set, variables in operation definition, or in arguments set of a field.
|
|
387
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-duplicate-fields
|
|
388
|
+
*/
|
|
389
|
+
'gql/no-duplicate-fields'?: Linter.RuleEntry<[]>
|
|
390
|
+
/**
|
|
391
|
+
* A GraphQL fragment is only valid when it does not have cycles in fragments usage.
|
|
392
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
393
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-fragment-cycles
|
|
394
|
+
*/
|
|
395
|
+
'gql/no-fragment-cycles'?: Linter.RuleEntry<[]>
|
|
396
|
+
/**
|
|
397
|
+
* Requires to use `"""` or `"` for adding a GraphQL description instead of `#`.
|
|
398
|
+
Allows to use hashtag for comments, as long as it's not attached to an AST definition.
|
|
399
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-hashtag-description
|
|
400
|
+
*/
|
|
401
|
+
'gql/no-hashtag-description'?: Linter.RuleEntry<[]>
|
|
402
|
+
/**
|
|
403
|
+
* Disallow fragments that are used only in one place.
|
|
404
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-one-place-fragments
|
|
405
|
+
*/
|
|
406
|
+
'gql/no-one-place-fragments'?: Linter.RuleEntry<[]>
|
|
407
|
+
/**
|
|
408
|
+
* Disallow using root types `mutation` and/or `subscription`.
|
|
409
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-root-type
|
|
410
|
+
*/
|
|
411
|
+
'gql/no-root-type'?: Linter.RuleEntry<GqlNoRootType>
|
|
412
|
+
/**
|
|
413
|
+
* Avoid scalar result type on mutation type to make sure to return a valid state.
|
|
414
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-scalar-result-type-on-mutation
|
|
415
|
+
*/
|
|
416
|
+
'gql/no-scalar-result-type-on-mutation'?: Linter.RuleEntry<[]>
|
|
417
|
+
/**
|
|
418
|
+
* Enforces users to avoid using the type name in a field name while defining your schema.
|
|
419
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-typename-prefix
|
|
420
|
+
*/
|
|
421
|
+
'gql/no-typename-prefix'?: Linter.RuleEntry<[]>
|
|
422
|
+
/**
|
|
423
|
+
* A GraphQL operation is only valid if all variables encountered, both directly and via fragment spreads, are defined by that operation.
|
|
424
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
425
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-undefined-variables
|
|
426
|
+
*/
|
|
427
|
+
'gql/no-undefined-variables'?: Linter.RuleEntry<[]>
|
|
428
|
+
/**
|
|
429
|
+
* Requires all types to be reachable at some level by root level fields.
|
|
430
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unreachable-types
|
|
431
|
+
*/
|
|
432
|
+
'gql/no-unreachable-types'?: Linter.RuleEntry<[]>
|
|
433
|
+
/**
|
|
434
|
+
* Requires all fields to be used at some level by siblings operations.
|
|
435
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fields
|
|
436
|
+
*/
|
|
437
|
+
'gql/no-unused-fields'?: Linter.RuleEntry<[]>
|
|
438
|
+
/**
|
|
439
|
+
* A GraphQL document is only valid if all fragment definitions are spread within operations, or spread within other fragments spread within operations.
|
|
440
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
441
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-fragments
|
|
442
|
+
*/
|
|
443
|
+
'gql/no-unused-fragments'?: Linter.RuleEntry<[]>
|
|
444
|
+
/**
|
|
445
|
+
* A GraphQL operation is only valid if all variables defined by an operation are used, either directly or within a spread fragment.
|
|
446
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
447
|
+
* @see https://the-guild.dev/graphql/eslint/rules/no-unused-variables
|
|
448
|
+
*/
|
|
449
|
+
'gql/no-unused-variables'?: Linter.RuleEntry<[]>
|
|
450
|
+
/**
|
|
451
|
+
* A GraphQL subscription is valid only if it contains a single root field.
|
|
452
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
453
|
+
* @see https://the-guild.dev/graphql/eslint/rules/one-field-subscriptions
|
|
454
|
+
*/
|
|
455
|
+
'gql/one-field-subscriptions'?: Linter.RuleEntry<[]>
|
|
456
|
+
/**
|
|
457
|
+
* 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.
|
|
458
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
459
|
+
* @see https://the-guild.dev/graphql/eslint/rules/overlapping-fields-can-be-merged
|
|
460
|
+
*/
|
|
461
|
+
'gql/overlapping-fields-can-be-merged'?: Linter.RuleEntry<[]>
|
|
462
|
+
/**
|
|
463
|
+
* 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.
|
|
464
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
465
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-fragment-spread
|
|
466
|
+
*/
|
|
467
|
+
'gql/possible-fragment-spread'?: Linter.RuleEntry<[]>
|
|
468
|
+
/**
|
|
469
|
+
* A type extension is only valid if the type is defined and has the same kind.
|
|
470
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
471
|
+
* @see https://the-guild.dev/graphql/eslint/rules/possible-type-extension
|
|
472
|
+
*/
|
|
473
|
+
'gql/possible-type-extension'?: Linter.RuleEntry<[]>
|
|
474
|
+
/**
|
|
475
|
+
* A field or directive is only valid if all required (non-null without a default value) field arguments have been provided.
|
|
476
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
477
|
+
* @see https://the-guild.dev/graphql/eslint/rules/provided-required-arguments
|
|
478
|
+
*/
|
|
479
|
+
'gql/provided-required-arguments'?: Linter.RuleEntry<[]>
|
|
480
|
+
/**
|
|
481
|
+
* Set of rules to follow Relay specification for Arguments.
|
|
482
|
+
|
|
483
|
+
- A field that returns a Connection type must include forward pagination arguments (`first` and `after`), backward pagination arguments (`last` and `before`), or both
|
|
484
|
+
|
|
485
|
+
Forward pagination arguments
|
|
486
|
+
|
|
487
|
+
- `first` takes a non-negative integer
|
|
488
|
+
- `after` takes the Cursor type
|
|
489
|
+
|
|
490
|
+
Backward pagination arguments
|
|
491
|
+
|
|
492
|
+
- `last` takes a non-negative integer
|
|
493
|
+
- `before` takes the Cursor type
|
|
494
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-arguments
|
|
495
|
+
*/
|
|
496
|
+
'gql/relay-arguments'?: Linter.RuleEntry<GqlRelayArguments>
|
|
497
|
+
/**
|
|
498
|
+
* Set of rules to follow Relay specification for Connection types.
|
|
499
|
+
|
|
500
|
+
- Any type whose name ends in "Connection" is considered by spec to be a `Connection type`
|
|
501
|
+
- Connection type must be an Object type
|
|
502
|
+
- Connection type must contain a field `edges` that return a list type that wraps an edge type
|
|
503
|
+
- Connection type must contain a field `pageInfo` that return a non-null `PageInfo` Object type
|
|
504
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-connection-types
|
|
505
|
+
*/
|
|
506
|
+
'gql/relay-connection-types'?: Linter.RuleEntry<[]>
|
|
507
|
+
/**
|
|
508
|
+
* Set of rules to follow Relay specification for Edge types.
|
|
509
|
+
|
|
510
|
+
- 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
|
|
511
|
+
- Edge type must be an Object type
|
|
512
|
+
- 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
|
|
513
|
+
- Edge type must contain a field `cursor` that return either String, Scalar, or a non-null wrapper around one of those types
|
|
514
|
+
- Edge type name must end in "Edge" _(optional)_
|
|
515
|
+
- Edge type's field `node` must implement `Node` interface _(optional)_
|
|
516
|
+
- A list type should only wrap an edge type _(optional)_
|
|
517
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-edge-types
|
|
518
|
+
*/
|
|
519
|
+
'gql/relay-edge-types'?: Linter.RuleEntry<GqlRelayEdgeTypes>
|
|
520
|
+
/**
|
|
521
|
+
* Set of rules to follow Relay specification for `PageInfo` object.
|
|
522
|
+
|
|
523
|
+
- `PageInfo` must be an Object type
|
|
524
|
+
- `PageInfo` must contain fields `hasPreviousPage` and `hasNextPage`, that return non-null Boolean
|
|
525
|
+
- `PageInfo` must contain fields `startCursor` and `endCursor`, that return either String or Scalar, which can be null if there are no results
|
|
526
|
+
* @see https://the-guild.dev/graphql/eslint/rules/relay-page-info
|
|
527
|
+
*/
|
|
528
|
+
'gql/relay-page-info'?: Linter.RuleEntry<[]>
|
|
529
|
+
/**
|
|
530
|
+
* Require deletion date on `@deprecated` directive. Suggest removing deprecated things after deprecated date.
|
|
531
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-date
|
|
532
|
+
*/
|
|
533
|
+
'gql/require-deprecation-date'?: Linter.RuleEntry<GqlRequireDeprecationDate>
|
|
534
|
+
/**
|
|
535
|
+
* Require all deprecation directives to specify a reason.
|
|
536
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-deprecation-reason
|
|
537
|
+
*/
|
|
538
|
+
'gql/require-deprecation-reason'?: Linter.RuleEntry<[]>
|
|
539
|
+
/**
|
|
540
|
+
* Enforce descriptions in type definitions and operations.
|
|
541
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-description
|
|
542
|
+
*/
|
|
543
|
+
'gql/require-description'?: Linter.RuleEntry<GqlRequireDescription>
|
|
544
|
+
/**
|
|
545
|
+
* Allow the client in one round-trip not only to call mutation but also to get a wagon of data to update their application.
|
|
546
|
+
> Currently, no errors are reported for result type `union`, `interface` and `scalar`.
|
|
547
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-field-of-type-query-in-mutation-result
|
|
548
|
+
*/
|
|
549
|
+
'gql/require-field-of-type-query-in-mutation-result'?: Linter.RuleEntry<[]>
|
|
550
|
+
/**
|
|
551
|
+
* Enforce selecting specific fields when they are available on the GraphQL type.
|
|
552
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-id-when-available
|
|
553
|
+
*/
|
|
554
|
+
'gql/require-id-when-available'?: Linter.RuleEntry<GqlRequireIdWhenAvailable>
|
|
555
|
+
/**
|
|
556
|
+
* Require fragments to be imported via an import expression.
|
|
557
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-import-fragment
|
|
558
|
+
*/
|
|
559
|
+
'gql/require-import-fragment'?: Linter.RuleEntry<[]>
|
|
560
|
+
/**
|
|
561
|
+
* Require `input` or `type` fields to be non-nullable with `@oneOf` directive.
|
|
562
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-fields-with-oneof
|
|
563
|
+
*/
|
|
564
|
+
'gql/require-nullable-fields-with-oneof'?: Linter.RuleEntry<[]>
|
|
565
|
+
/**
|
|
566
|
+
* Require nullable fields in root types.
|
|
567
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-nullable-result-in-root
|
|
568
|
+
*/
|
|
569
|
+
'gql/require-nullable-result-in-root'?: Linter.RuleEntry<[]>
|
|
570
|
+
/**
|
|
571
|
+
* Enforce types with `@oneOf` directive have `error` and `ok` fields.
|
|
572
|
+
* @see https://the-guild.dev/graphql/eslint/rules/require-type-pattern-with-oneof
|
|
573
|
+
*/
|
|
574
|
+
'gql/require-type-pattern-with-oneof'?: Linter.RuleEntry<[]>
|
|
575
|
+
/**
|
|
576
|
+
* A GraphQL document is valid only if all leaf fields (fields without sub selections) are of scalar or enum types.
|
|
577
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
578
|
+
* @see https://the-guild.dev/graphql/eslint/rules/scalar-leafs
|
|
579
|
+
*/
|
|
580
|
+
'gql/scalar-leafs'?: Linter.RuleEntry<[]>
|
|
581
|
+
/**
|
|
582
|
+
* Limit the complexity of the GraphQL operations solely by their depth. Based on [graphql-depth-limit](https://npmjs.com/package/graphql-depth-limit).
|
|
583
|
+
* @see https://the-guild.dev/graphql/eslint/rules/selection-set-depth
|
|
584
|
+
*/
|
|
585
|
+
'gql/selection-set-depth'?: Linter.RuleEntry<GqlSelectionSetDepth>
|
|
586
|
+
/**
|
|
587
|
+
* 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.
|
|
588
|
+
* @see https://the-guild.dev/graphql/eslint/rules/strict-id-in-types
|
|
589
|
+
*/
|
|
590
|
+
'gql/strict-id-in-types'?: Linter.RuleEntry<GqlStrictIdInTypes>
|
|
591
|
+
/**
|
|
592
|
+
* A GraphQL field or directive is only valid if all supplied arguments are uniquely named.
|
|
593
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
594
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-argument-names
|
|
595
|
+
*/
|
|
596
|
+
'gql/unique-argument-names'?: Linter.RuleEntry<[]>
|
|
597
|
+
/**
|
|
598
|
+
* A GraphQL document is only valid if all defined directives have unique names.
|
|
599
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
600
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names
|
|
601
|
+
*/
|
|
602
|
+
'gql/unique-directive-names'?: Linter.RuleEntry<[]>
|
|
603
|
+
/**
|
|
604
|
+
* A GraphQL document is only valid if all non-repeatable directives at a given location are uniquely named.
|
|
605
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
606
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-directive-names-per-location
|
|
607
|
+
*/
|
|
608
|
+
'gql/unique-directive-names-per-location'?: Linter.RuleEntry<[]>
|
|
609
|
+
/**
|
|
610
|
+
* A GraphQL enum type is only valid if all its values are uniquely named.
|
|
611
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
612
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-enum-value-names
|
|
613
|
+
*/
|
|
614
|
+
'gql/unique-enum-value-names'?: Linter.RuleEntry<[]>
|
|
615
|
+
/**
|
|
616
|
+
* A GraphQL complex type is only valid if all its fields are uniquely named.
|
|
617
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
618
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-field-definition-names
|
|
619
|
+
*/
|
|
620
|
+
'gql/unique-field-definition-names'?: Linter.RuleEntry<[]>
|
|
621
|
+
/**
|
|
622
|
+
* Enforce unique fragment names across your project.
|
|
623
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-fragment-name
|
|
624
|
+
*/
|
|
625
|
+
'gql/unique-fragment-name'?: Linter.RuleEntry<[]>
|
|
626
|
+
/**
|
|
627
|
+
* A GraphQL input object value is only valid if all supplied fields are uniquely named.
|
|
628
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
629
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-input-field-names
|
|
630
|
+
*/
|
|
631
|
+
'gql/unique-input-field-names'?: Linter.RuleEntry<[]>
|
|
632
|
+
/**
|
|
633
|
+
* Enforce unique operation names across your project.
|
|
634
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-name
|
|
635
|
+
*/
|
|
636
|
+
'gql/unique-operation-name'?: Linter.RuleEntry<[]>
|
|
637
|
+
/**
|
|
638
|
+
* A GraphQL document is only valid if it has only one type per operation.
|
|
639
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
640
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-operation-types
|
|
641
|
+
*/
|
|
642
|
+
'gql/unique-operation-types'?: Linter.RuleEntry<[]>
|
|
643
|
+
/**
|
|
644
|
+
* A GraphQL document is only valid if all defined types have unique names.
|
|
645
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
646
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-type-names
|
|
647
|
+
*/
|
|
648
|
+
'gql/unique-type-names'?: Linter.RuleEntry<[]>
|
|
649
|
+
/**
|
|
650
|
+
* A GraphQL operation is only valid if all its variables are uniquely named.
|
|
651
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
652
|
+
* @see https://the-guild.dev/graphql/eslint/rules/unique-variable-names
|
|
653
|
+
*/
|
|
654
|
+
'gql/unique-variable-names'?: Linter.RuleEntry<[]>
|
|
655
|
+
/**
|
|
656
|
+
* A GraphQL document is only valid if all value literals are of the type expected at their position.
|
|
657
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
658
|
+
* @see https://the-guild.dev/graphql/eslint/rules/value-literals-of-correct-type
|
|
659
|
+
*/
|
|
660
|
+
'gql/value-literals-of-correct-type'?: Linter.RuleEntry<[]>
|
|
661
|
+
/**
|
|
662
|
+
* A GraphQL operation is only valid if all the variables it defines are of input types (scalar, enum, or input object).
|
|
663
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
664
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-are-input-types
|
|
665
|
+
*/
|
|
666
|
+
'gql/variables-are-input-types'?: Linter.RuleEntry<[]>
|
|
667
|
+
/**
|
|
668
|
+
* Variables passed to field arguments conform to type.
|
|
669
|
+
> This rule is a wrapper around a `graphql-js` validation function.
|
|
670
|
+
* @see https://the-guild.dev/graphql/eslint/rules/variables-in-allowed-position
|
|
671
|
+
*/
|
|
672
|
+
'gql/variables-in-allowed-position'?: Linter.RuleEntry<[]>
|
|
285
673
|
/**
|
|
286
674
|
* Require grouped accessor pairs in object literals and classes
|
|
287
675
|
* @see https://eslint.org/docs/latest/rules/grouped-accessor-pairs
|
|
@@ -2004,6 +2392,10 @@ interface RuleOptions {
|
|
|
2004
2392
|
* @see https://eslint.org/docs/latest/rules/radix
|
|
2005
2393
|
*/
|
|
2006
2394
|
'radix'?: Linter.RuleEntry<Radix>
|
|
2395
|
+
/**
|
|
2396
|
+
* Surfaces diagnostics from React Forget
|
|
2397
|
+
*/
|
|
2398
|
+
'react-compiler/react-compiler'?: Linter.RuleEntry<ReactCompilerReactCompiler>
|
|
2007
2399
|
/**
|
|
2008
2400
|
* disallow passing 'children' to void DOM elements
|
|
2009
2401
|
* @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
|
|
@@ -2872,6 +3264,166 @@ interface RuleOptions {
|
|
|
2872
3264
|
* @deprecated
|
|
2873
3265
|
*/
|
|
2874
3266
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3267
|
+
/**
|
|
3268
|
+
* Cognitive Complexity of functions should not be too high
|
|
3269
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/cognitive-complexity.md
|
|
3270
|
+
*/
|
|
3271
|
+
'sonar/cognitive-complexity'?: Linter.RuleEntry<SonarCognitiveComplexity>
|
|
3272
|
+
/**
|
|
3273
|
+
* "if ... else if" constructs should end with "else" clauses
|
|
3274
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/elseif-without-else.md
|
|
3275
|
+
*/
|
|
3276
|
+
'sonar/elseif-without-else'?: Linter.RuleEntry<[]>
|
|
3277
|
+
/**
|
|
3278
|
+
* "switch" statements should not have too many "case" clauses
|
|
3279
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/max-switch-cases.md
|
|
3280
|
+
*/
|
|
3281
|
+
'sonar/max-switch-cases'?: Linter.RuleEntry<SonarMaxSwitchCases>
|
|
3282
|
+
/**
|
|
3283
|
+
* All branches in a conditional structure should not have exactly the same implementation
|
|
3284
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-all-duplicated-branches.md
|
|
3285
|
+
*/
|
|
3286
|
+
'sonar/no-all-duplicated-branches'?: Linter.RuleEntry<[]>
|
|
3287
|
+
/**
|
|
3288
|
+
* Collapsible "if" statements should be merged
|
|
3289
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-collapsible-if.md
|
|
3290
|
+
*/
|
|
3291
|
+
'sonar/no-collapsible-if'?: Linter.RuleEntry<SonarNoCollapsibleIf>
|
|
3292
|
+
/**
|
|
3293
|
+
* Collection sizes and array length comparisons should make sense
|
|
3294
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-collection-size-mischeck.md
|
|
3295
|
+
*/
|
|
3296
|
+
'sonar/no-collection-size-mischeck'?: Linter.RuleEntry<[]>
|
|
3297
|
+
/**
|
|
3298
|
+
* String literals should not be duplicated
|
|
3299
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-duplicate-string.md
|
|
3300
|
+
*/
|
|
3301
|
+
'sonar/no-duplicate-string'?: Linter.RuleEntry<SonarNoDuplicateString>
|
|
3302
|
+
/**
|
|
3303
|
+
* Two branches in a conditional structure should not have exactly the same implementation
|
|
3304
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-duplicated-branches.md
|
|
3305
|
+
*/
|
|
3306
|
+
'sonar/no-duplicated-branches'?: Linter.RuleEntry<SonarNoDuplicatedBranches>
|
|
3307
|
+
/**
|
|
3308
|
+
* Collection elements should not be replaced unconditionally
|
|
3309
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-element-overwrite.md
|
|
3310
|
+
*/
|
|
3311
|
+
'sonar/no-element-overwrite'?: Linter.RuleEntry<SonarNoElementOverwrite>
|
|
3312
|
+
/**
|
|
3313
|
+
* Empty collections should not be accessed or iterated
|
|
3314
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-empty-collection.md
|
|
3315
|
+
*/
|
|
3316
|
+
'sonar/no-empty-collection'?: Linter.RuleEntry<[]>
|
|
3317
|
+
/**
|
|
3318
|
+
* Function calls should not pass extra arguments
|
|
3319
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-extra-arguments.md
|
|
3320
|
+
*/
|
|
3321
|
+
'sonar/no-extra-arguments'?: Linter.RuleEntry<SonarNoExtraArguments>
|
|
3322
|
+
/**
|
|
3323
|
+
* Boolean expressions should not be gratuitous
|
|
3324
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-gratuitous-expressions.md
|
|
3325
|
+
*/
|
|
3326
|
+
'sonar/no-gratuitous-expressions'?: Linter.RuleEntry<SonarNoGratuitousExpressions>
|
|
3327
|
+
/**
|
|
3328
|
+
* Related "if-else-if" and "switch-case" statements should not have the same condition
|
|
3329
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-conditions.md
|
|
3330
|
+
*/
|
|
3331
|
+
'sonar/no-identical-conditions'?: Linter.RuleEntry<SonarNoIdenticalConditions>
|
|
3332
|
+
/**
|
|
3333
|
+
* Identical expressions should not be used on both sides of a binary operator
|
|
3334
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-expressions.md
|
|
3335
|
+
*/
|
|
3336
|
+
'sonar/no-identical-expressions'?: Linter.RuleEntry<SonarNoIdenticalExpressions>
|
|
3337
|
+
/**
|
|
3338
|
+
* Functions should not have identical implementations
|
|
3339
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-identical-functions.md
|
|
3340
|
+
*/
|
|
3341
|
+
'sonar/no-identical-functions'?: Linter.RuleEntry<SonarNoIdenticalFunctions>
|
|
3342
|
+
/**
|
|
3343
|
+
* Return values from functions without side effects should not be ignored
|
|
3344
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-ignored-return.md
|
|
3345
|
+
*/
|
|
3346
|
+
'sonar/no-ignored-return'?: Linter.RuleEntry<[]>
|
|
3347
|
+
/**
|
|
3348
|
+
* Boolean checks should not be inverted
|
|
3349
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-inverted-boolean-check.md
|
|
3350
|
+
*/
|
|
3351
|
+
'sonar/no-inverted-boolean-check'?: Linter.RuleEntry<[]>
|
|
3352
|
+
/**
|
|
3353
|
+
* "switch" statements should not be nested
|
|
3354
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-nested-switch.md
|
|
3355
|
+
*/
|
|
3356
|
+
'sonar/no-nested-switch'?: Linter.RuleEntry<[]>
|
|
3357
|
+
/**
|
|
3358
|
+
* Template literals should not be nested
|
|
3359
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-nested-template-literals.md
|
|
3360
|
+
*/
|
|
3361
|
+
'sonar/no-nested-template-literals'?: Linter.RuleEntry<[]>
|
|
3362
|
+
/**
|
|
3363
|
+
* Loops with at most one iteration should be refactored
|
|
3364
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-one-iteration-loop.md
|
|
3365
|
+
*/
|
|
3366
|
+
'sonar/no-one-iteration-loop'?: Linter.RuleEntry<[]>
|
|
3367
|
+
/**
|
|
3368
|
+
* Boolean literals should not be redundant
|
|
3369
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-redundant-boolean.md
|
|
3370
|
+
*/
|
|
3371
|
+
'sonar/no-redundant-boolean'?: Linter.RuleEntry<[]>
|
|
3372
|
+
/**
|
|
3373
|
+
* Jump statements should not be redundant
|
|
3374
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-redundant-jump.md
|
|
3375
|
+
*/
|
|
3376
|
+
'sonar/no-redundant-jump'?: Linter.RuleEntry<[]>
|
|
3377
|
+
/**
|
|
3378
|
+
* Conditionals should start on new lines
|
|
3379
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-same-line-conditional.md
|
|
3380
|
+
*/
|
|
3381
|
+
'sonar/no-same-line-conditional'?: Linter.RuleEntry<SonarNoSameLineConditional>
|
|
3382
|
+
/**
|
|
3383
|
+
* "switch" statements should have at least 3 "case" clauses
|
|
3384
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-small-switch.md
|
|
3385
|
+
*/
|
|
3386
|
+
'sonar/no-small-switch'?: Linter.RuleEntry<[]>
|
|
3387
|
+
/**
|
|
3388
|
+
* Collection and array contents should be used
|
|
3389
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-unused-collection.md
|
|
3390
|
+
*/
|
|
3391
|
+
'sonar/no-unused-collection'?: Linter.RuleEntry<[]>
|
|
3392
|
+
/**
|
|
3393
|
+
* The output of functions that don't return anything should not be used
|
|
3394
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-use-of-empty-return-value.md
|
|
3395
|
+
*/
|
|
3396
|
+
'sonar/no-use-of-empty-return-value'?: Linter.RuleEntry<[]>
|
|
3397
|
+
/**
|
|
3398
|
+
* "catch" clauses should do more than rethrow
|
|
3399
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/no-useless-catch.md
|
|
3400
|
+
*/
|
|
3401
|
+
'sonar/no-useless-catch'?: Linter.RuleEntry<[]>
|
|
3402
|
+
/**
|
|
3403
|
+
* Non-existent operators "=+", "=-" and "=!" should not be used
|
|
3404
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/non-existent-operator.md
|
|
3405
|
+
*/
|
|
3406
|
+
'sonar/non-existent-operator'?: Linter.RuleEntry<[]>
|
|
3407
|
+
/**
|
|
3408
|
+
* Local variables should not be declared and then immediately returned or thrown
|
|
3409
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-immediate-return.md
|
|
3410
|
+
*/
|
|
3411
|
+
'sonar/prefer-immediate-return'?: Linter.RuleEntry<[]>
|
|
3412
|
+
/**
|
|
3413
|
+
* Object literal syntax should be used
|
|
3414
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-object-literal.md
|
|
3415
|
+
*/
|
|
3416
|
+
'sonar/prefer-object-literal'?: Linter.RuleEntry<[]>
|
|
3417
|
+
/**
|
|
3418
|
+
* Return of boolean expressions should not be wrapped into an "if-then-else" statement
|
|
3419
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-single-boolean-return.md
|
|
3420
|
+
*/
|
|
3421
|
+
'sonar/prefer-single-boolean-return'?: Linter.RuleEntry<[]>
|
|
3422
|
+
/**
|
|
3423
|
+
* A "while" loop should be used instead of a "for" loop
|
|
3424
|
+
* @see https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/prefer-while.md
|
|
3425
|
+
*/
|
|
3426
|
+
'sonar/prefer-while'?: Linter.RuleEntry<[]>
|
|
2875
3427
|
/**
|
|
2876
3428
|
* Enforce sorted import declarations within modules
|
|
2877
3429
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
@@ -3496,6 +4048,11 @@ interface RuleOptions {
|
|
|
3496
4048
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
3497
4049
|
*/
|
|
3498
4050
|
'ts/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
|
|
4051
|
+
/**
|
|
4052
|
+
* Disallow unnecessary template expressions
|
|
4053
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
|
|
4054
|
+
*/
|
|
4055
|
+
'ts/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
|
|
3499
4056
|
/**
|
|
3500
4057
|
* Disallow type arguments that are equal to the default
|
|
3501
4058
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
@@ -3577,8 +4134,9 @@ interface RuleOptions {
|
|
|
3577
4134
|
*/
|
|
3578
4135
|
'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
3579
4136
|
/**
|
|
3580
|
-
* Disallow unnecessary template
|
|
4137
|
+
* Disallow unnecessary template expressions
|
|
3581
4138
|
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
4139
|
+
* @deprecated
|
|
3582
4140
|
*/
|
|
3583
4141
|
'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
3584
4142
|
/**
|
|
@@ -3726,7 +4284,7 @@ interface RuleOptions {
|
|
|
3726
4284
|
*/
|
|
3727
4285
|
'ts/require-array-sort-compare'?: Linter.RuleEntry<TsRequireArraySortCompare>
|
|
3728
4286
|
/**
|
|
3729
|
-
* Disallow async functions which have no `await` expression
|
|
4287
|
+
* Disallow async functions which do not return promises and have no `await` expression
|
|
3730
4288
|
* @see https://typescript-eslint.io/rules/require-await
|
|
3731
4289
|
*/
|
|
3732
4290
|
'ts/require-await'?: Linter.RuleEntry<[]>
|
|
@@ -4745,6 +5303,191 @@ type GeneratorStarSpacing = []|[(("before" | "after" | "both" | "neither") | {
|
|
|
4745
5303
|
type GetterReturn = []|[{
|
|
4746
5304
|
allowImplicit?: boolean
|
|
4747
5305
|
}]
|
|
5306
|
+
// ----- gql/alphabetize -----
|
|
5307
|
+
type GqlAlphabetize = [{
|
|
5308
|
+
|
|
5309
|
+
fields?: [("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"), ...(("ObjectTypeDefinition" | "InterfaceTypeDefinition" | "InputObjectTypeDefinition"))[]]
|
|
5310
|
+
|
|
5311
|
+
values?: ["EnumTypeDefinition", ...("EnumTypeDefinition")[]]
|
|
5312
|
+
|
|
5313
|
+
selections?: [("OperationDefinition" | "FragmentDefinition"), ...(("OperationDefinition" | "FragmentDefinition"))[]]
|
|
5314
|
+
|
|
5315
|
+
variables?: ["OperationDefinition", ...("OperationDefinition")[]]
|
|
5316
|
+
|
|
5317
|
+
arguments?: [("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"), ...(("FieldDefinition" | "Field" | "DirectiveDefinition" | "Directive"))[]]
|
|
5318
|
+
|
|
5319
|
+
definitions?: boolean
|
|
5320
|
+
|
|
5321
|
+
groups?: [string, string, ...(string)[]]
|
|
5322
|
+
}]
|
|
5323
|
+
// ----- gql/description-style -----
|
|
5324
|
+
type GqlDescriptionStyle = []|[{
|
|
5325
|
+
style?: ("block" | "inline")
|
|
5326
|
+
}]
|
|
5327
|
+
// ----- gql/input-name -----
|
|
5328
|
+
type GqlInputName = []|[{
|
|
5329
|
+
|
|
5330
|
+
checkInputType?: boolean
|
|
5331
|
+
|
|
5332
|
+
caseSensitiveInputType?: boolean
|
|
5333
|
+
|
|
5334
|
+
checkQueries?: boolean
|
|
5335
|
+
|
|
5336
|
+
checkMutations?: boolean
|
|
5337
|
+
}]
|
|
5338
|
+
// ----- gql/known-directives -----
|
|
5339
|
+
type GqlKnownDirectives = []|[{
|
|
5340
|
+
|
|
5341
|
+
ignoreClientDirectives: [string, ...(string)[]]
|
|
5342
|
+
}]
|
|
5343
|
+
// ----- gql/lone-executable-definition -----
|
|
5344
|
+
type GqlLoneExecutableDefinition = []|[{
|
|
5345
|
+
|
|
5346
|
+
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")]
|
|
5347
|
+
}]
|
|
5348
|
+
// ----- gql/match-document-filename -----
|
|
5349
|
+
type GqlMatchDocumentFilename = [{
|
|
5350
|
+
fileExtension?: (".gql" | ".graphql")
|
|
5351
|
+
query?: (_GqlMatchDocumentFilenameAsString | _GqlMatchDocumentFilename_AsObject)
|
|
5352
|
+
mutation?: (_GqlMatchDocumentFilenameAsString | _GqlMatchDocumentFilename_AsObject)
|
|
5353
|
+
subscription?: (_GqlMatchDocumentFilenameAsString | _GqlMatchDocumentFilename_AsObject)
|
|
5354
|
+
fragment?: (_GqlMatchDocumentFilenameAsString | _GqlMatchDocumentFilename_AsObject)
|
|
5355
|
+
}]
|
|
5356
|
+
type _GqlMatchDocumentFilenameAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
5357
|
+
interface _GqlMatchDocumentFilename_AsObject {
|
|
5358
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE" | "kebab-case" | "matchDocumentStyle")
|
|
5359
|
+
suffix?: string
|
|
5360
|
+
prefix?: string
|
|
5361
|
+
}
|
|
5362
|
+
// ----- gql/naming-convention -----
|
|
5363
|
+
type GqlNamingConvention = []|[{
|
|
5364
|
+
|
|
5365
|
+
types?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5366
|
+
|
|
5367
|
+
Argument?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5368
|
+
|
|
5369
|
+
DirectiveDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5370
|
+
|
|
5371
|
+
EnumTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5372
|
+
|
|
5373
|
+
EnumValueDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5374
|
+
|
|
5375
|
+
FieldDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5376
|
+
|
|
5377
|
+
FragmentDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5378
|
+
|
|
5379
|
+
InputObjectTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5380
|
+
|
|
5381
|
+
InputValueDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5382
|
+
|
|
5383
|
+
InterfaceTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5384
|
+
|
|
5385
|
+
ObjectTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5386
|
+
|
|
5387
|
+
OperationDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5388
|
+
|
|
5389
|
+
ScalarTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5390
|
+
|
|
5391
|
+
UnionTypeDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5392
|
+
|
|
5393
|
+
VariableDefinition?: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5394
|
+
allowLeadingUnderscore?: boolean
|
|
5395
|
+
allowTrailingUnderscore?: boolean
|
|
5396
|
+
[k: string]: (_GqlNamingConventionAsString | _GqlNamingConvention_AsObject)
|
|
5397
|
+
}]
|
|
5398
|
+
type _GqlNamingConventionAsString = ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
5399
|
+
interface _GqlNamingConvention_AsObject {
|
|
5400
|
+
style?: ("camelCase" | "PascalCase" | "snake_case" | "UPPER_CASE")
|
|
5401
|
+
prefix?: string
|
|
5402
|
+
suffix?: string
|
|
5403
|
+
|
|
5404
|
+
forbiddenPrefixes?: [string, ...(string)[]]
|
|
5405
|
+
|
|
5406
|
+
forbiddenSuffixes?: [string, ...(string)[]]
|
|
5407
|
+
|
|
5408
|
+
requiredPrefixes?: [string, ...(string)[]]
|
|
5409
|
+
|
|
5410
|
+
requiredSuffixes?: [string, ...(string)[]]
|
|
5411
|
+
|
|
5412
|
+
ignorePattern?: string
|
|
5413
|
+
}
|
|
5414
|
+
// ----- gql/no-root-type -----
|
|
5415
|
+
type GqlNoRootType = [{
|
|
5416
|
+
|
|
5417
|
+
disallow: [("mutation" | "subscription"), ...(("mutation" | "subscription"))[]]
|
|
5418
|
+
}]
|
|
5419
|
+
// ----- gql/relay-arguments -----
|
|
5420
|
+
type GqlRelayArguments = []|[{
|
|
5421
|
+
|
|
5422
|
+
includeBoth?: boolean
|
|
5423
|
+
}]
|
|
5424
|
+
// ----- gql/relay-edge-types -----
|
|
5425
|
+
type GqlRelayEdgeTypes = []|[{
|
|
5426
|
+
|
|
5427
|
+
withEdgeSuffix?: boolean
|
|
5428
|
+
|
|
5429
|
+
shouldImplementNode?: boolean
|
|
5430
|
+
|
|
5431
|
+
listTypeCanWrapOnlyEdgeType?: boolean
|
|
5432
|
+
}]
|
|
5433
|
+
// ----- gql/require-deprecation-date -----
|
|
5434
|
+
type GqlRequireDeprecationDate = []|[{
|
|
5435
|
+
argumentName?: string
|
|
5436
|
+
}]
|
|
5437
|
+
// ----- gql/require-description -----
|
|
5438
|
+
type GqlRequireDescription = [{
|
|
5439
|
+
|
|
5440
|
+
types?: boolean
|
|
5441
|
+
|
|
5442
|
+
rootField?: boolean
|
|
5443
|
+
|
|
5444
|
+
DirectiveDefinition?: boolean
|
|
5445
|
+
|
|
5446
|
+
EnumTypeDefinition?: boolean
|
|
5447
|
+
|
|
5448
|
+
EnumValueDefinition?: boolean
|
|
5449
|
+
|
|
5450
|
+
FieldDefinition?: boolean
|
|
5451
|
+
|
|
5452
|
+
InputObjectTypeDefinition?: boolean
|
|
5453
|
+
|
|
5454
|
+
InputValueDefinition?: boolean
|
|
5455
|
+
|
|
5456
|
+
InterfaceTypeDefinition?: boolean
|
|
5457
|
+
|
|
5458
|
+
ObjectTypeDefinition?: boolean
|
|
5459
|
+
|
|
5460
|
+
OperationDefinition?: boolean
|
|
5461
|
+
|
|
5462
|
+
ScalarTypeDefinition?: boolean
|
|
5463
|
+
|
|
5464
|
+
UnionTypeDefinition?: boolean
|
|
5465
|
+
}]
|
|
5466
|
+
// ----- gql/require-id-when-available -----
|
|
5467
|
+
type GqlRequireIdWhenAvailable = []|[{
|
|
5468
|
+
fieldName?: (_GqlRequireIdWhenAvailableAsString | _GqlRequireIdWhenAvailable_AsArray)
|
|
5469
|
+
}]
|
|
5470
|
+
type _GqlRequireIdWhenAvailableAsString = string
|
|
5471
|
+
type _GqlRequireIdWhenAvailable_AsArray = [string, ...(string)[]]
|
|
5472
|
+
// ----- gql/selection-set-depth -----
|
|
5473
|
+
type GqlSelectionSetDepth = [{
|
|
5474
|
+
maxDepth: number
|
|
5475
|
+
|
|
5476
|
+
ignore?: [string, ...(string)[]]
|
|
5477
|
+
}]
|
|
5478
|
+
// ----- gql/strict-id-in-types -----
|
|
5479
|
+
type GqlStrictIdInTypes = []|[{
|
|
5480
|
+
|
|
5481
|
+
acceptedIdNames?: [string, ...(string)[]]
|
|
5482
|
+
|
|
5483
|
+
acceptedIdTypes?: [string, ...(string)[]]
|
|
5484
|
+
exceptions?: {
|
|
5485
|
+
|
|
5486
|
+
types?: [string, ...(string)[]]
|
|
5487
|
+
|
|
5488
|
+
suffixes?: [string, ...(string)[]]
|
|
5489
|
+
}
|
|
5490
|
+
}]
|
|
4748
5491
|
// ----- grouped-accessor-pairs -----
|
|
4749
5492
|
type GroupedAccessorPairs = []|[("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
4750
5493
|
// ----- handle-callback-err -----
|
|
@@ -6365,7 +7108,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
6365
7108
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
6366
7109
|
version?: string
|
|
6367
7110
|
allowExperimental?: boolean
|
|
6368
|
-
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.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")[]
|
|
7111
|
+
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")[]
|
|
6369
7112
|
}]
|
|
6370
7113
|
// ----- node/prefer-global/buffer -----
|
|
6371
7114
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -6568,6 +7311,10 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
6568
7311
|
})]
|
|
6569
7312
|
// ----- radix -----
|
|
6570
7313
|
type Radix = []|[("always" | "as-needed")]
|
|
7314
|
+
// ----- react-compiler/react-compiler -----
|
|
7315
|
+
type ReactCompilerReactCompiler = []|[{
|
|
7316
|
+
[k: string]: unknown | undefined
|
|
7317
|
+
}]
|
|
6571
7318
|
// ----- react-hooks/exhaustive-deps -----
|
|
6572
7319
|
type ReactHooksExhaustiveDeps = []|[{
|
|
6573
7320
|
additionalHooks?: string
|
|
@@ -7036,6 +7783,38 @@ type SemiSpacing = []|[{
|
|
|
7036
7783
|
}]
|
|
7037
7784
|
// ----- semi-style -----
|
|
7038
7785
|
type SemiStyle = []|[("last" | "first")]
|
|
7786
|
+
// ----- sonar/cognitive-complexity -----
|
|
7787
|
+
type SonarCognitiveComplexity = []|[number]|[number, ("sonar-runtime" | "metric")]
|
|
7788
|
+
// ----- sonar/max-switch-cases -----
|
|
7789
|
+
type SonarMaxSwitchCases = []|[number]
|
|
7790
|
+
// ----- sonar/no-collapsible-if -----
|
|
7791
|
+
type SonarNoCollapsibleIf = []|["sonar-runtime"]
|
|
7792
|
+
// ----- sonar/no-duplicate-string -----
|
|
7793
|
+
type SonarNoDuplicateString = []|[{
|
|
7794
|
+
threshold?: number
|
|
7795
|
+
ignoreStrings?: string
|
|
7796
|
+
[k: string]: unknown | undefined
|
|
7797
|
+
}]|[{
|
|
7798
|
+
threshold?: number
|
|
7799
|
+
ignoreStrings?: string
|
|
7800
|
+
[k: string]: unknown | undefined
|
|
7801
|
+
}, "sonar-runtime"]
|
|
7802
|
+
// ----- sonar/no-duplicated-branches -----
|
|
7803
|
+
type SonarNoDuplicatedBranches = []|["sonar-runtime"]
|
|
7804
|
+
// ----- sonar/no-element-overwrite -----
|
|
7805
|
+
type SonarNoElementOverwrite = []|["sonar-runtime"]
|
|
7806
|
+
// ----- sonar/no-extra-arguments -----
|
|
7807
|
+
type SonarNoExtraArguments = []|["sonar-runtime"]
|
|
7808
|
+
// ----- sonar/no-gratuitous-expressions -----
|
|
7809
|
+
type SonarNoGratuitousExpressions = []|["sonar-runtime"]
|
|
7810
|
+
// ----- sonar/no-identical-conditions -----
|
|
7811
|
+
type SonarNoIdenticalConditions = []|["sonar-runtime"]
|
|
7812
|
+
// ----- sonar/no-identical-expressions -----
|
|
7813
|
+
type SonarNoIdenticalExpressions = []|["sonar-runtime"]
|
|
7814
|
+
// ----- sonar/no-identical-functions -----
|
|
7815
|
+
type SonarNoIdenticalFunctions = []|[number]|[number, "sonar-runtime"]
|
|
7816
|
+
// ----- sonar/no-same-line-conditional -----
|
|
7817
|
+
type SonarNoSameLineConditional = []|["sonar-runtime"]
|
|
7039
7818
|
// ----- sort-imports -----
|
|
7040
7819
|
type SortImports = []|[{
|
|
7041
7820
|
ignoreCase?: boolean
|
|
@@ -8217,6 +8996,18 @@ type TsNoFloatingPromises = []|[{
|
|
|
8217
8996
|
ignoreVoid?: boolean
|
|
8218
8997
|
|
|
8219
8998
|
ignoreIIFE?: boolean
|
|
8999
|
+
allowForKnownSafePromises?: (string | {
|
|
9000
|
+
from: "file"
|
|
9001
|
+
name: (string | [string, ...(string)[]])
|
|
9002
|
+
path?: string
|
|
9003
|
+
} | {
|
|
9004
|
+
from: "lib"
|
|
9005
|
+
name: (string | [string, ...(string)[]])
|
|
9006
|
+
} | {
|
|
9007
|
+
from: "package"
|
|
9008
|
+
name: (string | [string, ...(string)[]])
|
|
9009
|
+
package: string
|
|
9010
|
+
})[]
|
|
8220
9011
|
}]
|
|
8221
9012
|
// ----- ts/no-inferrable-types -----
|
|
8222
9013
|
type TsNoInferrableTypes = []|[{
|
|
@@ -8904,7 +9695,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
8904
9695
|
onlyEquality?: boolean
|
|
8905
9696
|
}]
|
|
8906
9697
|
// Names of all the configs
|
|
8907
|
-
type ConfigNames = '2digits:comments' | '2digits:ignores' | '2digits:gitignore' | '2digits:javascript' | '2digits:jsdoc' | '2digits:next/setup' | '2digits:next/rules' | '2digits:node' | '2digits:prettier' | '2digits:react/setup' | '2digits:react/rules' | '2digits:storybook/setup' | '2digits:storybook/rules' | '2digits:storybook/disables' | '2digits:storybook/config' | '2digits:tailwind' | '2digits:tanstack' | '2digits:turbo' | '2digits:typescript/setup' | '2digits:typescript/rules' | '2digits:typescript/disables/dts' | '2digits:typescript/disables/test' | '2digits:typescript/disables/cjs' | '2digits:unicorn'
|
|
9698
|
+
type ConfigNames = '2digits:comments' | '2digits:graphql' | '2digits:ignores' | '2digits:gitignore' | '2digits:javascript' | '2digits:jsdoc' | '2digits:next/setup' | '2digits:next/rules' | '2digits:node' | '2digits:prettier' | '2digits:react/setup' | '2digits:react/rules' | '2digits:sonar' | '2digits:storybook/setup' | '2digits:storybook/rules' | '2digits:storybook/disables' | '2digits:storybook/config' | '2digits:tailwind' | '2digits:tanstack' | '2digits:turbo' | '2digits:typescript/setup' | '2digits:typescript/rules' | '2digits:typescript/disables/dts' | '2digits:typescript/disables/test' | '2digits:typescript/disables/cjs' | '2digits:unicorn'
|
|
8908
9699
|
|
|
8909
9700
|
type Rules = RuleOptions;
|
|
8910
9701
|
interface TypedFlatConfigItem extends Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, 'plugins' | 'languageOptions'> {
|
|
@@ -8949,10 +9740,26 @@ interface OptionsWithStorybook extends OptionsWithFiles {
|
|
|
8949
9740
|
*/
|
|
8950
9741
|
storybookDirectory?: string;
|
|
8951
9742
|
}
|
|
9743
|
+
interface OptionsWithReact extends OptionsWithFiles {
|
|
9744
|
+
/**
|
|
9745
|
+
* Enable the react-compiler plugin.
|
|
9746
|
+
*
|
|
9747
|
+
* @default true
|
|
9748
|
+
*/
|
|
9749
|
+
reactCompiler?: boolean;
|
|
9750
|
+
}
|
|
9751
|
+
interface OptionsWithIgnores {
|
|
9752
|
+
/** Options to pass to eslint-config-flat-gitignore */
|
|
9753
|
+
gitIgnore?: Omit<FlatGitignoreOptions, 'name' | 'root'>;
|
|
9754
|
+
/** An array of glob patterns to ignore in addition to the default ignores. */
|
|
9755
|
+
ignores?: string[];
|
|
9756
|
+
}
|
|
8952
9757
|
|
|
8953
9758
|
declare function comments(): TypedFlatConfigItem[];
|
|
8954
9759
|
|
|
8955
|
-
declare function
|
|
9760
|
+
declare function graphql(options?: OptionsWithFiles): Promise<TypedFlatConfigItem[]>;
|
|
9761
|
+
|
|
9762
|
+
declare function ignores(options?: OptionsWithIgnores): Promise<TypedFlatConfigItem[]>;
|
|
8956
9763
|
|
|
8957
9764
|
declare function javascript(options?: OptionsOverrides): TypedFlatConfigItem[];
|
|
8958
9765
|
|
|
@@ -8964,7 +9771,9 @@ declare function node(): TypedFlatConfigItem[];
|
|
|
8964
9771
|
|
|
8965
9772
|
declare function prettier(): Promise<TypedFlatConfigItem[]>;
|
|
8966
9773
|
|
|
8967
|
-
declare function react(options?:
|
|
9774
|
+
declare function react(options?: OptionsWithReact & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
9775
|
+
|
|
9776
|
+
declare function sonar(): TypedFlatConfigItem[];
|
|
8968
9777
|
|
|
8969
9778
|
declare function storybook(options?: OptionsWithStorybook & OptionsTypeScriptWithTypes): Promise<TypedFlatConfigItem[]>;
|
|
8970
9779
|
|
|
@@ -8982,11 +9791,12 @@ type SharedOptions<T = unknown> = T & {
|
|
|
8982
9791
|
enable?: boolean;
|
|
8983
9792
|
};
|
|
8984
9793
|
interface ESLint2DigitsOptions {
|
|
8985
|
-
ignores?:
|
|
9794
|
+
ignores?: OptionsWithIgnores;
|
|
8986
9795
|
turbo?: SharedOptions<OptionsOverrides> | boolean;
|
|
8987
9796
|
js?: OptionsOverrides;
|
|
8988
9797
|
ts?: SharedOptions<OptionsTypeScriptWithTypes> | boolean;
|
|
8989
|
-
|
|
9798
|
+
graphql?: SharedOptions<OptionsWithFiles> | boolean;
|
|
9799
|
+
react?: SharedOptions<OptionsWithReact> | boolean;
|
|
8990
9800
|
next?: SharedOptions<OptionsWithFiles> | boolean;
|
|
8991
9801
|
tailwind?: SharedOptions<OptionsOverrides> | boolean;
|
|
8992
9802
|
storybook?: SharedOptions<OptionsWithStorybook> | boolean;
|
|
@@ -8994,4 +9804,4 @@ interface ESLint2DigitsOptions {
|
|
|
8994
9804
|
}
|
|
8995
9805
|
declare function twoDigits(options?: ESLint2DigitsOptions, ...userConfig: TypedFlatConfigItem[]): Promise<TypedFlatConfigItem[]>;
|
|
8996
9806
|
|
|
8997
|
-
export { type ConfigNames, type OptionsOverrides, type OptionsTypeScriptWithTypes, type OptionsWithFiles, type OptionsWithStorybook, type Rules, type TypedFlatConfigItem, comments, twoDigits as default, ignores, javascript, jsdoc, next, node, prettier, react, storybook, tailwind, tanstack, turbo, twoDigits, typescript, unicorn };
|
|
9807
|
+
export { type ConfigNames, type OptionsOverrides, type OptionsTypeScriptWithTypes, type OptionsWithFiles, type OptionsWithIgnores, type OptionsWithReact, type OptionsWithStorybook, type Rules, type TypedFlatConfigItem, comments, twoDigits as default, graphql, ignores, javascript, jsdoc, next, node, prettier, react, sonar, storybook, tailwind, tanstack, turbo, twoDigits, typescript, unicorn };
|