@jsse/eslint-config 0.4.12 → 0.4.15
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/CHANGELOG.md +18 -0
- package/dist/{chunk-CkHaCily.js → chunk-Bb8Gnt67.js} +3 -1
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +1 -1
- package/dist/index.d.ts +378 -216
- package/dist/index.js +15 -8
- package/dist/{version-BbraMghN.js → version-B9AHBY3B.js} +1 -1
- package/package.json +25 -26
package/dist/index.d.ts
CHANGED
|
@@ -1392,6 +1392,11 @@ interface BuiltinsRuleOptions {
|
|
|
1392
1392
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
1393
1393
|
*/
|
|
1394
1394
|
"prefer-template"?: Linter.RuleEntry<[]>;
|
|
1395
|
+
/**
|
|
1396
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
1397
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
1398
|
+
*/
|
|
1399
|
+
"preserve-caught-error"?: Linter.RuleEntry<PreserveCaughtError>;
|
|
1395
1400
|
/**
|
|
1396
1401
|
* Require quotes around object literal property names
|
|
1397
1402
|
* @see https://eslint.org/docs/latest/rules/quote-props
|
|
@@ -1576,7 +1581,6 @@ interface BuiltinsRuleOptions {
|
|
|
1576
1581
|
*/
|
|
1577
1582
|
yoda?: Linter.RuleEntry<Yoda>;
|
|
1578
1583
|
}
|
|
1579
|
-
|
|
1580
1584
|
/* ======= Declarations ======= */
|
|
1581
1585
|
// ----- accessor-pairs -----
|
|
1582
1586
|
type AccessorPairs = [] | [{
|
|
@@ -2919,6 +2923,10 @@ type PreferReflect = [] | [{
|
|
|
2919
2923
|
type PreferRegexLiterals = [] | [{
|
|
2920
2924
|
disallowRedundantWrapping?: boolean;
|
|
2921
2925
|
}];
|
|
2926
|
+
// ----- preserve-caught-error -----
|
|
2927
|
+
type PreserveCaughtError = [] | [{
|
|
2928
|
+
requireCatchParameter?: boolean;
|
|
2929
|
+
}];
|
|
2922
2930
|
// ----- quote-props -----
|
|
2923
2931
|
type QuoteProps = [] | ["always" | "as-needed" | "consistent" | "consistent-as-needed"] | [] | ["always" | "as-needed" | "consistent" | "consistent-as-needed"] | ["always" | "as-needed" | "consistent" | "consistent-as-needed", {
|
|
2924
2932
|
keywords?: boolean;
|
|
@@ -3113,7 +3121,6 @@ interface AntfuRuleOptions {
|
|
|
3113
3121
|
*/
|
|
3114
3122
|
"antfu/top-level-function"?: Linter.RuleEntry<[]>;
|
|
3115
3123
|
}
|
|
3116
|
-
|
|
3117
3124
|
/* ======= Declarations ======= */
|
|
3118
3125
|
// ----- antfu/consistent-chaining -----
|
|
3119
3126
|
type AntfuConsistentChaining = [] | [{
|
|
@@ -3156,8 +3163,6 @@ interface CommandRuleOptions {
|
|
|
3156
3163
|
*/
|
|
3157
3164
|
"command/command"?: Linter.RuleEntry<[]>;
|
|
3158
3165
|
}
|
|
3159
|
-
|
|
3160
|
-
/* ======= Declarations ======= */
|
|
3161
3166
|
//#endregion
|
|
3162
3167
|
//#region src/generated/dts/de-morgan.d.ts
|
|
3163
3168
|
interface DeMorganRuleOptions {
|
|
@@ -3172,8 +3177,6 @@ interface DeMorganRuleOptions {
|
|
|
3172
3177
|
*/
|
|
3173
3178
|
"de-morgan/no-negated-disjunction"?: Linter.RuleEntry<[]>;
|
|
3174
3179
|
}
|
|
3175
|
-
|
|
3176
|
-
/* ======= Declarations ======= */
|
|
3177
3180
|
//#endregion
|
|
3178
3181
|
//#region src/generated/dts/eslint-comments.d.ts
|
|
3179
3182
|
interface EslintCommentsRuleOptions {
|
|
@@ -3223,7 +3226,6 @@ interface EslintCommentsRuleOptions {
|
|
|
3223
3226
|
*/
|
|
3224
3227
|
"eslint-comments/require-description"?: Linter.RuleEntry<EslintCommentsRequireDescription>;
|
|
3225
3228
|
}
|
|
3226
|
-
|
|
3227
3229
|
/* ======= Declarations ======= */
|
|
3228
3230
|
// ----- eslint-comments/disable-enable-pair -----
|
|
3229
3231
|
type EslintCommentsDisableEnablePair = [] | [{
|
|
@@ -3242,8 +3244,6 @@ type EslintCommentsRequireDescription = [] | [{
|
|
|
3242
3244
|
//#endregion
|
|
3243
3245
|
//#region src/generated/dts/ignores.d.ts
|
|
3244
3246
|
interface IgnoresRuleOptions {}
|
|
3245
|
-
|
|
3246
|
-
/* ======= Declarations ======= */
|
|
3247
3247
|
//#endregion
|
|
3248
3248
|
//#region src/generated/dts/imports.d.ts
|
|
3249
3249
|
interface ImportsRuleOptions {
|
|
@@ -3283,7 +3283,6 @@ interface ImportsRuleOptions {
|
|
|
3283
3283
|
*/
|
|
3284
3284
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
3285
3285
|
}
|
|
3286
|
-
|
|
3287
3286
|
/* ======= Declarations ======= */
|
|
3288
3287
|
// ----- import/consistent-type-specifier-style -----
|
|
3289
3288
|
type ImportConsistentTypeSpecifierStyle$1 = [] | ["top-level" | "inline" | "prefer-top-level"];
|
|
@@ -3313,7 +3312,6 @@ interface JavascriptRuleOptions {
|
|
|
3313
3312
|
*/
|
|
3314
3313
|
"unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
|
|
3315
3314
|
}
|
|
3316
|
-
|
|
3317
3315
|
/* ======= Declarations ======= */
|
|
3318
3316
|
// ----- unused-imports/no-unused-imports -----
|
|
3319
3317
|
type UnusedImportsNoUnusedImports = [] | [("all" | "local") | {
|
|
@@ -3353,9 +3351,9 @@ interface JsdocRuleOptions {
|
|
|
3353
3351
|
* Reports invalid alignment of JSDoc block asterisks.
|
|
3354
3352
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-alignment.md#repos-sticky-header
|
|
3355
3353
|
*/
|
|
3356
|
-
"jsdoc/check-alignment"?: Linter.RuleEntry<
|
|
3354
|
+
"jsdoc/check-alignment"?: Linter.RuleEntry<JsdocCheckAlignment>;
|
|
3357
3355
|
/**
|
|
3358
|
-
*
|
|
3356
|
+
* @deprecated - Use `getJsdocProcessorPlugin` processor; ensures that (JavaScript) samples within `@example` tags adhere to ESLint rules.
|
|
3359
3357
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-examples.md#repos-sticky-header
|
|
3360
3358
|
*/
|
|
3361
3359
|
"jsdoc/check-examples"?: Linter.RuleEntry<JsdocCheckExamples>;
|
|
@@ -3370,7 +3368,7 @@ interface JsdocRuleOptions {
|
|
|
3370
3368
|
*/
|
|
3371
3369
|
"jsdoc/check-line-alignment"?: Linter.RuleEntry<JsdocCheckLineAlignment>;
|
|
3372
3370
|
/**
|
|
3373
|
-
*
|
|
3371
|
+
* Checks for dupe `@param` names, that nested param names have roots, and that parameter names in function declarations match JSDoc param names.
|
|
3374
3372
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-param-names.md#repos-sticky-header
|
|
3375
3373
|
*/
|
|
3376
3374
|
"jsdoc/check-param-names"?: Linter.RuleEntry<JsdocCheckParamNames>;
|
|
@@ -3395,7 +3393,7 @@ interface JsdocRuleOptions {
|
|
|
3395
3393
|
*/
|
|
3396
3394
|
"jsdoc/check-template-names"?: Linter.RuleEntry<[]>;
|
|
3397
3395
|
/**
|
|
3398
|
-
* Reports invalid
|
|
3396
|
+
* Reports types deemed invalid (customizable and with defaults, for preventing and/or recommending replacements).
|
|
3399
3397
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
3400
3398
|
*/
|
|
3401
3399
|
"jsdoc/check-types"?: Linter.RuleEntry<JsdocCheckTypes>;
|
|
@@ -3410,12 +3408,12 @@ interface JsdocRuleOptions {
|
|
|
3410
3408
|
*/
|
|
3411
3409
|
"jsdoc/convert-to-jsdoc-comments"?: Linter.RuleEntry<JsdocConvertToJsdocComments>;
|
|
3412
3410
|
/**
|
|
3413
|
-
*
|
|
3411
|
+
* Checks tags that are expected to be empty (e.g., `@abstract` or `@async`), reporting if they have content
|
|
3414
3412
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
3415
3413
|
*/
|
|
3416
3414
|
"jsdoc/empty-tags"?: Linter.RuleEntry<JsdocEmptyTags>;
|
|
3417
3415
|
/**
|
|
3418
|
-
*
|
|
3416
|
+
* Prohibits use of `@implements` on non-constructor functions (to enforce the tag only being used on classes/constructors).
|
|
3419
3417
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/implements-on-classes.md#repos-sticky-header
|
|
3420
3418
|
*/
|
|
3421
3419
|
"jsdoc/implements-on-classes"?: Linter.RuleEntry<JsdocImplementsOnClasses>;
|
|
@@ -3445,17 +3443,17 @@ interface JsdocRuleOptions {
|
|
|
3445
3443
|
*/
|
|
3446
3444
|
"jsdoc/match-name"?: Linter.RuleEntry<JsdocMatchName>;
|
|
3447
3445
|
/**
|
|
3448
|
-
* Controls how and whether
|
|
3446
|
+
* Controls how and whether JSDoc blocks can be expressed as single or multiple line blocks.
|
|
3449
3447
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/multiline-blocks.md#repos-sticky-header
|
|
3450
3448
|
*/
|
|
3451
3449
|
"jsdoc/multiline-blocks"?: Linter.RuleEntry<JsdocMultilineBlocks>;
|
|
3452
3450
|
/**
|
|
3453
|
-
* This rule checks for multi-line-style comments which fail to meet the criteria of a
|
|
3451
|
+
* This rule checks for multi-line-style comments which fail to meet the criteria of a JSDoc block.
|
|
3454
3452
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-bad-blocks.md#repos-sticky-header
|
|
3455
3453
|
*/
|
|
3456
3454
|
"jsdoc/no-bad-blocks"?: Linter.RuleEntry<JsdocNoBadBlocks>;
|
|
3457
3455
|
/**
|
|
3458
|
-
*
|
|
3456
|
+
* If tags are present, this rule will prevent empty lines in the block description. If no tags are present, this rule will prevent extra empty lines in the block description.
|
|
3459
3457
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-blank-block-descriptions.md#repos-sticky-header
|
|
3460
3458
|
*/
|
|
3461
3459
|
"jsdoc/no-blank-block-descriptions"?: Linter.RuleEntry<[]>;
|
|
@@ -3485,22 +3483,37 @@ interface JsdocRuleOptions {
|
|
|
3485
3483
|
*/
|
|
3486
3484
|
"jsdoc/no-restricted-syntax"?: Linter.RuleEntry<JsdocNoRestrictedSyntax>;
|
|
3487
3485
|
/**
|
|
3488
|
-
* This rule reports types being used on `@param` or `@returns
|
|
3486
|
+
* This rule reports types being used on `@param` or `@returns` (redundant with TypeScript).
|
|
3489
3487
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-types.md#repos-sticky-header
|
|
3490
3488
|
*/
|
|
3491
3489
|
"jsdoc/no-types"?: Linter.RuleEntry<JsdocNoTypes>;
|
|
3492
3490
|
/**
|
|
3493
|
-
*
|
|
3491
|
+
* Besides some expected built-in types, prohibits any types not specified as globals or within `@typedef`.
|
|
3494
3492
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-undefined-types.md#repos-sticky-header
|
|
3495
3493
|
*/
|
|
3496
3494
|
"jsdoc/no-undefined-types"?: Linter.RuleEntry<JsdocNoUndefinedTypes>;
|
|
3495
|
+
/**
|
|
3496
|
+
* Prefer `@import` tags to inline `import()` statements.
|
|
3497
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/prefer-import-tag.md#repos-sticky-header
|
|
3498
|
+
*/
|
|
3499
|
+
"jsdoc/prefer-import-tag"?: Linter.RuleEntry<JsdocPreferImportTag>;
|
|
3500
|
+
/**
|
|
3501
|
+
* Reports use of `any` or `*` type
|
|
3502
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-any-type.md#repos-sticky-header
|
|
3503
|
+
*/
|
|
3504
|
+
"jsdoc/reject-any-type"?: Linter.RuleEntry<[]>;
|
|
3505
|
+
/**
|
|
3506
|
+
* Reports use of `Function` type
|
|
3507
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/reject-function-type.md#repos-sticky-header
|
|
3508
|
+
*/
|
|
3509
|
+
"jsdoc/reject-function-type"?: Linter.RuleEntry<[]>;
|
|
3497
3510
|
/**
|
|
3498
3511
|
* Requires that each JSDoc line starts with an `*`.
|
|
3499
3512
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-asterisk-prefix.md#repos-sticky-header
|
|
3500
3513
|
*/
|
|
3501
3514
|
"jsdoc/require-asterisk-prefix"?: Linter.RuleEntry<JsdocRequireAsteriskPrefix>;
|
|
3502
3515
|
/**
|
|
3503
|
-
* Requires that all functions have a description.
|
|
3516
|
+
* Requires that all functions (and potentially other contexts) have a description.
|
|
3504
3517
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-description.md#repos-sticky-header
|
|
3505
3518
|
*/
|
|
3506
3519
|
"jsdoc/require-description"?: Linter.RuleEntry<JsdocRequireDescription>;
|
|
@@ -3510,7 +3523,7 @@ interface JsdocRuleOptions {
|
|
|
3510
3523
|
*/
|
|
3511
3524
|
"jsdoc/require-description-complete-sentence"?: Linter.RuleEntry<JsdocRequireDescriptionCompleteSentence>;
|
|
3512
3525
|
/**
|
|
3513
|
-
* Requires that all functions have examples.
|
|
3526
|
+
* Requires that all functions (and potentially other contexts) have examples.
|
|
3514
3527
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-example.md#repos-sticky-header
|
|
3515
3528
|
*/
|
|
3516
3529
|
"jsdoc/require-example"?: Linter.RuleEntry<JsdocRequireExample>;
|
|
@@ -3520,17 +3533,27 @@ interface JsdocRuleOptions {
|
|
|
3520
3533
|
*/
|
|
3521
3534
|
"jsdoc/require-file-overview"?: Linter.RuleEntry<JsdocRequireFileOverview>;
|
|
3522
3535
|
/**
|
|
3523
|
-
* Requires a hyphen before the `@param` description.
|
|
3536
|
+
* Requires a hyphen before the `@param` description (and optionally before `@property` descriptions).
|
|
3524
3537
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-hyphen-before-param-description.md#repos-sticky-header
|
|
3525
3538
|
*/
|
|
3526
3539
|
"jsdoc/require-hyphen-before-param-description"?: Linter.RuleEntry<JsdocRequireHyphenBeforeParamDescription>;
|
|
3527
3540
|
/**
|
|
3528
|
-
*
|
|
3541
|
+
* Checks for presence of JSDoc comments, on functions and potentially other contexts (optionally limited to exports).
|
|
3529
3542
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-jsdoc.md#repos-sticky-header
|
|
3530
3543
|
*/
|
|
3531
3544
|
"jsdoc/require-jsdoc"?: Linter.RuleEntry<JsdocRequireJsdoc>;
|
|
3532
3545
|
/**
|
|
3533
|
-
* Requires
|
|
3546
|
+
* Requires a description for `@next` tags
|
|
3547
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-description.md#repos-sticky-header
|
|
3548
|
+
*/
|
|
3549
|
+
"jsdoc/require-next-description"?: Linter.RuleEntry<[]>;
|
|
3550
|
+
/**
|
|
3551
|
+
* Requires a type for `@next` tags
|
|
3552
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-next-type.md#repos-sticky-header
|
|
3553
|
+
*/
|
|
3554
|
+
"jsdoc/require-next-type"?: Linter.RuleEntry<[]>;
|
|
3555
|
+
/**
|
|
3556
|
+
* Requires that all function parameters are documented with a `@param` tag.
|
|
3534
3557
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param.md#repos-sticky-header
|
|
3535
3558
|
*/
|
|
3536
3559
|
"jsdoc/require-param"?: Linter.RuleEntry<JsdocRequireParam>;
|
|
@@ -3540,12 +3563,12 @@ interface JsdocRuleOptions {
|
|
|
3540
3563
|
*/
|
|
3541
3564
|
"jsdoc/require-param-description"?: Linter.RuleEntry<JsdocRequireParamDescription>;
|
|
3542
3565
|
/**
|
|
3543
|
-
* Requires that all
|
|
3566
|
+
* Requires that all `@param` tags have names.
|
|
3544
3567
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-name.md#repos-sticky-header
|
|
3545
3568
|
*/
|
|
3546
3569
|
"jsdoc/require-param-name"?: Linter.RuleEntry<JsdocRequireParamName>;
|
|
3547
3570
|
/**
|
|
3548
|
-
* Requires that each `@param` tag has a
|
|
3571
|
+
* Requires that each `@param` tag has a type value (in curly brackets).
|
|
3549
3572
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-param-type.md#repos-sticky-header
|
|
3550
3573
|
*/
|
|
3551
3574
|
"jsdoc/require-param-type"?: Linter.RuleEntry<JsdocRequireParamType>;
|
|
@@ -3560,62 +3583,92 @@ interface JsdocRuleOptions {
|
|
|
3560
3583
|
*/
|
|
3561
3584
|
"jsdoc/require-property-description"?: Linter.RuleEntry<[]>;
|
|
3562
3585
|
/**
|
|
3563
|
-
* Requires that all
|
|
3586
|
+
* Requires that all `@property` tags have names.
|
|
3564
3587
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-name.md#repos-sticky-header
|
|
3565
3588
|
*/
|
|
3566
3589
|
"jsdoc/require-property-name"?: Linter.RuleEntry<[]>;
|
|
3567
3590
|
/**
|
|
3568
|
-
* Requires that each `@property` tag has a
|
|
3591
|
+
* Requires that each `@property` tag has a type value (in curly brackets).
|
|
3569
3592
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
3570
3593
|
*/
|
|
3571
3594
|
"jsdoc/require-property-type"?: Linter.RuleEntry<[]>;
|
|
3572
3595
|
/**
|
|
3573
|
-
* Requires that returns are documented
|
|
3596
|
+
* Requires that returns are documented with `@returns`.
|
|
3574
3597
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
3575
3598
|
*/
|
|
3576
3599
|
"jsdoc/require-returns"?: Linter.RuleEntry<JsdocRequireReturns>;
|
|
3577
3600
|
/**
|
|
3578
|
-
* Requires a return statement in function body if a `@returns` tag is specified in
|
|
3601
|
+
* Requires a return statement in function body if a `@returns` tag is specified in JSDoc comment(and reports if multiple `@returns` tags are present).
|
|
3579
3602
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-check.md#repos-sticky-header
|
|
3580
3603
|
*/
|
|
3581
3604
|
"jsdoc/require-returns-check"?: Linter.RuleEntry<JsdocRequireReturnsCheck>;
|
|
3582
3605
|
/**
|
|
3583
|
-
* Requires that the `@returns` tag has a `description` value.
|
|
3606
|
+
* Requires that the `@returns` tag has a `description` value (not including `void`/`undefined` type returns).
|
|
3584
3607
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-description.md#repos-sticky-header
|
|
3585
3608
|
*/
|
|
3586
3609
|
"jsdoc/require-returns-description"?: Linter.RuleEntry<JsdocRequireReturnsDescription>;
|
|
3587
3610
|
/**
|
|
3588
|
-
* Requires that `@returns` tag has
|
|
3611
|
+
* Requires that `@returns` tag has type value (in curly brackets).
|
|
3589
3612
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
3590
3613
|
*/
|
|
3591
3614
|
"jsdoc/require-returns-type"?: Linter.RuleEntry<JsdocRequireReturnsType>;
|
|
3592
3615
|
/**
|
|
3593
|
-
* Requires
|
|
3616
|
+
* Requires tags be present, optionally for specific contexts
|
|
3617
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-tags.md#repos-sticky-header
|
|
3618
|
+
*/
|
|
3619
|
+
"jsdoc/require-tags"?: Linter.RuleEntry<JsdocRequireTags>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Requires `@template` tags be present when type parameters are used.
|
|
3594
3622
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
3595
3623
|
*/
|
|
3596
3624
|
"jsdoc/require-template"?: Linter.RuleEntry<JsdocRequireTemplate>;
|
|
3597
3625
|
/**
|
|
3598
|
-
* Requires
|
|
3626
|
+
* Requires a description for `@template` tags
|
|
3627
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template-description.md#repos-sticky-header
|
|
3628
|
+
*/
|
|
3629
|
+
"jsdoc/require-template-description"?: Linter.RuleEntry<[]>;
|
|
3630
|
+
/**
|
|
3631
|
+
* Requires that throw statements are documented with `@throws` tags.
|
|
3599
3632
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
3600
3633
|
*/
|
|
3601
3634
|
"jsdoc/require-throws"?: Linter.RuleEntry<JsdocRequireThrows>;
|
|
3602
3635
|
/**
|
|
3603
|
-
* Requires
|
|
3636
|
+
* Requires a description for `@throws` tags
|
|
3637
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-description.md#repos-sticky-header
|
|
3638
|
+
*/
|
|
3639
|
+
"jsdoc/require-throws-description"?: Linter.RuleEntry<[]>;
|
|
3640
|
+
/**
|
|
3641
|
+
* Requires a type for `@throws` tags
|
|
3642
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws-type.md#repos-sticky-header
|
|
3643
|
+
*/
|
|
3644
|
+
"jsdoc/require-throws-type"?: Linter.RuleEntry<[]>;
|
|
3645
|
+
/**
|
|
3646
|
+
* Requires yields are documented with `@yields` tags.
|
|
3604
3647
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields.md#repos-sticky-header
|
|
3605
3648
|
*/
|
|
3606
3649
|
"jsdoc/require-yields"?: Linter.RuleEntry<JsdocRequireYields>;
|
|
3607
3650
|
/**
|
|
3608
|
-
*
|
|
3651
|
+
* Ensures that if a `@yields` is present that a `yield` (or `yield` with a value) is present in the function body (or that if a `@next` is present that there is a yield with a return value present).
|
|
3609
3652
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-check.md#repos-sticky-header
|
|
3610
3653
|
*/
|
|
3611
3654
|
"jsdoc/require-yields-check"?: Linter.RuleEntry<JsdocRequireYieldsCheck>;
|
|
3612
3655
|
/**
|
|
3613
|
-
*
|
|
3656
|
+
* Requires a description for `@yields` tags
|
|
3657
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-description.md#repos-sticky-header
|
|
3658
|
+
*/
|
|
3659
|
+
"jsdoc/require-yields-description"?: Linter.RuleEntry<[]>;
|
|
3660
|
+
/**
|
|
3661
|
+
* Requires a type for `@yields` tags
|
|
3662
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-yields-type.md#repos-sticky-header
|
|
3663
|
+
*/
|
|
3664
|
+
"jsdoc/require-yields-type"?: Linter.RuleEntry<[]>;
|
|
3665
|
+
/**
|
|
3666
|
+
* Sorts tags by a specified sequence according to tag name, optionally adding line breaks between tag groups.
|
|
3614
3667
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/sort-tags.md#repos-sticky-header
|
|
3615
3668
|
*/
|
|
3616
3669
|
"jsdoc/sort-tags"?: Linter.RuleEntry<JsdocSortTags>;
|
|
3617
3670
|
/**
|
|
3618
|
-
* Enforces lines (or no lines) between tags.
|
|
3671
|
+
* Enforces lines (or no lines) before, after, or between tags.
|
|
3619
3672
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/tag-lines.md#repos-sticky-header
|
|
3620
3673
|
*/
|
|
3621
3674
|
"jsdoc/tag-lines"?: Linter.RuleEntry<JsdocTagLines>;
|
|
@@ -3625,13 +3678,21 @@ interface JsdocRuleOptions {
|
|
|
3625
3678
|
*/
|
|
3626
3679
|
"jsdoc/text-escaping"?: Linter.RuleEntry<JsdocTextEscaping>;
|
|
3627
3680
|
/**
|
|
3628
|
-
*
|
|
3681
|
+
* Formats JSDoc type values.
|
|
3682
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/type-formatting.md#repos-sticky-header
|
|
3683
|
+
*/
|
|
3684
|
+
"jsdoc/type-formatting"?: Linter.RuleEntry<JsdocTypeFormatting>;
|
|
3685
|
+
/**
|
|
3686
|
+
* Requires all types/namepaths to be valid JSDoc, Closure compiler, or TypeScript types (configurable in settings).
|
|
3629
3687
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/valid-types.md#repos-sticky-header
|
|
3630
3688
|
*/
|
|
3631
3689
|
"jsdoc/valid-types"?: Linter.RuleEntry<JsdocValidTypes>;
|
|
3632
3690
|
}
|
|
3633
|
-
|
|
3634
3691
|
/* ======= Declarations ======= */
|
|
3692
|
+
// ----- jsdoc/check-alignment -----
|
|
3693
|
+
type JsdocCheckAlignment = [] | [{
|
|
3694
|
+
innerIndent?: number;
|
|
3695
|
+
}];
|
|
3635
3696
|
// ----- jsdoc/check-examples -----
|
|
3636
3697
|
type JsdocCheckExamples = [] | [{
|
|
3637
3698
|
allowInlineConfig?: boolean;
|
|
@@ -3691,6 +3752,7 @@ type JsdocCheckPropertyNames = [] | [{
|
|
|
3691
3752
|
type JsdocCheckTagNames = [] | [{
|
|
3692
3753
|
definedTags?: string[];
|
|
3693
3754
|
enableFixer?: boolean;
|
|
3755
|
+
inlineTags?: string[];
|
|
3694
3756
|
jsxTags?: boolean;
|
|
3695
3757
|
typed?: boolean;
|
|
3696
3758
|
}];
|
|
@@ -3849,10 +3911,17 @@ type JsdocNoTypes = [] | [{
|
|
|
3849
3911
|
}];
|
|
3850
3912
|
// ----- jsdoc/no-undefined-types -----
|
|
3851
3913
|
type JsdocNoUndefinedTypes = [] | [{
|
|
3914
|
+
checkUsedTypedefs?: boolean;
|
|
3852
3915
|
definedTypes?: string[];
|
|
3853
3916
|
disableReporting?: boolean;
|
|
3854
3917
|
markVariablesAsUsed?: boolean;
|
|
3855
3918
|
}];
|
|
3919
|
+
// ----- jsdoc/prefer-import-tag -----
|
|
3920
|
+
type JsdocPreferImportTag = [] | [{
|
|
3921
|
+
enableFixer?: boolean;
|
|
3922
|
+
exemptTypedefs?: boolean;
|
|
3923
|
+
outputType?: "named-import" | "namespaced-import";
|
|
3924
|
+
}];
|
|
3856
3925
|
// ----- jsdoc/require-asterisk-prefix -----
|
|
3857
3926
|
type JsdocRequireAsteriskPrefix = [] | ["always" | "never" | "any"] | ["always" | "never" | "any", {
|
|
3858
3927
|
tags?: {
|
|
@@ -3921,6 +3990,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
3921
3990
|
enableFixer?: boolean;
|
|
3922
3991
|
exemptEmptyConstructors?: boolean;
|
|
3923
3992
|
exemptEmptyFunctions?: boolean;
|
|
3993
|
+
exemptOverloadedImplementations?: boolean;
|
|
3924
3994
|
fixerMessage?: string;
|
|
3925
3995
|
minLineCount?: number;
|
|
3926
3996
|
publicOnly?: boolean | {
|
|
@@ -3937,6 +4007,7 @@ type JsdocRequireJsdoc = [] | [{
|
|
|
3937
4007
|
FunctionExpression?: boolean;
|
|
3938
4008
|
MethodDefinition?: boolean;
|
|
3939
4009
|
};
|
|
4010
|
+
skipInterveningOverloadedDeclarations?: boolean;
|
|
3940
4011
|
}];
|
|
3941
4012
|
// ----- jsdoc/require-param -----
|
|
3942
4013
|
type JsdocRequireParam = [] | [{
|
|
@@ -3957,6 +4028,7 @@ type JsdocRequireParam = [] | [{
|
|
|
3957
4028
|
enableRootFixer?: boolean;
|
|
3958
4029
|
exemptedBy?: string[];
|
|
3959
4030
|
ignoreWhenAllParamsMissing?: boolean;
|
|
4031
|
+
interfaceExemptsParamsCheck?: boolean;
|
|
3960
4032
|
unnamedRootBase?: string[];
|
|
3961
4033
|
useDefaultObjectProperties?: boolean;
|
|
3962
4034
|
}];
|
|
@@ -4025,8 +4097,17 @@ type JsdocRequireReturnsType = [] | [{
|
|
|
4025
4097
|
context?: string;
|
|
4026
4098
|
})[];
|
|
4027
4099
|
}];
|
|
4100
|
+
// ----- jsdoc/require-tags -----
|
|
4101
|
+
type JsdocRequireTags = [] | [{
|
|
4102
|
+
tags?: (string | {
|
|
4103
|
+
context?: string;
|
|
4104
|
+
tag?: string;
|
|
4105
|
+
[k: string]: unknown | undefined;
|
|
4106
|
+
})[];
|
|
4107
|
+
}];
|
|
4028
4108
|
// ----- jsdoc/require-template -----
|
|
4029
4109
|
type JsdocRequireTemplate = [] | [{
|
|
4110
|
+
exemptedBy?: string[];
|
|
4030
4111
|
requireSeparateTemplates?: boolean;
|
|
4031
4112
|
}];
|
|
4032
4113
|
// ----- jsdoc/require-throws -----
|
|
@@ -4057,7 +4138,6 @@ type JsdocRequireYieldsCheck = [] | [{
|
|
|
4057
4138
|
comment?: string;
|
|
4058
4139
|
context?: string;
|
|
4059
4140
|
})[];
|
|
4060
|
-
exemptedBy?: string[];
|
|
4061
4141
|
next?: boolean;
|
|
4062
4142
|
}];
|
|
4063
4143
|
// ----- jsdoc/sort-tags -----
|
|
@@ -4075,6 +4155,7 @@ type JsdocTagLines = [] | ["always" | "any" | "never"] | ["always" | "any" | "ne
|
|
|
4075
4155
|
applyToEndTag?: boolean;
|
|
4076
4156
|
count?: number;
|
|
4077
4157
|
endLines?: number | null;
|
|
4158
|
+
maxBlockLines?: number | null;
|
|
4078
4159
|
startLines?: number | null;
|
|
4079
4160
|
tags?: {
|
|
4080
4161
|
[k: string]: {
|
|
@@ -4088,6 +4169,21 @@ type JsdocTextEscaping = [] | [{
|
|
|
4088
4169
|
escapeHTML?: boolean;
|
|
4089
4170
|
escapeMarkdown?: boolean;
|
|
4090
4171
|
}];
|
|
4172
|
+
// ----- jsdoc/type-formatting -----
|
|
4173
|
+
type JsdocTypeFormatting = [] | [{
|
|
4174
|
+
arrayBrackets?: "angle" | "square";
|
|
4175
|
+
enableFixer?: boolean;
|
|
4176
|
+
genericDot?: boolean;
|
|
4177
|
+
objectFieldIndent?: string;
|
|
4178
|
+
objectFieldQuote?: "double" | "single" | null;
|
|
4179
|
+
objectFieldSeparator?: "comma" | "comma-and-linebreak" | "linebreak" | "semicolon" | "semicolon-and-linebreak";
|
|
4180
|
+
objectFieldSeparatorOptionalLinebreak?: boolean;
|
|
4181
|
+
objectFieldSeparatorTrailingPunctuation?: boolean;
|
|
4182
|
+
separatorForSingleObjectField?: boolean;
|
|
4183
|
+
stringQuotes?: "double" | "single";
|
|
4184
|
+
typeBracketSpacing?: string;
|
|
4185
|
+
unionSpacing?: string;
|
|
4186
|
+
}];
|
|
4091
4187
|
// ----- jsdoc/valid-types -----
|
|
4092
4188
|
type JsdocValidTypes = [] | [{
|
|
4093
4189
|
allowEmptyNamepaths?: boolean;
|
|
@@ -4316,7 +4412,6 @@ interface JsoncRuleOptions {
|
|
|
4316
4412
|
*/
|
|
4317
4413
|
"jsonc/vue-custom-block/no-parsing-error"?: Linter.RuleEntry<[]>;
|
|
4318
4414
|
}
|
|
4319
|
-
|
|
4320
4415
|
/* ======= Declarations ======= */
|
|
4321
4416
|
// ----- jsonc/array-bracket-newline -----
|
|
4322
4417
|
type JsoncArrayBracketNewline = [] | [("always" | "never" | "consistent") | {
|
|
@@ -4645,7 +4740,7 @@ interface MarkdownRuleOptions {
|
|
|
4645
4740
|
* Disallow missing label references
|
|
4646
4741
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
4647
4742
|
*/
|
|
4648
|
-
"markdown/no-missing-label-refs"?: Linter.RuleEntry<
|
|
4743
|
+
"markdown/no-missing-label-refs"?: Linter.RuleEntry<MarkdownNoMissingLabelRefs>;
|
|
4649
4744
|
/**
|
|
4650
4745
|
* Disallow link fragments that do not reference valid headings
|
|
4651
4746
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-link-fragments.md
|
|
@@ -4656,6 +4751,11 @@ interface MarkdownRuleOptions {
|
|
|
4656
4751
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-multiple-h1.md
|
|
4657
4752
|
*/
|
|
4658
4753
|
"markdown/no-multiple-h1"?: Linter.RuleEntry<MarkdownNoMultipleH1>;
|
|
4754
|
+
/**
|
|
4755
|
+
* Disallow URLs that match defined reference identifiers
|
|
4756
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reference-like-urls.md
|
|
4757
|
+
*/
|
|
4758
|
+
"markdown/no-reference-like-urls"?: Linter.RuleEntry<[]>;
|
|
4659
4759
|
/**
|
|
4660
4760
|
* Disallow reversed link and image syntax
|
|
4661
4761
|
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-reversed-media-syntax.md
|
|
@@ -4682,7 +4782,6 @@ interface MarkdownRuleOptions {
|
|
|
4682
4782
|
*/
|
|
4683
4783
|
"markdown/table-column-count"?: Linter.RuleEntry<MarkdownTableColumnCount>;
|
|
4684
4784
|
}
|
|
4685
|
-
|
|
4686
4785
|
/* ======= Declarations ======= */
|
|
4687
4786
|
// ----- markdown/fenced-code-language -----
|
|
4688
4787
|
type MarkdownFencedCodeLanguage = [] | [{
|
|
@@ -4716,6 +4815,10 @@ type MarkdownNoHtml = [] | [{
|
|
|
4716
4815
|
type MarkdownNoMissingAtxHeadingSpace = [] | [{
|
|
4717
4816
|
checkClosedHeadings?: boolean;
|
|
4718
4817
|
}];
|
|
4818
|
+
// ----- markdown/no-missing-label-refs -----
|
|
4819
|
+
type MarkdownNoMissingLabelRefs = [] | [{
|
|
4820
|
+
allowLabels?: string[];
|
|
4821
|
+
}];
|
|
4719
4822
|
// ----- markdown/no-missing-link-fragments -----
|
|
4720
4823
|
type MarkdownNoMissingLinkFragments = [] | [{
|
|
4721
4824
|
ignoreCase?: boolean;
|
|
@@ -4803,12 +4906,12 @@ interface NRuleOptions {
|
|
|
4803
4906
|
*/
|
|
4804
4907
|
"n/no-hide-core-modules"?: Linter.RuleEntry<NNoHideCoreModules>;
|
|
4805
4908
|
/**
|
|
4806
|
-
* disallow `import` declarations which import
|
|
4909
|
+
* disallow `import` declarations which import missing modules
|
|
4807
4910
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
4808
4911
|
*/
|
|
4809
4912
|
"n/no-missing-import"?: Linter.RuleEntry<NNoMissingImport>;
|
|
4810
4913
|
/**
|
|
4811
|
-
* disallow `require()` expressions which import
|
|
4914
|
+
* disallow `require()` expressions which import missing modules
|
|
4812
4915
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
4813
4916
|
*/
|
|
4814
4917
|
"n/no-missing-require"?: Linter.RuleEntry<NNoMissingRequire>;
|
|
@@ -4949,7 +5052,6 @@ interface NRuleOptions {
|
|
|
4949
5052
|
*/
|
|
4950
5053
|
"n/shebang"?: Linter.RuleEntry<NShebang>;
|
|
4951
5054
|
}
|
|
4952
|
-
|
|
4953
5055
|
/* ======= Declarations ======= */
|
|
4954
5056
|
// ----- n/callback-return -----
|
|
4955
5057
|
type NCallbackReturn = [] | [string[]];
|
|
@@ -4985,7 +5087,7 @@ type NHashbang = [] | [{
|
|
|
4985
5087
|
// ----- n/no-deprecated-api -----
|
|
4986
5088
|
type NNoDeprecatedApi = [] | [{
|
|
4987
5089
|
version?: string;
|
|
4988
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
5090
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
|
|
4989
5091
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[];
|
|
4990
5092
|
ignoreIndirectDependencies?: boolean;
|
|
4991
5093
|
}];
|
|
@@ -5179,7 +5281,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
5179
5281
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
5180
5282
|
version?: string;
|
|
5181
5283
|
allowExperimental?: boolean;
|
|
5182
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[];
|
|
5284
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "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.unref" | "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.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.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "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.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "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.partialDeepStrictEqual" | "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.resolveTlsa" | "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.resolveTlsa" | "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.resolveTlsa" | "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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "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.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "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.isFloat16Array" | "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.isFloat16Array" | "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.isStringOneByteRepresentation" | "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.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
|
|
5183
5285
|
}];
|
|
5184
5286
|
// ----- n/prefer-global/buffer -----
|
|
5185
5287
|
type NPreferGlobalBuffer = [] | ["always" | "never"];
|
|
@@ -5227,7 +5329,6 @@ interface NoOnlyTestsRuleOptions {
|
|
|
5227
5329
|
*/
|
|
5228
5330
|
"no-only-tests/no-only-tests"?: Linter.RuleEntry<NoOnlyTestsNoOnlyTests>;
|
|
5229
5331
|
}
|
|
5230
|
-
|
|
5231
5332
|
/* ======= Declarations ======= */
|
|
5232
5333
|
// ----- no-only-tests/no-only-tests -----
|
|
5233
5334
|
type NoOnlyTestsNoOnlyTests = [] | [{
|
|
@@ -5340,7 +5441,6 @@ interface PerfectionistRuleOptions {
|
|
|
5340
5441
|
*/
|
|
5341
5442
|
"perfectionist/sort-variable-declarations"?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>;
|
|
5342
5443
|
}
|
|
5343
|
-
|
|
5344
5444
|
/* ======= Declarations ======= */
|
|
5345
5445
|
// ----- perfectionist/sort-array-includes -----
|
|
5346
5446
|
type PerfectionistSortArrayIncludes = {
|
|
@@ -7084,7 +7184,6 @@ interface PnpmRuleOptions {
|
|
|
7084
7184
|
*/
|
|
7085
7185
|
"pnpm/yaml-no-unused-catalog-item"?: Linter.RuleEntry<[]>;
|
|
7086
7186
|
}
|
|
7087
|
-
|
|
7088
7187
|
/* ======= Declarations ======= */
|
|
7089
7188
|
// ----- pnpm/json-enforce-catalog -----
|
|
7090
7189
|
type PnpmJsonEnforceCatalog = [] | [{
|
|
@@ -7094,6 +7193,7 @@ type PnpmJsonEnforceCatalog = [] | [{
|
|
|
7094
7193
|
reuseExistingCatalog?: boolean;
|
|
7095
7194
|
conflicts?: "new-catalog" | "overrides" | "error";
|
|
7096
7195
|
fields?: string[];
|
|
7196
|
+
ignores?: string[];
|
|
7097
7197
|
}];
|
|
7098
7198
|
// ----- pnpm/json-prefer-workspace-settings -----
|
|
7099
7199
|
type PnpmJsonPreferWorkspaceSettings = [] | [{
|
|
@@ -7114,8 +7214,6 @@ type PnpmYamlNoDuplicateCatalogItem = [] | [{
|
|
|
7114
7214
|
//#endregion
|
|
7115
7215
|
//#region src/generated/dts/prettier.d.ts
|
|
7116
7216
|
interface PrettierRuleOptions {}
|
|
7117
|
-
|
|
7118
|
-
/* ======= Declarations ======= */
|
|
7119
7217
|
//#endregion
|
|
7120
7218
|
//#region src/generated/dts/react.d.ts
|
|
7121
7219
|
interface ReactRuleOptions {
|
|
@@ -7648,7 +7746,6 @@ interface ReactRuleOptions {
|
|
|
7648
7746
|
*/
|
|
7649
7747
|
"react/void-dom-elements-no-children"?: Linter.RuleEntry<[]>;
|
|
7650
7748
|
}
|
|
7651
|
-
|
|
7652
7749
|
/* ======= Declarations ======= */
|
|
7653
7750
|
// ----- react-hooks/exhaustive-deps -----
|
|
7654
7751
|
type ReactHooksExhaustiveDeps$1 = [] | [{
|
|
@@ -8137,7 +8234,6 @@ interface ReactHooksRuleOptions {
|
|
|
8137
8234
|
*/
|
|
8138
8235
|
"react-hooks/rules-of-hooks"?: Linter.RuleEntry<[]>;
|
|
8139
8236
|
}
|
|
8140
|
-
|
|
8141
8237
|
/* ======= Declarations ======= */
|
|
8142
8238
|
// ----- react-hooks/exhaustive-deps -----
|
|
8143
8239
|
type ReactHooksExhaustiveDeps = [] | [{
|
|
@@ -8147,13 +8243,9 @@ type ReactHooksExhaustiveDeps = [] | [{
|
|
|
8147
8243
|
//#endregion
|
|
8148
8244
|
//#region src/generated/dts/sort-package-json.d.ts
|
|
8149
8245
|
interface SortPackageJsonRuleOptions {}
|
|
8150
|
-
|
|
8151
|
-
/* ======= Declarations ======= */
|
|
8152
8246
|
//#endregion
|
|
8153
8247
|
//#region src/generated/dts/sort-tsconfig.d.ts
|
|
8154
8248
|
interface SortTsconfigRuleOptions {}
|
|
8155
|
-
|
|
8156
|
-
/* ======= Declarations ======= */
|
|
8157
8249
|
//#endregion
|
|
8158
8250
|
//#region src/generated/dts/stylistic.d.ts
|
|
8159
8251
|
interface StylisticRuleOptions {
|
|
@@ -8339,8 +8431,9 @@ interface StylisticRuleOptions {
|
|
|
8339
8431
|
*/
|
|
8340
8432
|
"@stylistic/jsx-pascal-case"?: Linter.RuleEntry<StylisticJsxPascalCase>;
|
|
8341
8433
|
/**
|
|
8342
|
-
* Disallow multiple spaces between inline JSX props
|
|
8434
|
+
* Disallow multiple spaces between inline JSX props. Deprecated, use `no-multi-spaces` rule instead.
|
|
8343
8435
|
* @see https://eslint.style/rules/jsx-props-no-multi-spaces
|
|
8436
|
+
* @deprecated
|
|
8344
8437
|
*/
|
|
8345
8438
|
"@stylistic/jsx-props-no-multi-spaces"?: Linter.RuleEntry<[]>;
|
|
8346
8439
|
/**
|
|
@@ -8634,7 +8727,6 @@ interface StylisticRuleOptions {
|
|
|
8634
8727
|
*/
|
|
8635
8728
|
"@stylistic/yield-star-spacing"?: Linter.RuleEntry<StylisticYieldStarSpacing>;
|
|
8636
8729
|
}
|
|
8637
|
-
|
|
8638
8730
|
/* ======= Declarations ======= */
|
|
8639
8731
|
// ----- @stylistic/array-bracket-newline -----
|
|
8640
8732
|
type StylisticArrayBracketNewline = [] | [("always" | "never" | "consistent") | {
|
|
@@ -8847,6 +8939,10 @@ type StylisticGeneratorStarSpacing = [] | [("before" | "after" | "both" | "neith
|
|
|
8847
8939
|
before?: boolean;
|
|
8848
8940
|
after?: boolean;
|
|
8849
8941
|
};
|
|
8942
|
+
shorthand?: ("before" | "after" | "both" | "neither") | {
|
|
8943
|
+
before?: boolean;
|
|
8944
|
+
after?: boolean;
|
|
8945
|
+
};
|
|
8850
8946
|
}];
|
|
8851
8947
|
// ----- @stylistic/implicit-arrow-linebreak -----
|
|
8852
8948
|
type StylisticImplicitArrowLinebreak = [] | ["beside" | "below"];
|
|
@@ -8859,6 +8955,7 @@ type StylisticIndent = [] | ["tab" | number] | ["tab" | number, {
|
|
|
8859
8955
|
const?: number | ("first" | "off");
|
|
8860
8956
|
using?: number | ("first" | "off");
|
|
8861
8957
|
};
|
|
8958
|
+
assignmentOperator?: number | "off";
|
|
8862
8959
|
outerIIFEBody?: number | "off";
|
|
8863
8960
|
MemberExpression?: number | "off";
|
|
8864
8961
|
FunctionDeclaration?: {
|
|
@@ -9323,7 +9420,7 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
9323
9420
|
before?: boolean;
|
|
9324
9421
|
after?: boolean;
|
|
9325
9422
|
};
|
|
9326
|
-
|
|
9423
|
+
arguments?: {
|
|
9327
9424
|
before?: boolean;
|
|
9328
9425
|
after?: boolean;
|
|
9329
9426
|
};
|
|
@@ -9339,6 +9436,10 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
9339
9436
|
before?: boolean;
|
|
9340
9437
|
after?: boolean;
|
|
9341
9438
|
};
|
|
9439
|
+
eval?: {
|
|
9440
|
+
before?: boolean;
|
|
9441
|
+
after?: boolean;
|
|
9442
|
+
};
|
|
9342
9443
|
from?: {
|
|
9343
9444
|
before?: boolean;
|
|
9344
9445
|
after?: boolean;
|
|
@@ -9355,11 +9456,11 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
9355
9456
|
before?: boolean;
|
|
9356
9457
|
after?: boolean;
|
|
9357
9458
|
};
|
|
9358
|
-
|
|
9459
|
+
set?: {
|
|
9359
9460
|
before?: boolean;
|
|
9360
9461
|
after?: boolean;
|
|
9361
9462
|
};
|
|
9362
|
-
|
|
9463
|
+
type?: {
|
|
9363
9464
|
before?: boolean;
|
|
9364
9465
|
after?: boolean;
|
|
9365
9466
|
};
|
|
@@ -9371,7 +9472,11 @@ type StylisticKeywordSpacing = [] | [{
|
|
|
9371
9472
|
before?: boolean;
|
|
9372
9473
|
after?: boolean;
|
|
9373
9474
|
};
|
|
9374
|
-
|
|
9475
|
+
accessor?: {
|
|
9476
|
+
before?: boolean;
|
|
9477
|
+
after?: boolean;
|
|
9478
|
+
};
|
|
9479
|
+
satisfies?: {
|
|
9375
9480
|
before?: boolean;
|
|
9376
9481
|
after?: boolean;
|
|
9377
9482
|
};
|
|
@@ -9574,6 +9679,7 @@ type StylisticNoExtraParens = [] | ["functions"] | [] | ["all"] | ["all", {
|
|
|
9574
9679
|
LogicalExpression?: boolean;
|
|
9575
9680
|
AwaitExpression?: boolean;
|
|
9576
9681
|
};
|
|
9682
|
+
ignoredNodes?: string[];
|
|
9577
9683
|
}];
|
|
9578
9684
|
// ----- @stylistic/no-mixed-operators -----
|
|
9579
9685
|
type StylisticNoMixedOperators = [] | [{
|
|
@@ -9661,6 +9767,18 @@ type StylisticObjectCurlyNewline = [] | [(("always" | "never") | {
|
|
|
9661
9767
|
type StylisticObjectCurlySpacing = [] | ["always" | "never"] | ["always" | "never", {
|
|
9662
9768
|
arraysInObjects?: boolean;
|
|
9663
9769
|
objectsInObjects?: boolean;
|
|
9770
|
+
overrides?: {
|
|
9771
|
+
ObjectPattern?: "always" | "never";
|
|
9772
|
+
ObjectExpression?: "always" | "never";
|
|
9773
|
+
ImportDeclaration?: "always" | "never";
|
|
9774
|
+
ImportAttributes?: "always" | "never";
|
|
9775
|
+
ExportNamedDeclaration?: "always" | "never";
|
|
9776
|
+
ExportAllDeclaration?: "always" | "never";
|
|
9777
|
+
TSMappedType?: "always" | "never";
|
|
9778
|
+
TSTypeLiteral?: "always" | "never";
|
|
9779
|
+
TSInterfaceBody?: "always" | "never";
|
|
9780
|
+
TSEnumBody?: "always" | "never";
|
|
9781
|
+
};
|
|
9664
9782
|
}];
|
|
9665
9783
|
// ----- @stylistic/object-property-newline -----
|
|
9666
9784
|
type StylisticObjectPropertyNewline = [] | [{
|
|
@@ -9689,7 +9807,7 @@ type StylisticPaddedBlocks = [] | [("always" | "never" | "start" | "end") | {
|
|
|
9689
9807
|
// ----- @stylistic/padding-line-between-statements -----
|
|
9690
9808
|
type _StylisticPaddingLineBetweenStatementsPaddingType = "any" | "never" | "always";
|
|
9691
9809
|
type _StylisticPaddingLineBetweenStatementsStatementOption = _StylisticPaddingLineBetweenStatementsStatementType | [_StylisticPaddingLineBetweenStatementsStatementType, ..._StylisticPaddingLineBetweenStatementsStatementType[]];
|
|
9692
|
-
type _StylisticPaddingLineBetweenStatementsStatementType = "*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "
|
|
9810
|
+
type _StylisticPaddingLineBetweenStatementsStatementType = "*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "return" | "singleline-return" | "multiline-return" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using" | "type" | "singleline-type" | "multiline-type";
|
|
9693
9811
|
type StylisticPaddingLineBetweenStatements = {
|
|
9694
9812
|
blankLine: _StylisticPaddingLineBetweenStatementsPaddingType;
|
|
9695
9813
|
prev: _StylisticPaddingLineBetweenStatementsStatementOption;
|
|
@@ -9918,7 +10036,6 @@ interface TomlRuleOptions {
|
|
|
9918
10036
|
*/
|
|
9919
10037
|
"toml/vue-custom-block/no-parsing-error"?: Linter.RuleEntry<[]>;
|
|
9920
10038
|
}
|
|
9921
|
-
|
|
9922
10039
|
/* ======= Declarations ======= */
|
|
9923
10040
|
// ----- toml/array-bracket-newline -----
|
|
9924
10041
|
type TomlArrayBracketNewline = [] | [("always" | "never" | "consistent") | {
|
|
@@ -10053,8 +10170,6 @@ interface TsdocRuleOptions {
|
|
|
10053
10170
|
*/
|
|
10054
10171
|
"tsdoc/syntax"?: Linter.RuleEntry<[]>;
|
|
10055
10172
|
}
|
|
10056
|
-
|
|
10057
|
-
/* ======= Declarations ======= */
|
|
10058
10173
|
//#endregion
|
|
10059
10174
|
//#region src/generated/dts/typescript.d.ts
|
|
10060
10175
|
interface TypescriptRuleOptions {
|
|
@@ -10756,7 +10871,6 @@ interface TypescriptRuleOptions {
|
|
|
10756
10871
|
*/
|
|
10757
10872
|
"import/no-named-default"?: Linter.RuleEntry<[]>;
|
|
10758
10873
|
}
|
|
10759
|
-
|
|
10760
10874
|
/* ======= Declarations ======= */
|
|
10761
10875
|
// ----- @typescript-eslint/array-type -----
|
|
10762
10876
|
type TypescriptEslintArrayType = [] | [{
|
|
@@ -11721,694 +11835,713 @@ type ImportNoDuplicates = [] | [{
|
|
|
11721
11835
|
interface UnicornRuleOptions {
|
|
11722
11836
|
/**
|
|
11723
11837
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
11724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11838
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/better-regex.md
|
|
11725
11839
|
*/
|
|
11726
11840
|
"unicorn/better-regex"?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
11727
11841
|
/**
|
|
11728
11842
|
* Enforce a specific parameter name in catch clauses.
|
|
11729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11843
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/catch-error-name.md
|
|
11730
11844
|
*/
|
|
11731
11845
|
"unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
11732
11846
|
/**
|
|
11733
11847
|
* Enforce consistent assertion style with `node:assert`.
|
|
11734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11848
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-assert.md
|
|
11735
11849
|
*/
|
|
11736
11850
|
"unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
|
|
11737
11851
|
/**
|
|
11738
11852
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
11739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11853
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-date-clone.md
|
|
11740
11854
|
*/
|
|
11741
11855
|
"unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
|
|
11742
11856
|
/**
|
|
11743
11857
|
* Use destructured variables over properties.
|
|
11744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11858
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-destructuring.md
|
|
11745
11859
|
*/
|
|
11746
11860
|
"unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
|
|
11747
11861
|
/**
|
|
11748
11862
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
11749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11863
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-empty-array-spread.md
|
|
11750
11864
|
*/
|
|
11751
11865
|
"unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
|
|
11752
11866
|
/**
|
|
11753
11867
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
11754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11868
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-existence-index-check.md
|
|
11755
11869
|
*/
|
|
11756
11870
|
"unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
|
|
11757
11871
|
/**
|
|
11758
11872
|
* Move function definitions to the highest possible scope.
|
|
11759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11873
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/consistent-function-scoping.md
|
|
11760
11874
|
*/
|
|
11761
11875
|
"unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
11762
11876
|
/**
|
|
11763
11877
|
* Enforce correct `Error` subclassing.
|
|
11764
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/custom-error-definition.md
|
|
11765
11879
|
*/
|
|
11766
11880
|
"unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
|
|
11767
11881
|
/**
|
|
11768
11882
|
* Enforce no spaces between braces.
|
|
11769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11883
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/empty-brace-spaces.md
|
|
11770
11884
|
*/
|
|
11771
11885
|
"unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
|
|
11772
11886
|
/**
|
|
11773
11887
|
* Enforce passing a `message` value when creating a built-in error.
|
|
11774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11888
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/error-message.md
|
|
11775
11889
|
*/
|
|
11776
11890
|
"unicorn/error-message"?: Linter.RuleEntry<[]>;
|
|
11777
11891
|
/**
|
|
11778
11892
|
* Require escape sequences to use uppercase or lowercase values.
|
|
11779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11893
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/escape-case.md
|
|
11780
11894
|
*/
|
|
11781
11895
|
"unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
11782
11896
|
/**
|
|
11783
11897
|
* Add expiration conditions to TODO comments.
|
|
11784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11898
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/expiring-todo-comments.md
|
|
11785
11899
|
*/
|
|
11786
11900
|
"unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
11787
11901
|
/**
|
|
11788
11902
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
11789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11903
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/explicit-length-check.md
|
|
11790
11904
|
*/
|
|
11791
11905
|
"unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
11792
11906
|
/**
|
|
11793
11907
|
* Enforce a case style for filenames.
|
|
11794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11908
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/filename-case.md
|
|
11795
11909
|
*/
|
|
11796
11910
|
"unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
11797
11911
|
/**
|
|
11798
11912
|
* Enforce specific import styles per module.
|
|
11799
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11913
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/import-style.md
|
|
11800
11914
|
*/
|
|
11801
11915
|
"unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
|
|
11802
11916
|
/**
|
|
11803
11917
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
11804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/new-for-builtins.md
|
|
11805
11919
|
*/
|
|
11806
11920
|
"unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
|
|
11807
11921
|
/**
|
|
11808
11922
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
11809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-abusive-eslint-disable.md
|
|
11810
11924
|
*/
|
|
11811
11925
|
"unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
|
|
11812
11926
|
/**
|
|
11813
11927
|
* Disallow recursive access to `this` within getters and setters.
|
|
11814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-accessor-recursion.md
|
|
11815
11929
|
*/
|
|
11816
11930
|
"unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
|
|
11817
11931
|
/**
|
|
11818
11932
|
* Disallow anonymous functions and classes as the default export.
|
|
11819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-anonymous-default-export.md
|
|
11820
11934
|
*/
|
|
11821
11935
|
"unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
|
|
11822
11936
|
/**
|
|
11823
11937
|
* Prevent passing a function reference directly to iterator methods.
|
|
11824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-callback-reference.md
|
|
11825
11939
|
*/
|
|
11826
11940
|
"unicorn/no-array-callback-reference"?: Linter.RuleEntry<[]>;
|
|
11827
11941
|
/**
|
|
11828
11942
|
* Prefer `for…of` over the `forEach` method.
|
|
11829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-for-each.md
|
|
11830
11944
|
*/
|
|
11831
11945
|
"unicorn/no-array-for-each"?: Linter.RuleEntry<[]>;
|
|
11832
11946
|
/**
|
|
11833
11947
|
* Disallow using the `this` argument in array methods.
|
|
11834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-method-this-argument.md
|
|
11835
11949
|
*/
|
|
11836
11950
|
"unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
|
|
11837
11951
|
/**
|
|
11838
11952
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
11839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-array-push-push
|
|
11840
11954
|
* @deprecated
|
|
11841
11955
|
*/
|
|
11842
11956
|
"unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
|
|
11843
11957
|
/**
|
|
11844
11958
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
11845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reduce.md
|
|
11846
11960
|
*/
|
|
11847
11961
|
"unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
11848
11962
|
/**
|
|
11849
11963
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
11850
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-reverse.md
|
|
11851
11965
|
*/
|
|
11852
11966
|
"unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
11967
|
+
/**
|
|
11968
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
11969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-array-sort.md
|
|
11970
|
+
*/
|
|
11971
|
+
"unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
11853
11972
|
/**
|
|
11854
11973
|
* Disallow member access from await expression.
|
|
11855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-expression-member.md
|
|
11856
11975
|
*/
|
|
11857
11976
|
"unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
|
|
11858
11977
|
/**
|
|
11859
11978
|
* Disallow using `await` in `Promise` method parameters.
|
|
11860
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-await-in-promise-methods.md
|
|
11861
11980
|
*/
|
|
11862
11981
|
"unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
11863
11982
|
/**
|
|
11864
11983
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
11865
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-console-spaces.md
|
|
11866
11985
|
*/
|
|
11867
11986
|
"unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
|
|
11868
11987
|
/**
|
|
11869
11988
|
* Do not use `document.cookie` directly.
|
|
11870
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-document-cookie.md
|
|
11871
11990
|
*/
|
|
11872
11991
|
"unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
|
|
11873
11992
|
/**
|
|
11874
11993
|
* Disallow empty files.
|
|
11875
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-empty-file.md
|
|
11876
11995
|
*/
|
|
11877
11996
|
"unicorn/no-empty-file"?: Linter.RuleEntry<[]>;
|
|
11878
11997
|
/**
|
|
11879
11998
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
11880
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
11999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-for-loop.md
|
|
11881
12000
|
*/
|
|
11882
12001
|
"unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
|
|
11883
12002
|
/**
|
|
11884
12003
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
11885
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-hex-escape.md
|
|
11886
12005
|
*/
|
|
11887
12006
|
"unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
|
|
11888
12007
|
/**
|
|
11889
12008
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
11890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-instanceof-array
|
|
11891
12010
|
* @deprecated
|
|
11892
12011
|
*/
|
|
11893
12012
|
"unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
|
|
11894
12013
|
/**
|
|
11895
12014
|
* Disallow `instanceof` with built-in objects
|
|
11896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-instanceof-builtins.md
|
|
11897
12016
|
*/
|
|
11898
12017
|
"unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
11899
12018
|
/**
|
|
11900
12019
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
11901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-fetch-options.md
|
|
11902
12021
|
*/
|
|
11903
12022
|
"unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
|
|
11904
12023
|
/**
|
|
11905
12024
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
11906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12025
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-invalid-remove-event-listener.md
|
|
11907
12026
|
*/
|
|
11908
12027
|
"unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
|
|
11909
12028
|
/**
|
|
11910
12029
|
* Disallow identifiers starting with `new` or `class`.
|
|
11911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-keyword-prefix.md
|
|
11912
12031
|
*/
|
|
11913
12032
|
"unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
11914
12033
|
/**
|
|
11915
12034
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
11916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/deprecated-rules.md#no-length-as-slice-end
|
|
11917
12036
|
* @deprecated
|
|
11918
12037
|
*/
|
|
11919
12038
|
"unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
|
|
11920
12039
|
/**
|
|
11921
12040
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
11922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-lonely-if.md
|
|
11923
12042
|
*/
|
|
11924
12043
|
"unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
|
|
11925
12044
|
/**
|
|
11926
12045
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
11927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-magic-array-flat-depth.md
|
|
11928
12047
|
*/
|
|
11929
12048
|
"unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
|
|
11930
12049
|
/**
|
|
11931
12050
|
* Disallow named usage of default import and export.
|
|
11932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-named-default.md
|
|
11933
12052
|
*/
|
|
11934
12053
|
"unicorn/no-named-default"?: Linter.RuleEntry<[]>;
|
|
11935
12054
|
/**
|
|
11936
12055
|
* Disallow negated conditions.
|
|
11937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negated-condition.md
|
|
11938
12057
|
*/
|
|
11939
12058
|
"unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
|
|
11940
12059
|
/**
|
|
11941
12060
|
* Disallow negated expression in equality check.
|
|
11942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-negation-in-equality-check.md
|
|
11943
12062
|
*/
|
|
11944
12063
|
"unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
|
|
11945
12064
|
/**
|
|
11946
12065
|
* Disallow nested ternary expressions.
|
|
11947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-nested-ternary.md
|
|
11948
12067
|
*/
|
|
11949
12068
|
"unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
|
|
11950
12069
|
/**
|
|
11951
12070
|
* Disallow `new Array()`.
|
|
11952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-array.md
|
|
11953
12072
|
*/
|
|
11954
12073
|
"unicorn/no-new-array"?: Linter.RuleEntry<[]>;
|
|
11955
12074
|
/**
|
|
11956
12075
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
11957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-new-buffer.md
|
|
11958
12077
|
*/
|
|
11959
12078
|
"unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
|
|
11960
12079
|
/**
|
|
11961
12080
|
* Disallow the use of the `null` literal.
|
|
11962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-null.md
|
|
11963
12082
|
*/
|
|
11964
12083
|
"unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
|
|
11965
12084
|
/**
|
|
11966
12085
|
* Disallow the use of objects as default parameters.
|
|
11967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-object-as-default-parameter.md
|
|
11968
12087
|
*/
|
|
11969
12088
|
"unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
|
|
11970
12089
|
/**
|
|
11971
12090
|
* Disallow `process.exit()`.
|
|
11972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-process-exit.md
|
|
11973
12092
|
*/
|
|
11974
12093
|
"unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
|
|
11975
12094
|
/**
|
|
11976
12095
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
11977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-single-promise-in-promise-methods.md
|
|
11978
12097
|
*/
|
|
11979
12098
|
"unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
|
|
11980
12099
|
/**
|
|
11981
12100
|
* Disallow classes that only have static members.
|
|
11982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-static-only-class.md
|
|
11983
12102
|
*/
|
|
11984
12103
|
"unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
|
|
11985
12104
|
/**
|
|
11986
12105
|
* Disallow `then` property.
|
|
11987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-thenable.md
|
|
11988
12107
|
*/
|
|
11989
12108
|
"unicorn/no-thenable"?: Linter.RuleEntry<[]>;
|
|
11990
12109
|
/**
|
|
11991
12110
|
* Disallow assigning `this` to a variable.
|
|
11992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-this-assignment.md
|
|
11993
12112
|
*/
|
|
11994
12113
|
"unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
|
|
11995
12114
|
/**
|
|
11996
12115
|
* Disallow comparing `undefined` using `typeof`.
|
|
11997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-typeof-undefined.md
|
|
11998
12117
|
*/
|
|
11999
12118
|
"unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
12000
12119
|
/**
|
|
12001
12120
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
12002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-flat-depth.md
|
|
12003
12122
|
*/
|
|
12004
12123
|
"unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
|
|
12005
12124
|
/**
|
|
12006
12125
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
12007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-array-splice-count.md
|
|
12008
12127
|
*/
|
|
12009
12128
|
"unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
|
|
12010
12129
|
/**
|
|
12011
12130
|
* Disallow awaiting non-promise values.
|
|
12012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-await.md
|
|
12013
12132
|
*/
|
|
12014
12133
|
"unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
|
|
12015
12134
|
/**
|
|
12016
12135
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
12017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-polyfills.md
|
|
12018
12137
|
*/
|
|
12019
12138
|
"unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
12020
12139
|
/**
|
|
12021
12140
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
12022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unnecessary-slice-end.md
|
|
12023
12142
|
*/
|
|
12024
12143
|
"unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
|
|
12025
12144
|
/**
|
|
12026
12145
|
* Disallow unreadable array destructuring.
|
|
12027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-array-destructuring.md
|
|
12028
12147
|
*/
|
|
12029
12148
|
"unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<[]>;
|
|
12030
12149
|
/**
|
|
12031
12150
|
* Disallow unreadable IIFEs.
|
|
12032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unreadable-iife.md
|
|
12033
12152
|
*/
|
|
12034
12153
|
"unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
|
|
12035
12154
|
/**
|
|
12036
12155
|
* Disallow unused object properties.
|
|
12037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-unused-properties.md
|
|
12038
12157
|
*/
|
|
12039
12158
|
"unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
|
|
12040
12159
|
/**
|
|
12041
12160
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
12042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-error-capture-stack-trace.md
|
|
12043
12162
|
*/
|
|
12044
12163
|
"unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
|
|
12045
12164
|
/**
|
|
12046
12165
|
* Disallow useless fallback when spreading in object literals.
|
|
12047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-fallback-in-spread.md
|
|
12048
12167
|
*/
|
|
12049
12168
|
"unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
|
|
12050
12169
|
/**
|
|
12051
12170
|
* Disallow useless array length check.
|
|
12052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-length-check.md
|
|
12053
12172
|
*/
|
|
12054
12173
|
"unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
|
|
12055
12174
|
/**
|
|
12056
12175
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
12057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-promise-resolve-reject.md
|
|
12058
12177
|
*/
|
|
12059
12178
|
"unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
|
|
12060
12179
|
/**
|
|
12061
12180
|
* Disallow unnecessary spread.
|
|
12062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-spread.md
|
|
12063
12182
|
*/
|
|
12064
12183
|
"unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
|
|
12065
12184
|
/**
|
|
12066
12185
|
* Disallow useless case in switch statements.
|
|
12067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-switch-case.md
|
|
12068
12187
|
*/
|
|
12069
12188
|
"unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
|
|
12070
12189
|
/**
|
|
12071
12190
|
* Disallow useless `undefined`.
|
|
12072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-useless-undefined.md
|
|
12073
12192
|
*/
|
|
12074
12193
|
"unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
12075
12194
|
/**
|
|
12076
12195
|
* Disallow number literals with zero fractions or dangling dots.
|
|
12077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/no-zero-fractions.md
|
|
12078
12197
|
*/
|
|
12079
12198
|
"unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
|
|
12080
12199
|
/**
|
|
12081
12200
|
* Enforce proper case for numeric literals.
|
|
12082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/number-literal-case.md
|
|
12083
12202
|
*/
|
|
12084
12203
|
"unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
12085
12204
|
/**
|
|
12086
12205
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
12087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/numeric-separators-style.md
|
|
12088
12207
|
*/
|
|
12089
12208
|
"unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
12090
12209
|
/**
|
|
12091
12210
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
12092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-add-event-listener.md
|
|
12093
12212
|
*/
|
|
12094
12213
|
"unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
12095
12214
|
/**
|
|
12096
12215
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
12097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-find.md
|
|
12098
12217
|
*/
|
|
12099
12218
|
"unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
12100
12219
|
/**
|
|
12101
12220
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
12102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat.md
|
|
12103
12222
|
*/
|
|
12104
12223
|
"unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
12105
12224
|
/**
|
|
12106
12225
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
12107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-flat-map.md
|
|
12108
12227
|
*/
|
|
12109
12228
|
"unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
|
|
12110
12229
|
/**
|
|
12111
12230
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
12112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-index-of.md
|
|
12113
12232
|
*/
|
|
12114
12233
|
"unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
|
|
12115
12234
|
/**
|
|
12116
12235
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
12117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-array-some.md
|
|
12118
12237
|
*/
|
|
12119
12238
|
"unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
|
|
12120
12239
|
/**
|
|
12121
12240
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
12122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-at.md
|
|
12123
12242
|
*/
|
|
12124
12243
|
"unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
|
|
12244
|
+
/**
|
|
12245
|
+
* Prefer `BigInt` literals over the constructor.
|
|
12246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-bigint-literals.md
|
|
12247
|
+
*/
|
|
12248
|
+
"unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
|
|
12125
12249
|
/**
|
|
12126
12250
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
12127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-blob-reading-methods.md
|
|
12128
12252
|
*/
|
|
12129
12253
|
"unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
|
|
12130
12254
|
/**
|
|
12131
12255
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
12132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-class-fields.md
|
|
12133
12257
|
*/
|
|
12134
12258
|
"unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
|
|
12259
|
+
/**
|
|
12260
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
12261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-classlist-toggle.md
|
|
12262
|
+
*/
|
|
12263
|
+
"unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
|
|
12135
12264
|
/**
|
|
12136
12265
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
12137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-code-point.md
|
|
12138
12267
|
*/
|
|
12139
12268
|
"unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
|
|
12140
12269
|
/**
|
|
12141
12270
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
12142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-date-now.md
|
|
12143
12272
|
*/
|
|
12144
12273
|
"unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
|
|
12145
12274
|
/**
|
|
12146
12275
|
* Prefer default parameters over reassignment.
|
|
12147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-default-parameters.md
|
|
12148
12277
|
*/
|
|
12149
12278
|
"unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
|
|
12150
12279
|
/**
|
|
12151
12280
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
12152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-append.md
|
|
12153
12282
|
*/
|
|
12154
12283
|
"unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
|
|
12155
12284
|
/**
|
|
12156
12285
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
12157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-dataset.md
|
|
12158
12287
|
*/
|
|
12159
12288
|
"unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
|
|
12160
12289
|
/**
|
|
12161
12290
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
12162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-remove.md
|
|
12163
12292
|
*/
|
|
12164
12293
|
"unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
|
|
12165
12294
|
/**
|
|
12166
12295
|
* Prefer `.textContent` over `.innerText`.
|
|
12167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-dom-node-text-content.md
|
|
12168
12297
|
*/
|
|
12169
12298
|
"unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
|
|
12170
12299
|
/**
|
|
12171
12300
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
12172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-event-target.md
|
|
12173
12302
|
*/
|
|
12174
12303
|
"unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
|
|
12175
12304
|
/**
|
|
12176
12305
|
* Prefer `export…from` when re-exporting.
|
|
12177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-export-from.md
|
|
12178
12307
|
*/
|
|
12179
12308
|
"unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
12180
12309
|
/**
|
|
12181
12310
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
12182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12311
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-global-this.md
|
|
12183
12312
|
*/
|
|
12184
12313
|
"unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
|
|
12185
12314
|
/**
|
|
12186
12315
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
12187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-import-meta-properties.md
|
|
12188
12317
|
*/
|
|
12189
12318
|
"unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
|
|
12190
12319
|
/**
|
|
12191
12320
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
12192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-includes.md
|
|
12193
12322
|
*/
|
|
12194
12323
|
"unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
|
|
12195
12324
|
/**
|
|
12196
12325
|
* Prefer reading a JSON file as a buffer.
|
|
12197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-json-parse-buffer.md
|
|
12198
12327
|
*/
|
|
12199
12328
|
"unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
|
|
12200
12329
|
/**
|
|
12201
12330
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
12202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-keyboard-event-key.md
|
|
12203
12332
|
*/
|
|
12204
12333
|
"unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
|
|
12205
12334
|
/**
|
|
12206
12335
|
* Prefer using a logical operator over a ternary.
|
|
12207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-logical-operator-over-ternary.md
|
|
12208
12337
|
*/
|
|
12209
12338
|
"unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
|
|
12210
12339
|
/**
|
|
12211
12340
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
12212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-min-max.md
|
|
12213
12342
|
*/
|
|
12214
12343
|
"unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
|
|
12215
12344
|
/**
|
|
12216
12345
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
12217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-math-trunc.md
|
|
12218
12347
|
*/
|
|
12219
12348
|
"unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
|
|
12220
12349
|
/**
|
|
12221
12350
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
12222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-dom-apis.md
|
|
12223
12352
|
*/
|
|
12224
12353
|
"unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
|
|
12225
12354
|
/**
|
|
12226
12355
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
12227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-modern-math-apis.md
|
|
12228
12357
|
*/
|
|
12229
12358
|
"unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
|
|
12230
12359
|
/**
|
|
12231
12360
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
12232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-module.md
|
|
12233
12362
|
*/
|
|
12234
12363
|
"unicorn/prefer-module"?: Linter.RuleEntry<[]>;
|
|
12235
12364
|
/**
|
|
12236
12365
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
12237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-native-coercion-functions.md
|
|
12238
12367
|
*/
|
|
12239
12368
|
"unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
|
|
12240
12369
|
/**
|
|
12241
12370
|
* Prefer negative index over `.length - index` when possible.
|
|
12242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-negative-index.md
|
|
12243
12372
|
*/
|
|
12244
12373
|
"unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
|
|
12245
12374
|
/**
|
|
12246
12375
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
12247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-node-protocol.md
|
|
12248
12377
|
*/
|
|
12249
12378
|
"unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
|
|
12250
12379
|
/**
|
|
12251
12380
|
* Prefer `Number` static properties over global ones.
|
|
12252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-number-properties.md
|
|
12253
12382
|
*/
|
|
12254
12383
|
"unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
12255
12384
|
/**
|
|
12256
12385
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
12257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-object-from-entries.md
|
|
12258
12387
|
*/
|
|
12259
12388
|
"unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
12260
12389
|
/**
|
|
12261
12390
|
* Prefer omitting the `catch` binding parameter.
|
|
12262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-optional-catch-binding.md
|
|
12263
12392
|
*/
|
|
12264
12393
|
"unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
|
|
12265
12394
|
/**
|
|
12266
12395
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
12267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-prototype-methods.md
|
|
12268
12397
|
*/
|
|
12269
12398
|
"unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
|
|
12270
12399
|
/**
|
|
12271
12400
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
12272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-query-selector.md
|
|
12273
12402
|
*/
|
|
12274
12403
|
"unicorn/prefer-query-selector"?: Linter.RuleEntry<[]>;
|
|
12275
12404
|
/**
|
|
12276
12405
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
12277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-reflect-apply.md
|
|
12278
12407
|
*/
|
|
12279
12408
|
"unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
|
|
12280
12409
|
/**
|
|
12281
12410
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
12282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-regexp-test.md
|
|
12283
12412
|
*/
|
|
12284
12413
|
"unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
|
|
12285
12414
|
/**
|
|
12286
12415
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
12287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-has.md
|
|
12288
12417
|
*/
|
|
12289
12418
|
"unicorn/prefer-set-has"?: Linter.RuleEntry<[]>;
|
|
12290
12419
|
/**
|
|
12291
12420
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
12292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12421
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-set-size.md
|
|
12293
12422
|
*/
|
|
12294
12423
|
"unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
|
|
12295
12424
|
/**
|
|
12296
12425
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
12297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-single-call.md
|
|
12298
12427
|
*/
|
|
12299
12428
|
"unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
12300
12429
|
/**
|
|
12301
12430
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
12302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12431
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-spread.md
|
|
12303
12432
|
*/
|
|
12304
12433
|
"unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
|
|
12305
12434
|
/**
|
|
12306
12435
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
12307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-raw.md
|
|
12308
12437
|
*/
|
|
12309
12438
|
"unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
|
|
12310
12439
|
/**
|
|
12311
12440
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
12312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-replace-all.md
|
|
12313
12442
|
*/
|
|
12314
12443
|
"unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
|
|
12315
12444
|
/**
|
|
12316
12445
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
12317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-slice.md
|
|
12318
12447
|
*/
|
|
12319
12448
|
"unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
|
|
12320
12449
|
/**
|
|
12321
12450
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
12322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-starts-ends-with.md
|
|
12323
12452
|
*/
|
|
12324
12453
|
"unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
|
|
12325
12454
|
/**
|
|
12326
12455
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
12327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-string-trim-start-end.md
|
|
12328
12457
|
*/
|
|
12329
12458
|
"unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
|
|
12330
12459
|
/**
|
|
12331
12460
|
* Prefer using `structuredClone` to create a deep clone.
|
|
12332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-structured-clone.md
|
|
12333
12462
|
*/
|
|
12334
12463
|
"unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
12335
12464
|
/**
|
|
12336
12465
|
* Prefer `switch` over multiple `else-if`.
|
|
12337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-switch.md
|
|
12338
12467
|
*/
|
|
12339
12468
|
"unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
12340
12469
|
/**
|
|
12341
12470
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
12342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-ternary.md
|
|
12343
12472
|
*/
|
|
12344
12473
|
"unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
12345
12474
|
/**
|
|
12346
12475
|
* Prefer top-level await over top-level promises and async function calls.
|
|
12347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-top-level-await.md
|
|
12348
12477
|
*/
|
|
12349
12478
|
"unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
|
|
12350
12479
|
/**
|
|
12351
12480
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
12352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prefer-type-error.md
|
|
12353
12482
|
*/
|
|
12354
12483
|
"unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
|
|
12355
12484
|
/**
|
|
12356
12485
|
* Prevent abbreviations.
|
|
12357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/prevent-abbreviations.md
|
|
12358
12487
|
*/
|
|
12359
12488
|
"unicorn/prevent-abbreviations"?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
12360
12489
|
/**
|
|
12361
12490
|
* Enforce consistent relative URL style.
|
|
12362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/relative-url-style.md
|
|
12363
12492
|
*/
|
|
12364
12493
|
"unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
12365
12494
|
/**
|
|
12366
12495
|
* Enforce using the separator argument with `Array#join()`.
|
|
12367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-array-join-separator.md
|
|
12368
12497
|
*/
|
|
12369
12498
|
"unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
|
|
12499
|
+
/**
|
|
12500
|
+
* Require non-empty module attributes for imports and exports
|
|
12501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-attributes.md
|
|
12502
|
+
*/
|
|
12503
|
+
"unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
|
|
12370
12504
|
/**
|
|
12371
12505
|
* Require non-empty specifier list in import and export statements.
|
|
12372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-module-specifiers.md
|
|
12373
12507
|
*/
|
|
12374
12508
|
"unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
|
|
12375
12509
|
/**
|
|
12376
12510
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
12377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-number-to-fixed-digits-argument.md
|
|
12378
12512
|
*/
|
|
12379
12513
|
"unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
|
|
12380
12514
|
/**
|
|
12381
12515
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
12382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/require-post-message-target-origin.md
|
|
12383
12517
|
*/
|
|
12384
12518
|
"unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
|
|
12385
12519
|
/**
|
|
12386
12520
|
* Enforce better string content.
|
|
12387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/string-content.md
|
|
12388
12522
|
*/
|
|
12389
12523
|
"unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
|
|
12390
12524
|
/**
|
|
12391
12525
|
* Enforce consistent brace style for `case` clauses.
|
|
12392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/switch-case-braces.md
|
|
12393
12527
|
*/
|
|
12394
12528
|
"unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
12395
12529
|
/**
|
|
12396
12530
|
* Fix whitespace-insensitive template indentation.
|
|
12397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/template-indent.md
|
|
12398
12532
|
*/
|
|
12399
12533
|
"unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
12400
12534
|
/**
|
|
12401
12535
|
* Enforce consistent case for text encoding identifiers.
|
|
12402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/text-encoding-identifier-case.md
|
|
12403
12537
|
*/
|
|
12404
12538
|
"unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<[]>;
|
|
12405
12539
|
/**
|
|
12406
12540
|
* Require `new` when creating an error.
|
|
12407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
12541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v61.0.2/docs/rules/throw-new-error.md
|
|
12408
12542
|
*/
|
|
12409
12543
|
"unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
|
|
12410
12544
|
}
|
|
12411
|
-
|
|
12412
12545
|
/* ======= Declarations ======= */
|
|
12413
12546
|
// ----- unicorn/better-regex -----
|
|
12414
12547
|
type UnicornBetterRegex = [] | [{
|
|
@@ -12476,6 +12609,10 @@ type UnicornNoArrayReduce = [] | [{
|
|
|
12476
12609
|
type UnicornNoArrayReverse = [] | [{
|
|
12477
12610
|
allowExpressionStatement?: boolean;
|
|
12478
12611
|
}];
|
|
12612
|
+
// ----- unicorn/no-array-sort -----
|
|
12613
|
+
type UnicornNoArraySort = [] | [{
|
|
12614
|
+
allowExpressionStatement?: boolean;
|
|
12615
|
+
}];
|
|
12479
12616
|
// ----- unicorn/no-instanceof-builtins -----
|
|
12480
12617
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
12481
12618
|
useErrorIsError?: boolean;
|
|
@@ -12647,6 +12784,11 @@ interface VitestRuleOptions {
|
|
|
12647
12784
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
12648
12785
|
*/
|
|
12649
12786
|
"vitest/expect-expect"?: Linter.RuleEntry<VitestExpectExpect>;
|
|
12787
|
+
/**
|
|
12788
|
+
* enforce hoisted APIs to be on top of the file
|
|
12789
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
12790
|
+
*/
|
|
12791
|
+
"vitest/hoisted-apis-on-top"?: Linter.RuleEntry<[]>;
|
|
12650
12792
|
/**
|
|
12651
12793
|
* enforce a maximum number of expect per test
|
|
12652
12794
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -12848,6 +12990,11 @@ interface VitestRuleOptions {
|
|
|
12848
12990
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
12849
12991
|
*/
|
|
12850
12992
|
"vitest/prefer-expect-resolves"?: Linter.RuleEntry<[]>;
|
|
12993
|
+
/**
|
|
12994
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
12995
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
12996
|
+
*/
|
|
12997
|
+
"vitest/prefer-expect-type-of"?: Linter.RuleEntry<[]>;
|
|
12851
12998
|
/**
|
|
12852
12999
|
* enforce having hooks in consistent order
|
|
12853
13000
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -12984,7 +13131,6 @@ interface VitestRuleOptions {
|
|
|
12984
13131
|
*/
|
|
12985
13132
|
"vitest/warn-todo"?: Linter.RuleEntry<[]>;
|
|
12986
13133
|
}
|
|
12987
|
-
|
|
12988
13134
|
/* ======= Declarations ======= */
|
|
12989
13135
|
// ----- vitest/consistent-test-filename -----
|
|
12990
13136
|
type VitestConsistentTestFilename = [] | [{
|
|
@@ -13228,7 +13374,6 @@ interface YmlRuleOptions {
|
|
|
13228
13374
|
*/
|
|
13229
13375
|
"yaml/vue-custom-block/no-parsing-error"?: Linter.RuleEntry<[]>;
|
|
13230
13376
|
}
|
|
13231
|
-
|
|
13232
13377
|
/* ======= Declarations ======= */
|
|
13233
13378
|
// ----- yaml/block-mapping -----
|
|
13234
13379
|
type YamlBlockMapping = [] | [("always" | "never") | {
|
|
@@ -13768,7 +13913,7 @@ declare function defineConfig(options?: OptionsConfig & Config, ...userConfigs:
|
|
|
13768
13913
|
type DefineConfig = typeof defineConfig;
|
|
13769
13914
|
//#endregion
|
|
13770
13915
|
//#region src/generated/version.d.ts
|
|
13771
|
-
declare const VERSION = "0.4.
|
|
13916
|
+
declare const VERSION = "0.4.15";
|
|
13772
13917
|
declare namespace globs_d_exports {
|
|
13773
13918
|
export { GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_JS_SRC_EXT, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_YAML };
|
|
13774
13919
|
}
|
|
@@ -13803,6 +13948,7 @@ declare function importPluginUnicorn(): Promise<{
|
|
|
13803
13948
|
pluginUnicorn: eslint0.ESLint.Plugin & {
|
|
13804
13949
|
configs: {
|
|
13805
13950
|
recommended: eslint0.Linter.FlatConfig;
|
|
13951
|
+
unopinionated: eslint0.Linter.FlatConfig;
|
|
13806
13952
|
all: eslint0.Linter.FlatConfig;
|
|
13807
13953
|
"flat/all": eslint0.Linter.FlatConfig;
|
|
13808
13954
|
"flat/recommended": eslint0.Linter.FlatConfig;
|
|
@@ -14105,6 +14251,14 @@ declare function importPluginReactRefresh(): Promise<{
|
|
|
14105
14251
|
};
|
|
14106
14252
|
rules: Record<string, any>;
|
|
14107
14253
|
};
|
|
14254
|
+
next: {
|
|
14255
|
+
plugins: {
|
|
14256
|
+
"react-refresh": {
|
|
14257
|
+
rules: Record<string, any>;
|
|
14258
|
+
};
|
|
14259
|
+
};
|
|
14260
|
+
rules: Record<string, any>;
|
|
14261
|
+
};
|
|
14108
14262
|
};
|
|
14109
14263
|
};
|
|
14110
14264
|
}>;
|
|
@@ -14400,6 +14554,14 @@ declare function importReactPlugins(): Promise<{
|
|
|
14400
14554
|
};
|
|
14401
14555
|
rules: Record<string, any>;
|
|
14402
14556
|
};
|
|
14557
|
+
next: {
|
|
14558
|
+
plugins: {
|
|
14559
|
+
"react-refresh": {
|
|
14560
|
+
rules: Record<string, any>;
|
|
14561
|
+
};
|
|
14562
|
+
};
|
|
14563
|
+
rules: Record<string, any>;
|
|
14564
|
+
};
|
|
14403
14565
|
};
|
|
14404
14566
|
};
|
|
14405
14567
|
}>;
|
|
@@ -15341,7 +15503,7 @@ declare function importPluginMarkdown(): Promise<{
|
|
|
15341
15503
|
}>;
|
|
15342
15504
|
declare function importPluginJsdoc(): Promise<{
|
|
15343
15505
|
pluginJsdoc: eslint0.ESLint.Plugin & {
|
|
15344
|
-
configs: Record<`flat/${eslint_plugin_jsdoc0.ConfigGroups}${eslint_plugin_jsdoc0.ConfigVariants}${eslint_plugin_jsdoc0.ErrorLevelVariants}`, eslint0.Linter.Config>;
|
|
15506
|
+
configs: Record<`flat/${eslint_plugin_jsdoc0.ConfigGroups}${eslint_plugin_jsdoc0.ConfigVariants}${eslint_plugin_jsdoc0.ErrorLevelVariants}`, eslint0.Linter.Config> & Record<"examples" | "default-expressions" | "examples-and-default-expressions", eslint0.Linter.Config[]> & Record<"flat/recommended-mixed", eslint0.Linter.Config[]>;
|
|
15345
15507
|
};
|
|
15346
15508
|
}>;
|
|
15347
15509
|
declare function importPluginTsdoc(): Promise<{
|