@shayanthenerd/eslint-config 0.22.0 → 0.24.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.
@@ -2724,6 +2724,223 @@ interface ESLintSchema {
2724
2724
  * @deprecated
2725
2725
  */
2726
2726
  'multiline-ternary'?: Linter.RuleEntry<MultilineTernary>;
2727
+ /**
2728
+ * require `return` statements after callbacks
2729
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
2730
+ */
2731
+ 'n/callback-return'?: Linter.RuleEntry<NCallbackReturn>;
2732
+ /**
2733
+ * enforce either `module.exports` or `exports`
2734
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/exports-style.md
2735
+ */
2736
+ 'n/exports-style'?: Linter.RuleEntry<NExportsStyle>;
2737
+ /**
2738
+ * enforce the style of file extensions in `import` declarations
2739
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/file-extension-in-import.md
2740
+ */
2741
+ 'n/file-extension-in-import'?: Linter.RuleEntry<NFileExtensionInImport>;
2742
+ /**
2743
+ * require `require()` calls to be placed at top-level module scope
2744
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/global-require.md
2745
+ */
2746
+ 'n/global-require'?: Linter.RuleEntry<[]>;
2747
+ /**
2748
+ * require error handling in callbacks
2749
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/handle-callback-err.md
2750
+ */
2751
+ 'n/handle-callback-err'?: Linter.RuleEntry<NHandleCallbackErr>;
2752
+ /**
2753
+ * require correct usage of hashbang
2754
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
2755
+ */
2756
+ 'n/hashbang'?: Linter.RuleEntry<NHashbang>;
2757
+ /**
2758
+ * enforce Node.js-style error-first callback pattern is followed
2759
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-callback-literal.md
2760
+ */
2761
+ 'n/no-callback-literal'?: Linter.RuleEntry<[]>;
2762
+ /**
2763
+ * disallow deprecated APIs
2764
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-deprecated-api.md
2765
+ */
2766
+ 'n/no-deprecated-api'?: Linter.RuleEntry<NNoDeprecatedApi>;
2767
+ /**
2768
+ * disallow the assignment to `exports`
2769
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-exports-assign.md
2770
+ */
2771
+ 'n/no-exports-assign'?: Linter.RuleEntry<[]>;
2772
+ /**
2773
+ * disallow `import` declarations which import extraneous modules
2774
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-import.md
2775
+ */
2776
+ 'n/no-extraneous-import'?: Linter.RuleEntry<NNoExtraneousImport>;
2777
+ /**
2778
+ * disallow `require()` expressions which import extraneous modules
2779
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-extraneous-require.md
2780
+ */
2781
+ 'n/no-extraneous-require'?: Linter.RuleEntry<NNoExtraneousRequire>;
2782
+ /**
2783
+ * disallow third-party modules which are hiding core modules
2784
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-hide-core-modules.md
2785
+ * @deprecated
2786
+ */
2787
+ 'n/no-hide-core-modules'?: Linter.RuleEntry<NNoHideCoreModules>;
2788
+ /**
2789
+ * disallow `import` declarations which import missing modules
2790
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-import.md
2791
+ */
2792
+ 'n/no-missing-import'?: Linter.RuleEntry<NNoMissingImport>;
2793
+ /**
2794
+ * disallow `require()` expressions which import missing modules
2795
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-missing-require.md
2796
+ */
2797
+ 'n/no-missing-require'?: Linter.RuleEntry<NNoMissingRequire>;
2798
+ /**
2799
+ * disallow `require` calls to be mixed with regular variable declarations
2800
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-mixed-requires.md
2801
+ */
2802
+ 'n/no-mixed-requires'?: Linter.RuleEntry<NNoMixedRequires>;
2803
+ /**
2804
+ * disallow `new` operators with calls to `require`
2805
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-new-require.md
2806
+ */
2807
+ 'n/no-new-require'?: Linter.RuleEntry<[]>;
2808
+ /**
2809
+ * disallow string concatenation with `__dirname` and `__filename`
2810
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-path-concat.md
2811
+ */
2812
+ 'n/no-path-concat'?: Linter.RuleEntry<[]>;
2813
+ /**
2814
+ * disallow the use of `process.env`
2815
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
2816
+ */
2817
+ 'n/no-process-env'?: Linter.RuleEntry<NNoProcessEnv>;
2818
+ /**
2819
+ * disallow the use of `process.exit()`
2820
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
2821
+ */
2822
+ 'n/no-process-exit'?: Linter.RuleEntry<[]>;
2823
+ /**
2824
+ * disallow specified modules when loaded by `import` declarations
2825
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-import.md
2826
+ */
2827
+ 'n/no-restricted-import'?: Linter.RuleEntry<NNoRestrictedImport>;
2828
+ /**
2829
+ * disallow specified modules when loaded by `require`
2830
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-restricted-require.md
2831
+ */
2832
+ 'n/no-restricted-require'?: Linter.RuleEntry<NNoRestrictedRequire>;
2833
+ /**
2834
+ * disallow synchronous methods
2835
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
2836
+ */
2837
+ 'n/no-sync'?: Linter.RuleEntry<NNoSync>;
2838
+ /**
2839
+ * disallow top-level `await` in published modules
2840
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
2841
+ */
2842
+ 'n/no-top-level-await'?: Linter.RuleEntry<NNoTopLevelAwait>;
2843
+ /**
2844
+ * disallow `bin` files that npm ignores
2845
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
2846
+ */
2847
+ 'n/no-unpublished-bin'?: Linter.RuleEntry<NNoUnpublishedBin>;
2848
+ /**
2849
+ * disallow `import` declarations which import private modules
2850
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-import.md
2851
+ */
2852
+ 'n/no-unpublished-import'?: Linter.RuleEntry<NNoUnpublishedImport>;
2853
+ /**
2854
+ * disallow `require()` expressions which import private modules
2855
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-require.md
2856
+ */
2857
+ 'n/no-unpublished-require'?: Linter.RuleEntry<NNoUnpublishedRequire>;
2858
+ /**
2859
+ * disallow unsupported ECMAScript built-ins on the specified version
2860
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-builtins.md
2861
+ */
2862
+ 'n/no-unsupported-features/es-builtins'?: Linter.RuleEntry<NNoUnsupportedFeaturesEsBuiltins>;
2863
+ /**
2864
+ * disallow unsupported ECMAScript syntax on the specified version
2865
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/es-syntax.md
2866
+ */
2867
+ 'n/no-unsupported-features/es-syntax'?: Linter.RuleEntry<NNoUnsupportedFeaturesEsSyntax>;
2868
+ /**
2869
+ * disallow unsupported Node.js built-in APIs on the specified version
2870
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unsupported-features/node-builtins.md
2871
+ */
2872
+ 'n/no-unsupported-features/node-builtins'?: Linter.RuleEntry<NNoUnsupportedFeaturesNodeBuiltins>;
2873
+ /**
2874
+ * enforce either `Buffer` or `require("buffer").Buffer`
2875
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/buffer.md
2876
+ */
2877
+ 'n/prefer-global/buffer'?: Linter.RuleEntry<NPreferGlobalBuffer>;
2878
+ /**
2879
+ * enforce either `console` or `require("console")`
2880
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/console.md
2881
+ */
2882
+ 'n/prefer-global/console'?: Linter.RuleEntry<NPreferGlobalConsole>;
2883
+ /**
2884
+ * enforce either `crypto` or `require("crypto").webcrypto`
2885
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/crypto.md
2886
+ */
2887
+ 'n/prefer-global/crypto'?: Linter.RuleEntry<NPreferGlobalCrypto>;
2888
+ /**
2889
+ * enforce either `process` or `require("process")`
2890
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/process.md
2891
+ */
2892
+ 'n/prefer-global/process'?: Linter.RuleEntry<NPreferGlobalProcess>;
2893
+ /**
2894
+ * enforce either `TextDecoder` or `require("util").TextDecoder`
2895
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-decoder.md
2896
+ */
2897
+ 'n/prefer-global/text-decoder'?: Linter.RuleEntry<NPreferGlobalTextDecoder>;
2898
+ /**
2899
+ * enforce either `TextEncoder` or `require("util").TextEncoder`
2900
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/text-encoder.md
2901
+ */
2902
+ 'n/prefer-global/text-encoder'?: Linter.RuleEntry<NPreferGlobalTextEncoder>;
2903
+ /**
2904
+ * enforce either global timer functions or `require("timers")`
2905
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/timers.md
2906
+ */
2907
+ 'n/prefer-global/timers'?: Linter.RuleEntry<NPreferGlobalTimers>;
2908
+ /**
2909
+ * enforce either `URL` or `require("url").URL`
2910
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url.md
2911
+ */
2912
+ 'n/prefer-global/url'?: Linter.RuleEntry<NPreferGlobalUrl>;
2913
+ /**
2914
+ * enforce either `URLSearchParams` or `require("url").URLSearchParams`
2915
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-global/url-search-params.md
2916
+ */
2917
+ 'n/prefer-global/url-search-params'?: Linter.RuleEntry<NPreferGlobalUrlSearchParams>;
2918
+ /**
2919
+ * enforce using the `node:` protocol when importing Node.js builtin modules.
2920
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-node-protocol.md
2921
+ */
2922
+ 'n/prefer-node-protocol'?: Linter.RuleEntry<NPreferNodeProtocol>;
2923
+ /**
2924
+ * enforce `require("dns").promises`
2925
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/dns.md
2926
+ */
2927
+ 'n/prefer-promises/dns'?: Linter.RuleEntry<[]>;
2928
+ /**
2929
+ * enforce `require("fs").promises`
2930
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/prefer-promises/fs.md
2931
+ */
2932
+ 'n/prefer-promises/fs'?: Linter.RuleEntry<[]>;
2933
+ /**
2934
+ * require that `process.exit()` expressions use the same code path as `throw`
2935
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/process-exit-as-throw.md
2936
+ */
2937
+ 'n/process-exit-as-throw'?: Linter.RuleEntry<[]>;
2938
+ /**
2939
+ * require correct usage of hashbang
2940
+ * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/hashbang.md
2941
+ * @deprecated
2942
+ */
2943
+ 'n/shebang'?: Linter.RuleEntry<NShebang>;
2727
2944
  /**
2728
2945
  * Require constructor names to begin with a capital letter
2729
2946
  * @see https://eslint.org/docs/latest/rules/new-cap
@@ -4589,310 +4806,1226 @@ interface ESLintSchema {
4589
4806
  */
4590
4807
  'promise/always-return'?: Linter.RuleEntry<PromiseAlwaysReturn>;
4591
4808
  /**
4592
- * Disallow creating `new` promises outside of utility libs (use [util.promisify][] instead).
4593
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/avoid-new.md
4809
+ * Disallow creating `new` promises outside of utility libs (use [util.promisify][] instead).
4810
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/avoid-new.md
4811
+ */
4812
+ 'promise/avoid-new'?: Linter.RuleEntry<[]>;
4813
+ /**
4814
+ * Enforce the use of `catch()` on un-returned promises.
4815
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/catch-or-return.md
4816
+ */
4817
+ 'promise/catch-or-return'?: Linter.RuleEntry<PromiseCatchOrReturn>;
4818
+ /**
4819
+ * Disallow calling `cb()` inside of a `then()` (use [util.callbackify][] instead).
4820
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-callback-in-promise.md
4821
+ */
4822
+ 'promise/no-callback-in-promise'?: Linter.RuleEntry<PromiseNoCallbackInPromise>;
4823
+ /**
4824
+ * Disallow creating new promises with paths that resolve multiple times.
4825
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-multiple-resolved.md
4826
+ */
4827
+ 'promise/no-multiple-resolved'?: Linter.RuleEntry<[]>;
4828
+ /**
4829
+ * Require creating a `Promise` constructor before using it in an ES5 environment.
4830
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-native.md
4831
+ */
4832
+ 'promise/no-native'?: Linter.RuleEntry<[]>;
4833
+ /**
4834
+ * Disallow nested `then()` or `catch()` statements.
4835
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-nesting.md
4836
+ */
4837
+ 'promise/no-nesting'?: Linter.RuleEntry<[]>;
4838
+ /**
4839
+ * Disallow calling `new` on a Promise static method.
4840
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-new-statics.md
4841
+ */
4842
+ 'promise/no-new-statics'?: Linter.RuleEntry<[]>;
4843
+ /**
4844
+ * Disallow using promises inside of callbacks.
4845
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-promise-in-callback.md
4846
+ */
4847
+ 'promise/no-promise-in-callback'?: Linter.RuleEntry<PromiseNoPromiseInCallback>;
4848
+ /**
4849
+ * Disallow return statements in `finally()`.
4850
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-return-in-finally.md
4851
+ */
4852
+ 'promise/no-return-in-finally'?: Linter.RuleEntry<[]>;
4853
+ /**
4854
+ * Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not needed.
4855
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-return-wrap.md
4856
+ */
4857
+ 'promise/no-return-wrap'?: Linter.RuleEntry<PromiseNoReturnWrap>;
4858
+ /**
4859
+ * Enforce consistent param names and ordering when creating new promises.
4860
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/param-names.md
4861
+ */
4862
+ 'promise/param-names'?: Linter.RuleEntry<PromiseParamNames>;
4863
+ /**
4864
+ * Prefer `async`/`await` to the callback pattern.
4865
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-callbacks.md
4866
+ */
4867
+ 'promise/prefer-await-to-callbacks'?: Linter.RuleEntry<[]>;
4868
+ /**
4869
+ * Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values.
4870
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md
4871
+ */
4872
+ 'promise/prefer-await-to-then'?: Linter.RuleEntry<PromisePreferAwaitToThen>;
4873
+ /**
4874
+ * Prefer `catch` to `then(a, b)`/`then(null, b)` for handling errors.
4875
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-catch.md
4876
+ */
4877
+ 'promise/prefer-catch'?: Linter.RuleEntry<[]>;
4878
+ /**
4879
+ * Disallow use of non-standard Promise static methods.
4880
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/spec-only.md
4881
+ */
4882
+ 'promise/spec-only'?: Linter.RuleEntry<PromiseSpecOnly>;
4883
+ /**
4884
+ * Enforces the proper number of arguments are passed to Promise functions.
4885
+ * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/valid-params.md
4886
+ */
4887
+ 'promise/valid-params'?: Linter.RuleEntry<PromiseValidParams>;
4888
+ /**
4889
+ * Require quotes around object literal property names
4890
+ * @see https://eslint.org/docs/latest/rules/quote-props
4891
+ * @deprecated
4892
+ */
4893
+ 'quote-props'?: Linter.RuleEntry<QuoteProps>;
4894
+ /**
4895
+ * Enforce the consistent use of either backticks, double, or single quotes
4896
+ * @see https://eslint.org/docs/latest/rules/quotes
4897
+ * @deprecated
4898
+ */
4899
+ 'quotes'?: Linter.RuleEntry<Quotes>;
4900
+ /**
4901
+ * Enforce the use of the radix argument when using `parseInt()`
4902
+ * @see https://eslint.org/docs/latest/rules/radix
4903
+ */
4904
+ 'radix'?: Linter.RuleEntry<Radix>;
4905
+ /**
4906
+ * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
4907
+ * @see https://eslint.org/docs/latest/rules/require-atomic-updates
4908
+ */
4909
+ 'require-atomic-updates'?: Linter.RuleEntry<RequireAtomicUpdates>;
4910
+ /**
4911
+ * Disallow async functions which have no `await` expression
4912
+ * @see https://eslint.org/docs/latest/rules/require-await
4913
+ */
4914
+ 'require-await'?: Linter.RuleEntry<[]>;
4915
+ /**
4916
+ * Enforce the use of `u` or `v` flag on regular expressions
4917
+ * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
4918
+ */
4919
+ 'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>;
4920
+ /**
4921
+ * Require generator functions to contain `yield`
4922
+ * @see https://eslint.org/docs/latest/rules/require-yield
4923
+ */
4924
+ 'require-yield'?: Linter.RuleEntry<[]>;
4925
+ /**
4926
+ * Enforce spacing between rest and spread operators and their expressions
4927
+ * @see https://eslint.org/docs/latest/rules/rest-spread-spacing
4928
+ * @deprecated
4929
+ */
4930
+ 'rest-spread-spacing'?: Linter.RuleEntry<RestSpreadSpacing>;
4931
+ /**
4932
+ * Require or disallow semicolons instead of ASI
4933
+ * @see https://eslint.org/docs/latest/rules/semi
4934
+ * @deprecated
4935
+ */
4936
+ 'semi'?: Linter.RuleEntry<Semi>;
4937
+ /**
4938
+ * Enforce consistent spacing before and after semicolons
4939
+ * @see https://eslint.org/docs/latest/rules/semi-spacing
4940
+ * @deprecated
4941
+ */
4942
+ 'semi-spacing'?: Linter.RuleEntry<SemiSpacing>;
4943
+ /**
4944
+ * Enforce location of semicolons
4945
+ * @see https://eslint.org/docs/latest/rules/semi-style
4946
+ * @deprecated
4947
+ */
4948
+ 'semi-style'?: Linter.RuleEntry<SemiStyle>;
4949
+ /**
4950
+ * Enforce sorted `import` declarations within modules
4951
+ * @see https://eslint.org/docs/latest/rules/sort-imports
4952
+ */
4953
+ 'sort-imports'?: Linter.RuleEntry<SortImports>;
4954
+ /**
4955
+ * Require object keys to be sorted
4956
+ * @see https://eslint.org/docs/latest/rules/sort-keys
4957
+ */
4958
+ 'sort-keys'?: Linter.RuleEntry<SortKeys>;
4959
+ /**
4960
+ * Require variables within the same declaration block to be sorted
4961
+ * @see https://eslint.org/docs/latest/rules/sort-vars
4962
+ */
4963
+ 'sort-vars'?: Linter.RuleEntry<SortVars>;
4964
+ /**
4965
+ * Enforce consistent spacing before blocks
4966
+ * @see https://eslint.org/docs/latest/rules/space-before-blocks
4967
+ * @deprecated
4968
+ */
4969
+ 'space-before-blocks'?: Linter.RuleEntry<SpaceBeforeBlocks>;
4970
+ /**
4971
+ * Enforce consistent spacing before `function` definition opening parenthesis
4972
+ * @see https://eslint.org/docs/latest/rules/space-before-function-paren
4973
+ * @deprecated
4974
+ */
4975
+ 'space-before-function-paren'?: Linter.RuleEntry<SpaceBeforeFunctionParen>;
4976
+ /**
4977
+ * Enforce consistent spacing inside parentheses
4978
+ * @see https://eslint.org/docs/latest/rules/space-in-parens
4979
+ * @deprecated
4980
+ */
4981
+ 'space-in-parens'?: Linter.RuleEntry<SpaceInParens>;
4982
+ /**
4983
+ * Require spacing around infix operators
4984
+ * @see https://eslint.org/docs/latest/rules/space-infix-ops
4985
+ * @deprecated
4986
+ */
4987
+ 'space-infix-ops'?: Linter.RuleEntry<SpaceInfixOps>;
4988
+ /**
4989
+ * Enforce consistent spacing before or after unary operators
4990
+ * @see https://eslint.org/docs/latest/rules/space-unary-ops
4991
+ * @deprecated
4992
+ */
4993
+ 'space-unary-ops'?: Linter.RuleEntry<SpaceUnaryOps>;
4994
+ /**
4995
+ * Enforce consistent spacing after the `//` or `/*` in a comment
4996
+ * @see https://eslint.org/docs/latest/rules/spaced-comment
4997
+ * @deprecated
4998
+ */
4999
+ 'spaced-comment'?: Linter.RuleEntry<SpacedComment>;
5000
+ /**
5001
+ * Interactions should be awaited
5002
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/await-interactions.md
5003
+ */
5004
+ 'storybook/await-interactions'?: Linter.RuleEntry<[]>;
5005
+ /**
5006
+ * Pass a context when invoking play function of another story
5007
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/context-in-play-function.md
5008
+ */
5009
+ 'storybook/context-in-play-function'?: Linter.RuleEntry<[]>;
5010
+ /**
5011
+ * The component property should be set
5012
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/csf-component.md
5013
+ */
5014
+ 'storybook/csf-component'?: Linter.RuleEntry<[]>;
5015
+ /**
5016
+ * Story files should have a default export
5017
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/default-exports.md
5018
+ */
5019
+ 'storybook/default-exports'?: Linter.RuleEntry<[]>;
5020
+ /**
5021
+ * Deprecated hierarchy separator in title property
5022
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/hierarchy-separator.md
5023
+ */
5024
+ 'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>;
5025
+ /**
5026
+ * Meta should only have inline properties
5027
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-inline-properties.md
5028
+ */
5029
+ 'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>;
5030
+ /**
5031
+ * Meta should use `satisfies Meta`
5032
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-satisfies-type.md
5033
+ */
5034
+ 'storybook/meta-satisfies-type'?: Linter.RuleEntry<[]>;
5035
+ /**
5036
+ * A story should not have a redundant name property
5037
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-redundant-story-name.md
5038
+ */
5039
+ 'storybook/no-redundant-story-name'?: Linter.RuleEntry<[]>;
5040
+ /**
5041
+ * Do not import renderer packages directly in stories
5042
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-renderer-packages.md
5043
+ */
5044
+ 'storybook/no-renderer-packages'?: Linter.RuleEntry<[]>;
5045
+ /**
5046
+ * storiesOf is deprecated and should not be used
5047
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-stories-of.md
5048
+ */
5049
+ 'storybook/no-stories-of'?: Linter.RuleEntry<[]>;
5050
+ /**
5051
+ * Do not define a title in meta
5052
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-title-property-in-meta.md
5053
+ */
5054
+ 'storybook/no-title-property-in-meta'?: Linter.RuleEntry<[]>;
5055
+ /**
5056
+ * This rule identifies storybook addons that are invalid because they are either not installed or contain a typo in their name.
5057
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-uninstalled-addons.md
5058
+ */
5059
+ 'storybook/no-uninstalled-addons'?: Linter.RuleEntry<StorybookNoUninstalledAddons>;
5060
+ /**
5061
+ * Stories should use PascalCase
5062
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/prefer-pascal-case.md
5063
+ */
5064
+ 'storybook/prefer-pascal-case'?: Linter.RuleEntry<[]>;
5065
+ /**
5066
+ * A story file must contain at least one story export
5067
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/story-exports.md
5068
+ */
5069
+ 'storybook/story-exports'?: Linter.RuleEntry<[]>;
5070
+ /**
5071
+ * Use expect from `@storybook/test`, `storybook/test` or `@storybook/jest`
5072
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-expect.md
5073
+ */
5074
+ 'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>;
5075
+ /**
5076
+ * Do not use testing-library directly on stories
5077
+ * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-testing-library.md
5078
+ */
5079
+ 'storybook/use-storybook-testing-library'?: Linter.RuleEntry<[]>;
5080
+ /**
5081
+ * Require or disallow strict mode directives
5082
+ * @see https://eslint.org/docs/latest/rules/strict
5083
+ */
5084
+ 'strict'?: Linter.RuleEntry<Strict>;
5085
+ /**
5086
+ * Enforce spacing around colons of switch statements
5087
+ * @see https://eslint.org/docs/latest/rules/switch-colon-spacing
5088
+ * @deprecated
5089
+ */
5090
+ 'switch-colon-spacing'?: Linter.RuleEntry<SwitchColonSpacing>;
5091
+ /**
5092
+ * Require symbol descriptions
5093
+ * @see https://eslint.org/docs/latest/rules/symbol-description
5094
+ */
5095
+ 'symbol-description'?: Linter.RuleEntry<[]>;
5096
+ /**
5097
+ * Require or disallow spacing around embedded expressions of template strings
5098
+ * @see https://eslint.org/docs/latest/rules/template-curly-spacing
5099
+ * @deprecated
5100
+ */
5101
+ 'template-curly-spacing'?: Linter.RuleEntry<TemplateCurlySpacing>;
5102
+ /**
5103
+ * Require or disallow spacing between template tags and their literals
5104
+ * @see https://eslint.org/docs/latest/rules/template-tag-spacing
5105
+ * @deprecated
5106
+ */
5107
+ 'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
5108
+ /**
5109
+ * Require or disallow Unicode byte order mark (BOM)
5110
+ * @see https://eslint.org/docs/latest/rules/unicode-bom
5111
+ */
5112
+ 'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
5113
+ /**
5114
+ * Prefer better DOM traversal APIs.
5115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/better-dom-traversing.md
5116
+ */
5117
+ 'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>;
5118
+ /**
5119
+ * Removed. Prefer `eslint-plugin-regexp`
5120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#better-regex
5121
+ * @deprecated
5122
+ */
5123
+ 'unicorn/better-regex'?: Linter.RuleEntry<[]>;
5124
+ /**
5125
+ * Enforce a specific parameter name in catch clauses.
5126
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/catch-error-name.md
5127
+ */
5128
+ 'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
5129
+ /**
5130
+ * Enforce consistent assertion style with `node:assert`.
5131
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-assert.md
5132
+ */
5133
+ 'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
5134
+ /**
5135
+ * Enforce consistent spelling of compound words in identifiers.
5136
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-compound-words.md
5137
+ */
5138
+ 'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
5139
+ /**
5140
+ * Prefer passing `Date` directly to the constructor when cloning.
5141
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-date-clone.md
5142
+ */
5143
+ 'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
5144
+ /**
5145
+ * Use destructured variables over properties.
5146
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-destructuring.md
5147
+ */
5148
+ 'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
5149
+ /**
5150
+ * Prefer consistent types when spreading a ternary in an array literal.
5151
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-empty-array-spread.md
5152
+ */
5153
+ 'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
5154
+ /**
5155
+ * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5156
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-existence-index-check.md
5157
+ */
5158
+ 'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
5159
+ /**
5160
+ * Move function definitions to the highest possible scope.
5161
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-function-scoping.md
5162
+ */
5163
+ 'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
5164
+ /**
5165
+ * Enforce consistent JSON file reads before `JSON.parse()`.
5166
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-json-file-read.md
5167
+ */
5168
+ 'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
5169
+ /**
5170
+ * Enforce consistent style for escaping `${` in template literals.
5171
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/consistent-template-literal-escape.md
5172
+ */
5173
+ 'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
5174
+ /**
5175
+ * Enforce correct `Error` subclassing.
5176
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/custom-error-definition.md
5177
+ */
5178
+ 'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
5179
+ /**
5180
+ * Enforce consistent style for DOM element dataset access.
5181
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/dom-node-dataset.md
5182
+ */
5183
+ 'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>;
5184
+ /**
5185
+ * Enforce no spaces between braces.
5186
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/empty-brace-spaces.md
5187
+ */
5188
+ 'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
5189
+ /**
5190
+ * Enforce passing a `message` value when creating a built-in error.
5191
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/error-message.md
5192
+ */
5193
+ 'unicorn/error-message'?: Linter.RuleEntry<[]>;
5194
+ /**
5195
+ * Require escape sequences to use uppercase or lowercase values.
5196
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/escape-case.md
5197
+ */
5198
+ 'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
5199
+ /**
5200
+ * Add expiration conditions to TODO comments.
5201
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/expiring-todo-comments.md
5202
+ */
5203
+ 'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
5204
+ /**
5205
+ * Enforce explicitly comparing the `length` or `size` property of a value.
5206
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/explicit-length-check.md
5207
+ */
5208
+ 'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
5209
+ /**
5210
+ * Enforce a case style for filenames and directory names.
5211
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/filename-case.md
5212
+ */
5213
+ 'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
5214
+ /**
5215
+ * Enforce specific import styles per module.
5216
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/import-style.md
5217
+ */
5218
+ 'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
5219
+ /**
5220
+ * Prevent usage of variables from outside the scope of isolated functions.
5221
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/isolated-functions.md
5222
+ */
5223
+ 'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
5224
+ /**
5225
+ * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5226
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/new-for-builtins.md
5227
+ */
5228
+ 'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
5229
+ /**
5230
+ * Enforce specifying rules to disable in `eslint-disable` comments.
5231
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-abusive-eslint-disable.md
5232
+ */
5233
+ 'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
5234
+ /**
5235
+ * Disallow recursive access to `this` within getters and setters.
5236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-accessor-recursion.md
5237
+ */
5238
+ 'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
5239
+ /**
5240
+ * Disallow anonymous functions and classes as the default export.
5241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-anonymous-default-export.md
5242
+ */
5243
+ 'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
5244
+ /**
5245
+ * Prevent passing a function reference directly to iterator methods.
5246
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-callback-reference.md
5247
+ */
5248
+ 'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
5249
+ /**
5250
+ * Disallow using reference values as `Array#fill()` values.
5251
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-fill-with-reference-type.md
5252
+ */
5253
+ 'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>;
5254
+ /**
5255
+ * Prefer `for…of` over the `forEach` method.
5256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-for-each.md
5257
+ */
5258
+ 'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
5259
+ /**
5260
+ * Disallow `.fill()` after `Array.from({length: …})`.
5261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-from-fill.md
5262
+ */
5263
+ 'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>;
5264
+ /**
5265
+ * Disallow using the `this` argument in array methods.
5266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-method-this-argument.md
5267
+ */
5268
+ 'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
5269
+ /**
5270
+ * Replaced by `unicorn/prefer-single-call` which covers more cases.
5271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-array-push-push
5272
+ * @deprecated
5273
+ */
5274
+ 'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
5275
+ /**
5276
+ * Disallow `Array#reduce()` and `Array#reduceRight()`.
5277
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reduce.md
5278
+ */
5279
+ 'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
5280
+ /**
5281
+ * Prefer `Array#toReversed()` over `Array#reverse()`.
5282
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-reverse.md
5283
+ */
5284
+ 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
5285
+ /**
5286
+ * Prefer `Array#toSorted()` over `Array#sort()`.
5287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-array-sort.md
5288
+ */
5289
+ 'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
5290
+ /**
5291
+ * Disallow member access from await expression.
5292
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-expression-member.md
5293
+ */
5294
+ 'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
5295
+ /**
5296
+ * Disallow using `await` in `Promise` method parameters.
5297
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-await-in-promise-methods.md
5298
+ */
5299
+ 'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
5300
+ /**
5301
+ * Disallow unnecessary `Blob` to `File` conversion.
5302
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-blob-to-file.md
5303
+ */
5304
+ 'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>;
5305
+ /**
5306
+ * Prefer drawing canvases directly instead of converting them to images.
5307
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-canvas-to-image.md
5308
+ */
5309
+ 'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>;
5310
+ /**
5311
+ * Disallow confusing uses of `Array#{splice,toSpliced}()`.
5312
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-confusing-array-splice.md
5313
+ */
5314
+ 'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>;
5315
+ /**
5316
+ * Do not use leading/trailing space between `console.log` parameters.
5317
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-console-spaces.md
5318
+ */
5319
+ 'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
5320
+ /**
5321
+ * Do not use `document.cookie` directly.
5322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-document-cookie.md
5323
+ */
5324
+ 'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
5325
+ /**
5326
+ * Disallow duplicate values in `Set` constructor array literals.
5327
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-duplicate-set-values.md
5328
+ */
5329
+ 'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>;
5330
+ /**
5331
+ * Disallow empty files.
5332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-empty-file.md
5333
+ */
5334
+ 'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>;
5335
+ /**
5336
+ * Disallow exports in scripts.
5337
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-exports-in-scripts.md
5338
+ */
5339
+ 'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>;
5340
+ /**
5341
+ * Do not use a `for` loop that can be replaced with a `for-of` loop.
5342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-for-loop.md
5343
+ */
5344
+ 'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
5345
+ /**
5346
+ * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-hex-escape.md
5348
+ */
5349
+ 'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
5350
+ /**
5351
+ * Disallow immediate mutation after variable assignment.
5352
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-immediate-mutation.md
5353
+ */
5354
+ 'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
5355
+ /**
5356
+ * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
5357
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-incorrect-query-selector.md
5358
+ */
5359
+ 'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>;
5360
+ /**
5361
+ * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
5362
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-instanceof-array
5363
+ * @deprecated
5364
+ */
5365
+ 'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
5366
+ /**
5367
+ * Disallow `instanceof` with built-in objects
5368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-instanceof-builtins.md
5369
+ */
5370
+ 'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
5371
+ /**
5372
+ * Disallow invalid options in `fetch()` and `new Request()`.
5373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-fetch-options.md
5374
+ */
5375
+ 'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
5376
+ /**
5377
+ * Disallow invalid `accept` values on file inputs.
5378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-file-input-accept.md
5379
+ */
5380
+ 'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>;
5381
+ /**
5382
+ * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-invalid-remove-event-listener.md
5384
+ */
5385
+ 'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
5386
+ /**
5387
+ * Disallow identifiers starting with `new` or `class`.
5388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-keyword-prefix.md
5389
+ */
5390
+ 'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
5391
+ /**
5392
+ * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
5393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-late-current-target-access.md
5394
+ */
5395
+ 'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>;
5396
+ /**
5397
+ * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
5398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
5399
+ * @deprecated
5400
+ */
5401
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
5402
+ /**
5403
+ * Disallow `if` statements as the only statement in `if` blocks without `else`.
5404
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-lonely-if.md
5405
+ */
5406
+ 'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
5407
+ /**
5408
+ * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-magic-array-flat-depth.md
5410
+ */
5411
+ 'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
5412
+ /**
5413
+ * Disallow manually wrapped comments.
5414
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-manually-wrapped-comments.md
5415
+ */
5416
+ 'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>;
5417
+ /**
5418
+ * Disallow named usage of default import and export.
5419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-named-default.md
5420
+ */
5421
+ 'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
5422
+ /**
5423
+ * Disallow negated conditions.
5424
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negated-condition.md
5425
+ */
5426
+ 'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
5427
+ /**
5428
+ * Disallow negated expression in equality check.
5429
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-negation-in-equality-check.md
5430
+ */
5431
+ 'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
5432
+ /**
5433
+ * Disallow nested ternary expressions.
5434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-nested-ternary.md
5435
+ */
5436
+ 'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
5437
+ /**
5438
+ * Disallow `new Array()`.
5439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-array.md
5440
+ */
5441
+ 'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
5442
+ /**
5443
+ * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-new-buffer.md
5445
+ */
5446
+ 'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
5447
+ /**
5448
+ * Disallow the use of the `null` literal.
5449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-null.md
5450
+ */
5451
+ 'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
5452
+ /**
5453
+ * Disallow the use of objects as default parameters.
5454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-object-as-default-parameter.md
5455
+ */
5456
+ 'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
5457
+ /**
5458
+ * Disallow `process.exit()`.
5459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-process-exit.md
5460
+ */
5461
+ 'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
5462
+ /**
5463
+ * Disallow passing single-element arrays to `Promise` methods.
5464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-single-promise-in-promise-methods.md
5465
+ */
5466
+ 'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
5467
+ /**
5468
+ * Disallow classes that only have static members.
5469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-static-only-class.md
5470
+ */
5471
+ 'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
5472
+ /**
5473
+ * Disallow `then` property.
5474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-thenable.md
5475
+ */
5476
+ 'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
5477
+ /**
5478
+ * Disallow assigning `this` to a variable.
5479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-assignment.md
5480
+ */
5481
+ 'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
5482
+ /**
5483
+ * Disallow `this` outside of classes.
5484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-this-outside-of-class.md
5485
+ */
5486
+ 'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>;
5487
+ /**
5488
+ * Disallow comparing `undefined` using `typeof`.
5489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-typeof-undefined.md
5490
+ */
5491
+ 'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
5492
+ /**
5493
+ * Disallow using `1` as the `depth` argument of `Array#flat()`.
5494
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-flat-depth.md
5495
+ */
5496
+ 'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
5497
+ /**
5498
+ * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
5499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-array-splice-count.md
5500
+ */
5501
+ 'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
5502
+ /**
5503
+ * Disallow awaiting non-promise values.
5504
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-await.md
5505
+ */
5506
+ 'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
5507
+ /**
5508
+ * Disallow unnecessary nested ternary expressions.
5509
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-nested-ternary.md
5510
+ */
5511
+ 'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>;
5512
+ /**
5513
+ * Enforce the use of built-in methods instead of unnecessary polyfills.
5514
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-polyfills.md
5515
+ */
5516
+ 'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
5517
+ /**
5518
+ * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5519
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unnecessary-slice-end.md
5520
+ */
5521
+ 'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
5522
+ /**
5523
+ * Disallow unreadable array destructuring.
5524
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-array-destructuring.md
5525
+ */
5526
+ 'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
5527
+ /**
5528
+ * Disallow unreadable IIFEs.
5529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unreadable-iife.md
5530
+ */
5531
+ 'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
5532
+ /**
5533
+ * Disallow ignoring the return value of selected array methods.
5534
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-array-method-return.md
5535
+ */
5536
+ 'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>;
5537
+ /**
5538
+ * Disallow unused object properties.
5539
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-unused-properties.md
5540
+ */
5541
+ 'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
5542
+ /**
5543
+ * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
5544
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-collection-argument.md
5545
+ */
5546
+ 'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
5547
+ /**
5548
+ * Disallow unnecessary `Error.captureStackTrace(…)`.
5549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-error-capture-stack-trace.md
5550
+ */
5551
+ 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
5552
+ /**
5553
+ * Disallow useless fallback when spreading in object literals.
5554
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-fallback-in-spread.md
5555
+ */
5556
+ 'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
5557
+ /**
5558
+ * Disallow unnecessary `.toArray()` on iterators.
5559
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-iterator-to-array.md
5560
+ */
5561
+ 'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
5562
+ /**
5563
+ * Disallow useless array length check.
5564
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-length-check.md
5565
+ */
5566
+ 'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
5567
+ /**
5568
+ * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5569
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-promise-resolve-reject.md
5570
+ */
5571
+ 'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
5572
+ /**
5573
+ * Disallow unnecessary spread.
5574
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-spread.md
5575
+ */
5576
+ 'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
5577
+ /**
5578
+ * Disallow useless case in switch statements.
5579
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-switch-case.md
5580
+ */
5581
+ 'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
5582
+ /**
5583
+ * Disallow useless `undefined`.
5584
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-useless-undefined.md
5585
+ */
5586
+ 'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
5587
+ /**
5588
+ * Disallow number literals with zero fractions or dangling dots.
5589
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/no-zero-fractions.md
5590
+ */
5591
+ 'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
5592
+ /**
5593
+ * Enforce proper case for numeric literals.
5594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/number-literal-case.md
5595
+ */
5596
+ 'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
5597
+ /**
5598
+ * Enforce the style of numeric separators by correctly grouping digits.
5599
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/numeric-separators-style.md
5600
+ */
5601
+ 'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
5602
+ /**
5603
+ * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-add-event-listener.md
5605
+ */
5606
+ 'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
5607
+ /**
5608
+ * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5609
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-find.md
5610
+ */
5611
+ 'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
5612
+ /**
5613
+ * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5614
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat.md
5615
+ */
5616
+ 'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
5617
+ /**
5618
+ * Prefer `.flatMap(…)` over `.map(…).flat()`.
5619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-flat-map.md
5620
+ */
5621
+ 'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
5622
+ /**
5623
+ * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5624
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-index-of.md
5625
+ */
5626
+ 'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
5627
+ /**
5628
+ * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
5629
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-last-methods.md
5630
+ */
5631
+ 'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>;
5632
+ /**
5633
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5634
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-array-some.md
5635
+ */
5636
+ 'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
5637
+ /**
5638
+ * Prefer `.at()` method for index access and `String#charAt()`.
5639
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-at.md
5640
+ */
5641
+ 'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
5642
+ /**
5643
+ * Prefer `BigInt` literals over the constructor.
5644
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-bigint-literals.md
5645
+ */
5646
+ 'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
5647
+ /**
5648
+ * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5649
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-blob-reading-methods.md
5650
+ */
5651
+ 'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
5652
+ /**
5653
+ * Prefer class field declarations over `this` assignments in constructors.
5654
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-class-fields.md
5655
+ */
5656
+ 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
5657
+ /**
5658
+ * Prefer using `Element#classList.toggle()` to toggle class names.
5659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-classlist-toggle.md
5660
+ */
5661
+ 'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
5662
+ /**
5663
+ * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-code-point.md
5665
+ */
5666
+ 'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
5667
+ /**
5668
+ * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-date-now.md
5670
+ */
5671
+ 'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
5672
+ /**
5673
+ * Prefer default parameters over reassignment.
5674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-default-parameters.md
5675
+ */
5676
+ 'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
5677
+ /**
5678
+ * Prefer `Element#append()` over `Node#appendChild()`.
5679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-append.md
5680
+ */
5681
+ 'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
5682
+ /**
5683
+ * Renamed to `unicorn/dom-node-dataset`.
5684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
5685
+ * @deprecated
5686
+ */
5687
+ 'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
5688
+ /**
5689
+ * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-remove.md
5691
+ */
5692
+ 'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
5693
+ /**
5694
+ * Prefer `.textContent` over `.innerText`.
5695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-dom-node-text-content.md
5696
+ */
5697
+ 'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
5698
+ /**
5699
+ * Prefer `EventTarget` over `EventEmitter`.
5700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-event-target.md
5701
+ */
5702
+ 'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
5703
+ /**
5704
+ * Prefer `export…from` when re-exporting.
5705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-export-from.md
5706
+ */
5707
+ 'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
5708
+ /**
5709
+ * Prefer `.getOrInsertComputed()` when the default value has side effects.
5710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-get-or-insert-computed.md
5711
+ */
5712
+ 'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>;
5713
+ /**
5714
+ * Prefer `globalThis` over `window`, `self`, and `global`.
5715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-global-this.md
5716
+ */
5717
+ 'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
5718
+ /**
5719
+ * Prefer HTTPS over HTTP.
5720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-https.md
5721
+ */
5722
+ 'unicorn/prefer-https'?: Linter.RuleEntry<[]>;
5723
+ /**
5724
+ * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
5725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-import-meta-properties.md
5726
+ */
5727
+ 'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
5728
+ /**
5729
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes.md
5731
+ */
5732
+ 'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
5733
+ /**
5734
+ * Prefer `.includes()` over repeated equality comparisons.
5735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-includes-over-repeated-comparisons.md
5736
+ */
5737
+ 'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
5738
+ /**
5739
+ * Prefer `Iterator.concat(…)` over temporary spread arrays.
5740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-concat.md
4594
5741
  */
4595
- 'promise/avoid-new'?: Linter.RuleEntry<[]>;
5742
+ 'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>;
4596
5743
  /**
4597
- * Enforce the use of `catch()` on un-returned promises.
4598
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/catch-or-return.md
5744
+ * Prefer moving `.toArray()` to the end of iterator helper chains.
5745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-iterator-to-array-at-end.md
4599
5746
  */
4600
- 'promise/catch-or-return'?: Linter.RuleEntry<PromiseCatchOrReturn>;
5747
+ 'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>;
4601
5748
  /**
4602
- * Disallow calling `cb()` inside of a `then()` (use [util.callbackify][] instead).
4603
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-callback-in-promise.md
5749
+ * Renamed to `unicorn/consistent-json-file-read`.
5750
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
5751
+ * @deprecated
4604
5752
  */
4605
- 'promise/no-callback-in-promise'?: Linter.RuleEntry<PromiseNoCallbackInPromise>;
5753
+ 'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
4606
5754
  /**
4607
- * Disallow creating new promises with paths that resolve multiple times.
4608
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-multiple-resolved.md
5755
+ * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
5756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-keyboard-event-key.md
4609
5757
  */
4610
- 'promise/no-multiple-resolved'?: Linter.RuleEntry<[]>;
5758
+ 'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
4611
5759
  /**
4612
- * Require creating a `Promise` constructor before using it in an ES5 environment.
4613
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-native.md
5760
+ * Prefer using a logical operator over a ternary.
5761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4614
5762
  */
4615
- 'promise/no-native'?: Linter.RuleEntry<[]>;
5763
+ 'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
4616
5764
  /**
4617
- * Disallow nested `then()` or `catch()` statements.
4618
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-nesting.md
5765
+ * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
5766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-abs.md
4619
5767
  */
4620
- 'promise/no-nesting'?: Linter.RuleEntry<[]>;
5768
+ 'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>;
4621
5769
  /**
4622
- * Disallow calling `new` on a Promise static method.
4623
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-new-statics.md
5770
+ * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
5771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-min-max.md
4624
5772
  */
4625
- 'promise/no-new-statics'?: Linter.RuleEntry<[]>;
5773
+ 'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
4626
5774
  /**
4627
- * Disallow using promises inside of callbacks.
4628
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-promise-in-callback.md
5775
+ * Enforce the use of `Math.trunc` instead of bitwise operators.
5776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-math-trunc.md
4629
5777
  */
4630
- 'promise/no-promise-in-callback'?: Linter.RuleEntry<PromiseNoPromiseInCallback>;
5778
+ 'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
4631
5779
  /**
4632
- * Disallow return statements in `finally()`.
4633
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-return-in-finally.md
5780
+ * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-dom-apis.md
4634
5782
  */
4635
- 'promise/no-return-in-finally'?: Linter.RuleEntry<[]>;
5783
+ 'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
4636
5784
  /**
4637
- * Disallow wrapping values in `Promise.resolve` or `Promise.reject` when not needed.
4638
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-return-wrap.md
5785
+ * Prefer modern `Math` APIs over legacy patterns.
5786
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-modern-math-apis.md
4639
5787
  */
4640
- 'promise/no-return-wrap'?: Linter.RuleEntry<PromiseNoReturnWrap>;
5788
+ 'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
4641
5789
  /**
4642
- * Enforce consistent param names and ordering when creating new promises.
4643
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/param-names.md
5790
+ * Prefer JavaScript modules (ESM) over CommonJS.
5791
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-module.md
4644
5792
  */
4645
- 'promise/param-names'?: Linter.RuleEntry<PromiseParamNames>;
5793
+ 'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
4646
5794
  /**
4647
- * Prefer `async`/`await` to the callback pattern.
4648
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-callbacks.md
5795
+ * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5796
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-native-coercion-functions.md
4649
5797
  */
4650
- 'promise/prefer-await-to-callbacks'?: Linter.RuleEntry<[]>;
5798
+ 'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
4651
5799
  /**
4652
- * Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values.
4653
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md
5800
+ * Prefer negative index over `.length - index` when possible.
5801
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-negative-index.md
4654
5802
  */
4655
- 'promise/prefer-await-to-then'?: Linter.RuleEntry<PromisePreferAwaitToThen>;
5803
+ 'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
4656
5804
  /**
4657
- * Prefer `catch` to `then(a, b)`/`then(null, b)` for handling errors.
4658
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-catch.md
5805
+ * Prefer using the `node:` protocol when importing Node.js builtin modules.
5806
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-node-protocol.md
4659
5807
  */
4660
- 'promise/prefer-catch'?: Linter.RuleEntry<[]>;
5808
+ 'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
4661
5809
  /**
4662
- * Disallow use of non-standard Promise static methods.
4663
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/spec-only.md
5810
+ * Prefer `Number` static properties over global ones.
5811
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-number-properties.md
4664
5812
  */
4665
- 'promise/spec-only'?: Linter.RuleEntry<PromiseSpecOnly>;
5813
+ 'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
4666
5814
  /**
4667
- * Enforces the proper number of arguments are passed to Promise functions.
4668
- * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/valid-params.md
5815
+ * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5816
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-object-from-entries.md
4669
5817
  */
4670
- 'promise/valid-params'?: Linter.RuleEntry<PromiseValidParams>;
5818
+ 'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
4671
5819
  /**
4672
- * Require quotes around object literal property names
4673
- * @see https://eslint.org/docs/latest/rules/quote-props
4674
- * @deprecated
5820
+ * Prefer omitting the `catch` binding parameter.
5821
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-optional-catch-binding.md
4675
5822
  */
4676
- 'quote-props'?: Linter.RuleEntry<QuoteProps>;
5823
+ 'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
4677
5824
  /**
4678
- * Enforce the consistent use of either backticks, double, or single quotes
4679
- * @see https://eslint.org/docs/latest/rules/quotes
4680
- * @deprecated
5825
+ * Prefer borrowing methods from the prototype instead of the instance.
5826
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-prototype-methods.md
4681
5827
  */
4682
- 'quotes'?: Linter.RuleEntry<Quotes>;
5828
+ 'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
4683
5829
  /**
4684
- * Enforce the use of the radix argument when using `parseInt()`
4685
- * @see https://eslint.org/docs/latest/rules/radix
5830
+ * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
5831
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-query-selector.md
4686
5832
  */
4687
- 'radix'?: Linter.RuleEntry<Radix>;
5833
+ 'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>;
4688
5834
  /**
4689
- * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
4690
- * @see https://eslint.org/docs/latest/rules/require-atomic-updates
5835
+ * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
5836
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-queue-microtask.md
4691
5837
  */
4692
- 'require-atomic-updates'?: Linter.RuleEntry<RequireAtomicUpdates>;
5838
+ 'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
4693
5839
  /**
4694
- * Disallow async functions which have no `await` expression
4695
- * @see https://eslint.org/docs/latest/rules/require-await
5840
+ * Prefer `Reflect.apply()` over `Function#apply()`.
5841
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-reflect-apply.md
4696
5842
  */
4697
- 'require-await'?: Linter.RuleEntry<[]>;
5843
+ 'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
4698
5844
  /**
4699
- * Enforce the use of `u` or `v` flag on regular expressions
4700
- * @see https://eslint.org/docs/latest/rules/require-unicode-regexp
5845
+ * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5846
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-regexp-test.md
4701
5847
  */
4702
- 'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>;
5848
+ 'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
4703
5849
  /**
4704
- * Require generator functions to contain `yield`
4705
- * @see https://eslint.org/docs/latest/rules/require-yield
5850
+ * Prefer `Response.json()` over `new Response(JSON.stringify())`.
5851
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-response-static-json.md
4706
5852
  */
4707
- 'require-yield'?: Linter.RuleEntry<[]>;
5853
+ 'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
4708
5854
  /**
4709
- * Enforce spacing between rest and spread operators and their expressions
4710
- * @see https://eslint.org/docs/latest/rules/rest-spread-spacing
4711
- * @deprecated
5855
+ * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5856
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-has.md
4712
5857
  */
4713
- 'rest-spread-spacing'?: Linter.RuleEntry<RestSpreadSpacing>;
5858
+ 'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>;
4714
5859
  /**
4715
- * Require or disallow semicolons instead of ASI
4716
- * @see https://eslint.org/docs/latest/rules/semi
4717
- * @deprecated
5860
+ * Prefer using `Set#size` instead of `Array#length`.
5861
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-set-size.md
4718
5862
  */
4719
- 'semi'?: Linter.RuleEntry<Semi>;
5863
+ 'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
4720
5864
  /**
4721
- * Enforce consistent spacing before and after semicolons
4722
- * @see https://eslint.org/docs/latest/rules/semi-spacing
4723
- * @deprecated
5865
+ * Prefer simple conditions first in logical expressions.
5866
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-simple-condition-first.md
4724
5867
  */
4725
- 'semi-spacing'?: Linter.RuleEntry<SemiSpacing>;
5868
+ 'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
4726
5869
  /**
4727
- * Enforce location of semicolons
4728
- * @see https://eslint.org/docs/latest/rules/semi-style
4729
- * @deprecated
5870
+ * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
5871
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-single-call.md
4730
5872
  */
4731
- 'semi-style'?: Linter.RuleEntry<SemiStyle>;
5873
+ 'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
4732
5874
  /**
4733
- * Enforce sorted `import` declarations within modules
4734
- * @see https://eslint.org/docs/latest/rules/sort-imports
5875
+ * Prefer `String#split()` with a limit.
5876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-split-limit.md
4735
5877
  */
4736
- 'sort-imports'?: Linter.RuleEntry<SortImports>;
5878
+ 'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>;
4737
5879
  /**
4738
- * Require object keys to be sorted
4739
- * @see https://eslint.org/docs/latest/rules/sort-keys
5880
+ * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5881
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-spread.md
4740
5882
  */
4741
- 'sort-keys'?: Linter.RuleEntry<SortKeys>;
5883
+ 'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
4742
5884
  /**
4743
- * Require variables within the same declaration block to be sorted
4744
- * @see https://eslint.org/docs/latest/rules/sort-vars
5885
+ * Prefer `String#matchAll()` over `RegExp#exec()` loops.
5886
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-match-all.md
4745
5887
  */
4746
- 'sort-vars'?: Linter.RuleEntry<SortVars>;
5888
+ 'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>;
4747
5889
  /**
4748
- * Enforce consistent spacing before blocks
4749
- * @see https://eslint.org/docs/latest/rules/space-before-blocks
4750
- * @deprecated
5890
+ * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
5891
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-pad-start-end.md
4751
5892
  */
4752
- 'space-before-blocks'?: Linter.RuleEntry<SpaceBeforeBlocks>;
5893
+ 'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>;
4753
5894
  /**
4754
- * Enforce consistent spacing before `function` definition opening parenthesis
4755
- * @see https://eslint.org/docs/latest/rules/space-before-function-paren
4756
- * @deprecated
5895
+ * Prefer using the `String.raw` tag to avoid escaping `\`.
5896
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-raw.md
4757
5897
  */
4758
- 'space-before-function-paren'?: Linter.RuleEntry<SpaceBeforeFunctionParen>;
5898
+ 'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
4759
5899
  /**
4760
- * Enforce consistent spacing inside parentheses
4761
- * @see https://eslint.org/docs/latest/rules/space-in-parens
4762
- * @deprecated
5900
+ * Prefer `String#repeat()` for repeated whitespace.
5901
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-repeat.md
4763
5902
  */
4764
- 'space-in-parens'?: Linter.RuleEntry<SpaceInParens>;
5903
+ 'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>;
4765
5904
  /**
4766
- * Require spacing around infix operators
4767
- * @see https://eslint.org/docs/latest/rules/space-infix-ops
4768
- * @deprecated
5905
+ * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
5906
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-replace-all.md
4769
5907
  */
4770
- 'space-infix-ops'?: Linter.RuleEntry<SpaceInfixOps>;
5908
+ 'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
4771
5909
  /**
4772
- * Enforce consistent spacing before or after unary operators
4773
- * @see https://eslint.org/docs/latest/rules/space-unary-ops
4774
- * @deprecated
5910
+ * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5911
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-slice.md
4775
5912
  */
4776
- 'space-unary-ops'?: Linter.RuleEntry<SpaceUnaryOps>;
5913
+ 'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
4777
5914
  /**
4778
- * Enforce consistent spacing after the `//` or `/*` in a comment
4779
- * @see https://eslint.org/docs/latest/rules/spaced-comment
4780
- * @deprecated
5915
+ * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5916
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-starts-ends-with.md
4781
5917
  */
4782
- 'spaced-comment'?: Linter.RuleEntry<SpacedComment>;
5918
+ 'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
4783
5919
  /**
4784
- * Interactions should be awaited
4785
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/await-interactions.md
5920
+ * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5921
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-string-trim-start-end.md
4786
5922
  */
4787
- 'storybook/await-interactions'?: Linter.RuleEntry<[]>;
5923
+ 'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
4788
5924
  /**
4789
- * Pass a context when invoking play function of another story
4790
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/context-in-play-function.md
5925
+ * Prefer using `structuredClone` to create a deep clone.
5926
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-structured-clone.md
4791
5927
  */
4792
- 'storybook/context-in-play-function'?: Linter.RuleEntry<[]>;
5928
+ 'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
4793
5929
  /**
4794
- * The component property should be set
4795
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/csf-component.md
5930
+ * Prefer `switch` over multiple `else-if`.
5931
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-switch.md
4796
5932
  */
4797
- 'storybook/csf-component'?: Linter.RuleEntry<[]>;
5933
+ 'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
4798
5934
  /**
4799
- * Story files should have a default export
4800
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/default-exports.md
5935
+ * Prefer ternary expressions over simple `if-else` statements.
5936
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-ternary.md
4801
5937
  */
4802
- 'storybook/default-exports'?: Linter.RuleEntry<[]>;
5938
+ 'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
4803
5939
  /**
4804
- * Deprecated hierarchy separator in title property
4805
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/hierarchy-separator.md
5940
+ * Prefer top-level await over top-level promises and async function calls.
5941
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-top-level-await.md
4806
5942
  */
4807
- 'storybook/hierarchy-separator'?: Linter.RuleEntry<[]>;
5943
+ 'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
4808
5944
  /**
4809
- * Meta should only have inline properties
4810
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-inline-properties.md
5945
+ * Enforce throwing `TypeError` in type checking conditions.
5946
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prefer-type-error.md
4811
5947
  */
4812
- 'storybook/meta-inline-properties'?: Linter.RuleEntry<StorybookMetaInlineProperties>;
5948
+ 'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
4813
5949
  /**
4814
- * Meta should use `satisfies Meta`
4815
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/meta-satisfies-type.md
5950
+ * Prevent abbreviations.
5951
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/prevent-abbreviations.md
4816
5952
  */
4817
- 'storybook/meta-satisfies-type'?: Linter.RuleEntry<[]>;
5953
+ 'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
4818
5954
  /**
4819
- * A story should not have a redundant name property
4820
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-redundant-story-name.md
5955
+ * Enforce consistent relative URL style.
5956
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/relative-url-style.md
4821
5957
  */
4822
- 'storybook/no-redundant-story-name'?: Linter.RuleEntry<[]>;
5958
+ 'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
4823
5959
  /**
4824
- * Do not import renderer packages directly in stories
4825
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-renderer-packages.md
5960
+ * Enforce using the separator argument with `Array#join()`.
5961
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-array-join-separator.md
4826
5962
  */
4827
- 'storybook/no-renderer-packages'?: Linter.RuleEntry<[]>;
5963
+ 'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
4828
5964
  /**
4829
- * storiesOf is deprecated and should not be used
4830
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-stories-of.md
5965
+ * Require `CSS.escape()` for interpolated values in CSS selectors.
5966
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-css-escape.md
4831
5967
  */
4832
- 'storybook/no-stories-of'?: Linter.RuleEntry<[]>;
5968
+ 'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>;
4833
5969
  /**
4834
- * Do not define a title in meta
4835
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-title-property-in-meta.md
5970
+ * Require non-empty module attributes for imports and exports
5971
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-attributes.md
4836
5972
  */
4837
- 'storybook/no-title-property-in-meta'?: Linter.RuleEntry<[]>;
5973
+ 'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
4838
5974
  /**
4839
- * This rule identifies storybook addons that are invalid because they are either not installed or contain a typo in their name.
4840
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/no-uninstalled-addons.md
5975
+ * Require non-empty specifier list in import and export statements.
5976
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-module-specifiers.md
4841
5977
  */
4842
- 'storybook/no-uninstalled-addons'?: Linter.RuleEntry<StorybookNoUninstalledAddons>;
5978
+ 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
4843
5979
  /**
4844
- * Stories should use PascalCase
4845
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/prefer-pascal-case.md
5980
+ * Enforce using the digits argument with `Number#toFixed()`.
5981
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-number-to-fixed-digits-argument.md
4846
5982
  */
4847
- 'storybook/prefer-pascal-case'?: Linter.RuleEntry<[]>;
5983
+ 'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
4848
5984
  /**
4849
- * A story file must contain at least one story export
4850
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/story-exports.md
5985
+ * Require passive event listeners for high-frequency events.
5986
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-passive-events.md
4851
5987
  */
4852
- 'storybook/story-exports'?: Linter.RuleEntry<[]>;
5988
+ 'unicorn/require-passive-events'?: Linter.RuleEntry<[]>;
4853
5989
  /**
4854
- * Use expect from `@storybook/test`, `storybook/test` or `@storybook/jest`
4855
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-expect.md
5990
+ * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5991
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/require-post-message-target-origin.md
4856
5992
  */
4857
- 'storybook/use-storybook-expect'?: Linter.RuleEntry<[]>;
5993
+ 'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
4858
5994
  /**
4859
- * Do not use testing-library directly on stories
4860
- * @see https://github.com/storybookjs/storybook/blob/next/code/lib/eslint-plugin/docs/rules/use-storybook-testing-library.md
5995
+ * Enforce better string content.
5996
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/string-content.md
4861
5997
  */
4862
- 'storybook/use-storybook-testing-library'?: Linter.RuleEntry<[]>;
5998
+ 'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
4863
5999
  /**
4864
- * Require or disallow strict mode directives
4865
- * @see https://eslint.org/docs/latest/rules/strict
6000
+ * Enforce consistent brace style for `case` clauses.
6001
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-braces.md
4866
6002
  */
4867
- 'strict'?: Linter.RuleEntry<Strict>;
6003
+ 'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
4868
6004
  /**
4869
- * Enforce spacing around colons of switch statements
4870
- * @see https://eslint.org/docs/latest/rules/switch-colon-spacing
4871
- * @deprecated
6005
+ * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
6006
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/switch-case-break-position.md
4872
6007
  */
4873
- 'switch-colon-spacing'?: Linter.RuleEntry<SwitchColonSpacing>;
6008
+ 'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
4874
6009
  /**
4875
- * Require symbol descriptions
4876
- * @see https://eslint.org/docs/latest/rules/symbol-description
6010
+ * Fix whitespace-insensitive template indentation.
6011
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/template-indent.md
4877
6012
  */
4878
- 'symbol-description'?: Linter.RuleEntry<[]>;
6013
+ 'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
4879
6014
  /**
4880
- * Require or disallow spacing around embedded expressions of template strings
4881
- * @see https://eslint.org/docs/latest/rules/template-curly-spacing
4882
- * @deprecated
6015
+ * Enforce consistent case for text encoding identifiers.
6016
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/text-encoding-identifier-case.md
4883
6017
  */
4884
- 'template-curly-spacing'?: Linter.RuleEntry<TemplateCurlySpacing>;
6018
+ 'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
4885
6019
  /**
4886
- * Require or disallow spacing between template tags and their literals
4887
- * @see https://eslint.org/docs/latest/rules/template-tag-spacing
4888
- * @deprecated
6020
+ * Require `new` when creating an error.
6021
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/throw-new-error.md
4889
6022
  */
4890
- 'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
6023
+ 'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
4891
6024
  /**
4892
- * Require or disallow Unicode byte order mark (BOM)
4893
- * @see https://eslint.org/docs/latest/rules/unicode-bom
6025
+ * Limit the complexity of `try` blocks.
6026
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v65.0.1/docs/rules/try-complexity.md
4894
6027
  */
4895
- 'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
6028
+ 'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>;
4896
6029
  /**
4897
6030
  * Require calls to `isNaN()` when checking for `NaN`
4898
6031
  * @see https://eslint.org/docs/latest/rules/use-isnan
@@ -10716,6 +11849,7 @@ type BetterTailwindcssEnforceLogicalProperties = [] | [{
10716
11849
  detectComponentClasses?: boolean;
10717
11850
  rootFontSize?: number;
10718
11851
  cwd?: string;
11852
+ ignore?: string[];
10719
11853
  }]; // ----- better-tailwindcss/enforce-shorthand-classes -----
10720
11854
  type BetterTailwindcssEnforceShorthandClasses = [] | [{
10721
11855
  selectors?: ({
@@ -13452,7 +14586,243 @@ type MaxStatementsPerLine = [] | [{
13452
14586
  type MultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
13453
14587
  checkJSDoc?: boolean;
13454
14588
  }]); // ----- multiline-ternary -----
13455
- type MultilineTernary = [] | [("always" | "always-multiline" | "never")]; // ----- new-cap -----
14589
+ type MultilineTernary = [] | [("always" | "always-multiline" | "never")]; // ----- n/callback-return -----
14590
+ type NCallbackReturn = [] | [string[]]; // ----- n/exports-style -----
14591
+ type NExportsStyle = [] | [("module.exports" | "exports")] | [("module.exports" | "exports"), {
14592
+ allowBatchAssign?: boolean;
14593
+ }]; // ----- n/file-extension-in-import -----
14594
+ type NFileExtensionInImport = [] | [("always" | "never")] | [("always" | "never"), {
14595
+ [k: string]: ("always" | "never") | undefined;
14596
+ }]; // ----- n/handle-callback-err -----
14597
+ type NHandleCallbackErr = [] | [string]; // ----- n/hashbang -----
14598
+ type NHashbang = [] | [{
14599
+ convertPath?: ({
14600
+ [k: string]: [string, string];
14601
+ } | [{
14602
+ include: [string, ...(string)[]];
14603
+ exclude?: string[];
14604
+ replace: [string, string];
14605
+ }, ...({
14606
+ include: [string, ...(string)[]];
14607
+ exclude?: string[];
14608
+ replace: [string, string];
14609
+ })[]]);
14610
+ ignoreUnpublished?: boolean;
14611
+ additionalExecutables?: string[];
14612
+ executableMap?: {
14613
+ [k: string]: string;
14614
+ };
14615
+ }]; // ----- n/no-deprecated-api -----
14616
+ type NNoDeprecatedApi = [] | [{
14617
+ version?: string;
14618
+ ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "repl.builtinModules" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[];
14619
+ 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")[];
14620
+ ignoreIndirectDependencies?: boolean;
14621
+ }]; // ----- n/no-extraneous-import -----
14622
+ type NNoExtraneousImport = [] | [{
14623
+ allowModules?: string[];
14624
+ convertPath?: ({
14625
+ [k: string]: [string, string];
14626
+ } | [{
14627
+ include: [string, ...(string)[]];
14628
+ exclude?: string[];
14629
+ replace: [string, string];
14630
+ }, ...({
14631
+ include: [string, ...(string)[]];
14632
+ exclude?: string[];
14633
+ replace: [string, string];
14634
+ })[]]);
14635
+ resolvePaths?: string[];
14636
+ resolverConfig?: {
14637
+ [k: string]: unknown | undefined;
14638
+ };
14639
+ }]; // ----- n/no-extraneous-require -----
14640
+ type NNoExtraneousRequire = [] | [{
14641
+ allowModules?: string[];
14642
+ convertPath?: ({
14643
+ [k: string]: [string, string];
14644
+ } | [{
14645
+ include: [string, ...(string)[]];
14646
+ exclude?: string[];
14647
+ replace: [string, string];
14648
+ }, ...({
14649
+ include: [string, ...(string)[]];
14650
+ exclude?: string[];
14651
+ replace: [string, string];
14652
+ })[]]);
14653
+ resolvePaths?: string[];
14654
+ resolverConfig?: {
14655
+ [k: string]: unknown | undefined;
14656
+ };
14657
+ tryExtensions?: string[];
14658
+ }]; // ----- n/no-hide-core-modules -----
14659
+ type NNoHideCoreModules = [] | [{
14660
+ 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")[];
14661
+ ignoreDirectDependencies?: boolean;
14662
+ ignoreIndirectDependencies?: boolean;
14663
+ }]; // ----- n/no-missing-import -----
14664
+ type NNoMissingImport = [] | [{
14665
+ allowModules?: string[];
14666
+ resolvePaths?: string[];
14667
+ resolverConfig?: {
14668
+ [k: string]: unknown | undefined;
14669
+ };
14670
+ tryExtensions?: string[];
14671
+ ignoreTypeImport?: boolean;
14672
+ tsconfigPath?: string;
14673
+ typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"));
14674
+ }]; // ----- n/no-missing-require -----
14675
+ type NNoMissingRequire = [] | [{
14676
+ allowModules?: string[];
14677
+ tryExtensions?: string[];
14678
+ resolvePaths?: string[];
14679
+ resolverConfig?: {
14680
+ [k: string]: unknown | undefined;
14681
+ };
14682
+ typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"));
14683
+ tsconfigPath?: string;
14684
+ }]; // ----- n/no-mixed-requires -----
14685
+ type NNoMixedRequires = [] | [(boolean | {
14686
+ grouping?: boolean;
14687
+ allowCall?: boolean;
14688
+ })]; // ----- n/no-process-env -----
14689
+ type NNoProcessEnv = [] | [{
14690
+ allowedVariables?: string[];
14691
+ }]; // ----- n/no-restricted-import -----
14692
+ type NNoRestrictedImport = [] | [(string | {
14693
+ name: (string | string[]);
14694
+ message?: string;
14695
+ })[]]; // ----- n/no-restricted-require -----
14696
+ type NNoRestrictedRequire = [] | [(string | {
14697
+ name: (string | string[]);
14698
+ message?: string;
14699
+ })[]]; // ----- n/no-sync -----
14700
+ type NNoSync = [] | [{
14701
+ allowAtRootLevel?: boolean;
14702
+ ignores?: (string | {
14703
+ from?: "file";
14704
+ path?: string;
14705
+ name?: string[];
14706
+ } | {
14707
+ from?: "lib";
14708
+ name?: string[];
14709
+ } | {
14710
+ from?: "package";
14711
+ package?: string;
14712
+ name?: string[];
14713
+ })[];
14714
+ }]; // ----- n/no-top-level-await -----
14715
+ type NNoTopLevelAwait = [] | [{
14716
+ ignoreBin?: boolean;
14717
+ convertPath?: ({
14718
+ [k: string]: [string, string];
14719
+ } | [{
14720
+ include: [string, ...(string)[]];
14721
+ exclude?: string[];
14722
+ replace: [string, string];
14723
+ }, ...({
14724
+ include: [string, ...(string)[]];
14725
+ exclude?: string[];
14726
+ replace: [string, string];
14727
+ })[]]);
14728
+ }]; // ----- n/no-unpublished-bin -----
14729
+ type NNoUnpublishedBin = [] | [{
14730
+ convertPath?: ({
14731
+ [k: string]: [string, string];
14732
+ } | [{
14733
+ include: [string, ...(string)[]];
14734
+ exclude?: string[];
14735
+ replace: [string, string];
14736
+ }, ...({
14737
+ include: [string, ...(string)[]];
14738
+ exclude?: string[];
14739
+ replace: [string, string];
14740
+ })[]]);
14741
+ }]; // ----- n/no-unpublished-import -----
14742
+ type NNoUnpublishedImport = [] | [{
14743
+ allowModules?: string[];
14744
+ convertPath?: ({
14745
+ [k: string]: [string, string];
14746
+ } | [{
14747
+ include: [string, ...(string)[]];
14748
+ exclude?: string[];
14749
+ replace: [string, string];
14750
+ }, ...({
14751
+ include: [string, ...(string)[]];
14752
+ exclude?: string[];
14753
+ replace: [string, string];
14754
+ })[]]);
14755
+ resolvePaths?: string[];
14756
+ resolverConfig?: {
14757
+ [k: string]: unknown | undefined;
14758
+ };
14759
+ tryExtensions?: string[];
14760
+ ignoreTypeImport?: boolean;
14761
+ ignorePrivate?: boolean;
14762
+ }]; // ----- n/no-unpublished-require -----
14763
+ type NNoUnpublishedRequire = [] | [{
14764
+ allowModules?: string[];
14765
+ convertPath?: ({
14766
+ [k: string]: [string, string];
14767
+ } | [{
14768
+ include: [string, ...(string)[]];
14769
+ exclude?: string[];
14770
+ replace: [string, string];
14771
+ }, ...({
14772
+ include: [string, ...(string)[]];
14773
+ exclude?: string[];
14774
+ replace: [string, string];
14775
+ })[]]);
14776
+ resolvePaths?: string[];
14777
+ resolverConfig?: {
14778
+ [k: string]: unknown | undefined;
14779
+ };
14780
+ tryExtensions?: string[];
14781
+ ignorePrivate?: boolean;
14782
+ }]; // ----- n/no-unsupported-features/es-builtins -----
14783
+ type NNoUnsupportedFeaturesEsBuiltins = [] | [{
14784
+ version?: string;
14785
+ 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")[];
14786
+ }]; // ----- n/no-unsupported-features/es-syntax -----
14787
+ type NNoUnsupportedFeaturesEsSyntax = [] | [{
14788
+ version?: string;
14789
+ 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")[];
14790
+ }]; // ----- n/no-unsupported-features/node-builtins -----
14791
+ type NNoUnsupportedFeaturesNodeBuiltins = [] | [{
14792
+ version?: string;
14793
+ allowExperimental?: boolean;
14794
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.locks" | "navigator.locks.request" | "navigator.locks.query" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decapsulateBits" | "crypto.subtle.decapsulateKey" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encapsulateBits" | "crypto.subtle.encapsulateKey" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.getPublicKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "SubtleCrypto.supports" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.execve" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.ref" | "process.release" | "process.report" | "process.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.threadCpuUsage" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.unref" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.Assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.partialDeepStrictEqual" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.Assert" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.partialDeepStrictEqual" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.Assert" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.partialDeepStrictEqual" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decapsulateBits" | "crypto.webcrypto.subtle.decapsulateKey" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encapsulateBits" | "crypto.webcrypto.subtle.encapsulateKey" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.getPublicKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.argon2" | "crypto.argon2Sync" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.decapsulate" | "crypto.diffieHellman" | "crypto.encapsulate" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTlsa" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTlsa" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTlsa" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.mkdtempDisposable" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.mkdtempDisposableSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.Utf8Stream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.mkdtempDisposable" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent()" | "http.Agent" | "http.ClientRequest()" | "http.ClientRequest" | "http.Server()" | "http.Server" | "http.ServerResponse()" | "http.ServerResponse" | "http.IncomingMessage()" | "http.IncomingMessage" | "http.OutgoingMessage()" | "http.OutgoingMessage" | "http.WebSocket()" | "http.WebSocket" | "_http_agent" | "_http_client" | "_http_common" | "_http_incoming" | "_http_outgoing" | "_http_server" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.Server" | "inspector" | "inspector.Session" | "inspector.Network.dataReceived" | "inspector.Network.dataSent" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.webSocketCreated" | "inspector.Network.webSocketHandshakeResponseReceived" | "inspector.Network.webSocketClosed" | "inspector.NetworkResources.put" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.Network.dataReceived" | "inspector/promises.Network.dataSent" | "inspector/promises.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "inspector/promises.Network.webSocketCreated" | "inspector/promises.Network.webSocketHandshakeResponseReceived" | "inspector/promises.Network.webSocketClosed" | "inspector/promises.NetworkResources.put" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.getSourceMapsSupport" | "module.isBuiltin" | "module.registerHooks" | "module.register" | "module.setSourceMapsSupport" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.getSourceMapsSupport" | "module.Module.isBuiltin" | "module.Module.registerHooks" | "module.Module.register" | "module.Module.setSourceMapsSupport" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.BlockList.isBlockList" | "net.SocketAddress" | "net.SocketAddress.parse" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.eventLoopUtilization" | "perf_hooks.timerify" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getAssetKeys" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getAssetKeys" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "_stream_duplex" | "_stream_passthrough" | "_stream_readable" | "_stream_transform" | "_stream_wrap" | "_stream_writable" | "string_decoder" | "string_decoder.StringDecoder" | "sqlite" | "sqlite.constants" | "sqlite.constants.SQLITE_CHANGESET_OMIT" | "sqlite.constants.SQLITE_CHANGESET_REPLACE" | "sqlite.constants.SQLITE_CHANGESET_ABORT" | "sqlite.backup" | "sqlite.DatabaseSync" | "sqlite.Session" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "test" | "test.after" | "test.afterEach" | "test.assert" | "test.assert.register" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.property" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "tls" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.CryptoStream" | "tls.DEFAULT_CIPHERS" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.getCACertificates" | "tls.getCiphers" | "tls.rootCertificates" | "tls.SecureContext" | "tls.SecurePair" | "tls.Server" | "tls.setDefaultCACertificates" | "tls.TLSSocket" | "_tls_common" | "_tls_wrap" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLPattern" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.diff" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.setTraceSigInt" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat16Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat16Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.isStringOneByteRepresentation" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "v8.startCpuProfile" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.threadName" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.getHeapStatistics" | "worker_threads.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isInternalThread" | "worker_threads.isMainThread" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.locks" | "worker_threads.locks.request" | "worker_threads.locks.query" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.constants" | "zlib.constants.ZSTD_e_continue" | "zlib.constants.ZSTD_e_flush" | "zlib.constants.ZSTD_e_end" | "zlib.constants.ZSTD_fast" | "zlib.constants.ZSTD_dfast" | "zlib.constants.ZSTD_greedy" | "zlib.constants.ZSTD_lazy" | "zlib.constants.ZSTD_lazy2" | "zlib.constants.ZSTD_btlazy2" | "zlib.constants.ZSTD_btopt" | "zlib.constants.ZSTD_btultra" | "zlib.constants.ZSTD_btultra2" | "zlib.constants.ZSTD_c_compressionLevel" | "zlib.constants.ZSTD_c_windowLog" | "zlib.constants.ZSTD_c_hashLog" | "zlib.constants.ZSTD_c_chainLog" | "zlib.constants.ZSTD_c_searchLog" | "zlib.constants.ZSTD_c_minMatch" | "zlib.constants.ZSTD_c_targetLength" | "zlib.constants.ZSTD_c_strategy" | "zlib.constants.ZSTD_c_enableLongDistanceMatching" | "zlib.constants.ZSTD_c_ldmHashLog" | "zlib.constants.ZSTD_c_ldmMinMatch" | "zlib.constants.ZSTD_c_ldmBucketSizeLog" | "zlib.constants.ZSTD_c_ldmHashRateLog" | "zlib.constants.ZSTD_c_contentSizeFlag" | "zlib.constants.ZSTD_c_checksumFlag" | "zlib.constants.ZSTD_c_dictIDFlag" | "zlib.constants.ZSTD_c_nbWorkers" | "zlib.constants.ZSTD_c_jobSize" | "zlib.constants.ZSTD_c_overlapLog" | "zlib.constants.ZSTD_d_windowLogMax" | "zlib.constants.ZSTD_CLEVEL_DEFAULT" | "zlib.constants.ZSTD_error_no_error" | "zlib.constants.ZSTD_error_GENERIC" | "zlib.constants.ZSTD_error_prefix_unknown" | "zlib.constants.ZSTD_error_version_unsupported" | "zlib.constants.ZSTD_error_frameParameter_unsupported" | "zlib.constants.ZSTD_error_frameParameter_windowTooLarge" | "zlib.constants.ZSTD_error_corruption_detected" | "zlib.constants.ZSTD_error_checksum_wrong" | "zlib.constants.ZSTD_error_literals_headerWrong" | "zlib.constants.ZSTD_error_dictionary_corrupted" | "zlib.constants.ZSTD_error_dictionary_wrong" | "zlib.constants.ZSTD_error_dictionaryCreation_failed" | "zlib.constants.ZSTD_error_parameter_unsupported" | "zlib.constants.ZSTD_error_parameter_combination_unsupported" | "zlib.constants.ZSTD_error_parameter_outOfBound" | "zlib.constants.ZSTD_error_tableLog_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooLarge" | "zlib.constants.ZSTD_error_maxSymbolValue_tooSmall" | "zlib.constants.ZSTD_error_stabilityCondition_notRespected" | "zlib.constants.ZSTD_error_stage_wrong" | "zlib.constants.ZSTD_error_init_missing" | "zlib.constants.ZSTD_error_memory_allocation" | "zlib.constants.ZSTD_error_workSpace_tooSmall" | "zlib.constants.ZSTD_error_dstSize_tooSmall" | "zlib.constants.ZSTD_error_srcSize_wrong" | "zlib.constants.ZSTD_error_dstBuffer_null" | "zlib.constants.ZSTD_error_noForwardProgress_destFull" | "zlib.constants.ZSTD_error_noForwardProgress_inputEmpty" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.createZstdCompress" | "zlib.createZstdDecompress" | "zlib.deflate" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.deflateSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.inflateSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.zstdCompress" | "zlib.zstdCompressSync" | "zlib.zstdDecompress" | "zlib.zstdDecompressSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib.ZstdCompress" | "zlib.ZstdDecompress" | "zlib.ZstdOptions" | "zlib" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename" | "import.meta.main")[];
14795
+ }]; // ----- n/prefer-global/buffer -----
14796
+ type NPreferGlobalBuffer = [] | [("always" | "never")]; // ----- n/prefer-global/console -----
14797
+ type NPreferGlobalConsole = [] | [("always" | "never")]; // ----- n/prefer-global/crypto -----
14798
+ type NPreferGlobalCrypto = [] | [("always" | "never")]; // ----- n/prefer-global/process -----
14799
+ type NPreferGlobalProcess = [] | [("always" | "never")]; // ----- n/prefer-global/text-decoder -----
14800
+ type NPreferGlobalTextDecoder = [] | [("always" | "never")]; // ----- n/prefer-global/text-encoder -----
14801
+ type NPreferGlobalTextEncoder = [] | [("always" | "never")]; // ----- n/prefer-global/timers -----
14802
+ type NPreferGlobalTimers = [] | [("always" | "never")]; // ----- n/prefer-global/url -----
14803
+ type NPreferGlobalUrl = [] | [("always" | "never")]; // ----- n/prefer-global/url-search-params -----
14804
+ type NPreferGlobalUrlSearchParams = [] | [("always" | "never")]; // ----- n/prefer-node-protocol -----
14805
+ type NPreferNodeProtocol = [] | [{
14806
+ version?: string;
14807
+ }]; // ----- n/shebang -----
14808
+ type NShebang = [] | [{
14809
+ convertPath?: ({
14810
+ [k: string]: [string, string];
14811
+ } | [{
14812
+ include: [string, ...(string)[]];
14813
+ exclude?: string[];
14814
+ replace: [string, string];
14815
+ }, ...({
14816
+ include: [string, ...(string)[]];
14817
+ exclude?: string[];
14818
+ replace: [string, string];
14819
+ })[]]);
14820
+ ignoreUnpublished?: boolean;
14821
+ additionalExecutables?: string[];
14822
+ executableMap?: {
14823
+ [k: string]: string;
14824
+ };
14825
+ }]; // ----- new-cap -----
13456
14826
  type NewCap = [] | [{
13457
14827
  newIsCap?: boolean;
13458
14828
  capIsNew?: boolean;
@@ -16883,7 +18253,256 @@ type SwitchColonSpacing = [] | [{
16883
18253
  }]; // ----- template-curly-spacing -----
16884
18254
  type TemplateCurlySpacing = [] | [("always" | "never")]; // ----- template-tag-spacing -----
16885
18255
  type TemplateTagSpacing = [] | [("always" | "never")]; // ----- unicode-bom -----
16886
- type UnicodeBom = [] | [("always" | "never")]; // ----- use-isnan -----
18256
+ type UnicodeBom = [] | [("always" | "never")]; // ----- unicorn/catch-error-name -----
18257
+ type UnicornCatchErrorName = [] | [{
18258
+ name?: string;
18259
+ ignore?: unknown[];
18260
+ }]; // ----- unicorn/consistent-compound-words -----
18261
+ type UnicornConsistentCompoundWords = [] | [{
18262
+ checkProperties?: boolean;
18263
+ checkVariables?: boolean;
18264
+ checkDefaultAndNamespaceImports?: (boolean | "internal");
18265
+ checkShorthandImports?: (boolean | "internal");
18266
+ checkShorthandProperties?: boolean;
18267
+ extendDefaultReplacements?: boolean;
18268
+ replacements?: _UnicornConsistentCompoundWords_Replacements;
18269
+ allowList?: _UnicornConsistentCompoundWords_TrueObject;
18270
+ }];
18271
+ interface _UnicornConsistentCompoundWords_Replacements {
18272
+ [k: string]: (false | string) | undefined;
18273
+ }
18274
+ interface _UnicornConsistentCompoundWords_TrueObject {
18275
+ [k: string]: true | undefined;
18276
+ } // ----- unicorn/consistent-function-scoping -----
18277
+ type UnicornConsistentFunctionScoping = [] | [{
18278
+ checkArrowFunctions?: boolean;
18279
+ }]; // ----- unicorn/consistent-json-file-read -----
18280
+ type UnicornConsistentJsonFileRead = [] | [("string" | "buffer")]; // ----- unicorn/dom-node-dataset -----
18281
+ type UnicornDomNodeDataset = [] | [{
18282
+ preferAttributes?: boolean;
18283
+ }]; // ----- unicorn/escape-case -----
18284
+ type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/expiring-todo-comments -----
18285
+ type UnicornExpiringTodoComments = [] | [{
18286
+ terms?: string[];
18287
+ ignore?: unknown[];
18288
+ checkDates?: boolean;
18289
+ checkDatesOnPullRequests?: boolean;
18290
+ allowWarningComments?: boolean;
18291
+ date?: string;
18292
+ }]; // ----- unicorn/explicit-length-check -----
18293
+ type UnicornExplicitLengthCheck = [] | [{
18294
+ "non-zero"?: ("greater-than" | "not-equal");
18295
+ }]; // ----- unicorn/filename-case -----
18296
+ type UnicornFilenameCase = [] | [({
18297
+ case?: ("camelCase" | "snakeCase" | "kebabCase" | "pascalCase");
18298
+ ignore?: unknown[];
18299
+ multipleFileExtensions?: boolean;
18300
+ checkDirectories?: boolean;
18301
+ } | {
18302
+ cases?: {
18303
+ camelCase?: boolean;
18304
+ snakeCase?: boolean;
18305
+ kebabCase?: boolean;
18306
+ pascalCase?: boolean;
18307
+ };
18308
+ ignore?: unknown[];
18309
+ multipleFileExtensions?: boolean;
18310
+ checkDirectories?: boolean;
18311
+ })]; // ----- unicorn/import-style -----
18312
+ type UnicornImportStyle = [] | [{
18313
+ checkImport?: boolean;
18314
+ checkDynamicImport?: boolean;
18315
+ checkExportFrom?: boolean;
18316
+ checkRequire?: boolean;
18317
+ extendDefaultStyles?: boolean;
18318
+ styles?: _UnicornImportStyle_ModuleStyles;
18319
+ }];
18320
+ type _UnicornImportStyleStyles = (false | _UnicornImportStyle_BooleanObject) | undefined;
18321
+ interface _UnicornImportStyle_ModuleStyles {
18322
+ [k: string]: _UnicornImportStyleStyles | undefined;
18323
+ }
18324
+ interface _UnicornImportStyle_BooleanObject {
18325
+ [k: string]: boolean | undefined;
18326
+ } // ----- unicorn/isolated-functions -----
18327
+ type UnicornIsolatedFunctions = [] | [{
18328
+ overrideGlobals?: {
18329
+ [k: string]: (boolean | ("readonly" | "writable" | "writeable" | "off")) | undefined;
18330
+ };
18331
+ functions?: string[];
18332
+ selectors?: string[];
18333
+ comments?: string[];
18334
+ }]; // ----- unicorn/no-array-callback-reference -----
18335
+ type UnicornNoArrayCallbackReference = [] | [{
18336
+ ignore?: string[];
18337
+ }]; // ----- unicorn/no-array-reduce -----
18338
+ type UnicornNoArrayReduce = [] | [{
18339
+ allowSimpleOperations?: boolean;
18340
+ }]; // ----- unicorn/no-array-reverse -----
18341
+ type UnicornNoArrayReverse = [] | [{
18342
+ allowExpressionStatement?: boolean;
18343
+ }]; // ----- unicorn/no-array-sort -----
18344
+ type UnicornNoArraySort = [] | [{
18345
+ allowExpressionStatement?: boolean;
18346
+ }]; // ----- unicorn/no-empty-file -----
18347
+ type UnicornNoEmptyFile = [] | [{
18348
+ allowComments?: boolean;
18349
+ }]; // ----- unicorn/no-instanceof-builtins -----
18350
+ type UnicornNoInstanceofBuiltins = [] | [{
18351
+ useErrorIsError?: boolean;
18352
+ strategy?: ("loose" | "strict");
18353
+ include?: string[];
18354
+ exclude?: string[];
18355
+ }]; // ----- unicorn/no-keyword-prefix -----
18356
+ type UnicornNoKeywordPrefix = [] | [{
18357
+ disallowedPrefixes?: [] | [string];
18358
+ checkProperties?: boolean;
18359
+ onlyCamelCase?: boolean;
18360
+ }]; // ----- unicorn/no-null -----
18361
+ type UnicornNoNull = [] | [{
18362
+ checkArguments?: boolean;
18363
+ checkStrictEquality?: boolean;
18364
+ }]; // ----- unicorn/no-typeof-undefined -----
18365
+ type UnicornNoTypeofUndefined = [] | [{
18366
+ checkGlobalVariables?: boolean;
18367
+ }]; // ----- unicorn/no-unnecessary-polyfills -----
18368
+ type UnicornNoUnnecessaryPolyfills = [] | [{
18369
+ targets?: (string | unknown[] | {
18370
+ [k: string]: unknown | undefined;
18371
+ });
18372
+ }]; // ----- unicorn/no-useless-undefined -----
18373
+ type UnicornNoUselessUndefined = [] | [{
18374
+ checkArguments?: boolean;
18375
+ checkArrowFunctionBody?: boolean;
18376
+ }]; // ----- unicorn/number-literal-case -----
18377
+ type UnicornNumberLiteralCase = [] | [{
18378
+ hexadecimalValue?: ("uppercase" | "lowercase");
18379
+ }]; // ----- unicorn/numeric-separators-style -----
18380
+ type UnicornNumericSeparatorsStyle = [] | [{
18381
+ binary?: {
18382
+ onlyIfContainsSeparator?: boolean;
18383
+ minimumDigits?: number;
18384
+ groupLength?: number;
18385
+ };
18386
+ octal?: {
18387
+ onlyIfContainsSeparator?: boolean;
18388
+ minimumDigits?: number;
18389
+ groupLength?: number;
18390
+ };
18391
+ hexadecimal?: {
18392
+ onlyIfContainsSeparator?: boolean;
18393
+ minimumDigits?: number;
18394
+ groupLength?: number;
18395
+ };
18396
+ number?: {
18397
+ onlyIfContainsSeparator?: boolean;
18398
+ minimumDigits?: number;
18399
+ groupLength?: number;
18400
+ fractionGroupLength?: number;
18401
+ };
18402
+ onlyIfContainsSeparator?: boolean;
18403
+ }]; // ----- unicorn/prefer-add-event-listener -----
18404
+ type UnicornPreferAddEventListener = [] | [{
18405
+ excludedPackages?: string[];
18406
+ }]; // ----- unicorn/prefer-array-find -----
18407
+ type UnicornPreferArrayFind = [] | [{
18408
+ checkFromLast?: boolean;
18409
+ }]; // ----- unicorn/prefer-array-flat -----
18410
+ type UnicornPreferArrayFlat = [] | [{
18411
+ functions?: unknown[];
18412
+ }]; // ----- unicorn/prefer-at -----
18413
+ type UnicornPreferAt = [] | [{
18414
+ getLastElementFunctions?: unknown[];
18415
+ checkAllIndexAccess?: boolean;
18416
+ }]; // ----- unicorn/prefer-export-from -----
18417
+ type UnicornPreferExportFrom = [] | [{
18418
+ checkUsedVariables?: boolean;
18419
+ }]; // ----- unicorn/prefer-includes-over-repeated-comparisons -----
18420
+ type UnicornPreferIncludesOverRepeatedComparisons = [] | [{
18421
+ minimumComparisons?: number;
18422
+ }]; // ----- unicorn/prefer-number-properties -----
18423
+ type UnicornPreferNumberProperties = [] | [{
18424
+ checkInfinity?: boolean;
18425
+ checkNaN?: boolean;
18426
+ }]; // ----- unicorn/prefer-object-from-entries -----
18427
+ type UnicornPreferObjectFromEntries = [] | [{
18428
+ functions?: unknown[];
18429
+ }]; // ----- unicorn/prefer-query-selector -----
18430
+ type UnicornPreferQuerySelector = [] | [{
18431
+ allowWithVariables?: boolean;
18432
+ }]; // ----- unicorn/prefer-queue-microtask -----
18433
+ type UnicornPreferQueueMicrotask = [] | [{
18434
+ checkSetImmediate?: boolean;
18435
+ checkSetTimeout?: boolean;
18436
+ }]; // ----- unicorn/prefer-set-has -----
18437
+ type UnicornPreferSetHas = [] | [{
18438
+ minimumItems?: number;
18439
+ }]; // ----- unicorn/prefer-single-call -----
18440
+ type UnicornPreferSingleCall = [] | [{
18441
+ ignore?: unknown[];
18442
+ }]; // ----- unicorn/prefer-string-repeat -----
18443
+ type UnicornPreferStringRepeat = [] | [{
18444
+ minimumRepetitions?: number;
18445
+ }]; // ----- unicorn/prefer-structured-clone -----
18446
+ type UnicornPreferStructuredClone = [] | [{
18447
+ functions?: unknown[];
18448
+ }]; // ----- unicorn/prefer-switch -----
18449
+ type UnicornPreferSwitch = [] | [{
18450
+ minimumCases?: number;
18451
+ emptyDefaultCase?: ("no-default-comment" | "do-nothing-comment" | "no-default-case");
18452
+ }]; // ----- unicorn/prefer-ternary -----
18453
+ type UnicornPreferTernary = [] | [("always" | "only-single-line")]; // ----- unicorn/prevent-abbreviations -----
18454
+ type UnicornPreventAbbreviations = [] | [{
18455
+ checkProperties?: boolean;
18456
+ checkVariables?: boolean;
18457
+ checkDefaultAndNamespaceImports?: (boolean | string);
18458
+ checkShorthandImports?: (boolean | string);
18459
+ checkShorthandProperties?: boolean;
18460
+ checkFilenames?: boolean;
18461
+ extendDefaultReplacements?: boolean;
18462
+ replacements?: _UnicornPreventAbbreviations_Abbreviations;
18463
+ extendDefaultAllowList?: boolean;
18464
+ allowList?: _UnicornPreventAbbreviations_BooleanObject;
18465
+ ignore?: unknown[];
18466
+ }];
18467
+ type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbreviations_BooleanObject) | undefined;
18468
+ interface _UnicornPreventAbbreviations_Abbreviations {
18469
+ [k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
18470
+ }
18471
+ interface _UnicornPreventAbbreviations_BooleanObject {
18472
+ [k: string]: boolean | undefined;
18473
+ }
18474
+ interface _UnicornPreventAbbreviations_BooleanObject {
18475
+ [k: string]: boolean | undefined;
18476
+ } // ----- unicorn/relative-url-style -----
18477
+ type UnicornRelativeUrlStyle = [] | [("never" | "always")]; // ----- unicorn/require-css-escape -----
18478
+ type UnicornRequireCssEscape = [] | [{
18479
+ checkAllSelectors?: boolean;
18480
+ }]; // ----- unicorn/string-content -----
18481
+ type UnicornStringContent = [] | [{
18482
+ patterns?: {
18483
+ [k: string]: (string | {
18484
+ suggest: string;
18485
+ fix?: boolean;
18486
+ caseSensitive?: boolean;
18487
+ message?: string;
18488
+ }) | undefined;
18489
+ };
18490
+ selectors?: string[];
18491
+ }]; // ----- unicorn/switch-case-braces -----
18492
+ type UnicornSwitchCaseBraces = [] | [("always" | "avoid")]; // ----- unicorn/template-indent -----
18493
+ type UnicornTemplateIndent = [] | [{
18494
+ indent?: (string | number);
18495
+ tags?: string[];
18496
+ functions?: string[];
18497
+ selectors?: string[];
18498
+ comments?: string[];
18499
+ }]; // ----- unicorn/text-encoding-identifier-case -----
18500
+ type UnicornTextEncodingIdentifierCase = [] | [{
18501
+ withDash?: boolean;
18502
+ }]; // ----- unicorn/try-complexity -----
18503
+ type UnicornTryComplexity = [] | [{
18504
+ max?: number;
18505
+ }]; // ----- use-isnan -----
16887
18506
  type UseIsnan = [] | [{
16888
18507
  enforceForSwitchCase?: boolean;
16889
18508
  enforceForIndexOf?: boolean;