@bfra.me/eslint-config 0.10.0 → 0.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -2702,6 +2702,208 @@ interface Rules {
2702
2702
  * @see https://eslint.org/docs/latest/rules/no-with
2703
2703
  */
2704
2704
  'no-with'?: Linter.RuleEntry<[]>
2705
+ /**
2706
+ * require `return` statements after callbacks
2707
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
2708
+ */
2709
+ 'node/callback-return'?: Linter.RuleEntry<NodeCallbackReturn>
2710
+ /**
2711
+ * enforce either `module.exports` or `exports`
2712
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/exports-style.md
2713
+ */
2714
+ 'node/exports-style'?: Linter.RuleEntry<NodeExportsStyle>
2715
+ /**
2716
+ * enforce the style of file extensions in `import` declarations
2717
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/file-extension-in-import.md
2718
+ */
2719
+ 'node/file-extension-in-import'?: Linter.RuleEntry<NodeFileExtensionInImport>
2720
+ /**
2721
+ * require `require()` calls to be placed at top-level module scope
2722
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/global-require.md
2723
+ */
2724
+ 'node/global-require'?: Linter.RuleEntry<[]>
2725
+ /**
2726
+ * require error handling in callbacks
2727
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/handle-callback-err.md
2728
+ */
2729
+ 'node/handle-callback-err'?: Linter.RuleEntry<NodeHandleCallbackErr>
2730
+ /**
2731
+ * require correct usage of hashbang
2732
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
2733
+ */
2734
+ 'node/hashbang'?: Linter.RuleEntry<NodeHashbang>
2735
+ /**
2736
+ * enforce Node.js-style error-first callback pattern is followed
2737
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-callback-literal.md
2738
+ */
2739
+ 'node/no-callback-literal'?: Linter.RuleEntry<[]>
2740
+ /**
2741
+ * disallow deprecated APIs
2742
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-deprecated-api.md
2743
+ */
2744
+ 'node/no-deprecated-api'?: Linter.RuleEntry<NodeNoDeprecatedApi>
2745
+ /**
2746
+ * disallow the assignment to `exports`
2747
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-exports-assign.md
2748
+ */
2749
+ 'node/no-exports-assign'?: Linter.RuleEntry<[]>
2750
+ /**
2751
+ * disallow `import` declarations which import extraneous modules
2752
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-import.md
2753
+ */
2754
+ 'node/no-extraneous-import'?: Linter.RuleEntry<NodeNoExtraneousImport>
2755
+ /**
2756
+ * disallow `require()` expressions which import extraneous modules
2757
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-require.md
2758
+ */
2759
+ 'node/no-extraneous-require'?: Linter.RuleEntry<NodeNoExtraneousRequire>
2760
+ /**
2761
+ * disallow third-party modules which are hiding core modules
2762
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-hide-core-modules.md
2763
+ * @deprecated
2764
+ */
2765
+ 'node/no-hide-core-modules'?: Linter.RuleEntry<NodeNoHideCoreModules>
2766
+ /**
2767
+ * disallow `import` declarations which import non-existence modules
2768
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
2769
+ */
2770
+ 'node/no-missing-import'?: Linter.RuleEntry<NodeNoMissingImport>
2771
+ /**
2772
+ * disallow `require()` expressions which import non-existence modules
2773
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
2774
+ */
2775
+ 'node/no-missing-require'?: Linter.RuleEntry<NodeNoMissingRequire>
2776
+ /**
2777
+ * disallow `require` calls to be mixed with regular variable declarations
2778
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-mixed-requires.md
2779
+ */
2780
+ 'node/no-mixed-requires'?: Linter.RuleEntry<NodeNoMixedRequires>
2781
+ /**
2782
+ * disallow `new` operators with calls to `require`
2783
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-new-require.md
2784
+ */
2785
+ 'node/no-new-require'?: Linter.RuleEntry<[]>
2786
+ /**
2787
+ * disallow string concatenation with `__dirname` and `__filename`
2788
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-path-concat.md
2789
+ */
2790
+ 'node/no-path-concat'?: Linter.RuleEntry<[]>
2791
+ /**
2792
+ * disallow the use of `process.env`
2793
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
2794
+ */
2795
+ 'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
2796
+ /**
2797
+ * disallow the use of `process.exit()`
2798
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
2799
+ */
2800
+ 'node/no-process-exit'?: Linter.RuleEntry<[]>
2801
+ /**
2802
+ * disallow specified modules when loaded by `import` declarations
2803
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-import.md
2804
+ */
2805
+ 'node/no-restricted-import'?: Linter.RuleEntry<NodeNoRestrictedImport>
2806
+ /**
2807
+ * disallow specified modules when loaded by `require`
2808
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-require.md
2809
+ */
2810
+ 'node/no-restricted-require'?: Linter.RuleEntry<NodeNoRestrictedRequire>
2811
+ /**
2812
+ * disallow synchronous methods
2813
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
2814
+ */
2815
+ 'node/no-sync'?: Linter.RuleEntry<NodeNoSync>
2816
+ /**
2817
+ * disallow `bin` files that npm ignores
2818
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
2819
+ */
2820
+ 'node/no-unpublished-bin'?: Linter.RuleEntry<NodeNoUnpublishedBin>
2821
+ /**
2822
+ * disallow `import` declarations which import private modules
2823
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-import.md
2824
+ */
2825
+ 'node/no-unpublished-import'?: Linter.RuleEntry<NodeNoUnpublishedImport>
2826
+ /**
2827
+ * disallow `require()` expressions which import private modules
2828
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-require.md
2829
+ */
2830
+ 'node/no-unpublished-require'?: Linter.RuleEntry<NodeNoUnpublishedRequire>
2831
+ /**
2832
+ * disallow unsupported ECMAScript built-ins on the specified version
2833
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-builtins.md
2834
+ */
2835
+ 'node/no-unsupported-features/es-builtins'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesEsBuiltins>
2836
+ /**
2837
+ * disallow unsupported ECMAScript syntax on the specified version
2838
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-syntax.md
2839
+ */
2840
+ 'node/no-unsupported-features/es-syntax'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesEsSyntax>
2841
+ /**
2842
+ * disallow unsupported Node.js built-in APIs on the specified version
2843
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/node-builtins.md
2844
+ */
2845
+ 'node/no-unsupported-features/node-builtins'?: Linter.RuleEntry<NodeNoUnsupportedFeaturesNodeBuiltins>
2846
+ /**
2847
+ * enforce either `Buffer` or `require("buffer").Buffer`
2848
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/buffer.md
2849
+ */
2850
+ 'node/prefer-global/buffer'?: Linter.RuleEntry<NodePreferGlobalBuffer>
2851
+ /**
2852
+ * enforce either `console` or `require("console")`
2853
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
2854
+ */
2855
+ 'node/prefer-global/console'?: Linter.RuleEntry<NodePreferGlobalConsole>
2856
+ /**
2857
+ * enforce either `process` or `require("process")`
2858
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
2859
+ */
2860
+ 'node/prefer-global/process'?: Linter.RuleEntry<NodePreferGlobalProcess>
2861
+ /**
2862
+ * enforce either `TextDecoder` or `require("util").TextDecoder`
2863
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-decoder.md
2864
+ */
2865
+ 'node/prefer-global/text-decoder'?: Linter.RuleEntry<NodePreferGlobalTextDecoder>
2866
+ /**
2867
+ * enforce either `TextEncoder` or `require("util").TextEncoder`
2868
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
2869
+ */
2870
+ 'node/prefer-global/text-encoder'?: Linter.RuleEntry<NodePreferGlobalTextEncoder>
2871
+ /**
2872
+ * enforce either `URL` or `require("url").URL`
2873
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
2874
+ */
2875
+ 'node/prefer-global/url'?: Linter.RuleEntry<NodePreferGlobalUrl>
2876
+ /**
2877
+ * enforce either `URLSearchParams` or `require("url").URLSearchParams`
2878
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url-search-params.md
2879
+ */
2880
+ 'node/prefer-global/url-search-params'?: Linter.RuleEntry<NodePreferGlobalUrlSearchParams>
2881
+ /**
2882
+ * enforce using the `node:` protocol when importing Node.js builtin modules.
2883
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-node-protocol.md
2884
+ */
2885
+ 'node/prefer-node-protocol'?: Linter.RuleEntry<NodePreferNodeProtocol>
2886
+ /**
2887
+ * enforce `require("dns").promises`
2888
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/dns.md
2889
+ */
2890
+ 'node/prefer-promises/dns'?: Linter.RuleEntry<[]>
2891
+ /**
2892
+ * enforce `require("fs").promises`
2893
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/fs.md
2894
+ */
2895
+ 'node/prefer-promises/fs'?: Linter.RuleEntry<[]>
2896
+ /**
2897
+ * require that `process.exit()` expressions use the same code path as `throw`
2898
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/process-exit-as-throw.md
2899
+ */
2900
+ 'node/process-exit-as-throw'?: Linter.RuleEntry<[]>
2901
+ /**
2902
+ * require correct usage of hashbang
2903
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
2904
+ * @deprecated
2905
+ */
2906
+ 'node/shebang'?: Linter.RuleEntry<NodeShebang>
2705
2907
  /**
2706
2908
  * Enforce the location of single-line statements
2707
2909
  * @see https://eslint.org/docs/latest/rules/nonblock-statement-body-position
@@ -3455,157 +3657,857 @@ interface Rules {
3455
3657
  * @see https://eslint.org/docs/latest/rules/space-unary-ops
3456
3658
  * @deprecated
3457
3659
  */
3458
- 'space-unary-ops'?: Linter.RuleEntry<SpaceUnaryOps>
3660
+ 'space-unary-ops'?: Linter.RuleEntry<SpaceUnaryOps>
3661
+ /**
3662
+ * Enforce consistent spacing after the `//` or `/*` in a comment
3663
+ * @see https://eslint.org/docs/latest/rules/spaced-comment
3664
+ * @deprecated
3665
+ */
3666
+ 'spaced-comment'?: Linter.RuleEntry<SpacedComment>
3667
+ /**
3668
+ * Require or disallow strict mode directives
3669
+ * @see https://eslint.org/docs/latest/rules/strict
3670
+ */
3671
+ 'strict'?: Linter.RuleEntry<Strict>
3672
+ /**
3673
+ * Enforce spacing around colons of switch statements
3674
+ * @see https://eslint.org/docs/latest/rules/switch-colon-spacing
3675
+ * @deprecated
3676
+ */
3677
+ 'switch-colon-spacing'?: Linter.RuleEntry<SwitchColonSpacing>
3678
+ /**
3679
+ * Require symbol descriptions
3680
+ * @see https://eslint.org/docs/latest/rules/symbol-description
3681
+ */
3682
+ 'symbol-description'?: Linter.RuleEntry<[]>
3683
+ /**
3684
+ * Require or disallow spacing around embedded expressions of template strings
3685
+ * @see https://eslint.org/docs/latest/rules/template-curly-spacing
3686
+ * @deprecated
3687
+ */
3688
+ 'template-curly-spacing'?: Linter.RuleEntry<TemplateCurlySpacing>
3689
+ /**
3690
+ * Require or disallow spacing between template tags and their literals
3691
+ * @see https://eslint.org/docs/latest/rules/template-tag-spacing
3692
+ * @deprecated
3693
+ */
3694
+ 'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
3695
+ /**
3696
+ * enforce linebreaks after opening and before closing array brackets
3697
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
3698
+ */
3699
+ 'toml/array-bracket-newline'?: Linter.RuleEntry<TomlArrayBracketNewline>
3700
+ /**
3701
+ * enforce consistent spacing inside array brackets
3702
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-spacing.html
3703
+ */
3704
+ 'toml/array-bracket-spacing'?: Linter.RuleEntry<TomlArrayBracketSpacing>
3705
+ /**
3706
+ * enforce line breaks between array elements
3707
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-element-newline.html
3708
+ */
3709
+ 'toml/array-element-newline'?: Linter.RuleEntry<TomlArrayElementNewline>
3710
+ /**
3711
+ * enforce consistent comma style in array
3712
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/comma-style.html
3713
+ */
3714
+ 'toml/comma-style'?: Linter.RuleEntry<TomlCommaStyle>
3715
+ /**
3716
+ * enforce consistent indentation
3717
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
3718
+ */
3719
+ 'toml/indent'?: Linter.RuleEntry<TomlIndent>
3720
+ /**
3721
+ * enforce consistent spacing inside braces
3722
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
3723
+ */
3724
+ 'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>
3725
+ /**
3726
+ * enforce consistent spacing between keys and values in key/value pairs
3727
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
3728
+ */
3729
+ 'toml/key-spacing'?: Linter.RuleEntry<TomlKeySpacing>
3730
+ /**
3731
+ * disallow defining pair keys out-of-order
3732
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/keys-order.html
3733
+ */
3734
+ 'toml/keys-order'?: Linter.RuleEntry<[]>
3735
+ /**
3736
+ * disallow mixed data types in array
3737
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-mixed-type-in-array.html
3738
+ */
3739
+ 'toml/no-mixed-type-in-array'?: Linter.RuleEntry<TomlNoMixedTypeInArray>
3740
+ /**
3741
+ * disallow hexadecimal, octal and binary integer
3742
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-non-decimal-integer.html
3743
+ */
3744
+ 'toml/no-non-decimal-integer'?: Linter.RuleEntry<TomlNoNonDecimalInteger>
3745
+ /**
3746
+ * disallow spacing around infix operators
3747
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-space-dots.html
3748
+ */
3749
+ 'toml/no-space-dots'?: Linter.RuleEntry<[]>
3750
+ /**
3751
+ * disallow number separators that to not enhance readability.
3752
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-unreadable-number-separator.html
3753
+ */
3754
+ 'toml/no-unreadable-number-separator'?: Linter.RuleEntry<[]>
3755
+ /**
3756
+ * require or disallow padding lines between pairs
3757
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-pairs.html
3758
+ */
3759
+ 'toml/padding-line-between-pairs'?: Linter.RuleEntry<[]>
3760
+ /**
3761
+ * require or disallow padding lines between tables
3762
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-tables.html
3763
+ */
3764
+ 'toml/padding-line-between-tables'?: Linter.RuleEntry<[]>
3765
+ /**
3766
+ * disallow precision of fractional seconds greater than the specified value.
3767
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-fractional-seconds.html
3768
+ */
3769
+ 'toml/precision-of-fractional-seconds'?: Linter.RuleEntry<TomlPrecisionOfFractionalSeconds>
3770
+ /**
3771
+ * disallow precision of integer greater than the specified value.
3772
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-integer.html
3773
+ */
3774
+ 'toml/precision-of-integer'?: Linter.RuleEntry<TomlPrecisionOfInteger>
3775
+ /**
3776
+ * require or disallow quotes around keys
3777
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/quoted-keys.html
3778
+ */
3779
+ 'toml/quoted-keys'?: Linter.RuleEntry<TomlQuotedKeys>
3780
+ /**
3781
+ * require spacing around equals sign
3782
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/space-eq-sign.html
3783
+ * @deprecated
3784
+ */
3785
+ 'toml/space-eq-sign'?: Linter.RuleEntry<[]>
3786
+ /**
3787
+ * enforce consistent spacing after the `#` in a comment
3788
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/spaced-comment.html
3789
+ */
3790
+ 'toml/spaced-comment'?: Linter.RuleEntry<TomlSpacedComment>
3791
+ /**
3792
+ * enforce consistent spacing inside table brackets
3793
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/table-bracket-spacing.html
3794
+ */
3795
+ 'toml/table-bracket-spacing'?: Linter.RuleEntry<TomlTableBracketSpacing>
3796
+ /**
3797
+ * disallow defining tables out-of-order
3798
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/tables-order.html
3799
+ */
3800
+ 'toml/tables-order'?: Linter.RuleEntry<[]>
3801
+ /**
3802
+ * disallow parsing errors in Vue custom blocks
3803
+ * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/vue-custom-block/no-parsing-error.html
3804
+ */
3805
+ 'toml/vue-custom-block/no-parsing-error'?: Linter.RuleEntry<[]>
3806
+ /**
3807
+ * Require or disallow Unicode byte order mark (BOM)
3808
+ * @see https://eslint.org/docs/latest/rules/unicode-bom
3809
+ */
3810
+ 'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
3811
+ /**
3812
+ * Improve regexes by making them shorter, consistent, and safer.
3813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
3814
+ */
3815
+ 'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
3816
+ /**
3817
+ * Enforce a specific parameter name in catch clauses.
3818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
3819
+ */
3820
+ 'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
3821
+ /**
3822
+ * Use destructured variables over properties.
3823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
3824
+ */
3825
+ 'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
3826
+ /**
3827
+ * Prefer consistent types when spreading a ternary in an array literal.
3828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
3829
+ */
3830
+ 'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
3831
+ /**
3832
+ * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
3833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
3834
+ */
3835
+ 'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
3836
+ /**
3837
+ * Move function definitions to the highest possible scope.
3838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
3839
+ */
3840
+ 'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
3841
+ /**
3842
+ * Enforce correct `Error` subclassing.
3843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
3844
+ */
3845
+ 'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
3846
+ /**
3847
+ * Enforce no spaces between braces.
3848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
3849
+ */
3850
+ 'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
3851
+ /**
3852
+ * Enforce passing a `message` value when creating a built-in error.
3853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
3854
+ */
3855
+ 'unicorn/error-message'?: Linter.RuleEntry<[]>
3856
+ /**
3857
+ * Require escape sequences to use uppercase values.
3858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
3859
+ */
3860
+ 'unicorn/escape-case'?: Linter.RuleEntry<[]>
3861
+ /**
3862
+ * Add expiration conditions to TODO comments.
3863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
3864
+ */
3865
+ 'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
3866
+ /**
3867
+ * Enforce explicitly comparing the `length` or `size` property of a value.
3868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
3869
+ */
3870
+ 'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
3871
+ /**
3872
+ * Enforce a case style for filenames.
3873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
3874
+ */
3875
+ 'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
3876
+ /**
3877
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
3878
+ * @deprecated
3879
+ */
3880
+ 'unicorn/import-index'?: Linter.RuleEntry<[]>
3881
+ /**
3882
+ * Enforce specific import styles per module.
3883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
3884
+ */
3885
+ 'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
3886
+ /**
3887
+ * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
3888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
3889
+ */
3890
+ 'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
3891
+ /**
3892
+ * Enforce specifying rules to disable in `eslint-disable` comments.
3893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
3894
+ */
3895
+ 'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
3896
+ /**
3897
+ * Disallow anonymous functions and classes as the default export.
3898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
3899
+ */
3900
+ 'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
3901
+ /**
3902
+ * Prevent passing a function reference directly to iterator methods.
3903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
3904
+ */
3905
+ 'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
3906
+ /**
3907
+ * Prefer `for…of` over the `forEach` method.
3908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
3909
+ */
3910
+ 'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
3911
+ /**
3912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
3913
+ * @deprecated
3914
+ */
3915
+ 'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
3916
+ /**
3917
+ * Disallow using the `this` argument in array methods.
3918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
3919
+ */
3920
+ 'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
3921
+ /**
3922
+ * Enforce combining multiple `Array#push()` into one call.
3923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
3924
+ */
3925
+ 'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
3926
+ /**
3927
+ * Disallow `Array#reduce()` and `Array#reduceRight()`.
3928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
3929
+ */
3930
+ 'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
3931
+ /**
3932
+ * Disallow member access from await expression.
3933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
3934
+ */
3935
+ 'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
3936
+ /**
3937
+ * Disallow using `await` in `Promise` method parameters.
3938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
3939
+ */
3940
+ 'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
3941
+ /**
3942
+ * Do not use leading/trailing space between `console.log` parameters.
3943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
3944
+ */
3945
+ 'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
3946
+ /**
3947
+ * Do not use `document.cookie` directly.
3948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
3949
+ */
3950
+ 'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
3951
+ /**
3952
+ * Disallow empty files.
3953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
3954
+ */
3955
+ 'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
3956
+ /**
3957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
3958
+ * @deprecated
3959
+ */
3960
+ 'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
3961
+ /**
3962
+ * Do not use a `for` loop that can be replaced with a `for-of` loop.
3963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
3964
+ */
3965
+ 'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
3966
+ /**
3967
+ * Enforce the use of Unicode escapes instead of hexadecimal escapes.
3968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
3969
+ */
3970
+ 'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
3971
+ /**
3972
+ * Require `Array.isArray()` instead of `instanceof Array`.
3973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
3974
+ */
3975
+ 'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
3976
+ /**
3977
+ * Disallow invalid options in `fetch()` and `new Request()`.
3978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
3979
+ */
3980
+ 'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
3981
+ /**
3982
+ * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
3983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
3984
+ */
3985
+ 'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
3986
+ /**
3987
+ * Disallow identifiers starting with `new` or `class`.
3988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
3989
+ */
3990
+ 'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
3991
+ /**
3992
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
3993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
3994
+ */
3995
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
3996
+ /**
3997
+ * Disallow `if` statements as the only statement in `if` blocks without `else`.
3998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
3999
+ */
4000
+ 'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
4001
+ /**
4002
+ * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
4004
+ */
4005
+ 'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
4006
+ /**
4007
+ * Disallow negated conditions.
4008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
4009
+ */
4010
+ 'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
4011
+ /**
4012
+ * Disallow negated expression in equality check.
4013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
4014
+ */
4015
+ 'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
4016
+ /**
4017
+ * Disallow nested ternary expressions.
4018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
4019
+ */
4020
+ 'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
4021
+ /**
4022
+ * Disallow `new Array()`.
4023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
4024
+ */
4025
+ 'unicorn/no-new-array'?: Linter.RuleEntry<[]>
4026
+ /**
4027
+ * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
4029
+ */
4030
+ 'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
4031
+ /**
4032
+ * Disallow the use of the `null` literal.
4033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
4034
+ */
4035
+ 'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
4036
+ /**
4037
+ * Disallow the use of objects as default parameters.
4038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
4039
+ */
4040
+ 'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
4041
+ /**
4042
+ * Disallow `process.exit()`.
4043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
4044
+ */
4045
+ 'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
4046
+ /**
4047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
4048
+ * @deprecated
4049
+ */
4050
+ 'unicorn/no-reduce'?: Linter.RuleEntry<[]>
4051
+ /**
4052
+ * Disallow passing single-element arrays to `Promise` methods.
4053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
4054
+ */
4055
+ 'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
4056
+ /**
4057
+ * Disallow classes that only have static members.
4058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
4059
+ */
4060
+ 'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
4061
+ /**
4062
+ * Disallow `then` property.
4063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
4064
+ */
4065
+ 'unicorn/no-thenable'?: Linter.RuleEntry<[]>
4066
+ /**
4067
+ * Disallow assigning `this` to a variable.
4068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
4069
+ */
4070
+ 'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
4071
+ /**
4072
+ * Disallow comparing `undefined` using `typeof`.
4073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
4074
+ */
4075
+ 'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
4076
+ /**
4077
+ * Disallow awaiting non-promise values.
4078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
4079
+ */
4080
+ 'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
4081
+ /**
4082
+ * Enforce the use of built-in methods instead of unnecessary polyfills.
4083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
4084
+ */
4085
+ 'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
4086
+ /**
4087
+ * Disallow unreadable array destructuring.
4088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
4089
+ */
4090
+ 'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
4091
+ /**
4092
+ * Disallow unreadable IIFEs.
4093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
4094
+ */
4095
+ 'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
4096
+ /**
4097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
4098
+ * @deprecated
4099
+ */
4100
+ 'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
4101
+ /**
4102
+ * Disallow unused object properties.
4103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
4104
+ */
4105
+ 'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
4106
+ /**
4107
+ * Disallow useless fallback when spreading in object literals.
4108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
4109
+ */
4110
+ 'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
4111
+ /**
4112
+ * Disallow useless array length check.
4113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
4114
+ */
4115
+ 'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
4116
+ /**
4117
+ * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
4119
+ */
4120
+ 'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
4121
+ /**
4122
+ * Disallow unnecessary spread.
4123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
4124
+ */
4125
+ 'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
4126
+ /**
4127
+ * Disallow useless case in switch statements.
4128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
4129
+ */
4130
+ 'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
4131
+ /**
4132
+ * Disallow useless `undefined`.
4133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
4134
+ */
4135
+ 'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
4136
+ /**
4137
+ * Disallow number literals with zero fractions or dangling dots.
4138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
4139
+ */
4140
+ 'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
4141
+ /**
4142
+ * Enforce proper case for numeric literals.
4143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
4144
+ */
4145
+ 'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
4146
+ /**
4147
+ * Enforce the style of numeric separators by correctly grouping digits.
4148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
4149
+ */
4150
+ 'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
4151
+ /**
4152
+ * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
4154
+ */
4155
+ 'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
4156
+ /**
4157
+ * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
4159
+ */
4160
+ 'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
4161
+ /**
4162
+ * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
4164
+ */
4165
+ 'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
4166
+ /**
4167
+ * Prefer `.flatMap(…)` over `.map(…).flat()`.
4168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
4169
+ */
4170
+ 'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
4171
+ /**
4172
+ * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
4174
+ */
4175
+ 'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
4176
+ /**
4177
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
4178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
4179
+ */
4180
+ 'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
4181
+ /**
4182
+ * Prefer `.at()` method for index access and `String#charAt()`.
4183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
4184
+ */
4185
+ 'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
4186
+ /**
4187
+ * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
4189
+ */
4190
+ 'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
4191
+ /**
4192
+ * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
4194
+ */
4195
+ 'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
4196
+ /**
4197
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
4198
+ * @deprecated
4199
+ */
4200
+ 'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
4201
+ /**
4202
+ * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
4204
+ */
4205
+ 'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
4206
+ /**
4207
+ * Prefer default parameters over reassignment.
4208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
4209
+ */
4210
+ 'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
4211
+ /**
4212
+ * Prefer `Node#append()` over `Node#appendChild()`.
4213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
4214
+ */
4215
+ 'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
4216
+ /**
4217
+ * Prefer using `.dataset` on DOM elements over calling attribute methods.
4218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
4219
+ */
4220
+ 'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
4221
+ /**
4222
+ * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
4224
+ */
4225
+ 'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
4226
+ /**
4227
+ * Prefer `.textContent` over `.innerText`.
4228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
4229
+ */
4230
+ 'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
4231
+ /**
4232
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
4233
+ * @deprecated
4234
+ */
4235
+ 'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
4236
+ /**
4237
+ * Prefer `EventTarget` over `EventEmitter`.
4238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
4239
+ */
4240
+ 'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
4241
+ /**
4242
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
4243
+ * @deprecated
4244
+ */
4245
+ 'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
4246
+ /**
4247
+ * Prefer `export…from` when re-exporting.
4248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
4249
+ */
4250
+ 'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
4251
+ /**
4252
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
4253
+ * @deprecated
4254
+ */
4255
+ 'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
4256
+ /**
4257
+ * Prefer `globalThis` over `window`, `self`, and `global`.
4258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
4259
+ */
4260
+ 'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
4261
+ /**
4262
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
4264
+ */
4265
+ 'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
4266
+ /**
4267
+ * Prefer reading a JSON file as a buffer.
4268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
4269
+ */
4270
+ 'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
4271
+ /**
4272
+ * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
4274
+ */
4275
+ 'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
4276
+ /**
4277
+ * Prefer using a logical operator over a ternary.
4278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4279
+ */
4280
+ 'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
4281
+ /**
4282
+ * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
4284
+ */
4285
+ 'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
4286
+ /**
4287
+ * Enforce the use of `Math.trunc` instead of bitwise operators.
4288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
4289
+ */
4290
+ 'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
4291
+ /**
4292
+ * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
4294
+ */
4295
+ 'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
4296
+ /**
4297
+ * Prefer modern `Math` APIs over legacy patterns.
4298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
4299
+ */
4300
+ 'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
4301
+ /**
4302
+ * Prefer JavaScript modules (ESM) over CommonJS.
4303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
4304
+ */
4305
+ 'unicorn/prefer-module'?: Linter.RuleEntry<[]>
4306
+ /**
4307
+ * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
4309
+ */
4310
+ 'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
4311
+ /**
4312
+ * Prefer negative index over `.length - index` when possible.
4313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
4314
+ */
4315
+ 'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
4316
+ /**
4317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
4318
+ * @deprecated
4319
+ */
4320
+ 'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
4321
+ /**
4322
+ * Prefer using the `node:` protocol when importing Node.js builtin modules.
4323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
4324
+ */
4325
+ 'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
4326
+ /**
4327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
4328
+ * @deprecated
4329
+ */
4330
+ 'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
4331
+ /**
4332
+ * Prefer `Number` static properties over global ones.
4333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
4334
+ */
4335
+ 'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
4336
+ /**
4337
+ * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
4339
+ */
4340
+ 'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
4341
+ /**
4342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
4343
+ * @deprecated
4344
+ */
4345
+ 'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
4346
+ /**
4347
+ * Prefer omitting the `catch` binding parameter.
4348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
4349
+ */
4350
+ 'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
4351
+ /**
4352
+ * Prefer borrowing methods from the prototype instead of the instance.
4353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
4354
+ */
4355
+ 'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
4356
+ /**
4357
+ * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
4358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
4359
+ */
4360
+ 'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
3459
4361
  /**
3460
- * Enforce consistent spacing after the `//` or `/*` in a comment
3461
- * @see https://eslint.org/docs/latest/rules/spaced-comment
3462
- * @deprecated
4362
+ * Prefer `Reflect.apply()` over `Function#apply()`.
4363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
3463
4364
  */
3464
- 'spaced-comment'?: Linter.RuleEntry<SpacedComment>
4365
+ 'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
3465
4366
  /**
3466
- * Require or disallow strict mode directives
3467
- * @see https://eslint.org/docs/latest/rules/strict
4367
+ * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
3468
4369
  */
3469
- 'strict'?: Linter.RuleEntry<Strict>
4370
+ 'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
3470
4371
  /**
3471
- * Enforce spacing around colons of switch statements
3472
- * @see https://eslint.org/docs/latest/rules/switch-colon-spacing
4372
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
3473
4373
  * @deprecated
3474
4374
  */
3475
- 'switch-colon-spacing'?: Linter.RuleEntry<SwitchColonSpacing>
4375
+ 'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
3476
4376
  /**
3477
- * Require symbol descriptions
3478
- * @see https://eslint.org/docs/latest/rules/symbol-description
4377
+ * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
3479
4379
  */
3480
- 'symbol-description'?: Linter.RuleEntry<[]>
4380
+ 'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
3481
4381
  /**
3482
- * Require or disallow spacing around embedded expressions of template strings
3483
- * @see https://eslint.org/docs/latest/rules/template-curly-spacing
3484
- * @deprecated
4382
+ * Prefer using `Set#size` instead of `Array#length`.
4383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
3485
4384
  */
3486
- 'template-curly-spacing'?: Linter.RuleEntry<TemplateCurlySpacing>
4385
+ 'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
3487
4386
  /**
3488
- * Require or disallow spacing between template tags and their literals
3489
- * @see https://eslint.org/docs/latest/rules/template-tag-spacing
4387
+ * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
4389
+ */
4390
+ 'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
4391
+ /**
4392
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
3490
4393
  * @deprecated
3491
4394
  */
3492
- 'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>
4395
+ 'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
3493
4396
  /**
3494
- * enforce linebreaks after opening and before closing array brackets
3495
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
4397
+ * Prefer using the `String.raw` tag to avoid escaping `\`.
4398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
3496
4399
  */
3497
- 'toml/array-bracket-newline'?: Linter.RuleEntry<TomlArrayBracketNewline>
4400
+ 'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
3498
4401
  /**
3499
- * enforce consistent spacing inside array brackets
3500
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-spacing.html
4402
+ * Prefer `String#replaceAll()` over regex searches with the global flag.
4403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
3501
4404
  */
3502
- 'toml/array-bracket-spacing'?: Linter.RuleEntry<TomlArrayBracketSpacing>
4405
+ 'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
3503
4406
  /**
3504
- * enforce line breaks between array elements
3505
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-element-newline.html
4407
+ * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
4408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
3506
4409
  */
3507
- 'toml/array-element-newline'?: Linter.RuleEntry<TomlArrayElementNewline>
4410
+ 'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
3508
4411
  /**
3509
- * enforce consistent comma style in array
3510
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/comma-style.html
4412
+ * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
4413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
3511
4414
  */
3512
- 'toml/comma-style'?: Linter.RuleEntry<TomlCommaStyle>
4415
+ 'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
3513
4416
  /**
3514
- * enforce consistent indentation
3515
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
4417
+ * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
4418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
3516
4419
  */
3517
- 'toml/indent'?: Linter.RuleEntry<TomlIndent>
4420
+ 'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
3518
4421
  /**
3519
- * enforce consistent spacing inside braces
3520
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
4422
+ * Prefer using `structuredClone` to create a deep clone.
4423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
3521
4424
  */
3522
- 'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>
4425
+ 'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
3523
4426
  /**
3524
- * enforce consistent spacing between keys and values in key/value pairs
3525
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
4427
+ * Prefer `switch` over multiple `else-if`.
4428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
3526
4429
  */
3527
- 'toml/key-spacing'?: Linter.RuleEntry<TomlKeySpacing>
4430
+ 'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
3528
4431
  /**
3529
- * disallow defining pair keys out-of-order
3530
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/keys-order.html
4432
+ * Prefer ternary expressions over simple `if-else` statements.
4433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
3531
4434
  */
3532
- 'toml/keys-order'?: Linter.RuleEntry<[]>
4435
+ 'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
3533
4436
  /**
3534
- * disallow mixed data types in array
3535
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-mixed-type-in-array.html
4437
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
4438
+ * @deprecated
3536
4439
  */
3537
- 'toml/no-mixed-type-in-array'?: Linter.RuleEntry<TomlNoMixedTypeInArray>
4440
+ 'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
3538
4441
  /**
3539
- * disallow hexadecimal, octal and binary integer
3540
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-non-decimal-integer.html
4442
+ * Prefer top-level await over top-level promises and async function calls.
4443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
3541
4444
  */
3542
- 'toml/no-non-decimal-integer'?: Linter.RuleEntry<TomlNoNonDecimalInteger>
4445
+ 'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
3543
4446
  /**
3544
- * disallow spacing around infix operators
3545
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-space-dots.html
4447
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
4448
+ * @deprecated
3546
4449
  */
3547
- 'toml/no-space-dots'?: Linter.RuleEntry<[]>
4450
+ 'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
3548
4451
  /**
3549
- * disallow number separators that to not enhance readability.
3550
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-unreadable-number-separator.html
4452
+ * Enforce throwing `TypeError` in type checking conditions.
4453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
3551
4454
  */
3552
- 'toml/no-unreadable-number-separator'?: Linter.RuleEntry<[]>
4455
+ 'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
3553
4456
  /**
3554
- * require or disallow padding lines between pairs
3555
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-pairs.html
4457
+ * Prevent abbreviations.
4458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
3556
4459
  */
3557
- 'toml/padding-line-between-pairs'?: Linter.RuleEntry<[]>
4460
+ 'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
3558
4461
  /**
3559
- * require or disallow padding lines between tables
3560
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-tables.html
4462
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
4463
+ * @deprecated
3561
4464
  */
3562
- 'toml/padding-line-between-tables'?: Linter.RuleEntry<[]>
4465
+ 'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
3563
4466
  /**
3564
- * disallow precision of fractional seconds greater than the specified value.
3565
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-fractional-seconds.html
4467
+ * Enforce consistent relative URL style.
4468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
3566
4469
  */
3567
- 'toml/precision-of-fractional-seconds'?: Linter.RuleEntry<TomlPrecisionOfFractionalSeconds>
4470
+ 'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
3568
4471
  /**
3569
- * disallow precision of integer greater than the specified value.
3570
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-integer.html
4472
+ * Enforce using the separator argument with `Array#join()`.
4473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
3571
4474
  */
3572
- 'toml/precision-of-integer'?: Linter.RuleEntry<TomlPrecisionOfInteger>
4475
+ 'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
3573
4476
  /**
3574
- * require or disallow quotes around keys
3575
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/quoted-keys.html
4477
+ * Enforce using the digits argument with `Number#toFixed()`.
4478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
3576
4479
  */
3577
- 'toml/quoted-keys'?: Linter.RuleEntry<TomlQuotedKeys>
4480
+ 'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
3578
4481
  /**
3579
- * require spacing around equals sign
3580
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/space-eq-sign.html
3581
- * @deprecated
4482
+ * Enforce using the `targetOrigin` argument with `window.postMessage()`.
4483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
3582
4484
  */
3583
- 'toml/space-eq-sign'?: Linter.RuleEntry<[]>
4485
+ 'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
3584
4486
  /**
3585
- * enforce consistent spacing after the `#` in a comment
3586
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/spaced-comment.html
4487
+ * Enforce better string content.
4488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
3587
4489
  */
3588
- 'toml/spaced-comment'?: Linter.RuleEntry<TomlSpacedComment>
4490
+ 'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
3589
4491
  /**
3590
- * enforce consistent spacing inside table brackets
3591
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/table-bracket-spacing.html
4492
+ * Enforce consistent brace style for `case` clauses.
4493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
3592
4494
  */
3593
- 'toml/table-bracket-spacing'?: Linter.RuleEntry<TomlTableBracketSpacing>
4495
+ 'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
3594
4496
  /**
3595
- * disallow defining tables out-of-order
3596
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/tables-order.html
4497
+ * Fix whitespace-insensitive template indentation.
4498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
3597
4499
  */
3598
- 'toml/tables-order'?: Linter.RuleEntry<[]>
4500
+ 'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
3599
4501
  /**
3600
- * disallow parsing errors in Vue custom blocks
3601
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/vue-custom-block/no-parsing-error.html
4502
+ * Enforce consistent case for text encoding identifiers.
4503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
3602
4504
  */
3603
- 'toml/vue-custom-block/no-parsing-error'?: Linter.RuleEntry<[]>
4505
+ 'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
3604
4506
  /**
3605
- * Require or disallow Unicode byte order mark (BOM)
3606
- * @see https://eslint.org/docs/latest/rules/unicode-bom
4507
+ * Require `new` when creating an error.
4508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
3607
4509
  */
3608
- 'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
4510
+ 'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
3609
4511
  /**
3610
4512
  * Disallow unused variables
3611
4513
  * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
@@ -7383,6 +8285,281 @@ type NoWarningComments = []|[{
7383
8285
 
7384
8286
  decoration?: [string, ...(string)[]]
7385
8287
  }]
8288
+ // ----- node/callback-return -----
8289
+ type NodeCallbackReturn = []|[string[]]
8290
+ // ----- node/exports-style -----
8291
+ type NodeExportsStyle = []|[("module.exports" | "exports")]|[("module.exports" | "exports"), {
8292
+ allowBatchAssign?: boolean
8293
+ }]
8294
+ // ----- node/file-extension-in-import -----
8295
+ type NodeFileExtensionInImport = []|[("always" | "never")]|[("always" | "never"), {
8296
+ [k: string]: ("always" | "never") | undefined
8297
+ }]
8298
+ // ----- node/handle-callback-err -----
8299
+ type NodeHandleCallbackErr = []|[string]
8300
+ // ----- node/hashbang -----
8301
+ type NodeHashbang = []|[{
8302
+ convertPath?: ({
8303
+
8304
+ [k: string]: [string, string]
8305
+ } | [{
8306
+
8307
+ include: [string, ...(string)[]]
8308
+ exclude?: string[]
8309
+
8310
+ replace: [string, string]
8311
+ }, ...({
8312
+
8313
+ include: [string, ...(string)[]]
8314
+ exclude?: string[]
8315
+
8316
+ replace: [string, string]
8317
+ })[]])
8318
+ ignoreUnpublished?: boolean
8319
+ additionalExecutables?: string[]
8320
+ executableMap?: {
8321
+ [k: string]: string
8322
+ }
8323
+ }]
8324
+ // ----- node/no-deprecated-api -----
8325
+ type NodeNoDeprecatedApi = []|[{
8326
+ version?: string
8327
+ ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
8328
+ ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
8329
+ ignoreIndirectDependencies?: boolean
8330
+ }]
8331
+ // ----- node/no-extraneous-import -----
8332
+ type NodeNoExtraneousImport = []|[{
8333
+ allowModules?: string[]
8334
+ convertPath?: ({
8335
+
8336
+ [k: string]: [string, string]
8337
+ } | [{
8338
+
8339
+ include: [string, ...(string)[]]
8340
+ exclude?: string[]
8341
+
8342
+ replace: [string, string]
8343
+ }, ...({
8344
+
8345
+ include: [string, ...(string)[]]
8346
+ exclude?: string[]
8347
+
8348
+ replace: [string, string]
8349
+ })[]])
8350
+ resolvePaths?: string[]
8351
+ resolverConfig?: {
8352
+ [k: string]: unknown | undefined
8353
+ }
8354
+ }]
8355
+ // ----- node/no-extraneous-require -----
8356
+ type NodeNoExtraneousRequire = []|[{
8357
+ allowModules?: string[]
8358
+ convertPath?: ({
8359
+
8360
+ [k: string]: [string, string]
8361
+ } | [{
8362
+
8363
+ include: [string, ...(string)[]]
8364
+ exclude?: string[]
8365
+
8366
+ replace: [string, string]
8367
+ }, ...({
8368
+
8369
+ include: [string, ...(string)[]]
8370
+ exclude?: string[]
8371
+
8372
+ replace: [string, string]
8373
+ })[]])
8374
+ resolvePaths?: string[]
8375
+ resolverConfig?: {
8376
+ [k: string]: unknown | undefined
8377
+ }
8378
+ tryExtensions?: string[]
8379
+ }]
8380
+ // ----- node/no-hide-core-modules -----
8381
+ type NodeNoHideCoreModules = []|[{
8382
+ allow?: ("assert" | "buffer" | "child_process" | "cluster" | "console" | "constants" | "crypto" | "dgram" | "dns" | "events" | "fs" | "http" | "https" | "module" | "net" | "os" | "path" | "querystring" | "readline" | "repl" | "stream" | "string_decoder" | "timers" | "tls" | "tty" | "url" | "util" | "vm" | "zlib")[]
8383
+ ignoreDirectDependencies?: boolean
8384
+ ignoreIndirectDependencies?: boolean
8385
+ }]
8386
+ // ----- node/no-missing-import -----
8387
+ type NodeNoMissingImport = []|[{
8388
+ allowModules?: string[]
8389
+ resolvePaths?: string[]
8390
+ resolverConfig?: {
8391
+ [k: string]: unknown | undefined
8392
+ }
8393
+ tryExtensions?: string[]
8394
+ ignoreTypeImport?: boolean
8395
+ tsconfigPath?: string
8396
+ typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
8397
+ }]
8398
+ // ----- node/no-missing-require -----
8399
+ type NodeNoMissingRequire = []|[{
8400
+ allowModules?: string[]
8401
+ tryExtensions?: string[]
8402
+ resolvePaths?: string[]
8403
+ resolverConfig?: {
8404
+ [k: string]: unknown | undefined
8405
+ }
8406
+ typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
8407
+ tsconfigPath?: string
8408
+ }]
8409
+ // ----- node/no-mixed-requires -----
8410
+ type NodeNoMixedRequires = []|[(boolean | {
8411
+ grouping?: boolean
8412
+ allowCall?: boolean
8413
+ })]
8414
+ // ----- node/no-process-env -----
8415
+ type NodeNoProcessEnv = []|[{
8416
+ allowedVariables?: string[]
8417
+ }]
8418
+ // ----- node/no-restricted-import -----
8419
+ type NodeNoRestrictedImport = []|[(string | {
8420
+ name: (string | string[])
8421
+ message?: string
8422
+ })[]]
8423
+ // ----- node/no-restricted-require -----
8424
+ type NodeNoRestrictedRequire = []|[(string | {
8425
+ name: (string | string[])
8426
+ message?: string
8427
+ })[]]
8428
+ // ----- node/no-sync -----
8429
+ type NodeNoSync = []|[{
8430
+ allowAtRootLevel?: boolean
8431
+ ignores?: string[]
8432
+ }]
8433
+ // ----- node/no-unpublished-bin -----
8434
+ type NodeNoUnpublishedBin = []|[{
8435
+ convertPath?: ({
8436
+
8437
+ [k: string]: [string, string]
8438
+ } | [{
8439
+
8440
+ include: [string, ...(string)[]]
8441
+ exclude?: string[]
8442
+
8443
+ replace: [string, string]
8444
+ }, ...({
8445
+
8446
+ include: [string, ...(string)[]]
8447
+ exclude?: string[]
8448
+
8449
+ replace: [string, string]
8450
+ })[]])
8451
+ [k: string]: unknown | undefined
8452
+ }]
8453
+ // ----- node/no-unpublished-import -----
8454
+ type NodeNoUnpublishedImport = []|[{
8455
+ allowModules?: string[]
8456
+ convertPath?: ({
8457
+
8458
+ [k: string]: [string, string]
8459
+ } | [{
8460
+
8461
+ include: [string, ...(string)[]]
8462
+ exclude?: string[]
8463
+
8464
+ replace: [string, string]
8465
+ }, ...({
8466
+
8467
+ include: [string, ...(string)[]]
8468
+ exclude?: string[]
8469
+
8470
+ replace: [string, string]
8471
+ })[]])
8472
+ resolvePaths?: string[]
8473
+ resolverConfig?: {
8474
+ [k: string]: unknown | undefined
8475
+ }
8476
+ ignoreTypeImport?: boolean
8477
+ ignorePrivate?: boolean
8478
+ }]
8479
+ // ----- node/no-unpublished-require -----
8480
+ type NodeNoUnpublishedRequire = []|[{
8481
+ allowModules?: string[]
8482
+ convertPath?: ({
8483
+
8484
+ [k: string]: [string, string]
8485
+ } | [{
8486
+
8487
+ include: [string, ...(string)[]]
8488
+ exclude?: string[]
8489
+
8490
+ replace: [string, string]
8491
+ }, ...({
8492
+
8493
+ include: [string, ...(string)[]]
8494
+ exclude?: string[]
8495
+
8496
+ replace: [string, string]
8497
+ })[]])
8498
+ resolvePaths?: string[]
8499
+ resolverConfig?: {
8500
+ [k: string]: unknown | undefined
8501
+ }
8502
+ tryExtensions?: string[]
8503
+ ignorePrivate?: boolean
8504
+ }]
8505
+ // ----- node/no-unsupported-features/es-builtins -----
8506
+ type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
8507
+ version?: string
8508
+ ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
8509
+ }]
8510
+ // ----- node/no-unsupported-features/es-syntax -----
8511
+ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
8512
+ version?: string
8513
+ ignores?: ("no-accessor-properties" | "accessor-properties" | "accessorProperties" | "no-arbitrary-module-namespace-names" | "arbitrary-module-namespace-names" | "arbitraryModuleNamespaceNames" | "no-array-from" | "array-from" | "arrayFrom" | "no-array-isarray" | "array-isarray" | "arrayIsarray" | "no-array-of" | "array-of" | "arrayOf" | "no-array-prototype-copywithin" | "array-prototype-copywithin" | "arrayPrototypeCopywithin" | "no-array-prototype-entries" | "array-prototype-entries" | "arrayPrototypeEntries" | "no-array-prototype-every" | "array-prototype-every" | "arrayPrototypeEvery" | "no-array-prototype-fill" | "array-prototype-fill" | "arrayPrototypeFill" | "no-array-prototype-filter" | "array-prototype-filter" | "arrayPrototypeFilter" | "no-array-prototype-find" | "array-prototype-find" | "arrayPrototypeFind" | "no-array-prototype-findindex" | "array-prototype-findindex" | "arrayPrototypeFindindex" | "no-array-prototype-findlast-findlastindex" | "array-prototype-findlast-findlastindex" | "arrayPrototypeFindlastFindlastindex" | "no-array-prototype-flat" | "array-prototype-flat" | "arrayPrototypeFlat" | "no-array-prototype-foreach" | "array-prototype-foreach" | "arrayPrototypeForeach" | "no-array-prototype-includes" | "array-prototype-includes" | "arrayPrototypeIncludes" | "no-array-prototype-indexof" | "array-prototype-indexof" | "arrayPrototypeIndexof" | "no-array-prototype-keys" | "array-prototype-keys" | "arrayPrototypeKeys" | "no-array-prototype-lastindexof" | "array-prototype-lastindexof" | "arrayPrototypeLastindexof" | "no-array-prototype-map" | "array-prototype-map" | "arrayPrototypeMap" | "no-array-prototype-reduce" | "array-prototype-reduce" | "arrayPrototypeReduce" | "no-array-prototype-reduceright" | "array-prototype-reduceright" | "arrayPrototypeReduceright" | "no-array-prototype-some" | "array-prototype-some" | "arrayPrototypeSome" | "no-array-prototype-toreversed" | "array-prototype-toreversed" | "arrayPrototypeToreversed" | "no-array-prototype-tosorted" | "array-prototype-tosorted" | "arrayPrototypeTosorted" | "no-array-prototype-tospliced" | "array-prototype-tospliced" | "arrayPrototypeTospliced" | "no-array-prototype-values" | "array-prototype-values" | "arrayPrototypeValues" | "no-array-prototype-with" | "array-prototype-with" | "arrayPrototypeWith" | "no-array-string-prototype-at" | "array-string-prototype-at" | "arrayStringPrototypeAt" | "no-arrow-functions" | "arrow-functions" | "arrowFunctions" | "no-async-functions" | "async-functions" | "asyncFunctions" | "no-async-iteration" | "async-iteration" | "asyncIteration" | "no-atomics-waitasync" | "atomics-waitasync" | "atomicsWaitasync" | "no-atomics" | "atomics" | "no-bigint" | "bigint" | "no-binary-numeric-literals" | "binary-numeric-literals" | "binaryNumericLiterals" | "no-block-scoped-functions" | "block-scoped-functions" | "blockScopedFunctions" | "no-block-scoped-variables" | "block-scoped-variables" | "blockScopedVariables" | "no-class-fields" | "class-fields" | "classFields" | "no-class-static-block" | "class-static-block" | "classStaticBlock" | "no-classes" | "classes" | "no-computed-properties" | "computed-properties" | "computedProperties" | "no-date-now" | "date-now" | "dateNow" | "no-date-prototype-getyear-setyear" | "date-prototype-getyear-setyear" | "datePrototypeGetyearSetyear" | "no-date-prototype-togmtstring" | "date-prototype-togmtstring" | "datePrototypeTogmtstring" | "no-default-parameters" | "default-parameters" | "defaultParameters" | "no-destructuring" | "destructuring" | "no-dynamic-import" | "dynamic-import" | "dynamicImport" | "no-error-cause" | "error-cause" | "errorCause" | "no-escape-unescape" | "escape-unescape" | "escapeUnescape" | "no-exponential-operators" | "exponential-operators" | "exponentialOperators" | "no-export-ns-from" | "export-ns-from" | "exportNsFrom" | "no-for-of-loops" | "for-of-loops" | "forOfLoops" | "no-function-declarations-in-if-statement-clauses-without-block" | "function-declarations-in-if-statement-clauses-without-block" | "functionDeclarationsInIfStatementClausesWithoutBlock" | "no-function-prototype-bind" | "function-prototype-bind" | "functionPrototypeBind" | "no-generators" | "generators" | "no-global-this" | "global-this" | "globalThis" | "no-hashbang" | "hashbang" | "no-import-meta" | "import-meta" | "importMeta" | "no-initializers-in-for-in" | "initializers-in-for-in" | "initializersInForIn" | "no-intl-datetimeformat-prototype-formatrange" | "intl-datetimeformat-prototype-formatrange" | "intlDatetimeformatPrototypeFormatrange" | "no-intl-datetimeformat-prototype-formattoparts" | "intl-datetimeformat-prototype-formattoparts" | "intlDatetimeformatPrototypeFormattoparts" | "no-intl-displaynames" | "intl-displaynames" | "intlDisplaynames" | "no-intl-getcanonicallocales" | "intl-getcanonicallocales" | "intlGetcanonicallocales" | "no-intl-listformat" | "intl-listformat" | "intlListformat" | "no-intl-locale" | "intl-locale" | "intlLocale" | "no-intl-numberformat-prototype-formatrange" | "intl-numberformat-prototype-formatrange" | "intlNumberformatPrototypeFormatrange" | "no-intl-numberformat-prototype-formatrangetoparts" | "intl-numberformat-prototype-formatrangetoparts" | "intlNumberformatPrototypeFormatrangetoparts" | "no-intl-numberformat-prototype-formattoparts" | "intl-numberformat-prototype-formattoparts" | "intlNumberformatPrototypeFormattoparts" | "no-intl-pluralrules-prototype-selectrange" | "intl-pluralrules-prototype-selectrange" | "intlPluralrulesPrototypeSelectrange" | "no-intl-pluralrules" | "intl-pluralrules" | "intlPluralrules" | "no-intl-relativetimeformat" | "intl-relativetimeformat" | "intlRelativetimeformat" | "no-intl-segmenter" | "intl-segmenter" | "intlSegmenter" | "no-intl-supportedvaluesof" | "intl-supportedvaluesof" | "intlSupportedvaluesof" | "no-json-superset" | "json-superset" | "jsonSuperset" | "no-json" | "json" | "no-keyword-properties" | "keyword-properties" | "keywordProperties" | "no-labelled-function-declarations" | "labelled-function-declarations" | "labelledFunctionDeclarations" | "no-legacy-object-prototype-accessor-methods" | "legacy-object-prototype-accessor-methods" | "legacyObjectPrototypeAccessorMethods" | "no-logical-assignment-operators" | "logical-assignment-operators" | "logicalAssignmentOperators" | "no-malformed-template-literals" | "malformed-template-literals" | "malformedTemplateLiterals" | "no-map" | "map" | "no-math-acosh" | "math-acosh" | "mathAcosh" | "no-math-asinh" | "math-asinh" | "mathAsinh" | "no-math-atanh" | "math-atanh" | "mathAtanh" | "no-math-cbrt" | "math-cbrt" | "mathCbrt" | "no-math-clz32" | "math-clz32" | "mathClz32" | "no-math-cosh" | "math-cosh" | "mathCosh" | "no-math-expm1" | "math-expm1" | "mathExpm1" | "no-math-fround" | "math-fround" | "mathFround" | "no-math-hypot" | "math-hypot" | "mathHypot" | "no-math-imul" | "math-imul" | "mathImul" | "no-math-log10" | "math-log10" | "mathLog10" | "no-math-log1p" | "math-log1p" | "mathLog1p" | "no-math-log2" | "math-log2" | "mathLog2" | "no-math-sign" | "math-sign" | "mathSign" | "no-math-sinh" | "math-sinh" | "mathSinh" | "no-math-tanh" | "math-tanh" | "mathTanh" | "no-math-trunc" | "math-trunc" | "mathTrunc" | "no-modules" | "modules" | "no-new-target" | "new-target" | "newTarget" | "new.target" | "no-nullish-coalescing-operators" | "nullish-coalescing-operators" | "nullishCoalescingOperators" | "no-number-epsilon" | "number-epsilon" | "numberEpsilon" | "no-number-isfinite" | "number-isfinite" | "numberIsfinite" | "no-number-isinteger" | "number-isinteger" | "numberIsinteger" | "no-number-isnan" | "number-isnan" | "numberIsnan" | "no-number-issafeinteger" | "number-issafeinteger" | "numberIssafeinteger" | "no-number-maxsafeinteger" | "number-maxsafeinteger" | "numberMaxsafeinteger" | "no-number-minsafeinteger" | "number-minsafeinteger" | "numberMinsafeinteger" | "no-number-parsefloat" | "number-parsefloat" | "numberParsefloat" | "no-number-parseint" | "number-parseint" | "numberParseint" | "no-numeric-separators" | "numeric-separators" | "numericSeparators" | "no-object-assign" | "object-assign" | "objectAssign" | "no-object-create" | "object-create" | "objectCreate" | "no-object-defineproperties" | "object-defineproperties" | "objectDefineproperties" | "no-object-defineproperty" | "object-defineproperty" | "objectDefineproperty" | "no-object-entries" | "object-entries" | "objectEntries" | "no-object-freeze" | "object-freeze" | "objectFreeze" | "no-object-fromentries" | "object-fromentries" | "objectFromentries" | "no-object-getownpropertydescriptor" | "object-getownpropertydescriptor" | "objectGetownpropertydescriptor" | "no-object-getownpropertydescriptors" | "object-getownpropertydescriptors" | "objectGetownpropertydescriptors" | "no-object-getownpropertynames" | "object-getownpropertynames" | "objectGetownpropertynames" | "no-object-getownpropertysymbols" | "object-getownpropertysymbols" | "objectGetownpropertysymbols" | "no-object-getprototypeof" | "object-getprototypeof" | "objectGetprototypeof" | "no-object-hasown" | "object-hasown" | "objectHasown" | "no-object-is" | "object-is" | "objectIs" | "no-object-isextensible" | "object-isextensible" | "objectIsextensible" | "no-object-isfrozen" | "object-isfrozen" | "objectIsfrozen" | "no-object-issealed" | "object-issealed" | "objectIssealed" | "no-object-keys" | "object-keys" | "objectKeys" | "no-object-map-groupby" | "object-map-groupby" | "objectMapGroupby" | "no-object-preventextensions" | "object-preventextensions" | "objectPreventextensions" | "no-object-seal" | "object-seal" | "objectSeal" | "no-object-setprototypeof" | "object-setprototypeof" | "objectSetprototypeof" | "no-object-super-properties" | "object-super-properties" | "objectSuperProperties" | "no-object-values" | "object-values" | "objectValues" | "no-octal-numeric-literals" | "octal-numeric-literals" | "octalNumericLiterals" | "no-optional-catch-binding" | "optional-catch-binding" | "optionalCatchBinding" | "no-optional-chaining" | "optional-chaining" | "optionalChaining" | "no-private-in" | "private-in" | "privateIn" | "no-promise-all-settled" | "promise-all-settled" | "promiseAllSettled" | "no-promise-any" | "promise-any" | "promiseAny" | "no-promise-prototype-finally" | "promise-prototype-finally" | "promisePrototypeFinally" | "no-promise-withresolvers" | "promise-withresolvers" | "promiseWithresolvers" | "no-promise" | "promise" | "no-property-shorthands" | "property-shorthands" | "propertyShorthands" | "no-proxy" | "proxy" | "no-reflect" | "reflect" | "no-regexp-d-flag" | "regexp-d-flag" | "regexpDFlag" | "no-regexp-lookbehind-assertions" | "regexp-lookbehind-assertions" | "regexpLookbehindAssertions" | "regexpLookbehind" | "no-regexp-named-capture-groups" | "regexp-named-capture-groups" | "regexpNamedCaptureGroups" | "no-regexp-prototype-compile" | "regexp-prototype-compile" | "regexpPrototypeCompile" | "no-regexp-prototype-flags" | "regexp-prototype-flags" | "regexpPrototypeFlags" | "no-regexp-s-flag" | "regexp-s-flag" | "regexpSFlag" | "regexpS" | "no-regexp-u-flag" | "regexp-u-flag" | "regexpUFlag" | "regexpU" | "no-regexp-unicode-property-escapes-2019" | "regexp-unicode-property-escapes-2019" | "regexpUnicodePropertyEscapes2019" | "no-regexp-unicode-property-escapes-2020" | "regexp-unicode-property-escapes-2020" | "regexpUnicodePropertyEscapes2020" | "no-regexp-unicode-property-escapes-2021" | "regexp-unicode-property-escapes-2021" | "regexpUnicodePropertyEscapes2021" | "no-regexp-unicode-property-escapes-2022" | "regexp-unicode-property-escapes-2022" | "regexpUnicodePropertyEscapes2022" | "no-regexp-unicode-property-escapes-2023" | "regexp-unicode-property-escapes-2023" | "regexpUnicodePropertyEscapes2023" | "no-regexp-unicode-property-escapes" | "regexp-unicode-property-escapes" | "regexpUnicodePropertyEscapes" | "regexpUnicodeProperties" | "no-regexp-v-flag" | "regexp-v-flag" | "regexpVFlag" | "no-regexp-y-flag" | "regexp-y-flag" | "regexpYFlag" | "regexpY" | "no-resizable-and-growable-arraybuffers" | "resizable-and-growable-arraybuffers" | "resizableAndGrowableArraybuffers" | "no-rest-parameters" | "rest-parameters" | "restParameters" | "no-rest-spread-properties" | "rest-spread-properties" | "restSpreadProperties" | "no-set" | "set" | "no-shadow-catch-param" | "shadow-catch-param" | "shadowCatchParam" | "no-shared-array-buffer" | "shared-array-buffer" | "sharedArrayBuffer" | "no-spread-elements" | "spread-elements" | "spreadElements" | "no-string-create-html-methods" | "string-create-html-methods" | "stringCreateHtmlMethods" | "no-string-fromcodepoint" | "string-fromcodepoint" | "stringFromcodepoint" | "no-string-prototype-codepointat" | "string-prototype-codepointat" | "stringPrototypeCodepointat" | "no-string-prototype-endswith" | "string-prototype-endswith" | "stringPrototypeEndswith" | "no-string-prototype-includes" | "string-prototype-includes" | "stringPrototypeIncludes" | "no-string-prototype-iswellformed-towellformed" | "string-prototype-iswellformed-towellformed" | "stringPrototypeIswellformedTowellformed" | "no-string-prototype-matchall" | "string-prototype-matchall" | "stringPrototypeMatchall" | "no-string-prototype-normalize" | "string-prototype-normalize" | "stringPrototypeNormalize" | "no-string-prototype-padstart-padend" | "string-prototype-padstart-padend" | "stringPrototypePadstartPadend" | "no-string-prototype-repeat" | "string-prototype-repeat" | "stringPrototypeRepeat" | "no-string-prototype-replaceall" | "string-prototype-replaceall" | "stringPrototypeReplaceall" | "no-string-prototype-startswith" | "string-prototype-startswith" | "stringPrototypeStartswith" | "no-string-prototype-substr" | "string-prototype-substr" | "stringPrototypeSubstr" | "no-string-prototype-trim" | "string-prototype-trim" | "stringPrototypeTrim" | "no-string-prototype-trimleft-trimright" | "string-prototype-trimleft-trimright" | "stringPrototypeTrimleftTrimright" | "no-string-prototype-trimstart-trimend" | "string-prototype-trimstart-trimend" | "stringPrototypeTrimstartTrimend" | "no-string-raw" | "string-raw" | "stringRaw" | "no-subclassing-builtins" | "subclassing-builtins" | "subclassingBuiltins" | "no-symbol-prototype-description" | "symbol-prototype-description" | "symbolPrototypeDescription" | "no-symbol" | "symbol" | "no-template-literals" | "template-literals" | "templateLiterals" | "no-top-level-await" | "top-level-await" | "topLevelAwait" | "no-trailing-commas" | "trailing-commas" | "trailingCommas" | "no-trailing-function-commas" | "trailing-function-commas" | "trailingFunctionCommas" | "trailingCommasInFunctions" | "no-typed-arrays" | "typed-arrays" | "typedArrays" | "no-unicode-codepoint-escapes" | "unicode-codepoint-escapes" | "unicodeCodepointEscapes" | "unicodeCodePointEscapes" | "no-weak-map" | "weak-map" | "weakMap" | "no-weak-set" | "weak-set" | "weakSet" | "no-weakrefs" | "weakrefs")[]
8514
+ }]
8515
+ // ----- node/no-unsupported-features/node-builtins -----
8516
+ type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
8517
+ version?: string
8518
+ allowExperimental?: boolean
8519
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
8520
+ }]
8521
+ // ----- node/prefer-global/buffer -----
8522
+ type NodePreferGlobalBuffer = []|[("always" | "never")]
8523
+ // ----- node/prefer-global/console -----
8524
+ type NodePreferGlobalConsole = []|[("always" | "never")]
8525
+ // ----- node/prefer-global/process -----
8526
+ type NodePreferGlobalProcess = []|[("always" | "never")]
8527
+ // ----- node/prefer-global/text-decoder -----
8528
+ type NodePreferGlobalTextDecoder = []|[("always" | "never")]
8529
+ // ----- node/prefer-global/text-encoder -----
8530
+ type NodePreferGlobalTextEncoder = []|[("always" | "never")]
8531
+ // ----- node/prefer-global/url -----
8532
+ type NodePreferGlobalUrl = []|[("always" | "never")]
8533
+ // ----- node/prefer-global/url-search-params -----
8534
+ type NodePreferGlobalUrlSearchParams = []|[("always" | "never")]
8535
+ // ----- node/prefer-node-protocol -----
8536
+ type NodePreferNodeProtocol = []|[{
8537
+ version?: string
8538
+ }]
8539
+ // ----- node/shebang -----
8540
+ type NodeShebang = []|[{
8541
+ convertPath?: ({
8542
+
8543
+ [k: string]: [string, string]
8544
+ } | [{
8545
+
8546
+ include: [string, ...(string)[]]
8547
+ exclude?: string[]
8548
+
8549
+ replace: [string, string]
8550
+ }, ...({
8551
+
8552
+ include: [string, ...(string)[]]
8553
+ exclude?: string[]
8554
+
8555
+ replace: [string, string]
8556
+ })[]])
8557
+ ignoreUnpublished?: boolean
8558
+ additionalExecutables?: string[]
8559
+ executableMap?: {
8560
+ [k: string]: string
8561
+ }
8562
+ }]
7386
8563
  // ----- nonblock-statement-body-position -----
7387
8564
  type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
7388
8565
  overrides?: {
@@ -7492,11 +8669,13 @@ type PerfectionistSortArrayIncludes = []|[{
7492
8669
 
7493
8670
  ignoreCase?: boolean
7494
8671
 
8672
+ alphabet?: string
8673
+
7495
8674
  locales?: (string | string[])
7496
8675
 
7497
8676
  order?: ("asc" | "desc")
7498
8677
 
7499
- type?: ("alphabetical" | "natural" | "line-length")
8678
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7500
8679
  }]
7501
8680
  // ----- perfectionist/sort-classes -----
7502
8681
  type PerfectionistSortClasses = []|[{
@@ -7551,13 +8730,15 @@ type PerfectionistSortClasses = []|[{
7551
8730
 
7552
8731
  ignoreCase?: boolean
7553
8732
 
8733
+ alphabet?: string
8734
+
7554
8735
  locales?: (string | string[])
7555
8736
 
7556
8737
  groups?: (string | string[])[]
7557
8738
 
7558
8739
  order?: ("asc" | "desc")
7559
8740
 
7560
- type?: ("alphabetical" | "natural" | "line-length")
8741
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7561
8742
  }]
7562
8743
  // ----- perfectionist/sort-decorators -----
7563
8744
  type PerfectionistSortDecorators = []|[{
@@ -7582,13 +8763,15 @@ type PerfectionistSortDecorators = []|[{
7582
8763
 
7583
8764
  ignoreCase?: boolean
7584
8765
 
8766
+ alphabet?: string
8767
+
7585
8768
  locales?: (string | string[])
7586
8769
 
7587
8770
  groups?: (string | string[])[]
7588
8771
 
7589
8772
  order?: ("asc" | "desc")
7590
8773
 
7591
- type?: ("alphabetical" | "natural" | "line-length")
8774
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7592
8775
  }]
7593
8776
  // ----- perfectionist/sort-enums -----
7594
8777
  type PerfectionistSortEnums = []|[{
@@ -7605,11 +8788,13 @@ type PerfectionistSortEnums = []|[{
7605
8788
 
7606
8789
  ignoreCase?: boolean
7607
8790
 
8791
+ alphabet?: string
8792
+
7608
8793
  locales?: (string | string[])
7609
8794
 
7610
8795
  order?: ("asc" | "desc")
7611
8796
 
7612
- type?: ("alphabetical" | "natural" | "line-length")
8797
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7613
8798
  }]
7614
8799
  // ----- perfectionist/sort-exports -----
7615
8800
  type PerfectionistSortExports = []|[{
@@ -7624,11 +8809,13 @@ type PerfectionistSortExports = []|[{
7624
8809
 
7625
8810
  ignoreCase?: boolean
7626
8811
 
8812
+ alphabet?: string
8813
+
7627
8814
  locales?: (string | string[])
7628
8815
 
7629
8816
  order?: ("asc" | "desc")
7630
8817
 
7631
- type?: ("alphabetical" | "natural" | "line-length")
8818
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7632
8819
  }]
7633
8820
  // ----- perfectionist/sort-heritage-clauses -----
7634
8821
  type PerfectionistSortHeritageClauses = []|[{
@@ -7641,13 +8828,15 @@ type PerfectionistSortHeritageClauses = []|[{
7641
8828
 
7642
8829
  ignoreCase?: boolean
7643
8830
 
8831
+ alphabet?: string
8832
+
7644
8833
  locales?: (string | string[])
7645
8834
 
7646
8835
  groups?: (string | string[])[]
7647
8836
 
7648
8837
  order?: ("asc" | "desc")
7649
8838
 
7650
- type?: ("alphabetical" | "natural" | "line-length")
8839
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7651
8840
  }]
7652
8841
  // ----- perfectionist/sort-imports -----
7653
8842
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
@@ -7684,13 +8873,15 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
7684
8873
 
7685
8874
  ignoreCase?: boolean
7686
8875
 
8876
+ alphabet?: string
8877
+
7687
8878
  locales?: (string | string[])
7688
8879
 
7689
8880
  groups?: (string | string[])[]
7690
8881
 
7691
8882
  order?: ("asc" | "desc")
7692
8883
 
7693
- type?: ("alphabetical" | "natural" | "line-length")
8884
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7694
8885
  })
7695
8886
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
7696
8887
  [k: string]: unknown | undefined
@@ -7747,13 +8938,15 @@ type PerfectionistSortInterfaces = []|[{
7747
8938
 
7748
8939
  ignoreCase?: boolean
7749
8940
 
8941
+ alphabet?: string
8942
+
7750
8943
  locales?: (string | string[])
7751
8944
 
7752
8945
  groups?: (string | string[])[]
7753
8946
 
7754
8947
  order?: ("asc" | "desc")
7755
8948
 
7756
- type?: ("alphabetical" | "natural" | "line-length")
8949
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7757
8950
  }]
7758
8951
  // ----- perfectionist/sort-intersection-types -----
7759
8952
  type PerfectionistSortIntersectionTypes = []|[{
@@ -7768,13 +8961,15 @@ type PerfectionistSortIntersectionTypes = []|[{
7768
8961
 
7769
8962
  ignoreCase?: boolean
7770
8963
 
8964
+ alphabet?: string
8965
+
7771
8966
  locales?: (string | string[])
7772
8967
 
7773
8968
  groups?: (string | string[])[]
7774
8969
 
7775
8970
  order?: ("asc" | "desc")
7776
8971
 
7777
- type?: ("alphabetical" | "natural" | "line-length")
8972
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7778
8973
  }]
7779
8974
  // ----- perfectionist/sort-jsx-props -----
7780
8975
  type PerfectionistSortJsxProps = []|[{
@@ -7789,13 +8984,15 @@ type PerfectionistSortJsxProps = []|[{
7789
8984
 
7790
8985
  ignoreCase?: boolean
7791
8986
 
8987
+ alphabet?: string
8988
+
7792
8989
  locales?: (string | string[])
7793
8990
 
7794
8991
  groups?: (string | string[])[]
7795
8992
 
7796
8993
  order?: ("asc" | "desc")
7797
8994
 
7798
- type?: ("alphabetical" | "natural" | "line-length")
8995
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7799
8996
  }]
7800
8997
  // ----- perfectionist/sort-maps -----
7801
8998
  type PerfectionistSortMaps = []|[{
@@ -7808,11 +9005,13 @@ type PerfectionistSortMaps = []|[{
7808
9005
 
7809
9006
  ignoreCase?: boolean
7810
9007
 
9008
+ alphabet?: string
9009
+
7811
9010
  locales?: (string | string[])
7812
9011
 
7813
9012
  order?: ("asc" | "desc")
7814
9013
 
7815
- type?: ("alphabetical" | "natural" | "line-length")
9014
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7816
9015
  }]
7817
9016
  // ----- perfectionist/sort-modules -----
7818
9017
  type PerfectionistSortModules = []|[{
@@ -7861,13 +9060,15 @@ type PerfectionistSortModules = []|[{
7861
9060
 
7862
9061
  ignoreCase?: boolean
7863
9062
 
9063
+ alphabet?: string
9064
+
7864
9065
  locales?: (string | string[])
7865
9066
 
7866
9067
  groups?: (string | string[])[]
7867
9068
 
7868
9069
  order?: ("asc" | "desc")
7869
9070
 
7870
- type?: ("alphabetical" | "natural" | "line-length")
9071
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7871
9072
  }]
7872
9073
  // ----- perfectionist/sort-named-exports -----
7873
9074
  type PerfectionistSortNamedExports = []|[{
@@ -7882,11 +9083,13 @@ type PerfectionistSortNamedExports = []|[{
7882
9083
 
7883
9084
  ignoreCase?: boolean
7884
9085
 
9086
+ alphabet?: string
9087
+
7885
9088
  locales?: (string | string[])
7886
9089
 
7887
9090
  order?: ("asc" | "desc")
7888
9091
 
7889
- type?: ("alphabetical" | "natural" | "line-length")
9092
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7890
9093
  }]
7891
9094
  // ----- perfectionist/sort-named-imports -----
7892
9095
  type PerfectionistSortNamedImports = []|[{
@@ -7903,11 +9106,13 @@ type PerfectionistSortNamedImports = []|[{
7903
9106
 
7904
9107
  ignoreCase?: boolean
7905
9108
 
9109
+ alphabet?: string
9110
+
7906
9111
  locales?: (string | string[])
7907
9112
 
7908
9113
  order?: ("asc" | "desc")
7909
9114
 
7910
- type?: ("alphabetical" | "natural" | "line-length")
9115
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7911
9116
  }]
7912
9117
  // ----- perfectionist/sort-object-types -----
7913
9118
  type PerfectionistSortObjectTypes = []|[{
@@ -7957,16 +9162,18 @@ type PerfectionistSortObjectTypes = []|[{
7957
9162
 
7958
9163
  ignoreCase?: boolean
7959
9164
 
9165
+ alphabet?: string
9166
+
7960
9167
  locales?: (string | string[])
7961
9168
 
7962
9169
  groups?: (string | string[])[]
7963
9170
 
7964
9171
  order?: ("asc" | "desc")
7965
9172
 
7966
- type?: ("alphabetical" | "natural" | "line-length")
9173
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
7967
9174
  }]
7968
9175
  // ----- perfectionist/sort-objects -----
7969
- type PerfectionistSortObjects = []|[{
9176
+ type PerfectionistSortObjects = {
7970
9177
 
7971
9178
  destructuredObjects?: (boolean | {
7972
9179
 
@@ -7984,6 +9191,9 @@ type PerfectionistSortObjects = []|[{
7984
9191
  styledComponents?: boolean
7985
9192
 
7986
9193
  partitionByNewLine?: boolean
9194
+ useConfigurationIf?: {
9195
+ allNamesMatchPattern?: string
9196
+ }
7987
9197
 
7988
9198
  specialCharacters?: ("remove" | "trim" | "keep")
7989
9199
 
@@ -7995,14 +9205,16 @@ type PerfectionistSortObjects = []|[{
7995
9205
 
7996
9206
  ignoreCase?: boolean
7997
9207
 
9208
+ alphabet?: string
9209
+
7998
9210
  locales?: (string | string[])
7999
9211
 
8000
9212
  groups?: (string | string[])[]
8001
9213
 
8002
9214
  order?: ("asc" | "desc")
8003
9215
 
8004
- type?: ("alphabetical" | "natural" | "line-length")
8005
- }]
9216
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
9217
+ }[]
8006
9218
  // ----- perfectionist/sort-sets -----
8007
9219
  type PerfectionistSortSets = []|[{
8008
9220
 
@@ -8016,11 +9228,13 @@ type PerfectionistSortSets = []|[{
8016
9228
 
8017
9229
  ignoreCase?: boolean
8018
9230
 
9231
+ alphabet?: string
9232
+
8019
9233
  locales?: (string | string[])
8020
9234
 
8021
9235
  order?: ("asc" | "desc")
8022
9236
 
8023
- type?: ("alphabetical" | "natural" | "line-length")
9237
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
8024
9238
  }]
8025
9239
  // ----- perfectionist/sort-switch-case -----
8026
9240
  type PerfectionistSortSwitchCase = []|[{
@@ -8029,11 +9243,13 @@ type PerfectionistSortSwitchCase = []|[{
8029
9243
 
8030
9244
  ignoreCase?: boolean
8031
9245
 
9246
+ alphabet?: string
9247
+
8032
9248
  locales?: (string | string[])
8033
9249
 
8034
9250
  order?: ("asc" | "desc")
8035
9251
 
8036
- type?: ("alphabetical" | "natural" | "line-length")
9252
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
8037
9253
  }]
8038
9254
  // ----- perfectionist/sort-union-types -----
8039
9255
  type PerfectionistSortUnionTypes = []|[{
@@ -8048,13 +9264,15 @@ type PerfectionistSortUnionTypes = []|[{
8048
9264
 
8049
9265
  ignoreCase?: boolean
8050
9266
 
9267
+ alphabet?: string
9268
+
8051
9269
  locales?: (string | string[])
8052
9270
 
8053
9271
  groups?: (string | string[])[]
8054
9272
 
8055
9273
  order?: ("asc" | "desc")
8056
9274
 
8057
- type?: ("alphabetical" | "natural" | "line-length")
9275
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
8058
9276
  }]
8059
9277
  // ----- perfectionist/sort-variable-declarations -----
8060
9278
  type PerfectionistSortVariableDeclarations = []|[{
@@ -8067,11 +9285,13 @@ type PerfectionistSortVariableDeclarations = []|[{
8067
9285
 
8068
9286
  ignoreCase?: boolean
8069
9287
 
9288
+ alphabet?: string
9289
+
8070
9290
  locales?: (string | string[])
8071
9291
 
8072
9292
  order?: ("asc" | "desc")
8073
9293
 
8074
- type?: ("alphabetical" | "natural" | "line-length")
9294
+ type?: ("alphabetical" | "natural" | "line-length" | "custom")
8075
9295
  }]
8076
9296
  // ----- prefer-arrow-callback -----
8077
9297
  type PreferArrowCallback = []|[{
@@ -8490,6 +9710,204 @@ type TomlSpacedComment = []|[("always" | "never")]|[("always" | "never"), {
8490
9710
  type TomlTableBracketSpacing = []|[("always" | "never")]
8491
9711
  // ----- unicode-bom -----
8492
9712
  type UnicodeBom = []|[("always" | "never")]
9713
+ // ----- unicorn/better-regex -----
9714
+ type UnicornBetterRegex = []|[{
9715
+ sortCharacterClasses?: boolean
9716
+ }]
9717
+ // ----- unicorn/catch-error-name -----
9718
+ type UnicornCatchErrorName = []|[{
9719
+ name?: string
9720
+ ignore?: unknown[]
9721
+ }]
9722
+ // ----- unicorn/consistent-function-scoping -----
9723
+ type UnicornConsistentFunctionScoping = []|[{
9724
+ checkArrowFunctions?: boolean
9725
+ }]
9726
+ // ----- unicorn/expiring-todo-comments -----
9727
+ type UnicornExpiringTodoComments = []|[{
9728
+ terms?: string[]
9729
+ ignore?: unknown[]
9730
+ ignoreDatesOnPullRequests?: boolean
9731
+ allowWarningComments?: boolean
9732
+ date?: string
9733
+ }]
9734
+ // ----- unicorn/explicit-length-check -----
9735
+ type UnicornExplicitLengthCheck = []|[{
9736
+ "non-zero"?: ("greater-than" | "not-equal")
9737
+ }]
9738
+ // ----- unicorn/filename-case -----
9739
+ type UnicornFilenameCase = []|[({
9740
+ case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase")
9741
+ ignore?: unknown[]
9742
+ multipleFileExtensions?: boolean
9743
+ } | {
9744
+ cases?: {
9745
+ camelCase?: boolean
9746
+ snakeCase?: boolean
9747
+ kebabCase?: boolean
9748
+ pascalCase?: boolean
9749
+ }
9750
+ ignore?: unknown[]
9751
+ multipleFileExtensions?: boolean
9752
+ })]
9753
+ // ----- unicorn/import-style -----
9754
+ type UnicornImportStyle = []|[{
9755
+ checkImport?: boolean
9756
+ checkDynamicImport?: boolean
9757
+ checkExportFrom?: boolean
9758
+ checkRequire?: boolean
9759
+ extendDefaultStyles?: boolean
9760
+ styles?: _UnicornImportStyle_ModuleStyles
9761
+ }]
9762
+ type _UnicornImportStyleStyles = (false | _UnicornImportStyle_BooleanObject) | undefined
9763
+ interface _UnicornImportStyle_ModuleStyles {
9764
+ [k: string]: _UnicornImportStyleStyles | undefined
9765
+ }
9766
+ interface _UnicornImportStyle_BooleanObject {
9767
+ [k: string]: boolean | undefined
9768
+ }
9769
+ // ----- unicorn/no-array-push-push -----
9770
+ type UnicornNoArrayPushPush = []|[{
9771
+ ignore?: unknown[]
9772
+ }]
9773
+ // ----- unicorn/no-array-reduce -----
9774
+ type UnicornNoArrayReduce = []|[{
9775
+ allowSimpleOperations?: boolean
9776
+ }]
9777
+ // ----- unicorn/no-keyword-prefix -----
9778
+ type UnicornNoKeywordPrefix = []|[{
9779
+
9780
+ disallowedPrefixes?: []|[string]
9781
+ checkProperties?: boolean
9782
+ onlyCamelCase?: boolean
9783
+ }]
9784
+ // ----- unicorn/no-null -----
9785
+ type UnicornNoNull = []|[{
9786
+ checkStrictEquality?: boolean
9787
+ }]
9788
+ // ----- unicorn/no-typeof-undefined -----
9789
+ type UnicornNoTypeofUndefined = []|[{
9790
+ checkGlobalVariables?: boolean
9791
+ }]
9792
+ // ----- unicorn/no-unnecessary-polyfills -----
9793
+ type UnicornNoUnnecessaryPolyfills = []|[{
9794
+ targets: (string | unknown[] | {
9795
+ [k: string]: unknown | undefined
9796
+ })
9797
+ }]
9798
+ // ----- unicorn/no-useless-undefined -----
9799
+ type UnicornNoUselessUndefined = []|[{
9800
+ checkArguments?: boolean
9801
+ checkArrowFunctionBody?: boolean
9802
+ }]
9803
+ // ----- unicorn/numeric-separators-style -----
9804
+ type UnicornNumericSeparatorsStyle = []|[{
9805
+ binary?: {
9806
+ onlyIfContainsSeparator?: boolean
9807
+ minimumDigits?: number
9808
+ groupLength?: number
9809
+ }
9810
+ octal?: {
9811
+ onlyIfContainsSeparator?: boolean
9812
+ minimumDigits?: number
9813
+ groupLength?: number
9814
+ }
9815
+ hexadecimal?: {
9816
+ onlyIfContainsSeparator?: boolean
9817
+ minimumDigits?: number
9818
+ groupLength?: number
9819
+ }
9820
+ number?: {
9821
+ onlyIfContainsSeparator?: boolean
9822
+ minimumDigits?: number
9823
+ groupLength?: number
9824
+ }
9825
+ onlyIfContainsSeparator?: boolean
9826
+ }]
9827
+ // ----- unicorn/prefer-add-event-listener -----
9828
+ type UnicornPreferAddEventListener = []|[{
9829
+ excludedPackages?: string[]
9830
+ }]
9831
+ // ----- unicorn/prefer-array-find -----
9832
+ type UnicornPreferArrayFind = []|[{
9833
+ checkFromLast?: boolean
9834
+ }]
9835
+ // ----- unicorn/prefer-array-flat -----
9836
+ type UnicornPreferArrayFlat = []|[{
9837
+ functions?: unknown[]
9838
+ }]
9839
+ // ----- unicorn/prefer-at -----
9840
+ type UnicornPreferAt = []|[{
9841
+ getLastElementFunctions?: unknown[]
9842
+ checkAllIndexAccess?: boolean
9843
+ }]
9844
+ // ----- unicorn/prefer-export-from -----
9845
+ type UnicornPreferExportFrom = []|[{
9846
+ ignoreUsedVariables?: boolean
9847
+ }]
9848
+ // ----- unicorn/prefer-number-properties -----
9849
+ type UnicornPreferNumberProperties = []|[{
9850
+ checkInfinity?: boolean
9851
+ checkNaN?: boolean
9852
+ }]
9853
+ // ----- unicorn/prefer-object-from-entries -----
9854
+ type UnicornPreferObjectFromEntries = []|[{
9855
+ functions?: unknown[]
9856
+ }]
9857
+ // ----- unicorn/prefer-structured-clone -----
9858
+ type UnicornPreferStructuredClone = []|[{
9859
+ functions?: unknown[]
9860
+ }]
9861
+ // ----- unicorn/prefer-switch -----
9862
+ type UnicornPreferSwitch = []|[{
9863
+ minimumCases?: number
9864
+ emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case")
9865
+ }]
9866
+ // ----- unicorn/prefer-ternary -----
9867
+ type UnicornPreferTernary = []|[("always" | "only-single-line")]
9868
+ // ----- unicorn/prevent-abbreviations -----
9869
+ type UnicornPreventAbbreviations = []|[{
9870
+ checkProperties?: boolean
9871
+ checkVariables?: boolean
9872
+ checkDefaultAndNamespaceImports?: (boolean | string)
9873
+ checkShorthandImports?: (boolean | string)
9874
+ checkShorthandProperties?: boolean
9875
+ checkFilenames?: boolean
9876
+ extendDefaultReplacements?: boolean
9877
+ replacements?: _UnicornPreventAbbreviations_Abbreviations
9878
+ extendDefaultAllowList?: boolean
9879
+ allowList?: _UnicornPreventAbbreviations_BooleanObject
9880
+ ignore?: unknown[]
9881
+ }]
9882
+ type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined
9883
+ interface _UnicornPreventAbbreviations_Abbreviations {
9884
+ [k: string]: _UnicornPreventAbbreviationsReplacements | undefined
9885
+ }
9886
+ interface _UnicornPreventAbbreviations_BooleanObject {
9887
+ [k: string]: boolean | undefined
9888
+ }
9889
+ // ----- unicorn/relative-url-style -----
9890
+ type UnicornRelativeUrlStyle = []|[("never" | "always")]
9891
+ // ----- unicorn/string-content -----
9892
+ type UnicornStringContent = []|[{
9893
+ patterns?: {
9894
+ [k: string]: (string | {
9895
+ suggest: string
9896
+ fix?: boolean
9897
+ message?: string
9898
+ }) | undefined
9899
+ }
9900
+ }]
9901
+ // ----- unicorn/switch-case-braces -----
9902
+ type UnicornSwitchCaseBraces = []|[("always" | "avoid")]
9903
+ // ----- unicorn/template-indent -----
9904
+ type UnicornTemplateIndent = []|[{
9905
+ indent?: (string | number)
9906
+ tags?: string[]
9907
+ functions?: string[]
9908
+ selectors?: string[]
9909
+ comments?: string[]
9910
+ }]
8493
9911
  // ----- unused-imports/no-unused-imports -----
8494
9912
  type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
8495
9913
 
@@ -8870,12 +10288,6 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
8870
10288
 
8871
10289
 
8872
10290
 
8873
- /**
8874
- * Represents a value that resolves to one or more ESLint flat configurations.
8875
- * @see https://jsr.io/@antfu/eslint-flat-config-utils/doc/~/ResolvableFlatConfig
8876
- */
8877
- type AwaitableFlatConfig = ResolvableFlatConfig<Config$1>
8878
-
8879
10291
  /**
8880
10292
  * Represents the configuration for the linter.
8881
10293
  * This interface extends the {@link Linter.Config} interface, expanding {@link Rules} to include the rules defined in all configurations.
@@ -8885,10 +10297,10 @@ type AwaitableFlatConfig = ResolvableFlatConfig<Config$1>
8885
10297
  interface Config$1 extends Linter.Config<Linter.RulesRecord & Rules> {}
8886
10298
 
8887
10299
  /**
8888
- * Defines a 'composer' for ESLint flat configurations.
8889
- * @see https://jsr.io/@antfu/eslint-flat-config-utils/doc/~/FlatConfigComposer
10300
+ * Represents a value that resolves to one or more ESLint flat configurations.
10301
+ * @see https://jsr.io/@antfu/eslint-flat-config-utils/doc/~/ResolvableFlatConfig
8890
10302
  */
8891
- type ConfigComposer = FlatConfigComposer<Config$1, ConfigNames>
10303
+ type AwaitableFlatConfig = ResolvableFlatConfig<Config$1>
8892
10304
 
8893
10305
  /**
8894
10306
  * Defines the names of the available ESLint configurations.
@@ -8898,12 +10310,15 @@ type ConfigNames =
8898
10310
  | '@bfra.me/ignores'
8899
10311
  | '@bfra.me/javascript/options'
8900
10312
  | '@bfra.me/javascript/rules'
10313
+ | '@bfra.me/jsx'
8901
10314
  | '@bfra.me/eslint-comments/rules'
10315
+ | '@bfra.me/node'
8902
10316
  | '@bfra.me/jsdoc'
8903
10317
  | '@bfra.me/imports'
8904
10318
  | '@bfra.me/command'
8905
10319
  | '@bfra.me/prettier'
8906
10320
  | '@bfra.me/perfectionist'
10321
+ | '@bfra.me/unicorn'
8907
10322
  | '@bfra.me/typescript/plugins'
8908
10323
  | '@bfra.me/typescript/parser'
8909
10324
  | '@bfra.me/typescript/type-aware-parser'
@@ -8930,6 +10345,12 @@ type ConfigNames =
8930
10345
  | '@bfra.me/epilogue/dts'
8931
10346
  | '@bfra.me/epilogue'
8932
10347
 
10348
+ /**
10349
+ * Defines a 'composer' for ESLint flat configurations.
10350
+ * @see https://jsr.io/@antfu/eslint-flat-config-utils/doc/~/FlatConfigComposer
10351
+ */
10352
+ type ConfigComposer = FlatConfigComposer<Config$1, ConfigNames>
10353
+
8933
10354
  /**
8934
10355
  * Composes an ESLint configuration object from the provided flat configurations.
8935
10356
  *
@@ -9776,6 +11197,12 @@ type Options = Flatten<{
9776
11197
  * Options to override the behavior of linting JSON, JSON5 and JSONC files.
9777
11198
  */
9778
11199
  jsonc?: boolean | OptionsOverrides;
11200
+ /**
11201
+ * Options to override the behavior of linting JSX files.
11202
+ *
11203
+ * @default true
11204
+ */
11205
+ jsx?: boolean;
9779
11206
  /**
9780
11207
  * Options to override the behavior of linting Markdown files.
9781
11208
  */
@@ -9804,6 +11231,12 @@ type Options = Flatten<{
9804
11231
  * @default auto-detect based on the dependencies
9805
11232
  */
9806
11233
  typescript?: OptionsTypeScript | boolean;
11234
+ /**
11235
+ * Enable or override unicorn rules.
11236
+ *
11237
+ * @default true
11238
+ */
11239
+ unicorn?: boolean | OptionsOverrides;
9807
11240
  /**
9808
11241
  * Enable support for vitest.
9809
11242
  *
@@ -9820,9 +11253,10 @@ type Options = Flatten<{
9820
11253
 
9821
11254
  /**
9822
11255
  * Represents the options for configuring the JavaScript ESLint configuration.
9823
- * This type is a combination of the {@link OptionsIsInEditor} and {@link OptionsOverrides} types.
9824
11256
  */
9825
- type JavaScriptOptions = Flatten<OptionsIsInEditor & OptionsOverrides>;
11257
+ type JavaScriptOptions = Flatten<OptionsIsInEditor & OptionsOverrides & {
11258
+ jsx?: boolean;
11259
+ }>;
9826
11260
  /**
9827
11261
  * Configures the JavaScript ESLint configuration with the specified options.
9828
11262
  *
@@ -9857,6 +11291,8 @@ type MarkdownOptions = Flatten<OptionsFiles & OptionsOverrides & OptionsPrettier
9857
11291
  */
9858
11292
  declare function markdown(options?: MarkdownOptions): Promise<Config$1[]>;
9859
11293
 
11294
+ declare function node(): Promise<Config$1[]>;
11295
+
9860
11296
  /**
9861
11297
  * Represents the combined options for the Perfectionist ESLint plugin, including options for editor integration, overrides, and the Perfectionist plugin itself.
9862
11298
  */
@@ -9923,6 +11359,9 @@ type TypeScriptOptions = Flatten<OptionsFiles & OptionsOverrides & OptionsTypeSc
9923
11359
  */
9924
11360
  declare function typescript(options?: TypeScriptOptions): Promise<Config$1[]>;
9925
11361
 
11362
+ type UnicornOptions = OptionsOverrides;
11363
+ declare function unicorn(options?: UnicornOptions): Promise<Config$1[]>;
11364
+
9926
11365
  /**
9927
11366
  * Represents the options for the Vitest ESLint configuration.
9928
11367
  * This type is a flattened union of the {@link OptionsFiles}, {@link OptionsIsInEditor}, and {@link OptionsOverrides} types.
@@ -9987,6 +11426,7 @@ declare const isInEditor: boolean;
9987
11426
 
9988
11427
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
9989
11428
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
11429
+ declare const GLOB_JSX = "**/*.?([cm])jsx";
9990
11430
  declare const GLOB_TS = "**/*.?([cm])ts";
9991
11431
  declare const GLOB_TSX = "**/*.tsx";
9992
11432
  declare const GLOB_JSON = "**/*.json";
@@ -10002,4 +11442,4 @@ declare const GLOB_EXCLUDE: string[];
10002
11442
 
10003
11443
  declare const config: ConfigComposer;
10004
11444
 
10005
- export { type AwaitableFlatConfig, type Config$1 as Config, type ConfigComposer, type ConfigNames, type Flatten, GLOB_EXCLUDE, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type JavaScriptOptions, type JsoncOptions, type MarkdownOptions, type Options, type OptionsFiles, type OptionsIsInEditor, type OptionsOverrides, type OptionsPerfectionist, type OptionsPrettier, type OptionsTypeScript, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PerfectionistOptions, type PrettierOptions, type RegexpOptions, type Rules, type TomlOptions, type TypeScriptOptions, type VitestOptions, type YamlOptions, command, composeConfig, config, config as default, defineConfig, epilogue, eslintComments, ignores, imports, isInEditor, isInGitLifecycle, javascript, jsdoc, jsonc, markdown, perfectionist, prettier, regexp, toml, typescript, vitest, yaml };
11445
+ export { type AwaitableFlatConfig, type Config$1 as Config, type ConfigComposer, type ConfigNames, type Flatten, GLOB_EXCLUDE, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_YAML, type JavaScriptOptions, type JsoncOptions, type MarkdownOptions, type Options, type OptionsFiles, type OptionsIsInEditor, type OptionsOverrides, type OptionsPerfectionist, type OptionsPrettier, type OptionsTypeScript, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type PerfectionistOptions, type PrettierOptions, type RegexpOptions, type Rules, type TomlOptions, type TypeScriptOptions, type UnicornOptions, type VitestOptions, type YamlOptions, command, composeConfig, config, config as default, defineConfig, epilogue, eslintComments, ignores, imports, isInEditor, isInGitLifecycle, javascript, jsdoc, jsonc, markdown, node, perfectionist, prettier, regexp, toml, typescript, unicorn, vitest, yaml };