@lichthagel/eslint-config 1.0.32 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +17 -13
- package/dist/index.d.cts +850 -192
- package/dist/index.d.mts +850 -192
- package/dist/index.mjs +11 -7
- package/package.json +11 -11
package/dist/index.d.mts
CHANGED
|
@@ -3276,6 +3276,11 @@ interface RuleOptions {
|
|
|
3276
3276
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-navigation-without-resolve/
|
|
3277
3277
|
*/
|
|
3278
3278
|
'svelte/no-navigation-without-resolve'?: Linter.RuleEntry<SvelteNoNavigationWithoutResolve>;
|
|
3279
|
+
/**
|
|
3280
|
+
* disallow `<style>` elements nested inside other elements or blocks
|
|
3281
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-nested-style-tag/
|
|
3282
|
+
*/
|
|
3283
|
+
'svelte/no-nested-style-tag'?: Linter.RuleEntry<[]>;
|
|
3279
3284
|
/**
|
|
3280
3285
|
* disallow use of not function in event handler
|
|
3281
3286
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -3391,6 +3396,11 @@ interface RuleOptions {
|
|
|
3391
3396
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-const/
|
|
3392
3397
|
*/
|
|
3393
3398
|
'svelte/prefer-const'?: Linter.RuleEntry<SveltePreferConst>;
|
|
3399
|
+
/**
|
|
3400
|
+
* disallow unnecessary `$derived.by()` when `$derived()` is sufficient
|
|
3401
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-derived-over-derived-by/
|
|
3402
|
+
*/
|
|
3403
|
+
'svelte/prefer-derived-over-derived-by'?: Linter.RuleEntry<[]>;
|
|
3394
3404
|
/**
|
|
3395
3405
|
* destructure values from object stores for better change tracking & fewer redraws
|
|
3396
3406
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-destructured-store-props/
|
|
@@ -3560,753 +3570,1297 @@ interface RuleOptions {
|
|
|
3560
3570
|
*/
|
|
3561
3571
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
|
|
3562
3572
|
/**
|
|
3563
|
-
*
|
|
3564
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3573
|
+
* Prefer better DOM traversal APIs.
|
|
3574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/better-dom-traversing.md
|
|
3565
3575
|
*/
|
|
3566
|
-
'unicorn/better-
|
|
3576
|
+
'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
|
|
3577
|
+
/**
|
|
3578
|
+
* Removed. Prefer `eslint-plugin-regexp`
|
|
3579
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#better-regex
|
|
3580
|
+
* @deprecated
|
|
3581
|
+
*/
|
|
3582
|
+
'unicorn/better-regex'?: Linter.RuleEntry<[]>;
|
|
3567
3583
|
/**
|
|
3568
3584
|
* Enforce a specific parameter name in catch clauses.
|
|
3569
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/catch-error-name.md
|
|
3570
3586
|
*/
|
|
3571
3587
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Enforce consistent class references in static methods.
|
|
3590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/class-reference-in-static-methods.md
|
|
3591
|
+
*/
|
|
3592
|
+
'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
|
|
3593
|
+
/**
|
|
3594
|
+
* Enforce better comment content.
|
|
3595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/comment-content.md
|
|
3596
|
+
*/
|
|
3597
|
+
'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>;
|
|
3572
3598
|
/**
|
|
3573
3599
|
* Enforce consistent assertion style with `node:assert`.
|
|
3574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-assert.md
|
|
3575
3601
|
*/
|
|
3576
3602
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
|
|
3603
|
+
/**
|
|
3604
|
+
* Enforce consistent class member order.
|
|
3605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-class-member-order.md
|
|
3606
|
+
*/
|
|
3607
|
+
'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
|
|
3608
|
+
/**
|
|
3609
|
+
* Enforce consistent spelling of compound words in identifiers.
|
|
3610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-compound-words.md
|
|
3611
|
+
*/
|
|
3612
|
+
'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
|
|
3577
3613
|
/**
|
|
3578
3614
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
3579
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-date-clone.md
|
|
3580
3616
|
*/
|
|
3581
3617
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
|
|
3582
3618
|
/**
|
|
3583
3619
|
* Use destructured variables over properties.
|
|
3584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-destructuring.md
|
|
3585
3621
|
*/
|
|
3586
3622
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
|
|
3587
3623
|
/**
|
|
3588
3624
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
3589
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-empty-array-spread.md
|
|
3590
3626
|
*/
|
|
3591
3627
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
|
|
3592
3628
|
/**
|
|
3593
3629
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
3594
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3630
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-existence-index-check.md
|
|
3595
3631
|
*/
|
|
3596
3632
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
|
|
3633
|
+
/**
|
|
3634
|
+
* Enforce consistent decorator position on exported classes.
|
|
3635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-export-decorator-position.md
|
|
3636
|
+
*/
|
|
3637
|
+
'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
|
|
3597
3638
|
/**
|
|
3598
3639
|
* Move function definitions to the highest possible scope.
|
|
3599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3640
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-function-scoping.md
|
|
3600
3641
|
*/
|
|
3601
3642
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
|
|
3643
|
+
/**
|
|
3644
|
+
* Enforce function syntax by role.
|
|
3645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-function-style.md
|
|
3646
|
+
*/
|
|
3647
|
+
'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
|
|
3648
|
+
/**
|
|
3649
|
+
* Enforce consistent JSON file reads before `JSON.parse()`.
|
|
3650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-json-file-read.md
|
|
3651
|
+
*/
|
|
3652
|
+
'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
|
|
3653
|
+
/**
|
|
3654
|
+
* Enforce consistent optional chaining for same-base member access.
|
|
3655
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-optional-chaining.md
|
|
3656
|
+
*/
|
|
3657
|
+
'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>;
|
|
3602
3658
|
/**
|
|
3603
3659
|
* Enforce consistent style for escaping `${` in template literals.
|
|
3604
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/consistent-template-literal-escape.md
|
|
3605
3661
|
*/
|
|
3606
3662
|
'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
|
|
3607
3663
|
/**
|
|
3608
3664
|
* Enforce correct `Error` subclassing.
|
|
3609
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/custom-error-definition.md
|
|
3610
3666
|
*/
|
|
3611
3667
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
|
|
3668
|
+
/**
|
|
3669
|
+
* Enforce consistent style for DOM element dataset access.
|
|
3670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/dom-node-dataset.md
|
|
3671
|
+
*/
|
|
3672
|
+
'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
|
|
3612
3673
|
/**
|
|
3613
3674
|
* Enforce no spaces between braces.
|
|
3614
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/empty-brace-spaces.md
|
|
3615
3676
|
*/
|
|
3616
3677
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
|
|
3617
3678
|
/**
|
|
3618
3679
|
* Enforce passing a `message` value when creating a built-in error.
|
|
3619
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/error-message.md
|
|
3620
3681
|
*/
|
|
3621
3682
|
'unicorn/error-message'?: Linter.RuleEntry<[]>;
|
|
3622
3683
|
/**
|
|
3623
3684
|
* Require escape sequences to use uppercase or lowercase values.
|
|
3624
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3685
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/escape-case.md
|
|
3625
3686
|
*/
|
|
3626
3687
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
|
|
3627
3688
|
/**
|
|
3628
3689
|
* Add expiration conditions to TODO comments.
|
|
3629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/expiring-todo-comments.md
|
|
3630
3691
|
*/
|
|
3631
3692
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
|
|
3632
3693
|
/**
|
|
3633
3694
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
3634
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/explicit-length-check.md
|
|
3635
3696
|
*/
|
|
3636
3697
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
|
|
3637
3698
|
/**
|
|
3638
|
-
* Enforce
|
|
3639
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3699
|
+
* Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
|
|
3700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/explicit-timer-delay.md
|
|
3701
|
+
*/
|
|
3702
|
+
'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
|
|
3703
|
+
/**
|
|
3704
|
+
* Enforce a case style for filenames and directory names.
|
|
3705
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/filename-case.md
|
|
3640
3706
|
*/
|
|
3641
3707
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
|
|
3708
|
+
/**
|
|
3709
|
+
* Require identifiers to match a specified regular expression.
|
|
3710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/id-match.md
|
|
3711
|
+
*/
|
|
3712
|
+
'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>;
|
|
3642
3713
|
/**
|
|
3643
3714
|
* Enforce specific import styles per module.
|
|
3644
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/import-style.md
|
|
3645
3716
|
*/
|
|
3646
3717
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
|
|
3647
3718
|
/**
|
|
3648
3719
|
* Prevent usage of variables from outside the scope of isolated functions.
|
|
3649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/isolated-functions.md
|
|
3650
3721
|
*/
|
|
3651
3722
|
'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
|
|
3723
|
+
/**
|
|
3724
|
+
* Limit the depth of nested calls.
|
|
3725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/max-nested-calls.md
|
|
3726
|
+
*/
|
|
3727
|
+
'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>;
|
|
3652
3728
|
/**
|
|
3653
3729
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
3654
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/new-for-builtins.md
|
|
3655
3731
|
*/
|
|
3656
3732
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
|
|
3657
3733
|
/**
|
|
3658
3734
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
3659
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
3660
3736
|
*/
|
|
3661
3737
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
|
|
3662
3738
|
/**
|
|
3663
3739
|
* Disallow recursive access to `this` within getters and setters.
|
|
3664
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-accessor-recursion.md
|
|
3665
3741
|
*/
|
|
3666
3742
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
|
|
3667
3743
|
/**
|
|
3668
3744
|
* Disallow anonymous functions and classes as the default export.
|
|
3669
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-anonymous-default-export.md
|
|
3670
3746
|
*/
|
|
3671
3747
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
|
|
3672
3748
|
/**
|
|
3673
3749
|
* Prevent passing a function reference directly to iterator methods.
|
|
3674
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3750
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-callback-reference.md
|
|
3675
3751
|
*/
|
|
3676
|
-
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<
|
|
3752
|
+
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
|
|
3677
3753
|
/**
|
|
3678
|
-
*
|
|
3679
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3754
|
+
* Disallow using reference values as `Array#fill()` values.
|
|
3755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-fill-with-reference-type.md
|
|
3756
|
+
*/
|
|
3757
|
+
'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
|
|
3758
|
+
/**
|
|
3759
|
+
* Disallow `.fill()` after `Array.from({length: …})`.
|
|
3760
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-from-fill.md
|
|
3680
3761
|
*/
|
|
3681
|
-
'unicorn/no-array-
|
|
3762
|
+
'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
|
|
3682
3763
|
/**
|
|
3683
3764
|
* Disallow using the `this` argument in array methods.
|
|
3684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-method-this-argument.md
|
|
3685
3766
|
*/
|
|
3686
3767
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
|
|
3687
3768
|
/**
|
|
3688
3769
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
3689
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
|
|
3690
3771
|
* @deprecated
|
|
3691
3772
|
*/
|
|
3692
3773
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
|
|
3693
3774
|
/**
|
|
3694
3775
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
3695
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-reduce.md
|
|
3696
3777
|
*/
|
|
3697
3778
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
|
|
3698
3779
|
/**
|
|
3699
3780
|
* Prefer `Array#toReversed()` over `Array#reverse()`.
|
|
3700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-reverse.md
|
|
3701
3782
|
*/
|
|
3702
3783
|
'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
|
|
3703
3784
|
/**
|
|
3704
3785
|
* Prefer `Array#toSorted()` over `Array#sort()`.
|
|
3705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-array-sort.md
|
|
3706
3787
|
*/
|
|
3707
3788
|
'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
|
|
3789
|
+
/**
|
|
3790
|
+
* Disallow asterisk prefixes in documentation comments.
|
|
3791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
|
|
3792
|
+
*/
|
|
3793
|
+
'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>;
|
|
3708
3794
|
/**
|
|
3709
3795
|
* Disallow member access from await expression.
|
|
3710
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-await-expression-member.md
|
|
3711
3797
|
*/
|
|
3712
3798
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
|
|
3713
3799
|
/**
|
|
3714
3800
|
* Disallow using `await` in `Promise` method parameters.
|
|
3715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-await-in-promise-methods.md
|
|
3716
3802
|
*/
|
|
3717
3803
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
3804
|
+
/**
|
|
3805
|
+
* Disallow unnecessary `Blob` to `File` conversion.
|
|
3806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-blob-to-file.md
|
|
3807
|
+
*/
|
|
3808
|
+
'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
|
|
3809
|
+
/**
|
|
3810
|
+
* Disallow `break` and `continue` in nested loops and switches inside loops.
|
|
3811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-break-in-nested-loop.md
|
|
3812
|
+
*/
|
|
3813
|
+
'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<[]>;
|
|
3814
|
+
/**
|
|
3815
|
+
* Prefer drawing canvases directly instead of converting them to images.
|
|
3816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-canvas-to-image.md
|
|
3817
|
+
*/
|
|
3818
|
+
'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
|
|
3819
|
+
/**
|
|
3820
|
+
* Disallow dynamic object property existence checks.
|
|
3821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-computed-property-existence-check.md
|
|
3822
|
+
*/
|
|
3823
|
+
'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>;
|
|
3824
|
+
/**
|
|
3825
|
+
* Disallow confusing uses of `Array#{splice,toSpliced}()`.
|
|
3826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-confusing-array-splice.md
|
|
3827
|
+
*/
|
|
3828
|
+
'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
|
|
3829
|
+
/**
|
|
3830
|
+
* Disallow confusing uses of `Array#with()`.
|
|
3831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-confusing-array-with.md
|
|
3832
|
+
*/
|
|
3833
|
+
'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>;
|
|
3718
3834
|
/**
|
|
3719
3835
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
3720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-console-spaces.md
|
|
3721
3837
|
*/
|
|
3722
3838
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
|
|
3839
|
+
/**
|
|
3840
|
+
* Disallow declarations before conditional early exits when they are only used after the exit.
|
|
3841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-declarations-before-early-exit.md
|
|
3842
|
+
*/
|
|
3843
|
+
'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>;
|
|
3723
3844
|
/**
|
|
3724
3845
|
* Do not use `document.cookie` directly.
|
|
3725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-document-cookie.md
|
|
3726
3847
|
*/
|
|
3727
3848
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
|
|
3849
|
+
/**
|
|
3850
|
+
* Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
|
|
3851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-duplicate-loops.md
|
|
3852
|
+
*/
|
|
3853
|
+
'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>;
|
|
3854
|
+
/**
|
|
3855
|
+
* Disallow duplicate values in `Set` constructor array literals.
|
|
3856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-duplicate-set-values.md
|
|
3857
|
+
*/
|
|
3858
|
+
'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
|
|
3728
3859
|
/**
|
|
3729
3860
|
* Disallow empty files.
|
|
3730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-empty-file.md
|
|
3731
3862
|
*/
|
|
3732
|
-
'unicorn/no-empty-file'?: Linter.RuleEntry<
|
|
3863
|
+
'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
|
|
3864
|
+
/**
|
|
3865
|
+
* Disallow assigning to built-in error properties.
|
|
3866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-error-property-assignment.md
|
|
3867
|
+
*/
|
|
3868
|
+
'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>;
|
|
3869
|
+
/**
|
|
3870
|
+
* Disallow exports in scripts.
|
|
3871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-exports-in-scripts.md
|
|
3872
|
+
*/
|
|
3873
|
+
'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
|
|
3874
|
+
/**
|
|
3875
|
+
* Prefer `for…of` over the `forEach` method.
|
|
3876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-for-each.md
|
|
3877
|
+
*/
|
|
3878
|
+
'unicorn/no-for-each'?: Linter.RuleEntry<[]>;
|
|
3733
3879
|
/**
|
|
3734
3880
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
3735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-for-loop.md
|
|
3736
3882
|
*/
|
|
3737
3883
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
|
|
3738
3884
|
/**
|
|
3739
|
-
*
|
|
3740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3885
|
+
* Disallow assigning properties on the global object.
|
|
3886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-global-object-property-assignment.md
|
|
3887
|
+
*/
|
|
3888
|
+
'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>;
|
|
3889
|
+
/**
|
|
3890
|
+
* Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
|
|
3891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
|
|
3892
|
+
* @deprecated
|
|
3741
3893
|
*/
|
|
3742
3894
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
|
|
3743
3895
|
/**
|
|
3744
3896
|
* Disallow immediate mutation after variable assignment.
|
|
3745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-immediate-mutation.md
|
|
3746
3898
|
*/
|
|
3747
3899
|
'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
|
|
3900
|
+
/**
|
|
3901
|
+
* Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
|
|
3902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-incorrect-query-selector.md
|
|
3903
|
+
*/
|
|
3904
|
+
'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
|
|
3905
|
+
/**
|
|
3906
|
+
* Disallow incorrect template literal interpolation syntax.
|
|
3907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-incorrect-template-string-interpolation.md
|
|
3908
|
+
*/
|
|
3909
|
+
'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>;
|
|
3748
3910
|
/**
|
|
3749
3911
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
3750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
|
|
3751
3913
|
* @deprecated
|
|
3752
3914
|
*/
|
|
3753
3915
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
|
|
3754
3916
|
/**
|
|
3755
3917
|
* Disallow `instanceof` with built-in objects
|
|
3756
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3918
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-instanceof-builtins.md
|
|
3757
3919
|
*/
|
|
3758
3920
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
|
|
3921
|
+
/**
|
|
3922
|
+
* Disallow calling functions with an invalid number of arguments.
|
|
3923
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-argument-count.md
|
|
3924
|
+
*/
|
|
3925
|
+
'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<[]>;
|
|
3759
3926
|
/**
|
|
3760
3927
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
3761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3928
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-fetch-options.md
|
|
3762
3929
|
*/
|
|
3763
3930
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
|
|
3931
|
+
/**
|
|
3932
|
+
* Disallow invalid `accept` values on file inputs.
|
|
3933
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-file-input-accept.md
|
|
3934
|
+
*/
|
|
3935
|
+
'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
|
|
3764
3936
|
/**
|
|
3765
3937
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
3766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3938
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
3767
3939
|
*/
|
|
3768
3940
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
|
|
3769
3941
|
/**
|
|
3770
3942
|
* Disallow identifiers starting with `new` or `class`.
|
|
3771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3943
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-keyword-prefix.md
|
|
3772
3944
|
*/
|
|
3773
3945
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
|
|
3946
|
+
/**
|
|
3947
|
+
* Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
|
|
3948
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-late-current-target-access.md
|
|
3949
|
+
*/
|
|
3950
|
+
'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
|
|
3774
3951
|
/**
|
|
3775
3952
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
3776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3953
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
|
|
3777
3954
|
* @deprecated
|
|
3778
3955
|
*/
|
|
3779
3956
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
|
|
3780
3957
|
/**
|
|
3781
3958
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
3782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3959
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-lonely-if.md
|
|
3783
3960
|
*/
|
|
3784
3961
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
|
|
3785
3962
|
/**
|
|
3786
3963
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
3787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
3788
3965
|
*/
|
|
3789
3966
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
3967
|
+
/**
|
|
3968
|
+
* Disallow manually wrapped comments.
|
|
3969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-manually-wrapped-comments.md
|
|
3970
|
+
*/
|
|
3971
|
+
'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
|
|
3972
|
+
/**
|
|
3973
|
+
* Disallow checking a Map key before accessing a different key.
|
|
3974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-mismatched-map-key.md
|
|
3975
|
+
*/
|
|
3976
|
+
'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>;
|
|
3790
3977
|
/**
|
|
3791
3978
|
* Disallow named usage of default import and export.
|
|
3792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-named-default.md
|
|
3793
3980
|
*/
|
|
3794
3981
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
|
|
3982
|
+
/**
|
|
3983
|
+
* Disallow negated array predicate calls.
|
|
3984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-array-predicate.md
|
|
3985
|
+
*/
|
|
3986
|
+
'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>;
|
|
3987
|
+
/**
|
|
3988
|
+
* Disallow negated comparisons.
|
|
3989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-comparison.md
|
|
3990
|
+
*/
|
|
3991
|
+
'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>;
|
|
3795
3992
|
/**
|
|
3796
3993
|
* Disallow negated conditions.
|
|
3797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negated-condition.md
|
|
3798
3995
|
*/
|
|
3799
3996
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
|
|
3800
3997
|
/**
|
|
3801
3998
|
* Disallow negated expression in equality check.
|
|
3802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
3999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-negation-in-equality-check.md
|
|
3803
4000
|
*/
|
|
3804
4001
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
|
|
3805
4002
|
/**
|
|
3806
4003
|
* Disallow nested ternary expressions.
|
|
3807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-nested-ternary.md
|
|
3808
4005
|
*/
|
|
3809
4006
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
3810
4007
|
/**
|
|
3811
4008
|
* Disallow `new Array()`.
|
|
3812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4009
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-new-array.md
|
|
3813
4010
|
*/
|
|
3814
4011
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
|
|
3815
4012
|
/**
|
|
3816
4013
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
3817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-new-buffer.md
|
|
3818
4015
|
*/
|
|
3819
4016
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
|
|
3820
4017
|
/**
|
|
3821
4018
|
* Disallow the use of the `null` literal.
|
|
3822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-null.md
|
|
3823
4020
|
*/
|
|
3824
4021
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
|
|
3825
4022
|
/**
|
|
3826
4023
|
* Disallow the use of objects as default parameters.
|
|
3827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-object-as-default-parameter.md
|
|
3828
4025
|
*/
|
|
3829
4026
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
|
|
4027
|
+
/**
|
|
4028
|
+
* Disallow `Object` methods with `Map` or `Set`.
|
|
4029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-object-methods-with-collections.md
|
|
4030
|
+
*/
|
|
4031
|
+
'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>;
|
|
4032
|
+
/**
|
|
4033
|
+
* Disallow optional chaining on undeclared variables.
|
|
4034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
|
|
4035
|
+
*/
|
|
4036
|
+
'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>;
|
|
3830
4037
|
/**
|
|
3831
4038
|
* Disallow `process.exit()`.
|
|
3832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-process-exit.md
|
|
3833
4040
|
*/
|
|
3834
4041
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
|
|
4042
|
+
/**
|
|
4043
|
+
* Disallow comparisons made redundant by an equality check in the same logical AND.
|
|
4044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-redundant-comparison.md
|
|
4045
|
+
*/
|
|
4046
|
+
'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>;
|
|
4047
|
+
/**
|
|
4048
|
+
* Disallow returning the result of `Array#push()` with arguments.
|
|
4049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-return-array-push.md
|
|
4050
|
+
*/
|
|
4051
|
+
'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>;
|
|
3835
4052
|
/**
|
|
3836
4053
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
3837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
3838
4055
|
*/
|
|
3839
4056
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
|
|
3840
4057
|
/**
|
|
3841
4058
|
* Disallow classes that only have static members.
|
|
3842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-static-only-class.md
|
|
3843
4060
|
*/
|
|
3844
4061
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
|
|
4062
|
+
/**
|
|
4063
|
+
* Prefer comparing values directly over subtracting and comparing to `0`.
|
|
4064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-subtraction-comparison.md
|
|
4065
|
+
*/
|
|
4066
|
+
'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>;
|
|
3845
4067
|
/**
|
|
3846
4068
|
* Disallow `then` property.
|
|
3847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-thenable.md
|
|
3848
4070
|
*/
|
|
3849
4071
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
|
|
3850
4072
|
/**
|
|
3851
4073
|
* Disallow assigning `this` to a variable.
|
|
3852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-this-assignment.md
|
|
3853
4075
|
*/
|
|
3854
4076
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
|
|
4077
|
+
/**
|
|
4078
|
+
* Disallow `this` outside of classes.
|
|
4079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-this-outside-of-class.md
|
|
4080
|
+
*/
|
|
4081
|
+
'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
|
|
4082
|
+
/**
|
|
4083
|
+
* Disallow top-level side effects in exported modules.
|
|
4084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-top-level-side-effects.md
|
|
4085
|
+
*/
|
|
4086
|
+
'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>;
|
|
3855
4087
|
/**
|
|
3856
4088
|
* Disallow comparing `undefined` using `typeof`.
|
|
3857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-typeof-undefined.md
|
|
3858
4090
|
*/
|
|
3859
4091
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
|
|
4092
|
+
/**
|
|
4093
|
+
* Require class members to be declared.
|
|
4094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-undeclared-class-members.md
|
|
4095
|
+
*/
|
|
4096
|
+
'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>;
|
|
3860
4097
|
/**
|
|
3861
4098
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
3862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-array-flat-depth.md
|
|
3863
4100
|
*/
|
|
3864
4101
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
|
|
3865
4102
|
/**
|
|
3866
4103
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
3867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-array-splice-count.md
|
|
3868
4105
|
*/
|
|
3869
4106
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
|
|
3870
4107
|
/**
|
|
3871
4108
|
* Disallow awaiting non-promise values.
|
|
3872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4109
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-await.md
|
|
3873
4110
|
*/
|
|
3874
4111
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
|
|
4112
|
+
/**
|
|
4113
|
+
* Disallow unnecessary `globalThis` references.
|
|
4114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-global-this.md
|
|
4115
|
+
*/
|
|
4116
|
+
'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>;
|
|
4117
|
+
/**
|
|
4118
|
+
* Disallow unnecessary nested ternary expressions.
|
|
4119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-nested-ternary.md
|
|
4120
|
+
*/
|
|
4121
|
+
'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
|
|
3875
4122
|
/**
|
|
3876
4123
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
3877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
3878
4125
|
*/
|
|
3879
4126
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
|
|
3880
4127
|
/**
|
|
3881
4128
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
3882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-slice-end.md
|
|
3883
4130
|
*/
|
|
3884
4131
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
|
|
4132
|
+
/**
|
|
4133
|
+
* Disallow `Array#splice()` when simpler alternatives exist.
|
|
4134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unnecessary-splice.md
|
|
4135
|
+
*/
|
|
4136
|
+
'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>;
|
|
3885
4137
|
/**
|
|
3886
4138
|
* Disallow unreadable array destructuring.
|
|
3887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
3888
4140
|
*/
|
|
3889
|
-
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<
|
|
4141
|
+
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
|
|
3890
4142
|
/**
|
|
3891
4143
|
* Disallow unreadable IIFEs.
|
|
3892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4144
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unreadable-iife.md
|
|
3893
4145
|
*/
|
|
3894
4146
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
|
|
4147
|
+
/**
|
|
4148
|
+
* Disallow unreadable `new` expressions.
|
|
4149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unreadable-new-expression.md
|
|
4150
|
+
*/
|
|
4151
|
+
'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>;
|
|
4152
|
+
/**
|
|
4153
|
+
* Disallow unreadable object destructuring.
|
|
4154
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unreadable-object-destructuring.md
|
|
4155
|
+
*/
|
|
4156
|
+
'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
4157
|
+
/**
|
|
4158
|
+
* Prevent unsafe use of ArrayBuffer view `.buffer`.
|
|
4159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-buffer-conversion.md
|
|
4160
|
+
*/
|
|
4161
|
+
'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>;
|
|
4162
|
+
/**
|
|
4163
|
+
* Disallow unsafe DOM HTML APIs.
|
|
4164
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-dom-html.md
|
|
4165
|
+
*/
|
|
4166
|
+
'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>;
|
|
4167
|
+
/**
|
|
4168
|
+
* Disallow unsafe values as property keys.
|
|
4169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-property-key.md
|
|
4170
|
+
*/
|
|
4171
|
+
'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>;
|
|
4172
|
+
/**
|
|
4173
|
+
* Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
|
|
4174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unsafe-string-replacement.md
|
|
4175
|
+
*/
|
|
4176
|
+
'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>;
|
|
4177
|
+
/**
|
|
4178
|
+
* Disallow ignoring the return value of selected array methods.
|
|
4179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unused-array-method-return.md
|
|
4180
|
+
*/
|
|
4181
|
+
'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
|
|
3895
4182
|
/**
|
|
3896
4183
|
* Disallow unused object properties.
|
|
3897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-unused-properties.md
|
|
3898
4185
|
*/
|
|
3899
4186
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
|
|
4187
|
+
/**
|
|
4188
|
+
* Disallow unnecessary `Boolean()` casts in array predicate callbacks.
|
|
4189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-boolean-cast.md
|
|
4190
|
+
*/
|
|
4191
|
+
'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>;
|
|
3900
4192
|
/**
|
|
3901
4193
|
* Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
|
|
3902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-collection-argument.md
|
|
3903
4195
|
*/
|
|
3904
4196
|
'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
|
|
4197
|
+
/**
|
|
4198
|
+
* Disallow useless concatenation of literals.
|
|
4199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-concat.md
|
|
4200
|
+
*/
|
|
4201
|
+
'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>;
|
|
4202
|
+
/**
|
|
4203
|
+
* Disallow `else` after a statement that exits.
|
|
4204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-else.md
|
|
4205
|
+
*/
|
|
4206
|
+
'unicorn/no-useless-else'?: Linter.RuleEntry<[]>;
|
|
3905
4207
|
/**
|
|
3906
4208
|
* Disallow unnecessary `Error.captureStackTrace(…)`.
|
|
3907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-error-capture-stack-trace.md
|
|
3908
4210
|
*/
|
|
3909
4211
|
'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
|
|
3910
4212
|
/**
|
|
3911
4213
|
* Disallow useless fallback when spreading in object literals.
|
|
3912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
3913
4215
|
*/
|
|
3914
4216
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
|
|
3915
4217
|
/**
|
|
3916
4218
|
* Disallow unnecessary `.toArray()` on iterators.
|
|
3917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4219
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-iterator-to-array.md
|
|
3918
4220
|
*/
|
|
3919
4221
|
'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
3920
4222
|
/**
|
|
3921
4223
|
* Disallow useless array length check.
|
|
3922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-length-check.md
|
|
3923
4225
|
*/
|
|
3924
4226
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
|
|
3925
4227
|
/**
|
|
3926
4228
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
3927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4229
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
3928
4230
|
*/
|
|
3929
4231
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
|
|
4232
|
+
/**
|
|
4233
|
+
* Disallow simple recursive function calls that can be replaced with a loop.
|
|
4234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-recursion.md
|
|
4235
|
+
*/
|
|
4236
|
+
'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>;
|
|
3930
4237
|
/**
|
|
3931
4238
|
* Disallow unnecessary spread.
|
|
3932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-spread.md
|
|
3933
4240
|
*/
|
|
3934
4241
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
|
|
3935
4242
|
/**
|
|
3936
4243
|
* Disallow useless case in switch statements.
|
|
3937
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-switch-case.md
|
|
3938
4245
|
*/
|
|
3939
4246
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
|
|
4247
|
+
/**
|
|
4248
|
+
* Disallow useless template literal expressions.
|
|
4249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-template-literals.md
|
|
4250
|
+
*/
|
|
4251
|
+
'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>;
|
|
3940
4252
|
/**
|
|
3941
4253
|
* Disallow useless `undefined`.
|
|
3942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-useless-undefined.md
|
|
3943
4255
|
*/
|
|
3944
4256
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
|
|
3945
4257
|
/**
|
|
3946
4258
|
* Disallow number literals with zero fractions or dangling dots.
|
|
3947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/no-zero-fractions.md
|
|
3948
4260
|
*/
|
|
3949
4261
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
|
|
3950
4262
|
/**
|
|
3951
4263
|
* Enforce proper case for numeric literals.
|
|
3952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/number-literal-case.md
|
|
3953
4265
|
*/
|
|
3954
4266
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
|
|
3955
4267
|
/**
|
|
3956
4268
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
3957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/numeric-separators-style.md
|
|
3958
4270
|
*/
|
|
3959
4271
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
|
|
3960
4272
|
/**
|
|
3961
4273
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
3962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-add-event-listener.md
|
|
3963
4275
|
*/
|
|
3964
4276
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
|
|
4277
|
+
/**
|
|
4278
|
+
* Prefer an options object over a boolean in `.addEventListener()`.
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-add-event-listener-options.md
|
|
4280
|
+
*/
|
|
4281
|
+
'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>;
|
|
3965
4282
|
/**
|
|
3966
4283
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
3967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-find.md
|
|
3968
4285
|
*/
|
|
3969
4286
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
|
|
3970
4287
|
/**
|
|
3971
4288
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
3972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-flat.md
|
|
3973
4290
|
*/
|
|
3974
4291
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
|
|
3975
4292
|
/**
|
|
3976
|
-
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
3977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4293
|
+
* Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-flat-map.md
|
|
3978
4295
|
*/
|
|
3979
4296
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
|
|
4297
|
+
/**
|
|
4298
|
+
* Prefer using the `Array.from()` mapping function argument.
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-from-map.md
|
|
4300
|
+
*/
|
|
4301
|
+
'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>;
|
|
3980
4302
|
/**
|
|
3981
4303
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
3982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-index-of.md
|
|
3983
4305
|
*/
|
|
3984
4306
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
|
|
4307
|
+
/**
|
|
4308
|
+
* Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-last-methods.md
|
|
4310
|
+
*/
|
|
4311
|
+
'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
|
|
3985
4312
|
/**
|
|
3986
4313
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
3987
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-array-some.md
|
|
3988
4315
|
*/
|
|
3989
4316
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
|
|
3990
4317
|
/**
|
|
3991
4318
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
3992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-at.md
|
|
3993
4320
|
*/
|
|
3994
4321
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
|
|
4322
|
+
/**
|
|
4323
|
+
* Prefer `await` over promise chaining.
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-await.md
|
|
4325
|
+
*/
|
|
4326
|
+
'unicorn/prefer-await'?: Linter.RuleEntry<[]>;
|
|
3995
4327
|
/**
|
|
3996
4328
|
* Prefer `BigInt` literals over the constructor.
|
|
3997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-bigint-literals.md
|
|
3998
4330
|
*/
|
|
3999
4331
|
'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
|
|
4000
4332
|
/**
|
|
4001
4333
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4003
4335
|
*/
|
|
4004
4336
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
|
|
4005
4337
|
/**
|
|
4006
4338
|
* Prefer class field declarations over `this` assignments in constructors.
|
|
4007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-class-fields.md
|
|
4008
4340
|
*/
|
|
4009
4341
|
'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
|
|
4010
4342
|
/**
|
|
4011
4343
|
* Prefer using `Element#classList.toggle()` to toggle class names.
|
|
4012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-classlist-toggle.md
|
|
4013
4345
|
*/
|
|
4014
4346
|
'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
|
|
4015
4347
|
/**
|
|
4016
4348
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-code-point.md
|
|
4018
4350
|
*/
|
|
4019
4351
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
|
|
4020
4352
|
/**
|
|
4021
4353
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-date-now.md
|
|
4023
4355
|
*/
|
|
4024
4356
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
|
|
4025
4357
|
/**
|
|
4026
4358
|
* Prefer default parameters over reassignment.
|
|
4027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-default-parameters.md
|
|
4028
4360
|
*/
|
|
4029
4361
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
|
|
4030
4362
|
/**
|
|
4031
|
-
* Prefer
|
|
4032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4363
|
+
* Prefer direct iteration over default iterator method calls.
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-direct-iteration.md
|
|
4365
|
+
*/
|
|
4366
|
+
'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>;
|
|
4367
|
+
/**
|
|
4368
|
+
* Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-dispose.md
|
|
4370
|
+
*/
|
|
4371
|
+
'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>;
|
|
4372
|
+
/**
|
|
4373
|
+
* Prefer `Element#append()` over `Node#appendChild()`.
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-dom-node-append.md
|
|
4033
4375
|
*/
|
|
4034
4376
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
|
|
4035
4377
|
/**
|
|
4036
|
-
*
|
|
4037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4378
|
+
* Renamed to `unicorn/dom-node-dataset`.
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
|
|
4380
|
+
* @deprecated
|
|
4038
4381
|
*/
|
|
4039
4382
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
|
|
4383
|
+
/**
|
|
4384
|
+
* Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
|
|
4385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-dom-node-html-methods.md
|
|
4386
|
+
*/
|
|
4387
|
+
'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<[]>;
|
|
4040
4388
|
/**
|
|
4041
4389
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-dom-node-remove.md
|
|
4043
4391
|
*/
|
|
4044
4392
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
|
|
4045
4393
|
/**
|
|
4046
4394
|
* Prefer `.textContent` over `.innerText`.
|
|
4047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
4048
4396
|
*/
|
|
4049
4397
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
|
|
4398
|
+
/**
|
|
4399
|
+
* Prefer early returns over full-function conditional wrapping.
|
|
4400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-early-return.md
|
|
4401
|
+
*/
|
|
4402
|
+
'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
|
|
4050
4403
|
/**
|
|
4051
4404
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-event-target.md
|
|
4053
4406
|
*/
|
|
4054
4407
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
|
|
4055
4408
|
/**
|
|
4056
4409
|
* Prefer `export…from` when re-exporting.
|
|
4057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-export-from.md
|
|
4058
4411
|
*/
|
|
4059
4412
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
|
|
4413
|
+
/**
|
|
4414
|
+
* Prefer `.getOrInsertComputed()` when the default value has side effects.
|
|
4415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-get-or-insert-computed.md
|
|
4416
|
+
*/
|
|
4417
|
+
'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
|
|
4418
|
+
/**
|
|
4419
|
+
* Prefer global numeric constants over `Number` static properties.
|
|
4420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-global-number-constants.md
|
|
4421
|
+
*/
|
|
4422
|
+
'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>;
|
|
4060
4423
|
/**
|
|
4061
4424
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-global-this.md
|
|
4063
4426
|
*/
|
|
4064
4427
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
|
|
4428
|
+
/**
|
|
4429
|
+
* Prefer HTTPS over HTTP.
|
|
4430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-https.md
|
|
4431
|
+
*/
|
|
4432
|
+
'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
|
|
4433
|
+
/**
|
|
4434
|
+
* Prefer identifiers over string literals in import and export specifiers.
|
|
4435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
|
|
4436
|
+
*/
|
|
4437
|
+
'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>;
|
|
4065
4438
|
/**
|
|
4066
4439
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-import-meta-properties.md
|
|
4068
4441
|
*/
|
|
4069
4442
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
|
|
4070
4443
|
/**
|
|
4071
4444
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-includes.md
|
|
4073
4446
|
*/
|
|
4074
4447
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
|
|
4075
4448
|
/**
|
|
4076
|
-
* Prefer
|
|
4077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4449
|
+
* Prefer `.includes()` over repeated equality comparisons.
|
|
4450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
|
|
4451
|
+
*/
|
|
4452
|
+
'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
|
|
4453
|
+
/**
|
|
4454
|
+
* Prefer passing iterables directly to constructors instead of filling empty collections.
|
|
4455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterable-in-constructor.md
|
|
4456
|
+
*/
|
|
4457
|
+
'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>;
|
|
4458
|
+
/**
|
|
4459
|
+
* Prefer `Iterator.concat(…)` over temporary spread arrays.
|
|
4460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterator-concat.md
|
|
4461
|
+
*/
|
|
4462
|
+
'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
|
|
4463
|
+
/**
|
|
4464
|
+
* Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
|
|
4465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterator-to-array.md
|
|
4466
|
+
*/
|
|
4467
|
+
'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>;
|
|
4468
|
+
/**
|
|
4469
|
+
* Prefer moving `.toArray()` to the end of iterator helper chains.
|
|
4470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-iterator-to-array-at-end.md
|
|
4471
|
+
*/
|
|
4472
|
+
'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
|
|
4473
|
+
/**
|
|
4474
|
+
* Renamed to `unicorn/consistent-json-file-read`.
|
|
4475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
|
|
4476
|
+
* @deprecated
|
|
4078
4477
|
*/
|
|
4079
4478
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
|
|
4080
4479
|
/**
|
|
4081
|
-
* Prefer `KeyboardEvent#key` over
|
|
4082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4480
|
+
* Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
|
|
4481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
4083
4482
|
*/
|
|
4084
4483
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
|
|
4484
|
+
/**
|
|
4485
|
+
* Prefer `location.assign()` over assigning to `location.href`.
|
|
4486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-location-assign.md
|
|
4487
|
+
*/
|
|
4488
|
+
'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>;
|
|
4085
4489
|
/**
|
|
4086
4490
|
* Prefer using a logical operator over a ternary.
|
|
4087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4088
4492
|
*/
|
|
4089
4493
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
|
|
4494
|
+
/**
|
|
4495
|
+
* Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
|
|
4496
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-math-abs.md
|
|
4497
|
+
*/
|
|
4498
|
+
'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
|
|
4090
4499
|
/**
|
|
4091
4500
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4501
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-math-min-max.md
|
|
4093
4502
|
*/
|
|
4094
4503
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
|
|
4095
4504
|
/**
|
|
4096
|
-
*
|
|
4097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4505
|
+
* Prefer `Math.trunc()` for truncating numbers.
|
|
4506
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-math-trunc.md
|
|
4098
4507
|
*/
|
|
4099
4508
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
|
|
4100
4509
|
/**
|
|
4101
|
-
* Prefer
|
|
4102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4510
|
+
* Prefer moving ternaries into the minimal varying part of an expression.
|
|
4511
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-minimal-ternary.md
|
|
4512
|
+
*/
|
|
4513
|
+
'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<[]>;
|
|
4514
|
+
/**
|
|
4515
|
+
* Prefer modern DOM APIs.
|
|
4516
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
4103
4517
|
*/
|
|
4104
4518
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
|
|
4105
4519
|
/**
|
|
4106
4520
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4521
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-modern-math-apis.md
|
|
4108
4522
|
*/
|
|
4109
4523
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
|
|
4110
4524
|
/**
|
|
4111
4525
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4526
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-module.md
|
|
4113
4527
|
*/
|
|
4114
4528
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
|
|
4115
4529
|
/**
|
|
4116
4530
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4531
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
4118
4532
|
*/
|
|
4119
4533
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
|
|
4120
4534
|
/**
|
|
4121
4535
|
* Prefer negative index over `.length - index` when possible.
|
|
4122
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4536
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-negative-index.md
|
|
4123
4537
|
*/
|
|
4124
4538
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
|
|
4125
4539
|
/**
|
|
4126
4540
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4541
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-node-protocol.md
|
|
4128
4542
|
*/
|
|
4129
4543
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
|
|
4130
4544
|
/**
|
|
4131
|
-
* Prefer `Number`
|
|
4132
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4545
|
+
* Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
|
|
4546
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-number-coercion.md
|
|
4547
|
+
*/
|
|
4548
|
+
'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>;
|
|
4549
|
+
/**
|
|
4550
|
+
* Prefer `Number.isSafeInteger()` over integer checks.
|
|
4551
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-number-is-safe-integer.md
|
|
4552
|
+
*/
|
|
4553
|
+
'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>;
|
|
4554
|
+
/**
|
|
4555
|
+
* Prefer `Number` static methods over global functions and optionally static properties over global constants.
|
|
4556
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-number-properties.md
|
|
4133
4557
|
*/
|
|
4134
4558
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
|
|
4559
|
+
/**
|
|
4560
|
+
* Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
|
|
4561
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-define-properties.md
|
|
4562
|
+
*/
|
|
4563
|
+
'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>;
|
|
4564
|
+
/**
|
|
4565
|
+
* Prefer object destructuring defaults over default object literals with spread.
|
|
4566
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-destructuring-defaults.md
|
|
4567
|
+
*/
|
|
4568
|
+
'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>;
|
|
4135
4569
|
/**
|
|
4136
4570
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4571
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-from-entries.md
|
|
4138
4572
|
*/
|
|
4139
4573
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
|
|
4574
|
+
/**
|
|
4575
|
+
* Prefer the most specific `Object` iterable method.
|
|
4576
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-object-iterable-methods.md
|
|
4577
|
+
*/
|
|
4578
|
+
'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>;
|
|
4140
4579
|
/**
|
|
4141
4580
|
* Prefer omitting the `catch` binding parameter.
|
|
4142
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4581
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
4143
4582
|
*/
|
|
4144
4583
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
|
|
4584
|
+
/**
|
|
4585
|
+
* Prefer `Path2D` for repeatedly drawn canvas paths.
|
|
4586
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-path2d.md
|
|
4587
|
+
*/
|
|
4588
|
+
'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>;
|
|
4589
|
+
/**
|
|
4590
|
+
* Prefer private class fields over the underscore-prefix convention.
|
|
4591
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-private-class-fields.md
|
|
4592
|
+
*/
|
|
4593
|
+
'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>;
|
|
4145
4594
|
/**
|
|
4146
4595
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4596
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-prototype-methods.md
|
|
4148
4597
|
*/
|
|
4149
4598
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
|
|
4150
4599
|
/**
|
|
4151
|
-
* Prefer `.querySelector()`
|
|
4152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4600
|
+
* Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
|
|
4601
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-query-selector.md
|
|
4153
4602
|
*/
|
|
4154
|
-
'unicorn/prefer-query-selector'?: Linter.RuleEntry<
|
|
4603
|
+
'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
|
|
4604
|
+
/**
|
|
4605
|
+
* Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
|
|
4606
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-queue-microtask.md
|
|
4607
|
+
*/
|
|
4608
|
+
'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
|
|
4155
4609
|
/**
|
|
4156
4610
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4611
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-reflect-apply.md
|
|
4158
4612
|
*/
|
|
4159
4613
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
|
|
4160
4614
|
/**
|
|
4161
|
-
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4615
|
+
* Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
|
|
4616
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-regexp-test.md
|
|
4163
4617
|
*/
|
|
4164
4618
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
|
|
4165
4619
|
/**
|
|
4166
4620
|
* Prefer `Response.json()` over `new Response(JSON.stringify())`.
|
|
4167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4621
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-response-static-json.md
|
|
4168
4622
|
*/
|
|
4169
4623
|
'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
|
|
4624
|
+
/**
|
|
4625
|
+
* Prefer `:scope` when using element query selector methods.
|
|
4626
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-scoped-selector.md
|
|
4627
|
+
*/
|
|
4628
|
+
'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>;
|
|
4170
4629
|
/**
|
|
4171
4630
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4631
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-set-has.md
|
|
4173
4632
|
*/
|
|
4174
|
-
'unicorn/prefer-set-has'?: Linter.RuleEntry<
|
|
4633
|
+
'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
|
|
4175
4634
|
/**
|
|
4176
4635
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4636
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-set-size.md
|
|
4178
4637
|
*/
|
|
4179
4638
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
|
|
4639
|
+
/**
|
|
4640
|
+
* Prefer arrow function properties over methods with a single return.
|
|
4641
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-short-arrow-method.md
|
|
4642
|
+
*/
|
|
4643
|
+
'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<[]>;
|
|
4180
4644
|
/**
|
|
4181
4645
|
* Prefer simple conditions first in logical expressions.
|
|
4182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4646
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-simple-condition-first.md
|
|
4183
4647
|
*/
|
|
4184
4648
|
'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
|
|
4185
4649
|
/**
|
|
4186
|
-
*
|
|
4187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4650
|
+
* Prefer a simple comparison function for `Array#sort()`.
|
|
4651
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-simple-sort-comparator.md
|
|
4652
|
+
*/
|
|
4653
|
+
'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>;
|
|
4654
|
+
/**
|
|
4655
|
+
* Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
|
|
4656
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-single-array-predicate.md
|
|
4657
|
+
*/
|
|
4658
|
+
'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>;
|
|
4659
|
+
/**
|
|
4660
|
+
* Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4661
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-single-call.md
|
|
4188
4662
|
*/
|
|
4189
4663
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
|
|
4190
4664
|
/**
|
|
4191
|
-
* Prefer
|
|
4192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4665
|
+
* Prefer a single object destructuring declaration per local const source.
|
|
4666
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-single-object-destructuring.md
|
|
4667
|
+
*/
|
|
4668
|
+
'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Prefer declaring variables in the smallest possible scope.
|
|
4671
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-smaller-scope.md
|
|
4672
|
+
*/
|
|
4673
|
+
'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>;
|
|
4674
|
+
/**
|
|
4675
|
+
* Prefer `String#split()` with a limit.
|
|
4676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-split-limit.md
|
|
4677
|
+
*/
|
|
4678
|
+
'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
|
|
4679
|
+
/**
|
|
4680
|
+
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
|
|
4681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-spread.md
|
|
4193
4682
|
*/
|
|
4194
4683
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
|
|
4684
|
+
/**
|
|
4685
|
+
* Prefer `String#matchAll()` over `RegExp#exec()` loops.
|
|
4686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-match-all.md
|
|
4687
|
+
*/
|
|
4688
|
+
'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
|
|
4689
|
+
/**
|
|
4690
|
+
* Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
|
|
4691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-pad-start-end.md
|
|
4692
|
+
*/
|
|
4693
|
+
'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
|
|
4195
4694
|
/**
|
|
4196
4695
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4197
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-raw.md
|
|
4198
4697
|
*/
|
|
4199
4698
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
|
|
4200
4699
|
/**
|
|
4201
|
-
* Prefer `String#
|
|
4202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4700
|
+
* Prefer `String#repeat()` for repeated whitespace.
|
|
4701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-repeat.md
|
|
4702
|
+
*/
|
|
4703
|
+
'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
|
|
4704
|
+
/**
|
|
4705
|
+
* Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-replace-all.md
|
|
4203
4707
|
*/
|
|
4204
4708
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
|
|
4205
4709
|
/**
|
|
4206
4710
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4207
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-slice.md
|
|
4208
4712
|
*/
|
|
4209
4713
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
|
|
4210
4714
|
/**
|
|
4211
|
-
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4715
|
+
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
|
|
4716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
4213
4717
|
*/
|
|
4214
4718
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
|
|
4215
4719
|
/**
|
|
4216
4720
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
4218
4722
|
*/
|
|
4219
4723
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
|
|
4220
4724
|
/**
|
|
4221
4725
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4222
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-structured-clone.md
|
|
4223
4727
|
*/
|
|
4224
4728
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
|
|
4225
4729
|
/**
|
|
4226
4730
|
* Prefer `switch` over multiple `else-if`.
|
|
4227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-switch.md
|
|
4228
4732
|
*/
|
|
4229
4733
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
|
|
4230
4734
|
/**
|
|
4231
|
-
* Prefer
|
|
4232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4735
|
+
* Prefer `Temporal` over `Date`.
|
|
4736
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-temporal.md
|
|
4737
|
+
*/
|
|
4738
|
+
'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>;
|
|
4739
|
+
/**
|
|
4740
|
+
* Prefer ternary expressions over simple `if-else` statements that return or assign values.
|
|
4741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-ternary.md
|
|
4233
4742
|
*/
|
|
4234
4743
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
|
|
4235
4744
|
/**
|
|
4236
4745
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-top-level-await.md
|
|
4238
4747
|
*/
|
|
4239
4748
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
|
|
4240
4749
|
/**
|
|
4241
4750
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-type-error.md
|
|
4243
4752
|
*/
|
|
4244
4753
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
|
|
4754
|
+
/**
|
|
4755
|
+
* Require type literals to be last in union and intersection types.
|
|
4756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-type-literal-last.md
|
|
4757
|
+
*/
|
|
4758
|
+
'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>;
|
|
4759
|
+
/**
|
|
4760
|
+
* Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
|
|
4761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-uint8array-base64.md
|
|
4762
|
+
*/
|
|
4763
|
+
'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>;
|
|
4764
|
+
/**
|
|
4765
|
+
* Prefer Unicode code point escapes over legacy escape sequences.
|
|
4766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-unicode-code-point-escapes.md
|
|
4767
|
+
*/
|
|
4768
|
+
'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>;
|
|
4769
|
+
/**
|
|
4770
|
+
* Prefer `URL#href` over stringifying a `URL`.
|
|
4771
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prefer-url-href.md
|
|
4772
|
+
*/
|
|
4773
|
+
'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>;
|
|
4245
4774
|
/**
|
|
4246
4775
|
* Prevent abbreviations.
|
|
4247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/prevent-abbreviations.md
|
|
4248
4777
|
*/
|
|
4249
4778
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
|
|
4250
4779
|
/**
|
|
4251
4780
|
* Enforce consistent relative URL style.
|
|
4252
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/relative-url-style.md
|
|
4253
4782
|
*/
|
|
4254
4783
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
|
|
4255
4784
|
/**
|
|
4256
4785
|
* Enforce using the separator argument with `Array#join()`.
|
|
4257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-array-join-separator.md
|
|
4258
4787
|
*/
|
|
4259
4788
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
|
|
4789
|
+
/**
|
|
4790
|
+
* Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
|
|
4791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-array-sort-compare.md
|
|
4792
|
+
*/
|
|
4793
|
+
'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>;
|
|
4794
|
+
/**
|
|
4795
|
+
* Require `CSS.escape()` for interpolated values in CSS selectors.
|
|
4796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-css-escape.md
|
|
4797
|
+
*/
|
|
4798
|
+
'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
|
|
4260
4799
|
/**
|
|
4261
4800
|
* Require non-empty module attributes for imports and exports
|
|
4262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-module-attributes.md
|
|
4263
4802
|
*/
|
|
4264
4803
|
'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
|
|
4265
4804
|
/**
|
|
4266
4805
|
* Require non-empty specifier list in import and export statements.
|
|
4267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-module-specifiers.md
|
|
4268
4807
|
*/
|
|
4269
4808
|
'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
|
|
4270
4809
|
/**
|
|
4271
4810
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4273
4812
|
*/
|
|
4274
4813
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
|
|
4814
|
+
/**
|
|
4815
|
+
* Require passive event listeners for high-frequency events.
|
|
4816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-passive-events.md
|
|
4817
|
+
*/
|
|
4818
|
+
'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
|
|
4275
4819
|
/**
|
|
4276
4820
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-post-message-target-origin.md
|
|
4278
4822
|
*/
|
|
4279
4823
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
|
|
4824
|
+
/**
|
|
4825
|
+
* Require boolean-returning Proxy traps to return booleans.
|
|
4826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/require-proxy-trap-boolean-return.md
|
|
4827
|
+
*/
|
|
4828
|
+
'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>;
|
|
4280
4829
|
/**
|
|
4281
4830
|
* Enforce better string content.
|
|
4282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/string-content.md
|
|
4283
4832
|
*/
|
|
4284
4833
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
|
|
4285
4834
|
/**
|
|
4286
4835
|
* Enforce consistent brace style for `case` clauses.
|
|
4287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/switch-case-braces.md
|
|
4288
4837
|
*/
|
|
4289
4838
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
|
|
4290
4839
|
/**
|
|
4291
4840
|
* Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
|
|
4292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/switch-case-break-position.md
|
|
4293
4842
|
*/
|
|
4294
4843
|
'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
|
|
4295
4844
|
/**
|
|
4296
4845
|
* Fix whitespace-insensitive template indentation.
|
|
4297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/template-indent.md
|
|
4298
4847
|
*/
|
|
4299
4848
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
|
|
4300
4849
|
/**
|
|
4301
4850
|
* Enforce consistent case for text encoding identifiers.
|
|
4302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/text-encoding-identifier-case.md
|
|
4303
4852
|
*/
|
|
4304
4853
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
|
|
4305
4854
|
/**
|
|
4306
4855
|
* Require `new` when creating an error.
|
|
4307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/throw-new-error.md
|
|
4308
4857
|
*/
|
|
4309
4858
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
|
|
4859
|
+
/**
|
|
4860
|
+
* Limit the complexity of `try` blocks.
|
|
4861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v66.0.0/docs/rules/try-complexity.md
|
|
4862
|
+
*/
|
|
4863
|
+
'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
|
|
4310
4864
|
/**
|
|
4311
4865
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
4312
4866
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -7293,7 +7847,6 @@ type NNoUnpublishedBin = [] | [{
|
|
|
7293
7847
|
exclude?: string[];
|
|
7294
7848
|
replace: [string, string];
|
|
7295
7849
|
})[]]);
|
|
7296
|
-
[k: string]: unknown | undefined;
|
|
7297
7850
|
}]; // ----- n/no-unpublished-import -----
|
|
7298
7851
|
type NNoUnpublishedImport = [] | [{
|
|
7299
7852
|
allowModules?: string[];
|
|
@@ -7347,7 +7900,7 @@ type NNoUnsupportedFeaturesEsSyntax = [] | [{
|
|
|
7347
7900
|
type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
|
|
7348
7901
|
version?: string;
|
|
7349
7902
|
allowExperimental?: boolean;
|
|
7350
|
-
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")[];
|
|
7903
|
+
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.locks" | "navigator.locks.request" | "navigator.locks.query" | "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.decapsulateBits" | "crypto.subtle.decapsulateKey" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encapsulateBits" | "crypto.subtle.encapsulateKey" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.getPublicKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "SubtleCrypto.supports" | "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.decapsulateBits" | "crypto.webcrypto.subtle.decapsulateKey" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encapsulateBits" | "crypto.webcrypto.subtle.encapsulateKey" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.getPublicKey" | "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.argon2" | "crypto.argon2Sync" | "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.decapsulate" | "crypto.diffieHellman" | "crypto.encapsulate" | "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.mkdtempDisposable" | "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.mkdtempDisposableSync" | "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.Utf8Stream" | "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.mkdtempDisposable" | "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.Agent" | "http.ClientRequest()" | "http.ClientRequest" | "http.Server()" | "http.Server" | "http.ServerResponse()" | "http.ServerResponse" | "http.IncomingMessage()" | "http.IncomingMessage" | "http.OutgoingMessage()" | "http.OutgoingMessage" | "http.WebSocket()" | "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.Network.webSocketCreated" | "inspector.Network.webSocketHandshakeResponseReceived" | "inspector.Network.webSocketClosed" | "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.Network.webSocketCreated" | "inspector/promises.Network.webSocketHandshakeResponseReceived" | "inspector/promises.Network.webSocketClosed" | "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.eventLoopUtilization" | "perf_hooks.timerify" | "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.getAssetKeys" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getAssetKeys" | "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" | "_stream_duplex" | "_stream_passthrough" | "_stream_readable" | "_stream_transform" | "_stream_wrap" | "_stream_writable" | "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.Session" | "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.property" | "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" | "_tls_common" | "_tls_wrap" | "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" | "v8.startCpuProfile" | "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.threadName" | "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.locks" | "worker_threads.locks.request" | "worker_threads.locks.query" | "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")[];
|
|
7351
7904
|
}]; // ----- n/prefer-global/buffer -----
|
|
7352
7905
|
type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
|
|
7353
7906
|
type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
|
|
@@ -8138,6 +8691,7 @@ type PerfectionistSortClasses = {
|
|
|
8138
8691
|
matchesAstSelector?: string;
|
|
8139
8692
|
};
|
|
8140
8693
|
useExperimentalDependencyDetection?: boolean;
|
|
8694
|
+
newlinesBetweenOverloadSignatures?: ("ignore" | number);
|
|
8141
8695
|
ignoreCallbackDependenciesPatterns?: (({
|
|
8142
8696
|
pattern: string;
|
|
8143
8697
|
flags?: string;
|
|
@@ -9501,6 +10055,7 @@ type PerfectionistSortModules = [] | [{
|
|
|
9501
10055
|
})[];
|
|
9502
10056
|
newlinesBetween?: ("ignore" | number);
|
|
9503
10057
|
useExperimentalDependencyDetection?: boolean;
|
|
10058
|
+
newlinesBetweenOverloadSignatures?: ("ignore" | number);
|
|
9504
10059
|
partitionByComment?: (boolean | (({
|
|
9505
10060
|
pattern: string;
|
|
9506
10061
|
flags?: string;
|
|
@@ -10818,43 +11373,97 @@ type TailwindcssNoUnnecessaryArbitraryValue = [] | [{
|
|
|
10818
11373
|
}]; // ----- template-curly-spacing -----
|
|
10819
11374
|
type TemplateCurlySpacing = [] | [("always" | "never")]; // ----- template-tag-spacing -----
|
|
10820
11375
|
type TemplateTagSpacing = [] | [("always" | "never")]; // ----- unicode-bom -----
|
|
10821
|
-
type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/
|
|
10822
|
-
type UnicornBetterRegex = [] | [{
|
|
10823
|
-
sortCharacterClasses?: boolean;
|
|
10824
|
-
}]; // ----- unicorn/catch-error-name -----
|
|
11376
|
+
type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/catch-error-name -----
|
|
10825
11377
|
type UnicornCatchErrorName = [] | [{
|
|
10826
11378
|
name?: string;
|
|
10827
11379
|
ignore?: unknown[];
|
|
10828
|
-
}]; // ----- unicorn/
|
|
11380
|
+
}]; // ----- unicorn/class-reference-in-static-methods -----
|
|
11381
|
+
type UnicornClassReferenceInStaticMethods = [] | [{
|
|
11382
|
+
preferThis?: boolean;
|
|
11383
|
+
preferSuper?: boolean;
|
|
11384
|
+
}]; // ----- unicorn/comment-content -----
|
|
11385
|
+
type UnicornCommentContent = [] | [{
|
|
11386
|
+
extendDefaultReplacements?: boolean;
|
|
11387
|
+
replacements?: {
|
|
11388
|
+
[k: string]: (false | string | {
|
|
11389
|
+
replacement: string;
|
|
11390
|
+
caseSensitive?: boolean;
|
|
11391
|
+
}) | undefined;
|
|
11392
|
+
};
|
|
11393
|
+
}]; // ----- unicorn/consistent-class-member-order -----
|
|
11394
|
+
type UnicornConsistentClassMemberOrder = [] | [{
|
|
11395
|
+
order?: [("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method"), ("static-field" | "static-block" | "private-field" | "public-field" | "constructor" | "static-method" | "private-method" | "public-method")];
|
|
11396
|
+
}]; // ----- unicorn/consistent-compound-words -----
|
|
11397
|
+
type UnicornConsistentCompoundWords = [] | [{
|
|
11398
|
+
checkProperties?: boolean;
|
|
11399
|
+
checkVariables?: boolean;
|
|
11400
|
+
checkDefaultAndNamespaceImports?: (boolean | "internal");
|
|
11401
|
+
checkShorthandImports?: (boolean | "internal");
|
|
11402
|
+
checkShorthandProperties?: boolean;
|
|
11403
|
+
extendDefaultReplacements?: boolean;
|
|
11404
|
+
replacements?: _UnicornConsistentCompoundWords_Replacements;
|
|
11405
|
+
allowList?: _UnicornConsistentCompoundWords_TrueObject;
|
|
11406
|
+
}];
|
|
11407
|
+
interface _UnicornConsistentCompoundWords_Replacements {
|
|
11408
|
+
[k: string]: (false | string) | undefined;
|
|
11409
|
+
}
|
|
11410
|
+
interface _UnicornConsistentCompoundWords_TrueObject {
|
|
11411
|
+
[k: string]: true | undefined;
|
|
11412
|
+
} // ----- unicorn/consistent-export-decorator-position -----
|
|
11413
|
+
type UnicornConsistentExportDecoratorPosition = [] | [("above" | "before" | "after")]; // ----- unicorn/consistent-function-scoping -----
|
|
10829
11414
|
type UnicornConsistentFunctionScoping = [] | [{
|
|
10830
11415
|
checkArrowFunctions?: boolean;
|
|
11416
|
+
}]; // ----- unicorn/consistent-function-style -----
|
|
11417
|
+
type UnicornConsistentFunctionStyle = [] | [{
|
|
11418
|
+
default?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
|
|
11419
|
+
namedFunctions?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
|
|
11420
|
+
namedExports?: ("declaration" | "function-expression" | "arrow-function" | "ignore");
|
|
11421
|
+
callbacks?: ("function-expression" | "arrow-function" | "ignore");
|
|
11422
|
+
objectProperties?: ("method" | "function-expression" | "arrow-function" | "ignore");
|
|
11423
|
+
reassignedVariables?: ("function-expression" | "arrow-function" | "ignore");
|
|
11424
|
+
typedVariables?: ("function-expression" | "arrow-function" | "ignore");
|
|
11425
|
+
}]; // ----- unicorn/consistent-json-file-read -----
|
|
11426
|
+
type UnicornConsistentJsonFileRead = [] | [("string" | "buffer")]; // ----- unicorn/dom-node-dataset -----
|
|
11427
|
+
type UnicornDomNodeDataset = [] | [{
|
|
11428
|
+
preferAttributes?: boolean;
|
|
10831
11429
|
}]; // ----- unicorn/escape-case -----
|
|
10832
11430
|
type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/expiring-todo-comments -----
|
|
10833
11431
|
type UnicornExpiringTodoComments = [] | [{
|
|
10834
11432
|
terms?: string[];
|
|
10835
11433
|
ignore?: unknown[];
|
|
10836
|
-
|
|
10837
|
-
|
|
11434
|
+
checkDates?: boolean;
|
|
11435
|
+
checkDatesOnPullRequests?: boolean;
|
|
10838
11436
|
allowWarningComments?: boolean;
|
|
10839
11437
|
date?: string;
|
|
10840
11438
|
}]; // ----- unicorn/explicit-length-check -----
|
|
10841
11439
|
type UnicornExplicitLengthCheck = [] | [{
|
|
10842
11440
|
"non-zero"?: ("greater-than" | "not-equal");
|
|
10843
|
-
}]; // ----- unicorn/
|
|
11441
|
+
}]; // ----- unicorn/explicit-timer-delay -----
|
|
11442
|
+
type UnicornExplicitTimerDelay = [] | [("always" | "never")]; // ----- unicorn/filename-case -----
|
|
10844
11443
|
type UnicornFilenameCase = [] | [({
|
|
10845
|
-
case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase");
|
|
11444
|
+
case?: ("camelCase" | "camelCaseWithAcronyms" | "snakeCase" | "kebabCase" | "pascalCase");
|
|
10846
11445
|
ignore?: unknown[];
|
|
10847
11446
|
multipleFileExtensions?: boolean;
|
|
11447
|
+
checkDirectories?: boolean;
|
|
10848
11448
|
} | {
|
|
10849
11449
|
cases?: {
|
|
10850
11450
|
camelCase?: boolean;
|
|
11451
|
+
camelCaseWithAcronyms?: boolean;
|
|
10851
11452
|
snakeCase?: boolean;
|
|
10852
11453
|
kebabCase?: boolean;
|
|
10853
11454
|
pascalCase?: boolean;
|
|
10854
11455
|
};
|
|
10855
11456
|
ignore?: unknown[];
|
|
10856
11457
|
multipleFileExtensions?: boolean;
|
|
10857
|
-
|
|
11458
|
+
checkDirectories?: boolean;
|
|
11459
|
+
})]; // ----- unicorn/id-match -----
|
|
11460
|
+
type UnicornIdMatch = [] | [string] | [string, {
|
|
11461
|
+
properties?: boolean;
|
|
11462
|
+
classFields?: boolean;
|
|
11463
|
+
onlyDeclarations?: boolean;
|
|
11464
|
+
ignoreDestructuring?: boolean;
|
|
11465
|
+
checkNamedSpecifiers?: boolean;
|
|
11466
|
+
}]; // ----- unicorn/import-style -----
|
|
10858
11467
|
type UnicornImportStyle = [] | [{
|
|
10859
11468
|
checkImport?: boolean;
|
|
10860
11469
|
checkDynamicImport?: boolean;
|
|
@@ -10877,6 +11486,12 @@ type UnicornIsolatedFunctions = [] | [{
|
|
|
10877
11486
|
functions?: string[];
|
|
10878
11487
|
selectors?: string[];
|
|
10879
11488
|
comments?: string[];
|
|
11489
|
+
}]; // ----- unicorn/max-nested-calls -----
|
|
11490
|
+
type UnicornMaxNestedCalls = [] | [{
|
|
11491
|
+
max?: number;
|
|
11492
|
+
}]; // ----- unicorn/no-array-callback-reference -----
|
|
11493
|
+
type UnicornNoArrayCallbackReference = [] | [{
|
|
11494
|
+
ignore?: string[];
|
|
10880
11495
|
}]; // ----- unicorn/no-array-reduce -----
|
|
10881
11496
|
type UnicornNoArrayReduce = [] | [{
|
|
10882
11497
|
allowSimpleOperations?: boolean;
|
|
@@ -10886,6 +11501,9 @@ type UnicornNoArrayReverse = [] | [{
|
|
|
10886
11501
|
}]; // ----- unicorn/no-array-sort -----
|
|
10887
11502
|
type UnicornNoArraySort = [] | [{
|
|
10888
11503
|
allowExpressionStatement?: boolean;
|
|
11504
|
+
}]; // ----- unicorn/no-empty-file -----
|
|
11505
|
+
type UnicornNoEmptyFile = [] | [{
|
|
11506
|
+
allowComments?: boolean;
|
|
10889
11507
|
}]; // ----- unicorn/no-instanceof-builtins -----
|
|
10890
11508
|
type UnicornNoInstanceofBuiltins = [] | [{
|
|
10891
11509
|
useErrorIsError?: boolean;
|
|
@@ -10897,17 +11515,24 @@ type UnicornNoKeywordPrefix = [] | [{
|
|
|
10897
11515
|
disallowedPrefixes?: [] | [string];
|
|
10898
11516
|
checkProperties?: boolean;
|
|
10899
11517
|
onlyCamelCase?: boolean;
|
|
11518
|
+
}]; // ----- unicorn/no-negated-comparison -----
|
|
11519
|
+
type UnicornNoNegatedComparison = [] | [{
|
|
11520
|
+
checkLogicalExpressions?: boolean;
|
|
10900
11521
|
}]; // ----- unicorn/no-null -----
|
|
10901
11522
|
type UnicornNoNull = [] | [{
|
|
11523
|
+
checkArguments?: boolean;
|
|
10902
11524
|
checkStrictEquality?: boolean;
|
|
10903
11525
|
}]; // ----- unicorn/no-typeof-undefined -----
|
|
10904
11526
|
type UnicornNoTypeofUndefined = [] | [{
|
|
10905
11527
|
checkGlobalVariables?: boolean;
|
|
10906
11528
|
}]; // ----- unicorn/no-unnecessary-polyfills -----
|
|
10907
11529
|
type UnicornNoUnnecessaryPolyfills = [] | [{
|
|
10908
|
-
targets
|
|
11530
|
+
targets?: (string | unknown[] | {
|
|
10909
11531
|
[k: string]: unknown | undefined;
|
|
10910
11532
|
});
|
|
11533
|
+
}]; // ----- unicorn/no-unreadable-array-destructuring -----
|
|
11534
|
+
type UnicornNoUnreadableArrayDestructuring = [] | [{
|
|
11535
|
+
maximumIgnoredElements?: number;
|
|
10911
11536
|
}]; // ----- unicorn/no-useless-undefined -----
|
|
10912
11537
|
type UnicornNoUselessUndefined = [] | [{
|
|
10913
11538
|
checkArguments?: boolean;
|
|
@@ -10936,6 +11561,7 @@ type UnicornNumericSeparatorsStyle = [] | [{
|
|
|
10936
11561
|
onlyIfContainsSeparator?: boolean;
|
|
10937
11562
|
minimumDigits?: number;
|
|
10938
11563
|
groupLength?: number;
|
|
11564
|
+
fractionGroupLength?: number;
|
|
10939
11565
|
};
|
|
10940
11566
|
onlyIfContainsSeparator?: boolean;
|
|
10941
11567
|
}]; // ----- unicorn/prefer-add-event-listener -----
|
|
@@ -10951,9 +11577,15 @@ type UnicornPreferArrayFlat = [] | [{
|
|
|
10951
11577
|
type UnicornPreferAt = [] | [{
|
|
10952
11578
|
getLastElementFunctions?: unknown[];
|
|
10953
11579
|
checkAllIndexAccess?: boolean;
|
|
11580
|
+
}]; // ----- unicorn/prefer-early-return -----
|
|
11581
|
+
type UnicornPreferEarlyReturn = [] | [{
|
|
11582
|
+
maximumStatements?: number;
|
|
10954
11583
|
}]; // ----- unicorn/prefer-export-from -----
|
|
10955
11584
|
type UnicornPreferExportFrom = [] | [{
|
|
10956
|
-
|
|
11585
|
+
checkUsedVariables?: boolean;
|
|
11586
|
+
}]; // ----- unicorn/prefer-includes-over-repeated-comparisons -----
|
|
11587
|
+
type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
|
|
11588
|
+
minimumComparisons?: number;
|
|
10957
11589
|
}]; // ----- unicorn/prefer-number-properties -----
|
|
10958
11590
|
type UnicornPreferNumberProperties = [] | [{
|
|
10959
11591
|
checkInfinity?: boolean;
|
|
@@ -10961,9 +11593,22 @@ type UnicornPreferNumberProperties = [] | [{
|
|
|
10961
11593
|
}]; // ----- unicorn/prefer-object-from-entries -----
|
|
10962
11594
|
type UnicornPreferObjectFromEntries = [] | [{
|
|
10963
11595
|
functions?: unknown[];
|
|
11596
|
+
}]; // ----- unicorn/prefer-query-selector -----
|
|
11597
|
+
type UnicornPreferQuerySelector = [] | [{
|
|
11598
|
+
allowWithVariables?: boolean;
|
|
11599
|
+
}]; // ----- unicorn/prefer-queue-microtask -----
|
|
11600
|
+
type UnicornPreferQueueMicrotask = [] | [{
|
|
11601
|
+
checkSetImmediate?: boolean;
|
|
11602
|
+
checkSetTimeout?: boolean;
|
|
11603
|
+
}]; // ----- unicorn/prefer-set-has -----
|
|
11604
|
+
type UnicornPreferSetHas = [] | [{
|
|
11605
|
+
minimumItems?: number;
|
|
10964
11606
|
}]; // ----- unicorn/prefer-single-call -----
|
|
10965
11607
|
type UnicornPreferSingleCall = [] | [{
|
|
10966
11608
|
ignore?: unknown[];
|
|
11609
|
+
}]; // ----- unicorn/prefer-string-repeat -----
|
|
11610
|
+
type UnicornPreferStringRepeat = [] | [{
|
|
11611
|
+
minimumRepetitions?: number;
|
|
10967
11612
|
}]; // ----- unicorn/prefer-structured-clone -----
|
|
10968
11613
|
type UnicornPreferStructuredClone = [] | [{
|
|
10969
11614
|
functions?: unknown[];
|
|
@@ -10971,6 +11616,11 @@ type UnicornPreferStructuredClone = [] | [{
|
|
|
10971
11616
|
type UnicornPreferSwitch = [] | [{
|
|
10972
11617
|
minimumCases?: number;
|
|
10973
11618
|
emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case");
|
|
11619
|
+
}]; // ----- unicorn/prefer-temporal -----
|
|
11620
|
+
type UnicornPreferTemporal = [] | [{
|
|
11621
|
+
checkDateNow?: boolean;
|
|
11622
|
+
checkReferences?: boolean;
|
|
11623
|
+
checkMethods?: boolean;
|
|
10974
11624
|
}]; // ----- unicorn/prefer-ternary -----
|
|
10975
11625
|
type UnicornPreferTernary = [] | [("always" | "only-single-line")]; // ----- unicorn/prevent-abbreviations -----
|
|
10976
11626
|
type UnicornPreventAbbreviations = [] | [{
|
|
@@ -10996,17 +11646,22 @@ interface _UnicornPreventAbbreviations_BooleanObject {
|
|
|
10996
11646
|
interface _UnicornPreventAbbreviations_BooleanObject {
|
|
10997
11647
|
[k: string]: boolean | undefined;
|
|
10998
11648
|
} // ----- unicorn/relative-url-style -----
|
|
10999
|
-
type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/
|
|
11649
|
+
type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/require-css-escape -----
|
|
11650
|
+
type UnicornRequireCssEscape = [] | [{
|
|
11651
|
+
checkAllSelectors?: boolean;
|
|
11652
|
+
}]; // ----- unicorn/string-content -----
|
|
11000
11653
|
type UnicornStringContent = [] | [{
|
|
11001
11654
|
patterns?: {
|
|
11002
11655
|
[k: string]: (string | {
|
|
11003
11656
|
suggest: string;
|
|
11004
11657
|
fix?: boolean;
|
|
11658
|
+
caseSensitive?: boolean;
|
|
11005
11659
|
message?: string;
|
|
11006
11660
|
}) | undefined;
|
|
11007
11661
|
};
|
|
11662
|
+
selectors?: string[];
|
|
11008
11663
|
}]; // ----- unicorn/switch-case-braces -----
|
|
11009
|
-
type UnicornSwitchCaseBraces = [] | [("always" | "avoid")]; // ----- unicorn/template-indent -----
|
|
11664
|
+
type UnicornSwitchCaseBraces = [] | [("always" | "avoid" | "single-statement")]; // ----- unicorn/template-indent -----
|
|
11010
11665
|
type UnicornTemplateIndent = [] | [{
|
|
11011
11666
|
indent?: (string | number);
|
|
11012
11667
|
tags?: string[];
|
|
@@ -11016,6 +11671,9 @@ type UnicornTemplateIndent = [] | [{
|
|
|
11016
11671
|
}]; // ----- unicorn/text-encoding-identifier-case -----
|
|
11017
11672
|
type UnicornTextEncodingIdentifierCase = [] | [{
|
|
11018
11673
|
withDash?: boolean;
|
|
11674
|
+
}]; // ----- unicorn/try-complexity -----
|
|
11675
|
+
type UnicornTryComplexity = [] | [{
|
|
11676
|
+
max?: number;
|
|
11019
11677
|
}]; // ----- use-isnan -----
|
|
11020
11678
|
type UseIsnan = [] | [{
|
|
11021
11679
|
enforceForSwitchCase?: boolean;
|
|
@@ -11146,4 +11804,4 @@ declare const _default$5: FlatConfigItemStrict[];
|
|
|
11146
11804
|
*/
|
|
11147
11805
|
declare const lichthagel: (options?: OptionsConfig) => Promise<FlatConfigItemStrict[]>;
|
|
11148
11806
|
//#endregion
|
|
11149
|
-
export { FlatConfigItem, FlatConfigItemStrict, OptionsConfig, Rules, _default as browser, lichthagel as default, _default$1 as javascript, node, _default$2 as perfectionist, solid, _default$3 as stylistic, svelte, tailwindcss, _default$4 as typescript, _default$5 as unicorn };
|
|
11807
|
+
export { type FlatConfigItem, type FlatConfigItemStrict, type OptionsConfig, type Rules, _default as browser, lichthagel as default, _default$1 as javascript, node, _default$2 as perfectionist, solid, _default$3 as stylistic, svelte, tailwindcss, _default$4 as typescript, _default$5 as unicorn };
|