@cany748/eslint-config 4.0.1 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index.d.ts → index.d.mts} +351 -160
- package/dist/{index.js → index.mjs} +23 -11
- package/package.json +29 -29
|
@@ -472,7 +472,7 @@ interface RuleOptions {
|
|
|
472
472
|
* Disallow member access on a value with type `any`
|
|
473
473
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
474
474
|
*/
|
|
475
|
-
'@typescript-eslint/no-unsafe-member-access'?: Linter.RuleEntry<
|
|
475
|
+
'@typescript-eslint/no-unsafe-member-access'?: Linter.RuleEntry<TypescriptEslintNoUnsafeMemberAccess>;
|
|
476
476
|
/**
|
|
477
477
|
* Disallow returning a value with type `any` from a function
|
|
478
478
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
@@ -493,6 +493,11 @@ interface RuleOptions {
|
|
|
493
493
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
494
494
|
*/
|
|
495
495
|
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>;
|
|
496
|
+
/**
|
|
497
|
+
* Disallow unused private class members
|
|
498
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
499
|
+
*/
|
|
500
|
+
'@typescript-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>;
|
|
496
501
|
/**
|
|
497
502
|
* Disallow unused variables
|
|
498
503
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -1626,12 +1631,12 @@ interface RuleOptions {
|
|
|
1626
1631
|
*/
|
|
1627
1632
|
'n/no-hide-core-modules'?: Linter.RuleEntry<NNoHideCoreModules>;
|
|
1628
1633
|
/**
|
|
1629
|
-
* disallow `import` declarations which import
|
|
1634
|
+
* disallow `import` declarations which import missing modules
|
|
1630
1635
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
|
|
1631
1636
|
*/
|
|
1632
1637
|
'n/no-missing-import'?: Linter.RuleEntry<NNoMissingImport>;
|
|
1633
1638
|
/**
|
|
1634
|
-
* disallow `require()` expressions which import
|
|
1639
|
+
* disallow `require()` expressions which import missing modules
|
|
1635
1640
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
|
|
1636
1641
|
*/
|
|
1637
1642
|
'n/no-missing-require'?: Linter.RuleEntry<NNoMissingRequire>;
|
|
@@ -1874,7 +1879,7 @@ interface RuleOptions {
|
|
|
1874
1879
|
*/
|
|
1875
1880
|
'no-console'?: Linter.RuleEntry<NoConsole>;
|
|
1876
1881
|
/**
|
|
1877
|
-
* Disallow reassigning `const` variables
|
|
1882
|
+
* Disallow reassigning `const`, `using`, and `await using` variables
|
|
1878
1883
|
* @see https://eslint.org/docs/latest/rules/no-const-assign
|
|
1879
1884
|
*/
|
|
1880
1885
|
'no-const-assign'?: Linter.RuleEntry<[]>;
|
|
@@ -2740,6 +2745,11 @@ interface RuleOptions {
|
|
|
2740
2745
|
* @see https://eslint.org/docs/latest/rules/prefer-template
|
|
2741
2746
|
*/
|
|
2742
2747
|
'prefer-template'?: Linter.RuleEntry<[]>;
|
|
2748
|
+
/**
|
|
2749
|
+
* Disallow losing originally caught error when re-throwing custom errors
|
|
2750
|
+
* @see https://eslint.org/docs/latest/rules/preserve-caught-error
|
|
2751
|
+
*/
|
|
2752
|
+
'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>;
|
|
2743
2753
|
/**
|
|
2744
2754
|
* @see https://github.com/prettier/eslint-plugin-prettier#options
|
|
2745
2755
|
*/
|
|
@@ -3295,7 +3305,12 @@ interface RuleOptions {
|
|
|
3295
3305
|
*/
|
|
3296
3306
|
'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
|
|
3297
3307
|
/**
|
|
3298
|
-
*
|
|
3308
|
+
* enforce using `.each` or `.for` consistently
|
|
3309
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
|
|
3310
|
+
*/
|
|
3311
|
+
'test/consistent-each-for'?: Linter.RuleEntry<TestConsistentEachFor>;
|
|
3312
|
+
/**
|
|
3313
|
+
* require test file pattern
|
|
3299
3314
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
|
|
3300
3315
|
*/
|
|
3301
3316
|
'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
|
|
@@ -3314,6 +3329,11 @@ interface RuleOptions {
|
|
|
3314
3329
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
|
|
3315
3330
|
*/
|
|
3316
3331
|
'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>;
|
|
3332
|
+
/**
|
|
3333
|
+
* enforce hoisted APIs to be on top of the file
|
|
3334
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/hoisted-apis-on-top.md
|
|
3335
|
+
*/
|
|
3336
|
+
'test/hoisted-apis-on-top'?: Linter.RuleEntry<[]>;
|
|
3317
3337
|
/**
|
|
3318
3338
|
* enforce a maximum number of expect per test
|
|
3319
3339
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
|
|
@@ -3475,6 +3495,11 @@ interface RuleOptions {
|
|
|
3475
3495
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
3476
3496
|
*/
|
|
3477
3497
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
|
|
3498
|
+
/**
|
|
3499
|
+
* Prefer `toHaveBeenCalledExactlyOnceWith` over `toHaveBeenCalledOnce` and `toHaveBeenCalledWith`
|
|
3500
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-exactly-once-with.md
|
|
3501
|
+
*/
|
|
3502
|
+
'test/prefer-called-exactly-once-with'?: Linter.RuleEntry<[]>;
|
|
3478
3503
|
/**
|
|
3479
3504
|
* enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
|
|
3480
3505
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
|
|
@@ -3506,7 +3531,7 @@ interface RuleOptions {
|
|
|
3506
3531
|
*/
|
|
3507
3532
|
'test/prefer-each'?: Linter.RuleEntry<[]>;
|
|
3508
3533
|
/**
|
|
3509
|
-
* enforce using the built-in
|
|
3534
|
+
* enforce using the built-in equality matchers
|
|
3510
3535
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-equality-matcher.md
|
|
3511
3536
|
*/
|
|
3512
3537
|
'test/prefer-equality-matcher'?: Linter.RuleEntry<[]>;
|
|
@@ -3520,6 +3545,11 @@ interface RuleOptions {
|
|
|
3520
3545
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-resolves.md
|
|
3521
3546
|
*/
|
|
3522
3547
|
'test/prefer-expect-resolves'?: Linter.RuleEntry<[]>;
|
|
3548
|
+
/**
|
|
3549
|
+
* enforce using `expectTypeOf` instead of `expect(typeof ...)`
|
|
3550
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-expect-type-of.md
|
|
3551
|
+
*/
|
|
3552
|
+
'test/prefer-expect-type-of'?: Linter.RuleEntry<[]>;
|
|
3523
3553
|
/**
|
|
3524
3554
|
* enforce having hooks in consistent order
|
|
3525
3555
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-in-order.md
|
|
@@ -3530,6 +3560,11 @@ interface RuleOptions {
|
|
|
3530
3560
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-hooks-on-top.md
|
|
3531
3561
|
*/
|
|
3532
3562
|
'test/prefer-hooks-on-top'?: Linter.RuleEntry<[]>;
|
|
3563
|
+
/**
|
|
3564
|
+
* prefer dynamic import in mock
|
|
3565
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-import-in-mock.md
|
|
3566
|
+
*/
|
|
3567
|
+
'test/prefer-import-in-mock'?: Linter.RuleEntry<[]>;
|
|
3533
3568
|
/**
|
|
3534
3569
|
* enforce importing Vitest globals
|
|
3535
3570
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-importing-vitest-globals.md
|
|
@@ -3605,11 +3640,21 @@ interface RuleOptions {
|
|
|
3605
3640
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
3606
3641
|
*/
|
|
3607
3642
|
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>;
|
|
3643
|
+
/**
|
|
3644
|
+
* ensure that every `expect.poll` call is awaited
|
|
3645
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-awaited-expect-poll.md
|
|
3646
|
+
*/
|
|
3647
|
+
'test/require-awaited-expect-poll'?: Linter.RuleEntry<[]>;
|
|
3608
3648
|
/**
|
|
3609
3649
|
* require setup and teardown to be within a hook
|
|
3610
3650
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
3611
3651
|
*/
|
|
3612
3652
|
'test/require-hook'?: Linter.RuleEntry<TestRequireHook>;
|
|
3653
|
+
/**
|
|
3654
|
+
* require usage of import in vi.mock()
|
|
3655
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-import-vi-mock.md
|
|
3656
|
+
*/
|
|
3657
|
+
'test/require-import-vi-mock'?: Linter.RuleEntry<[]>;
|
|
3613
3658
|
/**
|
|
3614
3659
|
* require local Test Context for concurrent snapshot tests
|
|
3615
3660
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-local-test-context-for-concurrent-snapshots.md
|
|
@@ -3662,670 +3707,725 @@ interface RuleOptions {
|
|
|
3662
3707
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
3663
3708
|
/**
|
|
3664
3709
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
3665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/better-regex.md
|
|
3666
3711
|
*/
|
|
3667
3712
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
|
|
3668
3713
|
/**
|
|
3669
3714
|
* Enforce a specific parameter name in catch clauses.
|
|
3670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/catch-error-name.md
|
|
3671
3716
|
*/
|
|
3672
3717
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
3673
3718
|
/**
|
|
3674
3719
|
* Enforce consistent assertion style with `node:assert`.
|
|
3675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-assert.md
|
|
3676
3721
|
*/
|
|
3677
3722
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
3678
3723
|
/**
|
|
3679
3724
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-date-clone.md
|
|
3681
3726
|
*/
|
|
3682
3727
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
3683
3728
|
/**
|
|
3684
3729
|
* Use destructured variables over properties.
|
|
3685
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-destructuring.md
|
|
3686
3731
|
*/
|
|
3687
3732
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
3688
3733
|
/**
|
|
3689
3734
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-empty-array-spread.md
|
|
3691
3736
|
*/
|
|
3692
3737
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
3693
3738
|
/**
|
|
3694
3739
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-existence-index-check.md
|
|
3696
3741
|
*/
|
|
3697
3742
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
3698
3743
|
/**
|
|
3699
3744
|
* Move function definitions to the highest possible scope.
|
|
3700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/consistent-function-scoping.md
|
|
3701
3746
|
*/
|
|
3702
3747
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
3703
3748
|
/**
|
|
3704
3749
|
* Enforce correct `Error` subclassing.
|
|
3705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/custom-error-definition.md
|
|
3706
3751
|
*/
|
|
3707
3752
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
3708
3753
|
/**
|
|
3709
3754
|
* Enforce no spaces between braces.
|
|
3710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/empty-brace-spaces.md
|
|
3711
3756
|
*/
|
|
3712
3757
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
3713
3758
|
/**
|
|
3714
3759
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/error-message.md
|
|
3716
3761
|
*/
|
|
3717
3762
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
3718
3763
|
/**
|
|
3719
3764
|
* Require escape sequences to use uppercase or lowercase values.
|
|
3720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/escape-case.md
|
|
3721
3766
|
*/
|
|
3722
3767
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
3723
3768
|
/**
|
|
3724
3769
|
* Add expiration conditions to TODO comments.
|
|
3725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/expiring-todo-comments.md
|
|
3726
3771
|
*/
|
|
3727
3772
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
3728
3773
|
/**
|
|
3729
3774
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3775
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/explicit-length-check.md
|
|
3731
3776
|
*/
|
|
3732
3777
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
3733
3778
|
/**
|
|
3734
3779
|
* Enforce a case style for filenames.
|
|
3735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/filename-case.md
|
|
3736
3781
|
*/
|
|
3737
3782
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
3738
3783
|
/**
|
|
3739
3784
|
* Enforce specific import styles per module.
|
|
3740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/import-style.md
|
|
3741
3786
|
*/
|
|
3742
3787
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
3743
3788
|
/**
|
|
3744
3789
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/new-for-builtins.md
|
|
3746
3791
|
*/
|
|
3747
3792
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
3748
3793
|
/**
|
|
3749
3794
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
3751
3796
|
*/
|
|
3752
3797
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
3753
3798
|
/**
|
|
3754
3799
|
* Disallow recursive access to `this` within getters and setters.
|
|
3755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-accessor-recursion.md
|
|
3756
3801
|
*/
|
|
3757
3802
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
3758
3803
|
/**
|
|
3759
3804
|
* Disallow anonymous functions and classes as the default export.
|
|
3760
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-anonymous-default-export.md
|
|
3761
3806
|
*/
|
|
3762
3807
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
3763
3808
|
/**
|
|
3764
3809
|
* Prevent passing a function reference directly to iterator methods.
|
|
3765
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-callback-reference.md
|
|
3766
3811
|
*/
|
|
3767
3812
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
|
|
3768
3813
|
/**
|
|
3769
3814
|
* Prefer `for…of` over the `forEach` method.
|
|
3770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-for-each.md
|
|
3771
3816
|
*/
|
|
3772
3817
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
|
|
3773
3818
|
/**
|
|
3774
3819
|
* Disallow using the `this` argument in array methods.
|
|
3775
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-method-this-argument.md
|
|
3776
3821
|
*/
|
|
3777
3822
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
3778
3823
|
/**
|
|
3779
3824
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
3780
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3825
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-array-push-push
|
|
3781
3826
|
* @deprecated
|
|
3782
3827
|
*/
|
|
3783
3828
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
3784
3829
|
/**
|
|
3785
3830
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reduce.md
|
|
3787
3832
|
*/
|
|
3788
3833
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
3834
|
+
/**
|
|
3835
|
+
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
3836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-reverse.md
|
|
3837
|
+
*/
|
|
3838
|
+
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
3839
|
+
/**
|
|
3840
|
+
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
3841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-array-sort.md
|
|
3842
|
+
*/
|
|
3843
|
+
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
3789
3844
|
/**
|
|
3790
3845
|
* Disallow member access from await expression.
|
|
3791
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-expression-member.md
|
|
3792
3847
|
*/
|
|
3793
3848
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
3794
3849
|
/**
|
|
3795
3850
|
* Disallow using `await` in `Promise` method parameters.
|
|
3796
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-await-in-promise-methods.md
|
|
3797
3852
|
*/
|
|
3798
3853
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
3799
3854
|
/**
|
|
3800
3855
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-console-spaces.md
|
|
3802
3857
|
*/
|
|
3803
3858
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
3804
3859
|
/**
|
|
3805
3860
|
* Do not use `document.cookie` directly.
|
|
3806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-document-cookie.md
|
|
3807
3862
|
*/
|
|
3808
3863
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
3809
3864
|
/**
|
|
3810
3865
|
* Disallow empty files.
|
|
3811
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-empty-file.md
|
|
3812
3867
|
*/
|
|
3813
3868
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
|
|
3814
3869
|
/**
|
|
3815
3870
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3816
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-for-loop.md
|
|
3817
3872
|
*/
|
|
3818
3873
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
3819
3874
|
/**
|
|
3820
3875
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
3821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-hex-escape.md
|
|
3822
3877
|
*/
|
|
3823
3878
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
3879
|
+
/**
|
|
3880
|
+
* Disallow immediate mutation after variable assignment.
|
|
3881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-immediate-mutation.md
|
|
3882
|
+
*/
|
|
3883
|
+
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
3824
3884
|
/**
|
|
3825
3885
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
3826
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-instanceof-array
|
|
3827
3887
|
* @deprecated
|
|
3828
3888
|
*/
|
|
3829
3889
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
3830
3890
|
/**
|
|
3831
3891
|
* Disallow `instanceof` with built-in objects
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-instanceof-builtins.md
|
|
3833
3893
|
*/
|
|
3834
3894
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
3835
3895
|
/**
|
|
3836
3896
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-fetch-options.md
|
|
3838
3898
|
*/
|
|
3839
3899
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
3840
3900
|
/**
|
|
3841
3901
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
3843
3903
|
*/
|
|
3844
3904
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
3845
3905
|
/**
|
|
3846
3906
|
* Disallow identifiers starting with `new` or `class`.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-keyword-prefix.md
|
|
3848
3908
|
*/
|
|
3849
3909
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
3850
3910
|
/**
|
|
3851
3911
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/deprecated-rules.md#no-length-as-slice-end
|
|
3853
3913
|
* @deprecated
|
|
3854
3914
|
*/
|
|
3855
3915
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
3856
3916
|
/**
|
|
3857
3917
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-lonely-if.md
|
|
3859
3919
|
*/
|
|
3860
3920
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
3861
3921
|
/**
|
|
3862
3922
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
3864
3924
|
*/
|
|
3865
3925
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
3866
3926
|
/**
|
|
3867
3927
|
* Disallow named usage of default import and export.
|
|
3868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-named-default.md
|
|
3869
3929
|
*/
|
|
3870
3930
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
3871
3931
|
/**
|
|
3872
3932
|
* Disallow negated conditions.
|
|
3873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negated-condition.md
|
|
3874
3934
|
*/
|
|
3875
3935
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
3876
3936
|
/**
|
|
3877
3937
|
* Disallow negated expression in equality check.
|
|
3878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-negation-in-equality-check.md
|
|
3879
3939
|
*/
|
|
3880
3940
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
3881
3941
|
/**
|
|
3882
3942
|
* Disallow nested ternary expressions.
|
|
3883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-nested-ternary.md
|
|
3884
3944
|
*/
|
|
3885
3945
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
3886
3946
|
/**
|
|
3887
3947
|
* Disallow `new Array()`.
|
|
3888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-array.md
|
|
3889
3949
|
*/
|
|
3890
3950
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
3891
3951
|
/**
|
|
3892
3952
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-new-buffer.md
|
|
3894
3954
|
*/
|
|
3895
3955
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
3896
3956
|
/**
|
|
3897
3957
|
* Disallow the use of the `null` literal.
|
|
3898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-null.md
|
|
3899
3959
|
*/
|
|
3900
3960
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
3901
3961
|
/**
|
|
3902
3962
|
* Disallow the use of objects as default parameters.
|
|
3903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3963
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-object-as-default-parameter.md
|
|
3904
3964
|
*/
|
|
3905
3965
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
3906
3966
|
/**
|
|
3907
3967
|
* Disallow `process.exit()`.
|
|
3908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3968
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-process-exit.md
|
|
3909
3969
|
*/
|
|
3910
3970
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
3911
3971
|
/**
|
|
3912
3972
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3973
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
3914
3974
|
*/
|
|
3915
3975
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
3916
3976
|
/**
|
|
3917
3977
|
* Disallow classes that only have static members.
|
|
3918
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3978
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-static-only-class.md
|
|
3919
3979
|
*/
|
|
3920
3980
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
3921
3981
|
/**
|
|
3922
3982
|
* Disallow `then` property.
|
|
3923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3983
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-thenable.md
|
|
3924
3984
|
*/
|
|
3925
3985
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
3926
3986
|
/**
|
|
3927
3987
|
* Disallow assigning `this` to a variable.
|
|
3928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3988
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-this-assignment.md
|
|
3929
3989
|
*/
|
|
3930
3990
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
3931
3991
|
/**
|
|
3932
3992
|
* Disallow comparing `undefined` using `typeof`.
|
|
3933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3993
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-typeof-undefined.md
|
|
3934
3994
|
*/
|
|
3935
3995
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
3936
3996
|
/**
|
|
3937
3997
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
3938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3998
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
3939
3999
|
*/
|
|
3940
4000
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
3941
4001
|
/**
|
|
3942
4002
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
3943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4003
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
3944
4004
|
*/
|
|
3945
4005
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
3946
4006
|
/**
|
|
3947
4007
|
* Disallow awaiting non-promise values.
|
|
3948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-await.md
|
|
3949
4009
|
*/
|
|
3950
4010
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
3951
4011
|
/**
|
|
3952
4012
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3953
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4013
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
3954
4014
|
*/
|
|
3955
4015
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
3956
4016
|
/**
|
|
3957
4017
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4018
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
3959
4019
|
*/
|
|
3960
4020
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
3961
4021
|
/**
|
|
3962
4022
|
* Disallow unreadable array destructuring.
|
|
3963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4023
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
3964
4024
|
*/
|
|
3965
4025
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
|
|
3966
4026
|
/**
|
|
3967
4027
|
* Disallow unreadable IIFEs.
|
|
3968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4028
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unreadable-iife.md
|
|
3969
4029
|
*/
|
|
3970
4030
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
3971
4031
|
/**
|
|
3972
4032
|
* Disallow unused object properties.
|
|
3973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4033
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-unused-properties.md
|
|
3974
4034
|
*/
|
|
3975
4035
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
4036
|
+
/**
|
|
4037
|
+
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
4038
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-collection-argument.md
|
|
4039
|
+
*/
|
|
4040
|
+
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
4041
|
+
/**
|
|
4042
|
+
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
4043
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
4044
|
+
*/
|
|
4045
|
+
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
3976
4046
|
/**
|
|
3977
4047
|
* Disallow useless fallback when spreading in object literals.
|
|
3978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4048
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
3979
4049
|
*/
|
|
3980
4050
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
3981
4051
|
/**
|
|
3982
4052
|
* Disallow useless array length check.
|
|
3983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4053
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-length-check.md
|
|
3984
4054
|
*/
|
|
3985
4055
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
3986
4056
|
/**
|
|
3987
4057
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4058
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
3989
4059
|
*/
|
|
3990
4060
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
3991
4061
|
/**
|
|
3992
4062
|
* Disallow unnecessary spread.
|
|
3993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4063
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-spread.md
|
|
3994
4064
|
*/
|
|
3995
4065
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
3996
4066
|
/**
|
|
3997
4067
|
* Disallow useless case in switch statements.
|
|
3998
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4068
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-switch-case.md
|
|
3999
4069
|
*/
|
|
4000
4070
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
4001
4071
|
/**
|
|
4002
4072
|
* Disallow useless `undefined`.
|
|
4003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4073
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-useless-undefined.md
|
|
4004
4074
|
*/
|
|
4005
4075
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
4006
4076
|
/**
|
|
4007
4077
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4078
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/no-zero-fractions.md
|
|
4009
4079
|
*/
|
|
4010
4080
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
4011
4081
|
/**
|
|
4012
4082
|
* Enforce proper case for numeric literals.
|
|
4013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4083
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/number-literal-case.md
|
|
4014
4084
|
*/
|
|
4015
4085
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
4016
4086
|
/**
|
|
4017
4087
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4088
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/numeric-separators-style.md
|
|
4019
4089
|
*/
|
|
4020
4090
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
4021
4091
|
/**
|
|
4022
4092
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4093
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-add-event-listener.md
|
|
4024
4094
|
*/
|
|
4025
4095
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4026
4096
|
/**
|
|
4027
4097
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4098
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-find.md
|
|
4029
4099
|
*/
|
|
4030
4100
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
4031
4101
|
/**
|
|
4032
4102
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4103
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat.md
|
|
4034
4104
|
*/
|
|
4035
4105
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
4036
4106
|
/**
|
|
4037
4107
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-flat-map.md
|
|
4039
4109
|
*/
|
|
4040
4110
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
4041
4111
|
/**
|
|
4042
4112
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4113
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-index-of.md
|
|
4044
4114
|
*/
|
|
4045
4115
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
4046
4116
|
/**
|
|
4047
4117
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4118
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-array-some.md
|
|
4049
4119
|
*/
|
|
4050
4120
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
4051
4121
|
/**
|
|
4052
4122
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4123
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-at.md
|
|
4054
4124
|
*/
|
|
4055
4125
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4126
|
+
/**
|
|
4127
|
+
* Prefer `BigInt` literals over the constructor.
|
|
4128
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-bigint-literals.md
|
|
4129
|
+
*/
|
|
4130
|
+
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
4056
4131
|
/**
|
|
4057
4132
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4133
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4059
4134
|
*/
|
|
4060
4135
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
4136
|
+
/**
|
|
4137
|
+
* Prefer class field declarations over `this` assignments in constructors.
|
|
4138
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-class-fields.md
|
|
4139
|
+
*/
|
|
4140
|
+
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
4141
|
+
/**
|
|
4142
|
+
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
4143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-classlist-toggle.md
|
|
4144
|
+
*/
|
|
4145
|
+
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
4061
4146
|
/**
|
|
4062
4147
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4148
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-code-point.md
|
|
4064
4149
|
*/
|
|
4065
4150
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
4066
4151
|
/**
|
|
4067
4152
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-date-now.md
|
|
4069
4154
|
*/
|
|
4070
4155
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
4071
4156
|
/**
|
|
4072
4157
|
* Prefer default parameters over reassignment.
|
|
4073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4158
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-default-parameters.md
|
|
4074
4159
|
*/
|
|
4075
4160
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
4076
4161
|
/**
|
|
4077
4162
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-append.md
|
|
4079
4164
|
*/
|
|
4080
4165
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
4081
4166
|
/**
|
|
4082
4167
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4168
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
4084
4169
|
*/
|
|
4085
4170
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
4086
4171
|
/**
|
|
4087
4172
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4088
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4173
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4089
4174
|
*/
|
|
4090
4175
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
4091
4176
|
/**
|
|
4092
4177
|
* Prefer `.textContent` over `.innerText`.
|
|
4093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4178
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4094
4179
|
*/
|
|
4095
4180
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
4096
4181
|
/**
|
|
4097
4182
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4183
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-event-target.md
|
|
4099
4184
|
*/
|
|
4100
4185
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
4101
4186
|
/**
|
|
4102
4187
|
* Prefer `export…from` when re-exporting.
|
|
4103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4188
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-export-from.md
|
|
4104
4189
|
*/
|
|
4105
4190
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4106
4191
|
/**
|
|
4107
4192
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4193
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-global-this.md
|
|
4109
4194
|
*/
|
|
4110
4195
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
4111
4196
|
/**
|
|
4112
4197
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4198
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-import-meta-properties.md
|
|
4114
4199
|
*/
|
|
4115
4200
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
4116
4201
|
/**
|
|
4117
4202
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4203
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-includes.md
|
|
4119
4204
|
*/
|
|
4120
4205
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
4121
4206
|
/**
|
|
4122
4207
|
* Prefer reading a JSON file as a buffer.
|
|
4123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4208
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
4124
4209
|
*/
|
|
4125
4210
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
4126
4211
|
/**
|
|
4127
4212
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4213
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4129
4214
|
*/
|
|
4130
4215
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
4131
4216
|
/**
|
|
4132
4217
|
* Prefer using a logical operator over a ternary.
|
|
4133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4218
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4134
4219
|
*/
|
|
4135
4220
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
4136
4221
|
/**
|
|
4137
4222
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4138
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4223
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-min-max.md
|
|
4139
4224
|
*/
|
|
4140
4225
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
4141
4226
|
/**
|
|
4142
4227
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4228
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-math-trunc.md
|
|
4144
4229
|
*/
|
|
4145
4230
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
4146
4231
|
/**
|
|
4147
4232
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4233
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4149
4234
|
*/
|
|
4150
4235
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
4151
4236
|
/**
|
|
4152
4237
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4238
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4154
4239
|
*/
|
|
4155
4240
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
4156
4241
|
/**
|
|
4157
4242
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4243
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-module.md
|
|
4159
4244
|
*/
|
|
4160
4245
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
4161
4246
|
/**
|
|
4162
4247
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4248
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4164
4249
|
*/
|
|
4165
4250
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
4166
4251
|
/**
|
|
4167
4252
|
* Prefer negative index over `.length - index` when possible.
|
|
4168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4253
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-negative-index.md
|
|
4169
4254
|
*/
|
|
4170
4255
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
4171
4256
|
/**
|
|
4172
4257
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4258
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-node-protocol.md
|
|
4174
4259
|
*/
|
|
4175
4260
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
4176
4261
|
/**
|
|
4177
4262
|
* Prefer `Number` static properties over global ones.
|
|
4178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4263
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-number-properties.md
|
|
4179
4264
|
*/
|
|
4180
4265
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4181
4266
|
/**
|
|
4182
4267
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4268
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-object-from-entries.md
|
|
4184
4269
|
*/
|
|
4185
4270
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4186
4271
|
/**
|
|
4187
4272
|
* Prefer omitting the `catch` binding parameter.
|
|
4188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4273
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4189
4274
|
*/
|
|
4190
4275
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
4191
4276
|
/**
|
|
4192
4277
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4278
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-prototype-methods.md
|
|
4194
4279
|
*/
|
|
4195
4280
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
4196
4281
|
/**
|
|
4197
4282
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4283
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-query-selector.md
|
|
4199
4284
|
*/
|
|
4200
4285
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
|
|
4201
4286
|
/**
|
|
4202
4287
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4288
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-reflect-apply.md
|
|
4204
4289
|
*/
|
|
4205
4290
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
4206
4291
|
/**
|
|
4207
4292
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-regexp-test.md
|
|
4209
4294
|
*/
|
|
4210
4295
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
4296
|
+
/**
|
|
4297
|
+
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
4298
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-response-static-json.md
|
|
4299
|
+
*/
|
|
4300
|
+
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
4211
4301
|
/**
|
|
4212
4302
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4303
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-has.md
|
|
4214
4304
|
*/
|
|
4215
4305
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
|
|
4216
4306
|
/**
|
|
4217
4307
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4218
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4308
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-set-size.md
|
|
4219
4309
|
*/
|
|
4220
4310
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
4221
4311
|
/**
|
|
4222
4312
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4223
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4313
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-single-call.md
|
|
4224
4314
|
*/
|
|
4225
4315
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
4226
4316
|
/**
|
|
4227
4317
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4228
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4318
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-spread.md
|
|
4229
4319
|
*/
|
|
4230
4320
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
4231
4321
|
/**
|
|
4232
4322
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4233
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4323
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-raw.md
|
|
4234
4324
|
*/
|
|
4235
4325
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
4236
4326
|
/**
|
|
4237
4327
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4238
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4328
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-replace-all.md
|
|
4239
4329
|
*/
|
|
4240
4330
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
4241
4331
|
/**
|
|
4242
4332
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4243
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4333
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-slice.md
|
|
4244
4334
|
*/
|
|
4245
4335
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
4246
4336
|
/**
|
|
4247
4337
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4248
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4249
4339
|
*/
|
|
4250
4340
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
4251
4341
|
/**
|
|
4252
4342
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4253
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4343
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4254
4344
|
*/
|
|
4255
4345
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
4256
4346
|
/**
|
|
4257
4347
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4258
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-structured-clone.md
|
|
4259
4349
|
*/
|
|
4260
4350
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
4261
4351
|
/**
|
|
4262
4352
|
* Prefer `switch` over multiple `else-if`.
|
|
4263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4353
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-switch.md
|
|
4264
4354
|
*/
|
|
4265
4355
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
4266
4356
|
/**
|
|
4267
4357
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4358
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-ternary.md
|
|
4269
4359
|
*/
|
|
4270
4360
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
4271
4361
|
/**
|
|
4272
4362
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4273
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-top-level-await.md
|
|
4274
4364
|
*/
|
|
4275
4365
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
4276
4366
|
/**
|
|
4277
4367
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4368
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prefer-type-error.md
|
|
4279
4369
|
*/
|
|
4280
4370
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
4281
4371
|
/**
|
|
4282
4372
|
* Prevent abbreviations.
|
|
4283
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4373
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/prevent-abbreviations.md
|
|
4284
4374
|
*/
|
|
4285
4375
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
4286
4376
|
/**
|
|
4287
4377
|
* Enforce consistent relative URL style.
|
|
4288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4378
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/relative-url-style.md
|
|
4289
4379
|
*/
|
|
4290
4380
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
4291
4381
|
/**
|
|
4292
4382
|
* Enforce using the separator argument with `Array#join()`.
|
|
4293
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4383
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-array-join-separator.md
|
|
4294
4384
|
*/
|
|
4295
4385
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
4386
|
+
/**
|
|
4387
|
+
* Require non-empty module attributes for imports and exports
|
|
4388
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-attributes.md
|
|
4389
|
+
*/
|
|
4390
|
+
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
4391
|
+
/**
|
|
4392
|
+
* Require non-empty specifier list in import and export statements.
|
|
4393
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-module-specifiers.md
|
|
4394
|
+
*/
|
|
4395
|
+
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
4296
4396
|
/**
|
|
4297
4397
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4398
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4299
4399
|
*/
|
|
4300
4400
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
4301
4401
|
/**
|
|
4302
4402
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4403
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/require-post-message-target-origin.md
|
|
4304
4404
|
*/
|
|
4305
4405
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
4306
4406
|
/**
|
|
4307
4407
|
* Enforce better string content.
|
|
4308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4408
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/string-content.md
|
|
4309
4409
|
*/
|
|
4310
4410
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
4311
4411
|
/**
|
|
4312
4412
|
* Enforce consistent brace style for `case` clauses.
|
|
4313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4413
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/switch-case-braces.md
|
|
4314
4414
|
*/
|
|
4315
4415
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
4316
4416
|
/**
|
|
4317
4417
|
* Fix whitespace-insensitive template indentation.
|
|
4318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4418
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/template-indent.md
|
|
4319
4419
|
*/
|
|
4320
4420
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
4321
4421
|
/**
|
|
4322
4422
|
* Enforce consistent case for text encoding identifiers.
|
|
4323
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4423
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4324
4424
|
*/
|
|
4325
|
-
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<
|
|
4425
|
+
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
4326
4426
|
/**
|
|
4327
4427
|
* Require `new` when creating an error.
|
|
4328
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4428
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v62.0.0/docs/rules/throw-new-error.md
|
|
4329
4429
|
*/
|
|
4330
4430
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
4331
4431
|
/**
|
|
@@ -4342,7 +4442,7 @@ interface RuleOptions {
|
|
|
4342
4442
|
* Order of UnoCSS utilities in class attribute
|
|
4343
4443
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
4344
4444
|
*/
|
|
4345
|
-
'unocss/order'?: Linter.RuleEntry<
|
|
4445
|
+
'unocss/order'?: Linter.RuleEntry<UnocssOrder>;
|
|
4346
4446
|
/**
|
|
4347
4447
|
* Order of UnoCSS attributes
|
|
4348
4448
|
* @see https://unocss.dev/integrations/eslint#rules
|
|
@@ -4667,7 +4767,7 @@ interface RuleOptions {
|
|
|
4667
4767
|
* disallow asynchronous actions in computed properties
|
|
4668
4768
|
* @see https://eslint.vuejs.org/rules/no-async-in-computed-properties.html
|
|
4669
4769
|
*/
|
|
4670
|
-
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<
|
|
4770
|
+
'vue/no-async-in-computed-properties'?: Linter.RuleEntry<VueNoAsyncInComputedProperties>;
|
|
4671
4771
|
/**
|
|
4672
4772
|
* disallow the use of bare strings in `<template>`
|
|
4673
4773
|
* @see https://eslint.vuejs.org/rules/no-bare-strings-in-template.html
|
|
@@ -4828,6 +4928,11 @@ interface RuleOptions {
|
|
|
4828
4928
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
4829
4929
|
*/
|
|
4830
4930
|
'vue/no-duplicate-attributes'?: Linter.RuleEntry<VueNoDuplicateAttributes>;
|
|
4931
|
+
/**
|
|
4932
|
+
* disallow duplication of class names in class attributes
|
|
4933
|
+
* @see https://eslint.vuejs.org/rules/no-duplicate-class-names.html
|
|
4934
|
+
*/
|
|
4935
|
+
'vue/no-duplicate-class-names'?: Linter.RuleEntry<[]>;
|
|
4831
4936
|
/**
|
|
4832
4937
|
* disallow the `<template>` `<script>` `<style>` block to be empty
|
|
4833
4938
|
* @see https://eslint.vuejs.org/rules/no-empty-component-block.html
|
|
@@ -4908,6 +5013,16 @@ interface RuleOptions {
|
|
|
4908
5013
|
* @see https://eslint.vuejs.org/rules/no-mutating-props.html
|
|
4909
5014
|
*/
|
|
4910
5015
|
'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
|
|
5016
|
+
/**
|
|
5017
|
+
* Disallow negated conditions in `<template>`
|
|
5018
|
+
* @see https://eslint.vuejs.org/rules/no-negated-condition.html
|
|
5019
|
+
*/
|
|
5020
|
+
'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
5021
|
+
/**
|
|
5022
|
+
* disallow negated conditions in v-if/v-else
|
|
5023
|
+
* @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
|
|
5024
|
+
*/
|
|
5025
|
+
'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
|
|
4911
5026
|
/**
|
|
4912
5027
|
* disallow parsing errors in `<template>`
|
|
4913
5028
|
* @see https://eslint.vuejs.org/rules/no-parsing-error.html
|
|
@@ -4979,7 +5094,7 @@ interface RuleOptions {
|
|
|
4979
5094
|
*/
|
|
4980
5095
|
'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
|
|
4981
5096
|
/**
|
|
4982
|
-
* disallow specific
|
|
5097
|
+
* disallow specific elements
|
|
4983
5098
|
* @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
|
|
4984
5099
|
*/
|
|
4985
5100
|
'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
|
|
@@ -5158,7 +5273,7 @@ interface RuleOptions {
|
|
|
5158
5273
|
* disallow use of v-html to prevent XSS attack
|
|
5159
5274
|
* @see https://eslint.vuejs.org/rules/no-v-html.html
|
|
5160
5275
|
*/
|
|
5161
|
-
'vue/no-v-html'?: Linter.RuleEntry<
|
|
5276
|
+
'vue/no-v-html'?: Linter.RuleEntry<VueNoVHtml>;
|
|
5162
5277
|
/**
|
|
5163
5278
|
* disallow adding an argument to `v-model` used in custom component
|
|
5164
5279
|
* @see https://eslint.vuejs.org/rules/no-v-model-argument.html
|
|
@@ -5626,7 +5741,6 @@ interface RuleOptions {
|
|
|
5626
5741
|
*/
|
|
5627
5742
|
'yoda'?: Linter.RuleEntry<Yoda>;
|
|
5628
5743
|
}
|
|
5629
|
-
|
|
5630
5744
|
/* ======= Declarations ======= */
|
|
5631
5745
|
// ----- @eslint-community/eslint-comments/disable-enable-pair -----
|
|
5632
5746
|
type EslintCommunityEslintCommentsDisableEnablePair = [] | [{
|
|
@@ -6339,6 +6453,10 @@ type TypescriptEslintNoUnnecessaryTypeAssertion = [] | [{
|
|
|
6339
6453
|
checkLiteralConstAssertions?: boolean;
|
|
6340
6454
|
typesToIgnore?: string[];
|
|
6341
6455
|
}];
|
|
6456
|
+
// ----- @typescript-eslint/no-unsafe-member-access -----
|
|
6457
|
+
type TypescriptEslintNoUnsafeMemberAccess = [] | [{
|
|
6458
|
+
allowOptionalChaining?: boolean;
|
|
6459
|
+
}];
|
|
6342
6460
|
// ----- @typescript-eslint/no-unused-expressions -----
|
|
6343
6461
|
type TypescriptEslintNoUnusedExpressions = [] | [{
|
|
6344
6462
|
allowShortCircuit?: boolean;
|
|
@@ -6356,6 +6474,7 @@ type TypescriptEslintNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
6356
6474
|
destructuredArrayIgnorePattern?: string;
|
|
6357
6475
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
6358
6476
|
ignoreRestSiblings?: boolean;
|
|
6477
|
+
ignoreUsingDeclarations?: boolean;
|
|
6359
6478
|
reportUsedIgnorePattern?: boolean;
|
|
6360
6479
|
vars?: ("all" | "local");
|
|
6361
6480
|
varsIgnorePattern?: string;
|
|
@@ -6425,7 +6544,6 @@ type TypescriptEslintPreferDestructuring = [] | [({
|
|
|
6425
6544
|
}), {
|
|
6426
6545
|
enforceForDeclarationWithTypeAnnotation?: boolean;
|
|
6427
6546
|
enforceForRenamedProperties?: boolean;
|
|
6428
|
-
[k: string]: unknown | undefined;
|
|
6429
6547
|
}];
|
|
6430
6548
|
// ----- @typescript-eslint/prefer-literal-enum-member -----
|
|
6431
6549
|
type TypescriptEslintPreferLiteralEnumMember = [] | [{
|
|
@@ -6443,7 +6561,6 @@ type TypescriptEslintPreferNullishCoalescing = [] | [{
|
|
|
6443
6561
|
boolean?: boolean;
|
|
6444
6562
|
number?: boolean;
|
|
6445
6563
|
string?: boolean;
|
|
6446
|
-
[k: string]: unknown | undefined;
|
|
6447
6564
|
} | true);
|
|
6448
6565
|
ignoreTernaryTests?: boolean;
|
|
6449
6566
|
}];
|
|
@@ -6593,6 +6710,7 @@ type AccessorPairs = [] | [{
|
|
|
6593
6710
|
getWithoutSet?: boolean;
|
|
6594
6711
|
setWithoutGet?: boolean;
|
|
6595
6712
|
enforceForClassMembers?: boolean;
|
|
6713
|
+
enforceForTSTypes?: boolean;
|
|
6596
6714
|
}];
|
|
6597
6715
|
// ----- array-bracket-newline -----
|
|
6598
6716
|
type ArrayBracketNewline = [] | [(("always" | "never" | "consistent") | {
|
|
@@ -6782,7 +6900,9 @@ type GetterReturn = [] | [{
|
|
|
6782
6900
|
allowImplicit?: boolean;
|
|
6783
6901
|
}];
|
|
6784
6902
|
// ----- grouped-accessor-pairs -----
|
|
6785
|
-
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")]
|
|
6903
|
+
type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
|
|
6904
|
+
enforceForTSTypes?: boolean;
|
|
6905
|
+
}];
|
|
6786
6906
|
// ----- handle-callback-err -----
|
|
6787
6907
|
type HandleCallbackErr = [] | [string];
|
|
6788
6908
|
// ----- id-blacklist -----
|
|
@@ -7923,7 +8043,7 @@ type NHashbang = [] | [{
|
|
|
7923
8043
|
// ----- n/no-deprecated-api -----
|
|
7924
8044
|
type NNoDeprecatedApi = [] | [{
|
|
7925
8045
|
version?: string;
|
|
7926
|
-
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()")[];
|
|
8046
|
+
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()")[];
|
|
7927
8047
|
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")[];
|
|
7928
8048
|
ignoreIndirectDependencies?: boolean;
|
|
7929
8049
|
}];
|
|
@@ -8117,7 +8237,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
8117
8237
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
8118
8238
|
version?: string;
|
|
8119
8239
|
allowExperimental?: boolean;
|
|
8120
|
-
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")[];
|
|
8240
|
+
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")[];
|
|
8121
8241
|
}];
|
|
8122
8242
|
// ----- n/prefer-global/buffer -----
|
|
8123
8243
|
type NPreferGlobalBuffer = [] | [("always" | "never")];
|
|
@@ -8379,22 +8499,31 @@ type NoRestrictedExports = [] | [({
|
|
|
8379
8499
|
};
|
|
8380
8500
|
})];
|
|
8381
8501
|
// ----- no-restricted-globals -----
|
|
8382
|
-
type NoRestrictedGlobals = (string | {
|
|
8502
|
+
type NoRestrictedGlobals = ((string | {
|
|
8383
8503
|
name: string;
|
|
8384
8504
|
message?: string;
|
|
8385
|
-
})[]
|
|
8505
|
+
})[] | [] | [{
|
|
8506
|
+
globals: (string | {
|
|
8507
|
+
name: string;
|
|
8508
|
+
message?: string;
|
|
8509
|
+
})[];
|
|
8510
|
+
checkGlobalObject?: boolean;
|
|
8511
|
+
globalObjects?: string[];
|
|
8512
|
+
}]);
|
|
8386
8513
|
// ----- no-restricted-imports -----
|
|
8387
8514
|
type NoRestrictedImports = ((string | {
|
|
8388
8515
|
name: string;
|
|
8389
8516
|
message?: string;
|
|
8390
8517
|
importNames?: string[];
|
|
8391
8518
|
allowImportNames?: string[];
|
|
8519
|
+
allowTypeImports?: boolean;
|
|
8392
8520
|
})[] | [] | [{
|
|
8393
8521
|
paths?: (string | {
|
|
8394
8522
|
name: string;
|
|
8395
8523
|
message?: string;
|
|
8396
8524
|
importNames?: string[];
|
|
8397
8525
|
allowImportNames?: string[];
|
|
8526
|
+
allowTypeImports?: boolean;
|
|
8398
8527
|
})[];
|
|
8399
8528
|
patterns?: (string[] | ({
|
|
8400
8529
|
[k: string]: unknown | undefined;
|
|
@@ -8511,6 +8640,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
|
|
|
8511
8640
|
caughtErrorsIgnorePattern?: string;
|
|
8512
8641
|
destructuredArrayIgnorePattern?: string;
|
|
8513
8642
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
8643
|
+
ignoreUsingDeclarations?: boolean;
|
|
8514
8644
|
reportUsedIgnorePattern?: boolean;
|
|
8515
8645
|
})];
|
|
8516
8646
|
// ----- no-use-before-define -----
|
|
@@ -8609,6 +8739,8 @@ type OneVar = [] | [(("always" | "never" | "consecutive") | {
|
|
|
8609
8739
|
var?: ("always" | "never" | "consecutive");
|
|
8610
8740
|
let?: ("always" | "never" | "consecutive");
|
|
8611
8741
|
const?: ("always" | "never" | "consecutive");
|
|
8742
|
+
using?: ("always" | "never" | "consecutive");
|
|
8743
|
+
awaitUsing?: ("always" | "never" | "consecutive");
|
|
8612
8744
|
} | {
|
|
8613
8745
|
initialized?: ("always" | "never" | "consecutive");
|
|
8614
8746
|
uninitialized?: ("always" | "never" | "consecutive");
|
|
@@ -8693,6 +8825,10 @@ type PreferReflect = [] | [{
|
|
|
8693
8825
|
type PreferRegexLiterals = [] | [{
|
|
8694
8826
|
disallowRedundantWrapping?: boolean;
|
|
8695
8827
|
}];
|
|
8828
|
+
// ----- preserve-caught-error -----
|
|
8829
|
+
type PreserveCaughtError = [] | [{
|
|
8830
|
+
requireCatchParameter?: boolean;
|
|
8831
|
+
}];
|
|
8696
8832
|
// ----- prettier/prettier -----
|
|
8697
8833
|
type PrettierPrettier = [] | [{
|
|
8698
8834
|
[k: string]: unknown | undefined;
|
|
@@ -8703,7 +8839,6 @@ type PrettierPrettier = [] | [{
|
|
|
8703
8839
|
fileInfoOptions?: {
|
|
8704
8840
|
[k: string]: unknown | undefined;
|
|
8705
8841
|
};
|
|
8706
|
-
[k: string]: unknown | undefined;
|
|
8707
8842
|
}];
|
|
8708
8843
|
// ----- quote-props -----
|
|
8709
8844
|
type QuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
|
|
@@ -8936,6 +9071,13 @@ type SwitchColonSpacing = [] | [{
|
|
|
8936
9071
|
type TemplateCurlySpacing = [] | [("always" | "never")];
|
|
8937
9072
|
// ----- template-tag-spacing -----
|
|
8938
9073
|
type TemplateTagSpacing = [] | [("always" | "never")];
|
|
9074
|
+
// ----- test/consistent-each-for -----
|
|
9075
|
+
type TestConsistentEachFor = [] | [{
|
|
9076
|
+
test?: ("each" | "for");
|
|
9077
|
+
it?: ("each" | "for");
|
|
9078
|
+
describe?: ("each" | "for");
|
|
9079
|
+
suite?: ("each" | "for");
|
|
9080
|
+
}];
|
|
8939
9081
|
// ----- test/consistent-test-filename -----
|
|
8940
9082
|
type TestConsistentTestFilename = [] | [{
|
|
8941
9083
|
pattern?: string;
|
|
@@ -8969,7 +9111,7 @@ type TestNoFocusedTests = [] | [{
|
|
|
8969
9111
|
}];
|
|
8970
9112
|
// ----- test/no-hooks -----
|
|
8971
9113
|
type TestNoHooks = [] | [{
|
|
8972
|
-
allow?:
|
|
9114
|
+
allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach")[];
|
|
8973
9115
|
}];
|
|
8974
9116
|
// ----- test/no-large-snapshots -----
|
|
8975
9117
|
type TestNoLargeSnapshots = [] | [{
|
|
@@ -9105,6 +9247,14 @@ interface _UnicornImportStyle_BooleanObject {
|
|
|
9105
9247
|
type UnicornNoArrayReduce = [] | [{
|
|
9106
9248
|
allowSimpleOperations?: boolean;
|
|
9107
9249
|
}];
|
|
9250
|
+
// ----- unicorn/no-array-reverse -----
|
|
9251
|
+
type UnicornNoArrayReverse = [] | [{
|
|
9252
|
+
allowExpressionStatement?: boolean;
|
|
9253
|
+
}];
|
|
9254
|
+
// ----- unicorn/no-array-sort -----
|
|
9255
|
+
type UnicornNoArraySort = [] | [{
|
|
9256
|
+
allowExpressionStatement?: boolean;
|
|
9257
|
+
}];
|
|
9108
9258
|
// ----- unicorn/no-instanceof-builtins -----
|
|
9109
9259
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
9110
9260
|
useErrorIsError?: boolean;
|
|
@@ -9253,11 +9403,20 @@ type UnicornTemplateIndent = [] | [{
|
|
|
9253
9403
|
selectors?: string[];
|
|
9254
9404
|
comments?: string[];
|
|
9255
9405
|
}];
|
|
9406
|
+
// ----- unicorn/text-encoding-identifier-case -----
|
|
9407
|
+
type UnicornTextEncodingIdentifierCase = [] | [{
|
|
9408
|
+
withDash?: boolean;
|
|
9409
|
+
}];
|
|
9256
9410
|
// ----- unocss/enforce-class-compile -----
|
|
9257
9411
|
type UnocssEnforceClassCompile = [] | [{
|
|
9258
9412
|
prefix?: string;
|
|
9259
9413
|
enableFix?: boolean;
|
|
9260
9414
|
}];
|
|
9415
|
+
// ----- unocss/order -----
|
|
9416
|
+
type UnocssOrder = [] | [{
|
|
9417
|
+
unoFunctions?: string[];
|
|
9418
|
+
unoVariables?: string[];
|
|
9419
|
+
}];
|
|
9261
9420
|
// ----- unused-imports/no-unused-imports -----
|
|
9262
9421
|
type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
9263
9422
|
args?: ("all" | "after-used" | "none");
|
|
@@ -9267,6 +9426,7 @@ type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
|
|
|
9267
9426
|
destructuredArrayIgnorePattern?: string;
|
|
9268
9427
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
9269
9428
|
ignoreRestSiblings?: boolean;
|
|
9429
|
+
ignoreUsingDeclarations?: boolean;
|
|
9270
9430
|
reportUsedIgnorePattern?: boolean;
|
|
9271
9431
|
vars?: ("all" | "local");
|
|
9272
9432
|
varsIgnorePattern?: string;
|
|
@@ -9280,6 +9440,7 @@ type UnusedImportsNoUnusedVars = [] | [(("all" | "local") | {
|
|
|
9280
9440
|
destructuredArrayIgnorePattern?: string;
|
|
9281
9441
|
ignoreClassWithStaticInitBlock?: boolean;
|
|
9282
9442
|
ignoreRestSiblings?: boolean;
|
|
9443
|
+
ignoreUsingDeclarations?: boolean;
|
|
9283
9444
|
reportUsedIgnorePattern?: boolean;
|
|
9284
9445
|
vars?: ("all" | "local");
|
|
9285
9446
|
varsIgnorePattern?: string;
|
|
@@ -9331,6 +9492,7 @@ type VueAttributeHyphenation = [] | [("always" | "never")] | [("always" | "never
|
|
|
9331
9492
|
type VueAttributesOrder = [] | [{
|
|
9332
9493
|
order?: (("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT") | ("DEFINITION" | "LIST_RENDERING" | "CONDITIONALS" | "RENDER_MODIFIERS" | "GLOBAL" | "UNIQUE" | "SLOT" | "TWO_WAY_BINDING" | "OTHER_DIRECTIVES" | "OTHER_ATTR" | "ATTR_STATIC" | "ATTR_DYNAMIC" | "ATTR_SHORTHAND_BOOL" | "EVENTS" | "CONTENT")[])[];
|
|
9333
9494
|
alphabetical?: boolean;
|
|
9495
|
+
sortLineLength?: boolean;
|
|
9334
9496
|
}];
|
|
9335
9497
|
// ----- vue/block-lang -----
|
|
9336
9498
|
type VueBlockLang = [] | [{
|
|
@@ -9977,6 +10139,10 @@ type VueNewLineBetweenMultiLineProperty = [] | [{
|
|
|
9977
10139
|
}];
|
|
9978
10140
|
// ----- vue/next-tick-style -----
|
|
9979
10141
|
type VueNextTickStyle = [] | [("promise" | "callback")];
|
|
10142
|
+
// ----- vue/no-async-in-computed-properties -----
|
|
10143
|
+
type VueNoAsyncInComputedProperties = [] | [{
|
|
10144
|
+
ignoredObjectNames?: string[];
|
|
10145
|
+
}];
|
|
9980
10146
|
// ----- vue/no-bare-strings-in-template -----
|
|
9981
10147
|
type VueNoBareStringsInTemplate = [] | [{
|
|
9982
10148
|
allowlist?: string[];
|
|
@@ -10010,6 +10176,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
|
|
|
10010
10176
|
// ----- vue/no-deprecated-slot-attribute -----
|
|
10011
10177
|
type VueNoDeprecatedSlotAttribute = [] | [{
|
|
10012
10178
|
ignore?: string[];
|
|
10179
|
+
ignoreParents?: string[];
|
|
10013
10180
|
}];
|
|
10014
10181
|
// ----- vue/no-dupe-keys -----
|
|
10015
10182
|
type VueNoDupeKeys = [] | [{
|
|
@@ -10260,6 +10427,10 @@ type VueNoUselessVBind = [] | [{
|
|
|
10260
10427
|
ignoreIncludesComment?: boolean;
|
|
10261
10428
|
ignoreStringEscape?: boolean;
|
|
10262
10429
|
}];
|
|
10430
|
+
// ----- vue/no-v-html -----
|
|
10431
|
+
type VueNoVHtml = [] | [{
|
|
10432
|
+
ignorePattern?: string;
|
|
10433
|
+
}];
|
|
10263
10434
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
10264
10435
|
type VueNoVTextVHtmlOnComponent = [] | [{
|
|
10265
10436
|
allow?: string[];
|
|
@@ -10488,14 +10659,25 @@ type ConfigNames = '@eslint-community/eslint-comments' | 'formatter/setup' | 'fo
|
|
|
10488
10659
|
//#endregion
|
|
10489
10660
|
//#region src/types.d.ts
|
|
10490
10661
|
type Awaitable<T> = T | Promise<T>;
|
|
10491
|
-
type Rules = RuleOptions;
|
|
10492
|
-
|
|
10662
|
+
type Rules = Record<string, Linter.RuleEntry<any> | undefined> & RuleOptions;
|
|
10663
|
+
/**
|
|
10664
|
+
* An updated version of ESLint's `Linter.Config`, which provides autocompletion
|
|
10665
|
+
* for `rules` and relaxes type limitations for `plugins` and `rules`, because
|
|
10666
|
+
* many plugins still lack proper type definitions.
|
|
10667
|
+
*/
|
|
10668
|
+
type TypedFlatConfigItem = Omit<Linter.Config, "plugins" | "rules"> & {
|
|
10493
10669
|
/**
|
|
10494
|
-
* An object containing a name-value mapping of plugin names to plugin objects.
|
|
10670
|
+
* An object containing a name-value mapping of plugin names to plugin objects.
|
|
10671
|
+
* When `files` is specified, these plugins are only available to the matching files.
|
|
10495
10672
|
*
|
|
10496
10673
|
* @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
|
|
10497
10674
|
*/
|
|
10498
10675
|
plugins?: Record<string, any>;
|
|
10676
|
+
/**
|
|
10677
|
+
* An object containing the configured rules. When `files` or `ignores` are
|
|
10678
|
+
* specified, these rule configurations are only available to the matching files.
|
|
10679
|
+
*/
|
|
10680
|
+
rules?: Rules;
|
|
10499
10681
|
};
|
|
10500
10682
|
interface OptionsFiles {
|
|
10501
10683
|
/**
|
|
@@ -10593,6 +10775,15 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
|
|
|
10593
10775
|
* @default true
|
|
10594
10776
|
*/
|
|
10595
10777
|
gitignore?: boolean | FlatGitignoreOptions;
|
|
10778
|
+
/**
|
|
10779
|
+
* Extend the global ignores.
|
|
10780
|
+
*
|
|
10781
|
+
* Passing an array to extends the ignores.
|
|
10782
|
+
* Passing a function to modify the default ignores.
|
|
10783
|
+
*
|
|
10784
|
+
* @default []
|
|
10785
|
+
*/
|
|
10786
|
+
ignores?: string[] | ((originals: string[]) => string[]);
|
|
10596
10787
|
/**
|
|
10597
10788
|
* Core rules. Can't be disabled.
|
|
10598
10789
|
*/
|
|
@@ -10670,7 +10861,7 @@ declare function disables(): TypedFlatConfigItem[];
|
|
|
10670
10861
|
declare function formatters(options?: OptionsFormatters | true): TypedFlatConfigItem[];
|
|
10671
10862
|
//#endregion
|
|
10672
10863
|
//#region src/configs/ignores.d.ts
|
|
10673
|
-
declare function ignores(userIgnores?: string[]): TypedFlatConfigItem[];
|
|
10864
|
+
declare function ignores(userIgnores?: string[] | ((originals: string[]) => string[])): TypedFlatConfigItem[];
|
|
10674
10865
|
//#endregion
|
|
10675
10866
|
//#region src/configs/imports.d.ts
|
|
10676
10867
|
declare function imports(): TypedFlatConfigItem[];
|
|
@@ -10727,7 +10918,7 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
|
|
|
10727
10918
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
10728
10919
|
* The merged ESLint configurations.
|
|
10729
10920
|
*/
|
|
10730
|
-
declare const factoryConfig: (options?: OptionsConfig & Omit<TypedFlatConfigItem, "files">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10921
|
+
declare const factoryConfig: (options?: OptionsConfig & Omit<TypedFlatConfigItem, "files" | "ignores">, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]) => FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
10731
10922
|
//#endregion
|
|
10732
10923
|
//#region src/globs.d.ts
|
|
10733
10924
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
@@ -10797,4 +10988,4 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
|
|
|
10797
10988
|
declare function isInGitHooksOrLintStaged(): boolean;
|
|
10798
10989
|
declare function isInEditorEnv(): boolean;
|
|
10799
10990
|
//#endregion
|
|
10800
|
-
export { Awaitable, ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Rules, TypedFlatConfigItem, combine, comments, disables, factoryConfig, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, javascript, jsonc, node, parserPlain, regexp, sortPackageJson, sortTsconfig, test, toArray, typescript, unicorn, unocss, vue };
|
|
10991
|
+
export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsVue, Rules, TypedFlatConfigItem, combine, comments, disables, factoryConfig, formatters, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, javascript, jsonc, node, parserPlain, regexp, sortPackageJson, sortTsconfig, test, toArray, typescript, unicorn, unocss, vue };
|