@jsse/eslint-config 0.9.1 → 0.9.3

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.
@@ -1,9 +1,98 @@
1
- import { ParserOptions } from "@typescript-eslint/parser";
2
1
  import { Linter } from "eslint";
3
- import { FlatGitignoreOptions } from "eslint-config-flat-gitignore";
4
2
 
5
- //#region src/_generated/dts/builtins.d.ts
6
- interface BuiltinsRuleOptions {
3
+ //#region src/_generated/dts/antfu.d.ts
4
+ interface AntfuRules {
5
+ /**
6
+ * Enforce consistent line breaks for chaining member access
7
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
8
+ */
9
+ "antfu/consistent-chaining"?: Linter.RuleEntry<AntfuConsistentChaining>;
10
+ /**
11
+ * Enforce consistent line breaks inside braces and parentheses
12
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
13
+ */
14
+ "antfu/consistent-list-newline"?: Linter.RuleEntry<AntfuConsistentListNewline>;
15
+ /**
16
+ * Enforce Anthony's style of curly bracket
17
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
18
+ */
19
+ "antfu/curly"?: Linter.RuleEntry<[]>;
20
+ /**
21
+ * Newline after if
22
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
23
+ */
24
+ "antfu/if-newline"?: Linter.RuleEntry<[]>;
25
+ /**
26
+ * Fix duplication in imports
27
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
28
+ */
29
+ "antfu/import-dedupe"?: Linter.RuleEntry<[]>;
30
+ /**
31
+ * Enforce consistent indentation in `unindent` template tag
32
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
33
+ */
34
+ "antfu/indent-unindent"?: Linter.RuleEntry<AntfuIndentUnindent>;
35
+ /**
36
+ * Prevent importing modules in `dist` folder
37
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.md
38
+ */
39
+ "antfu/no-import-dist"?: Linter.RuleEntry<[]>;
40
+ /**
41
+ * Prevent importing modules in `node_modules` folder by relative or absolute path
42
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.md
43
+ */
44
+ "antfu/no-import-node-modules-by-path"?: Linter.RuleEntry<[]>;
45
+ /**
46
+ * Prevent using top-level await
47
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.md
48
+ */
49
+ "antfu/no-top-level-await"?: Linter.RuleEntry<[]>;
50
+ /**
51
+ * Do not use `exports =`
52
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.md
53
+ */
54
+ "antfu/no-ts-export-equal"?: Linter.RuleEntry<[]>;
55
+ /**
56
+ * Enforce top-level functions to be declared with function keyword
57
+ * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/top-level-function.md
58
+ */
59
+ "antfu/top-level-function"?: Linter.RuleEntry<[]>;
60
+ }
61
+ /* ======= Declarations ======= */
62
+ // ----- antfu/consistent-chaining -----
63
+ type AntfuConsistentChaining = [] | [{
64
+ allowLeadingPropertyAccess?: boolean;
65
+ }]; // ----- antfu/consistent-list-newline -----
66
+ type AntfuConsistentListNewline = [] | [{
67
+ ArrayExpression?: boolean;
68
+ ArrayPattern?: boolean;
69
+ ArrowFunctionExpression?: boolean;
70
+ CallExpression?: boolean;
71
+ ExportNamedDeclaration?: boolean;
72
+ FunctionDeclaration?: boolean;
73
+ FunctionExpression?: boolean;
74
+ IfStatement?: boolean;
75
+ ImportDeclaration?: boolean;
76
+ JSONArrayExpression?: boolean;
77
+ JSONObjectExpression?: boolean;
78
+ JSXOpeningElement?: boolean;
79
+ NewExpression?: boolean;
80
+ ObjectExpression?: boolean;
81
+ ObjectPattern?: boolean;
82
+ TSFunctionType?: boolean;
83
+ TSInterfaceDeclaration?: boolean;
84
+ TSTupleType?: boolean;
85
+ TSTypeLiteral?: boolean;
86
+ TSTypeParameterDeclaration?: boolean;
87
+ TSTypeParameterInstantiation?: boolean;
88
+ }]; // ----- antfu/indent-unindent -----
89
+ type AntfuIndentUnindent = [] | [{
90
+ indent?: number;
91
+ tags?: string[];
92
+ }];
93
+ //#endregion
94
+ //#region src/_generated/dts/builtin.d.ts
95
+ interface BuiltinRules {
7
96
  /**
8
97
  * Enforce getter and setter pairs in objects and classes
9
98
  * @see https://eslint.org/docs/latest/rules/accessor-pairs
@@ -2867,99 +2956,8 @@ type Yoda = [] | ["always" | "never"] | ["always" | "never", {
2867
2956
  onlyEquality?: boolean;
2868
2957
  }];
2869
2958
  //#endregion
2870
- //#region src/_generated/dts/antfu.d.ts
2871
- interface AntfuRuleOptions {
2872
- /**
2873
- * Enforce consistent line breaks for chaining member access
2874
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-chaining.md
2875
- */
2876
- "antfu/consistent-chaining"?: Linter.RuleEntry<AntfuConsistentChaining>;
2877
- /**
2878
- * Enforce consistent line breaks inside braces and parentheses
2879
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
2880
- */
2881
- "antfu/consistent-list-newline"?: Linter.RuleEntry<AntfuConsistentListNewline>;
2882
- /**
2883
- * Enforce Anthony's style of curly bracket
2884
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.md
2885
- */
2886
- "antfu/curly"?: Linter.RuleEntry<[]>;
2887
- /**
2888
- * Newline after if
2889
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
2890
- */
2891
- "antfu/if-newline"?: Linter.RuleEntry<[]>;
2892
- /**
2893
- * Fix duplication in imports
2894
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
2895
- */
2896
- "antfu/import-dedupe"?: Linter.RuleEntry<[]>;
2897
- /**
2898
- * Enforce consistent indentation in `unindent` template tag
2899
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.md
2900
- */
2901
- "antfu/indent-unindent"?: Linter.RuleEntry<AntfuIndentUnindent>;
2902
- /**
2903
- * Prevent importing modules in `dist` folder
2904
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.md
2905
- */
2906
- "antfu/no-import-dist"?: Linter.RuleEntry<[]>;
2907
- /**
2908
- * Prevent importing modules in `node_modules` folder by relative or absolute path
2909
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-node-modules-by-path.md
2910
- */
2911
- "antfu/no-import-node-modules-by-path"?: Linter.RuleEntry<[]>;
2912
- /**
2913
- * Prevent using top-level await
2914
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-top-level-await.md
2915
- */
2916
- "antfu/no-top-level-await"?: Linter.RuleEntry<[]>;
2917
- /**
2918
- * Do not use `exports =`
2919
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-ts-export-equal.md
2920
- */
2921
- "antfu/no-ts-export-equal"?: Linter.RuleEntry<[]>;
2922
- /**
2923
- * Enforce top-level functions to be declared with function keyword
2924
- * @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/top-level-function.md
2925
- */
2926
- "antfu/top-level-function"?: Linter.RuleEntry<[]>;
2927
- }
2928
- /* ======= Declarations ======= */
2929
- // ----- antfu/consistent-chaining -----
2930
- type AntfuConsistentChaining = [] | [{
2931
- allowLeadingPropertyAccess?: boolean;
2932
- }]; // ----- antfu/consistent-list-newline -----
2933
- type AntfuConsistentListNewline = [] | [{
2934
- ArrayExpression?: boolean;
2935
- ArrayPattern?: boolean;
2936
- ArrowFunctionExpression?: boolean;
2937
- CallExpression?: boolean;
2938
- ExportNamedDeclaration?: boolean;
2939
- FunctionDeclaration?: boolean;
2940
- FunctionExpression?: boolean;
2941
- IfStatement?: boolean;
2942
- ImportDeclaration?: boolean;
2943
- JSONArrayExpression?: boolean;
2944
- JSONObjectExpression?: boolean;
2945
- JSXOpeningElement?: boolean;
2946
- NewExpression?: boolean;
2947
- ObjectExpression?: boolean;
2948
- ObjectPattern?: boolean;
2949
- TSFunctionType?: boolean;
2950
- TSInterfaceDeclaration?: boolean;
2951
- TSTupleType?: boolean;
2952
- TSTypeLiteral?: boolean;
2953
- TSTypeParameterDeclaration?: boolean;
2954
- TSTypeParameterInstantiation?: boolean;
2955
- }]; // ----- antfu/indent-unindent -----
2956
- type AntfuIndentUnindent = [] | [{
2957
- indent?: number;
2958
- tags?: string[];
2959
- }];
2960
- //#endregion
2961
2959
  //#region src/_generated/dts/command.d.ts
2962
- interface CommandRuleOptions {
2960
+ interface CommandRules {
2963
2961
  /**
2964
2962
  * Comment-as-command for one-off codemod with ESLint
2965
2963
  * @see https://github.com/antfu/eslint-plugin-command
@@ -2968,7 +2966,7 @@ interface CommandRuleOptions {
2968
2966
  }
2969
2967
  //#endregion
2970
2968
  //#region src/_generated/dts/de-morgan.d.ts
2971
- interface DeMorganRuleOptions {
2969
+ interface DeMorganRules {
2972
2970
  /**
2973
2971
  * Transforms the negation of a conjunction !(A && B) into the equivalent !A || !B according to De Morgan’s law
2974
2972
  * @see https://github.com/azat-io/eslint-plugin-de-morgan/blob/main/docs/no-negated-conjunction.md
@@ -2982,7 +2980,7 @@ interface DeMorganRuleOptions {
2982
2980
  }
2983
2981
  //#endregion
2984
2982
  //#region src/_generated/dts/e18e.d.ts
2985
- interface E18eRuleOptions {
2983
+ interface E18eRules {
2986
2984
  /**
2987
2985
  * Disallow dependencies in favor of more performant or secure alternatives
2988
2986
  */
@@ -3101,7 +3099,7 @@ type E18EBanDependencies = [] | [{
3101
3099
  }];
3102
3100
  //#endregion
3103
3101
  //#region src/_generated/dts/eslint-comments.d.ts
3104
- interface EslintCommentsRuleOptions {
3102
+ interface EslintCommentsRules {
3105
3103
  /**
3106
3104
  * require a `eslint-enable` comment for every `eslint-disable` comment
3107
3105
  * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
@@ -3163,7 +3161,7 @@ type EslintCommentsRequireDescription = [] | [{
3163
3161
  }];
3164
3162
  //#endregion
3165
3163
  //#region src/_generated/dts/eslint-react.d.ts
3166
- interface EslintReactRuleOptions {
3164
+ interface EslintReactRules {
3167
3165
  /**
3168
3166
  * Disallows DOM elements from using 'dangerouslySetInnerHTML'.
3169
3167
  * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
@@ -3864,152 +3862,6 @@ interface EslintReactRuleOptions {
3864
3862
  * @see https://eslint-react.xyz/docs/rules/use-state
3865
3863
  */
3866
3864
  "@eslint-react/x-use-state"?: Linter.RuleEntry<EslintReactXUseState>;
3867
- /**
3868
- * Validates against calling capitalized functions/methods instead of using JSX
3869
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/capitalized-calls
3870
- */
3871
- "react-hooks/capitalized-calls"?: Linter.RuleEntry<ReactHooksCapitalizedCalls$1>;
3872
- /**
3873
- * Deprecated: this rule has been removed in 7.1.0.
3874
- * @deprecated
3875
- */
3876
- "react-hooks/component-hook-factories"?: Linter.RuleEntry<[]>;
3877
- /**
3878
- * Validates the compiler configuration options
3879
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/config
3880
- */
3881
- "react-hooks/config"?: Linter.RuleEntry<ReactHooksConfig$1>;
3882
- /**
3883
- * Validates usage of error boundaries instead of try/catch for errors in child components
3884
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/error-boundaries
3885
- */
3886
- "react-hooks/error-boundaries"?: Linter.RuleEntry<ReactHooksErrorBoundaries$1>;
3887
- /**
3888
- * verifies the list of dependencies for Hooks like useEffect and similar
3889
- * @see https://github.com/facebook/react/issues/14920
3890
- */
3891
- "react-hooks/exhaustive-deps"?: Linter.RuleEntry<ReactHooksExhaustiveDeps$1>;
3892
- /**
3893
- * Validates that effect dependencies are exhaustive and without extraneous values
3894
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/exhaustive-effect-dependencies
3895
- */
3896
- "react-hooks/exhaustive-effect-dependencies"?: Linter.RuleEntry<ReactHooksExhaustiveEffectDependencies$1>;
3897
- /**
3898
- * Validates usage of fbt
3899
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/fbt
3900
- */
3901
- "react-hooks/fbt"?: Linter.RuleEntry<ReactHooksFbt$1>;
3902
- /**
3903
- * Validates configuration of [gating mode](https://react.dev/reference/react-compiler/gating)
3904
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/gating
3905
- */
3906
- "react-hooks/gating"?: Linter.RuleEntry<ReactHooksGating$1>;
3907
- /**
3908
- * Validates against assignment/mutation of globals during render, part of ensuring that [side effects must render outside of render](https://react.dev/reference/rules/components-and-hooks-must-be-pure#side-effects-must-run-outside-of-render)
3909
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/globals
3910
- */
3911
- "react-hooks/globals"?: Linter.RuleEntry<ReactHooksGlobals$1>;
3912
- /**
3913
- * Validates the rules of hooks
3914
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/hooks
3915
- */
3916
- "react-hooks/hooks"?: Linter.RuleEntry<ReactHooksHooks$1>;
3917
- /**
3918
- * Validates against mutating props, state, and other values that [are immutable](https://react.dev/reference/rules/components-and-hooks-must-be-pure#props-and-state-are-immutable)
3919
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/immutability
3920
- */
3921
- "react-hooks/immutability"?: Linter.RuleEntry<ReactHooksImmutability$1>;
3922
- /**
3923
- * Validates against usage of libraries which are incompatible with memoization (manual or automatic)
3924
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/incompatible-library
3925
- */
3926
- "react-hooks/incompatible-library"?: Linter.RuleEntry<ReactHooksIncompatibleLibrary$1>;
3927
- /**
3928
- * Internal invariants
3929
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/invariant
3930
- */
3931
- "react-hooks/invariant"?: Linter.RuleEntry<ReactHooksInvariant$1>;
3932
- /**
3933
- * Validates that useMemo() and useCallback() specify comprehensive dependencies without extraneous values. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
3934
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memo-dependencies
3935
- */
3936
- "react-hooks/memo-dependencies"?: Linter.RuleEntry<ReactHooksMemoDependencies$1>;
3937
- /**
3938
- * Validates that effect dependencies are memoized
3939
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/memoized-effect-dependencies
3940
- */
3941
- "react-hooks/memoized-effect-dependencies"?: Linter.RuleEntry<ReactHooksMemoizedEffectDependencies$1>;
3942
- /**
3943
- * Validates against deriving values from state in an effect
3944
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/no-deriving-state-in-effects
3945
- */
3946
- "react-hooks/no-deriving-state-in-effects"?: Linter.RuleEntry<ReactHooksNoDerivingStateInEffects$1>;
3947
- /**
3948
- * Validates that existing manual memoized is preserved by the compiler. React Compiler will only compile components and hooks if its inference [matches or exceeds the existing manual memoization](https://react.dev/learn/react-compiler/introduction#what-should-i-do-about-usememo-usecallback-and-reactmemo)
3949
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization
3950
- */
3951
- "react-hooks/preserve-manual-memoization"?: Linter.RuleEntry<ReactHooksPreserveManualMemoization$1>;
3952
- /**
3953
- * Validates that [components/hooks are pure](https://react.dev/reference/rules/components-and-hooks-must-be-pure) by checking that they do not call known-impure functions
3954
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/purity
3955
- */
3956
- "react-hooks/purity"?: Linter.RuleEntry<ReactHooksPurity$1>;
3957
- /**
3958
- * Validates correct usage of refs, not reading/writing during render. See the "pitfalls" section in [`useRef()` usage](https://react.dev/reference/react/useRef#usage)
3959
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/refs
3960
- */
3961
- "react-hooks/refs"?: Linter.RuleEntry<ReactHooksRefs$1>;
3962
- /**
3963
- * Validates against suppression of other rules
3964
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/rule-suppression
3965
- */
3966
- "react-hooks/rule-suppression"?: Linter.RuleEntry<ReactHooksRuleSuppression$1>;
3967
- /**
3968
- * enforces the Rules of Hooks
3969
- * @see https://react.dev/reference/rules/rules-of-hooks
3970
- */
3971
- "react-hooks/rules-of-hooks"?: Linter.RuleEntry<ReactHooksRulesOfHooks$1>;
3972
- /**
3973
- * Validates against calling setState synchronously in an effect. This can indicate non-local derived data, a derived event pattern, or improper external data synchronization.
3974
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-effect
3975
- */
3976
- "react-hooks/set-state-in-effect"?: Linter.RuleEntry<ReactHooksSetStateInEffect$1>;
3977
- /**
3978
- * Validates against setting state during render, which can trigger additional renders and potential infinite render loops
3979
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/set-state-in-render
3980
- */
3981
- "react-hooks/set-state-in-render"?: Linter.RuleEntry<ReactHooksSetStateInRender$1>;
3982
- /**
3983
- * Validates that components are static, not recreated every render. Components that are recreated dynamically can reset state and trigger excessive re-rendering
3984
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/static-components
3985
- */
3986
- "react-hooks/static-components"?: Linter.RuleEntry<ReactHooksStaticComponents$1>;
3987
- /**
3988
- * Validates against invalid syntax
3989
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/syntax
3990
- */
3991
- "react-hooks/syntax"?: Linter.RuleEntry<ReactHooksSyntax$1>;
3992
- /**
3993
- * Unimplemented features
3994
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/todo
3995
- */
3996
- "react-hooks/todo"?: Linter.RuleEntry<ReactHooksTodo$1>;
3997
- /**
3998
- * Validates against syntax that we do not plan to support in React Compiler
3999
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/unsupported-syntax
4000
- */
4001
- "react-hooks/unsupported-syntax"?: Linter.RuleEntry<ReactHooksUnsupportedSyntax$1>;
4002
- /**
4003
- * Validates usage of the useMemo() hook against common mistakes. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
4004
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/use-memo
4005
- */
4006
- "react-hooks/use-memo"?: Linter.RuleEntry<ReactHooksUseMemo$1>;
4007
- /**
4008
- * Validates that useMemos always return a value and that the result of the useMemo is used by the component/hook. See [`useMemo()` docs](https://react.dev/reference/react/useMemo) for more information.
4009
- * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/void-use-memo
4010
- */
4011
- "react-hooks/void-use-memo"?: Linter.RuleEntry<ReactHooksVoidUseMemo$1>;
4012
- "react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
4013
3865
  }
4014
3866
  /* ======= Declarations ======= */
4015
3867
  // ----- @eslint-react/dom-no-unknown-property -----
@@ -4054,106 +3906,13 @@ type EslintReactXUseState = [] | [{
4054
3906
  enforceAssignment?: boolean;
4055
3907
  enforceLazyInitialization?: boolean;
4056
3908
  enforceSetterName?: boolean;
4057
- }]; // ----- react-hooks/capitalized-calls -----
4058
- type ReactHooksCapitalizedCalls$1 = [] | [{
4059
- [k: string]: unknown | undefined;
4060
- }]; // ----- react-hooks/config -----
4061
- type ReactHooksConfig$1 = [] | [{
4062
- [k: string]: unknown | undefined;
4063
- }]; // ----- react-hooks/error-boundaries -----
4064
- type ReactHooksErrorBoundaries$1 = [] | [{
4065
- [k: string]: unknown | undefined;
4066
- }]; // ----- react-hooks/exhaustive-deps -----
4067
- type ReactHooksExhaustiveDeps$1 = [] | [{
4068
- additionalHooks?: string;
4069
- enableDangerousAutofixThisMayCauseInfiniteLoops?: boolean;
4070
- experimental_autoDependenciesHooks?: string[];
4071
- requireExplicitEffectDeps?: boolean;
4072
- }]; // ----- react-hooks/exhaustive-effect-dependencies -----
4073
- type ReactHooksExhaustiveEffectDependencies$1 = [] | [{
4074
- [k: string]: unknown | undefined;
4075
- }]; // ----- react-hooks/fbt -----
4076
- type ReactHooksFbt$1 = [] | [{
4077
- [k: string]: unknown | undefined;
4078
- }]; // ----- react-hooks/gating -----
4079
- type ReactHooksGating$1 = [] | [{
4080
- [k: string]: unknown | undefined;
4081
- }]; // ----- react-hooks/globals -----
4082
- type ReactHooksGlobals$1 = [] | [{
4083
- [k: string]: unknown | undefined;
4084
- }]; // ----- react-hooks/hooks -----
4085
- type ReactHooksHooks$1 = [] | [{
4086
- [k: string]: unknown | undefined;
4087
- }]; // ----- react-hooks/immutability -----
4088
- type ReactHooksImmutability$1 = [] | [{
4089
- [k: string]: unknown | undefined;
4090
- }]; // ----- react-hooks/incompatible-library -----
4091
- type ReactHooksIncompatibleLibrary$1 = [] | [{
4092
- [k: string]: unknown | undefined;
4093
- }]; // ----- react-hooks/invariant -----
4094
- type ReactHooksInvariant$1 = [] | [{
4095
- [k: string]: unknown | undefined;
4096
- }]; // ----- react-hooks/memo-dependencies -----
4097
- type ReactHooksMemoDependencies$1 = [] | [{
4098
- [k: string]: unknown | undefined;
4099
- }]; // ----- react-hooks/memoized-effect-dependencies -----
4100
- type ReactHooksMemoizedEffectDependencies$1 = [] | [{
4101
- [k: string]: unknown | undefined;
4102
- }]; // ----- react-hooks/no-deriving-state-in-effects -----
4103
- type ReactHooksNoDerivingStateInEffects$1 = [] | [{
4104
- [k: string]: unknown | undefined;
4105
- }]; // ----- react-hooks/preserve-manual-memoization -----
4106
- type ReactHooksPreserveManualMemoization$1 = [] | [{
4107
- [k: string]: unknown | undefined;
4108
- }]; // ----- react-hooks/purity -----
4109
- type ReactHooksPurity$1 = [] | [{
4110
- [k: string]: unknown | undefined;
4111
- }]; // ----- react-hooks/refs -----
4112
- type ReactHooksRefs$1 = [] | [{
4113
- [k: string]: unknown | undefined;
4114
- }]; // ----- react-hooks/rule-suppression -----
4115
- type ReactHooksRuleSuppression$1 = [] | [{
4116
- [k: string]: unknown | undefined;
4117
- }]; // ----- react-hooks/rules-of-hooks -----
4118
- type ReactHooksRulesOfHooks$1 = [] | [{
4119
- additionalHooks?: string;
4120
- }]; // ----- react-hooks/set-state-in-effect -----
4121
- type ReactHooksSetStateInEffect$1 = [] | [{
4122
- [k: string]: unknown | undefined;
4123
- }]; // ----- react-hooks/set-state-in-render -----
4124
- type ReactHooksSetStateInRender$1 = [] | [{
4125
- [k: string]: unknown | undefined;
4126
- }]; // ----- react-hooks/static-components -----
4127
- type ReactHooksStaticComponents$1 = [] | [{
4128
- [k: string]: unknown | undefined;
4129
- }]; // ----- react-hooks/syntax -----
4130
- type ReactHooksSyntax$1 = [] | [{
4131
- [k: string]: unknown | undefined;
4132
- }]; // ----- react-hooks/todo -----
4133
- type ReactHooksTodo$1 = [] | [{
4134
- [k: string]: unknown | undefined;
4135
- }]; // ----- react-hooks/unsupported-syntax -----
4136
- type ReactHooksUnsupportedSyntax$1 = [] | [{
4137
- [k: string]: unknown | undefined;
4138
- }]; // ----- react-hooks/use-memo -----
4139
- type ReactHooksUseMemo$1 = [] | [{
4140
- [k: string]: unknown | undefined;
4141
- }]; // ----- react-hooks/void-use-memo -----
4142
- type ReactHooksVoidUseMemo$1 = [] | [{
4143
- [k: string]: unknown | undefined;
4144
- }]; // ----- react-refresh/only-export-components -----
4145
- type ReactRefreshOnlyExportComponents = [] | [{
4146
- extraHOCs?: string[];
4147
- allowExportNames?: string[];
4148
- allowConstantExport?: boolean;
4149
- checkJS?: boolean;
4150
3909
  }];
4151
3910
  //#endregion
4152
3911
  //#region src/_generated/dts/ignores.d.ts
4153
- interface IgnoresRuleOptions {}
3912
+ interface IgnoresRules {}
4154
3913
  //#endregion
4155
3914
  //#region src/_generated/dts/imports.d.ts
4156
- interface ImportsRuleOptions {
3915
+ interface ImportsRules {
4157
3916
  /**
4158
3917
  * Enforce or ban the use of inline type-only markers for named imports.
4159
3918
  * @see https://github.com/9romise/eslint-plugin-import-lite/blob/main/src/rules/consistent-type-specifier-style/README.md
@@ -4217,55 +3976,10 @@ type ImportPreferDefaultExport$1 = [] | [{
4217
3976
  }];
4218
3977
  //#endregion
4219
3978
  //#region src/_generated/dts/javascript.d.ts
4220
- interface JavascriptRuleOptions$1 {
4221
- /**
4222
- * Disallow unused variables
4223
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
4224
- */
4225
- "unused-imports/no-unused-imports"?: Linter.RuleEntry<UnusedImportsNoUnusedImports>;
4226
- /**
4227
- * Disallow unused variables
4228
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
4229
- */
4230
- "unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
4231
- }
4232
- /* ======= Declarations ======= */
4233
- // ----- unused-imports/no-unused-imports -----
4234
- type UnusedImportsNoUnusedImports = [] | [("all" | "local") | {
4235
- args?: "all" | "after-used" | "none";
4236
- argsIgnorePattern?: string;
4237
- caughtErrors?: "all" | "none";
4238
- caughtErrorsIgnorePattern?: string;
4239
- destructuredArrayIgnorePattern?: string;
4240
- enableAutofixRemoval?: {
4241
- imports?: boolean;
4242
- };
4243
- ignoreClassWithStaticInitBlock?: boolean;
4244
- ignoreRestSiblings?: boolean;
4245
- ignoreUsingDeclarations?: boolean;
4246
- reportUsedIgnorePattern?: boolean;
4247
- vars?: "all" | "local";
4248
- varsIgnorePattern?: string;
4249
- }]; // ----- unused-imports/no-unused-vars -----
4250
- type UnusedImportsNoUnusedVars = [] | [("all" | "local") | {
4251
- args?: "all" | "after-used" | "none";
4252
- argsIgnorePattern?: string;
4253
- caughtErrors?: "all" | "none";
4254
- caughtErrorsIgnorePattern?: string;
4255
- destructuredArrayIgnorePattern?: string;
4256
- enableAutofixRemoval?: {
4257
- imports?: boolean;
4258
- };
4259
- ignoreClassWithStaticInitBlock?: boolean;
4260
- ignoreRestSiblings?: boolean;
4261
- ignoreUsingDeclarations?: boolean;
4262
- reportUsedIgnorePattern?: boolean;
4263
- vars?: "all" | "local";
4264
- varsIgnorePattern?: string;
4265
- }];
3979
+ interface JavascriptRules {}
4266
3980
  //#endregion
4267
3981
  //#region src/_generated/dts/jsdoc.d.ts
4268
- interface JsdocRuleOptions {
3982
+ interface JsdocRules {
4269
3983
  /**
4270
3984
  * Checks that `@access` tags have a valid value.
4271
3985
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-access.md#repos-sticky-header
@@ -5140,7 +4854,7 @@ type JsdocValidTypes = [] | [{
5140
4854
  }];
5141
4855
  //#endregion
5142
4856
  //#region src/_generated/dts/jsonc.d.ts
5143
- interface JsoncRuleOptions {
4857
+ interface JsoncRules {
5144
4858
  /**
5145
4859
  * enforce line breaks after opening and before closing array brackets
5146
4860
  * @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/array-bracket-newline.html
@@ -5542,11 +5256,13 @@ type JsoncSortArrayValues = [{
5542
5256
  type?: "asc" | "desc";
5543
5257
  caseSensitive?: boolean;
5544
5258
  natural?: boolean;
5259
+ key?: string;
5545
5260
  };
5546
5261
  })[] | {
5547
5262
  type?: "asc" | "desc";
5548
5263
  caseSensitive?: boolean;
5549
5264
  natural?: boolean;
5265
+ key?: string;
5550
5266
  };
5551
5267
  minValues?: number;
5552
5268
  }, ...{
@@ -5557,11 +5273,13 @@ type JsoncSortArrayValues = [{
5557
5273
  type?: "asc" | "desc";
5558
5274
  caseSensitive?: boolean;
5559
5275
  natural?: boolean;
5276
+ key?: string;
5560
5277
  };
5561
5278
  })[] | {
5562
5279
  type?: "asc" | "desc";
5563
5280
  caseSensitive?: boolean;
5564
5281
  natural?: boolean;
5282
+ key?: string;
5565
5283
  };
5566
5284
  minValues?: number;
5567
5285
  }[]]; // ----- jsonc/sort-keys -----
@@ -5614,7 +5332,7 @@ type JsoncSpaceUnaryOps = [] | [{
5614
5332
  }];
5615
5333
  //#endregion
5616
5334
  //#region src/_generated/dts/markdown.d.ts
5617
- interface MarkdownRuleOptions {
5335
+ interface MarkdownRules {
5618
5336
  /**
5619
5337
  * Require languages for fenced code blocks
5620
5338
  * @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
@@ -5773,7 +5491,7 @@ type MarkdownTableColumnCount = [] | [{
5773
5491
  }];
5774
5492
  //#endregion
5775
5493
  //#region src/_generated/dts/n.d.ts
5776
- interface NRuleOptions {
5494
+ interface NRules {
5777
5495
  /**
5778
5496
  * require `return` statements after callbacks
5779
5497
  * @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/callback-return.md
@@ -6232,7 +5950,7 @@ type NShebang = [] | [{
6232
5950
  }];
6233
5951
  //#endregion
6234
5952
  //#region src/_generated/dts/no-only-tests.d.ts
6235
- interface NoOnlyTestsRuleOptions {
5953
+ interface NoOnlyTestsRules {
6236
5954
  /**
6237
5955
  * disallow focused/only tests
6238
5956
  * @see https://github.com/levibuzolic/eslint-plugin-no-only-tests
@@ -6249,7 +5967,7 @@ type NoOnlyTestsNoOnlyTests = [] | [{
6249
5967
  }];
6250
5968
  //#endregion
6251
5969
  //#region src/_generated/dts/node-test.d.ts
6252
- interface NodeTestRuleOptions {
5970
+ interface NodeTestRules {
6253
5971
  /**
6254
5972
  * Enforce the correct number of arguments for `node:assert` assertions.
6255
5973
  * @see https://github.com/sindresorhus/eslint-node-test/blob/v0.2.0/docs/rules/assertion-arguments.md
@@ -6703,7 +6421,7 @@ type NodeTestTestTitleFormat = [] | [{
6703
6421
  }];
6704
6422
  //#endregion
6705
6423
  //#region src/_generated/dts/perfectionist.d.ts
6706
- interface PerfectionistRuleOptions {
6424
+ interface PerfectionistRules {
6707
6425
  /**
6708
6426
  * Enforce sorted arrays before include method.
6709
6427
  * @see https://perfectionist.dev/rules/sort-array-includes
@@ -6894,7 +6612,113 @@ type PerfectionistSortArrayIncludes = {
6894
6612
  order?: "asc" | "desc";
6895
6613
  })[];
6896
6614
  newlinesBetween?: "ignore" | number;
6897
- useConfigurationIf?: {
6615
+ useConfigurationIf?: {
6616
+ allNamesMatchPattern?: ({
6617
+ pattern: string;
6618
+ flags?: string;
6619
+ } | string)[] | ({
6620
+ pattern: string;
6621
+ flags?: string;
6622
+ } | string);
6623
+ matchesAstSelector?: string;
6624
+ };
6625
+ partitionByComment?: boolean | (({
6626
+ pattern: string;
6627
+ flags?: string;
6628
+ } | string)[] | ({
6629
+ pattern: string;
6630
+ flags?: string;
6631
+ } | string)) | {
6632
+ block?: boolean | (({
6633
+ pattern: string;
6634
+ flags?: string;
6635
+ } | string)[] | ({
6636
+ pattern: string;
6637
+ flags?: string;
6638
+ } | string));
6639
+ line?: boolean | (({
6640
+ pattern: string;
6641
+ flags?: string;
6642
+ } | string)[] | ({
6643
+ pattern: string;
6644
+ flags?: string;
6645
+ } | string));
6646
+ };
6647
+ partitionByNewLine?: boolean;
6648
+ }[]; // ----- perfectionist/sort-arrays -----
6649
+ type PerfectionistSortArrays = [{
6650
+ fallbackSort?: {
6651
+ type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6652
+ order?: "asc" | "desc";
6653
+ };
6654
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6655
+ specialCharacters?: "remove" | "trim" | "keep";
6656
+ ignoreCase?: boolean;
6657
+ alphabet?: string;
6658
+ locales?: string | string[];
6659
+ order?: "asc" | "desc";
6660
+ customGroups?: ({
6661
+ fallbackSort?: {
6662
+ type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6663
+ order?: "asc" | "desc";
6664
+ };
6665
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6666
+ groupName: string;
6667
+ newlinesInside?: "ignore" | number;
6668
+ order?: "asc" | "desc";
6669
+ anyOf: [{
6670
+ elementNamePattern?: ({
6671
+ pattern: string;
6672
+ flags?: string;
6673
+ } | string)[] | ({
6674
+ pattern: string;
6675
+ flags?: string;
6676
+ } | string);
6677
+ selector?: "literal";
6678
+ }, ...{
6679
+ elementNamePattern?: ({
6680
+ pattern: string;
6681
+ flags?: string;
6682
+ } | string)[] | ({
6683
+ pattern: string;
6684
+ flags?: string;
6685
+ } | string);
6686
+ selector?: "literal";
6687
+ }[]];
6688
+ } | {
6689
+ fallbackSort?: {
6690
+ type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6691
+ order?: "asc" | "desc";
6692
+ };
6693
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6694
+ groupName: string;
6695
+ newlinesInside?: "ignore" | number;
6696
+ order?: "asc" | "desc";
6697
+ elementNamePattern?: ({
6698
+ pattern: string;
6699
+ flags?: string;
6700
+ } | string)[] | ({
6701
+ pattern: string;
6702
+ flags?: string;
6703
+ } | string);
6704
+ selector?: "literal";
6705
+ })[];
6706
+ newlinesInside?: ("ignore" | number) | "newlinesBetween";
6707
+ groups?: (string | [string, ...string[]] | {
6708
+ newlinesBetween: "ignore" | number;
6709
+ } | {
6710
+ group: string | [string, ...string[]];
6711
+ fallbackSort?: {
6712
+ type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6713
+ order?: "asc" | "desc";
6714
+ };
6715
+ commentAbove?: string;
6716
+ type?: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6717
+ newlinesInside?: "ignore" | number;
6718
+ order?: "asc" | "desc";
6719
+ })[];
6720
+ newlinesBetween?: "ignore" | number;
6721
+ useConfigurationIf: {
6898
6722
  allNamesMatchPattern?: ({
6899
6723
  pattern: string;
6900
6724
  flags?: string;
@@ -6927,8 +6751,7 @@ type PerfectionistSortArrayIncludes = {
6927
6751
  } | string));
6928
6752
  };
6929
6753
  partitionByNewLine?: boolean;
6930
- }[]; // ----- perfectionist/sort-arrays -----
6931
- type PerfectionistSortArrays = {
6754
+ }, ...{
6932
6755
  fallbackSort?: {
6933
6756
  type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
6934
6757
  order?: "asc" | "desc";
@@ -7033,7 +6856,7 @@ type PerfectionistSortArrays = {
7033
6856
  } | string));
7034
6857
  };
7035
6858
  partitionByNewLine?: boolean;
7036
- }[]; // ----- perfectionist/sort-classes -----
6859
+ }[]]; // ----- perfectionist/sort-classes -----
7037
6860
  type PerfectionistSortClasses = {
7038
6861
  fallbackSort?: {
7039
6862
  type: "alphabetical" | "natural" | "line-length" | "custom" | "unsorted" | "subgroup-order";
@@ -7382,6 +7205,7 @@ type PerfectionistSortEnums = {
7382
7205
  order?: "asc" | "desc";
7383
7206
  })[];
7384
7207
  newlinesBetween?: "ignore" | number;
7208
+ sortByValue?: "always" | "ifNumericEnum" | "never";
7385
7209
  useConfigurationIf?: {
7386
7210
  allNamesMatchPattern?: ({
7387
7211
  pattern: string;
@@ -7392,7 +7216,6 @@ type PerfectionistSortEnums = {
7392
7216
  } | string);
7393
7217
  matchesAstSelector?: string;
7394
7218
  };
7395
- sortByValue?: "always" | "ifNumericEnum" | "never";
7396
7219
  useExperimentalDependencyDetection?: boolean;
7397
7220
  partitionByComment?: boolean | (({
7398
7221
  pattern: string;
@@ -8210,6 +8033,7 @@ type PerfectionistSortIntersectionTypes = {
8210
8033
  } | string));
8211
8034
  };
8212
8035
  partitionByNewLine?: boolean;
8036
+ ignoreCallableTypes?: boolean;
8213
8037
  }[]; // ----- perfectionist/sort-jsx-props -----
8214
8038
  type PerfectionistSortJsxProps = {
8215
8039
  fallbackSort?: {
@@ -9431,7 +9255,7 @@ type PerfectionistSortVariableDeclarations = {
9431
9255
  }[];
9432
9256
  //#endregion
9433
9257
  //#region src/_generated/dts/pnpm.d.ts
9434
- interface PnpmRuleOptions {
9258
+ interface PnpmRules {
9435
9259
  /**
9436
9260
  * Enforce using "catalog:" in `package.json`
9437
9261
  * @see https://github.com/antfu/pnpm-workspace-utils/tree/main/packages/eslint-plugin-pnpm/src/rules/json/json-enforce-catalog.test.ts
@@ -9503,10 +9327,10 @@ type PnpmYamlNoDuplicateCatalogItem = [] | [{
9503
9327
  }];
9504
9328
  //#endregion
9505
9329
  //#region src/_generated/dts/prettier.d.ts
9506
- interface PrettierRuleOptions {}
9330
+ interface PrettierRules {}
9507
9331
  //#endregion
9508
9332
  //#region src/_generated/dts/react-hooks.d.ts
9509
- interface ReactHooksRuleOptions {
9333
+ interface ReactHooksRules {
9510
9334
  /**
9511
9335
  * Validates against calling capitalized functions/methods instead of using JSX
9512
9336
  * @see https://react.dev/reference/eslint-plugin-react-hooks/lints/capitalized-calls
@@ -9743,8 +9567,21 @@ type ReactHooksVoidUseMemo = [] | [{
9743
9567
  [k: string]: unknown | undefined;
9744
9568
  }];
9745
9569
  //#endregion
9570
+ //#region src/_generated/dts/react-refresh.d.ts
9571
+ interface ReactRefreshRules {
9572
+ "react-refresh/only-export-components"?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>;
9573
+ }
9574
+ /* ======= Declarations ======= */
9575
+ // ----- react-refresh/only-export-components -----
9576
+ type ReactRefreshOnlyExportComponents = [] | [{
9577
+ extraHOCs?: string[];
9578
+ allowExportNames?: string[];
9579
+ allowConstantExport?: boolean;
9580
+ checkJS?: boolean;
9581
+ }];
9582
+ //#endregion
9746
9583
  //#region src/_generated/dts/regexp.d.ts
9747
- interface RegexpRuleOptions {
9584
+ interface RegexpRules {
9748
9585
  /**
9749
9586
  * disallow confusing quantifiers
9750
9587
  * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
@@ -10254,13 +10091,13 @@ type RegexpUnicodeProperty = [] | [{
10254
10091
  }];
10255
10092
  //#endregion
10256
10093
  //#region src/_generated/dts/sort-package-json.d.ts
10257
- interface SortPackageJsonRuleOptions {}
10094
+ interface SortPackageJsonRules {}
10258
10095
  //#endregion
10259
10096
  //#region src/_generated/dts/sort-tsconfig.d.ts
10260
- interface SortTsconfigRuleOptions {}
10097
+ interface SortTsconfigRules {}
10261
10098
  //#endregion
10262
10099
  //#region src/_generated/dts/stylistic.d.ts
10263
- interface StylisticRuleOptions {
10100
+ interface StylisticRules {
10264
10101
  /**
10265
10102
  * Enforce linebreaks after opening and before closing array brackets
10266
10103
  * @see https://eslint.style/rules/array-bracket-newline
@@ -11923,7 +11760,7 @@ type StylisticYieldStarSpacing = [] | [("before" | "after" | "both" | "neither")
11923
11760
  }];
11924
11761
  //#endregion
11925
11762
  //#region src/_generated/dts/toml.d.ts
11926
- interface TomlRuleOptions {
11763
+ interface TomlRules {
11927
11764
  /**
11928
11765
  * enforce linebreaks after opening and before closing array brackets
11929
11766
  * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
@@ -12169,7 +12006,7 @@ type TomlSpacedComment = [] | ["always" | "never"] | ["always" | "never", {
12169
12006
  type TomlTableBracketSpacing = [] | ["always" | "never"];
12170
12007
  //#endregion
12171
12008
  //#region src/_generated/dts/typescript.d.ts
12172
- interface TypescriptRuleOptions {
12009
+ interface TypescriptRules {
12173
12010
  /**
12174
12011
  * Require that function overload signatures be consecutive
12175
12012
  * @see https://typescript-eslint.io/rules/adjacent-overload-signatures
@@ -13805,1673 +13642,1673 @@ type ImportPreferDefaultExport = [] | [{
13805
13642
  }];
13806
13643
  //#endregion
13807
13644
  //#region src/_generated/dts/unicorn.d.ts
13808
- interface UnicornRuleOptions {
13645
+ interface UnicornRules {
13809
13646
  /**
13810
13647
  * Prefer better DOM traversal APIs.
13811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/better-dom-traversing.md
13648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/better-dom-traversing.md
13812
13649
  */
13813
13650
  "unicorn/better-dom-traversing"?: Linter.RuleEntry<[]>;
13814
13651
  /**
13815
13652
  * Removed. Prefer `eslint-plugin-regexp`
13816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#better-regex
13653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#better-regex
13817
13654
  * @deprecated
13818
13655
  */
13819
13656
  "unicorn/better-regex"?: Linter.RuleEntry<[]>;
13820
13657
  /**
13821
13658
  * Enforce a specific parameter name in catch clauses.
13822
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/catch-error-name.md
13659
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/catch-error-name.md
13823
13660
  */
13824
13661
  "unicorn/catch-error-name"?: Linter.RuleEntry<UnicornCatchErrorName>;
13825
13662
  /**
13826
13663
  * Enforce consistent class references in static methods.
13827
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/class-reference-in-static-methods.md
13664
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/class-reference-in-static-methods.md
13828
13665
  */
13829
13666
  "unicorn/class-reference-in-static-methods"?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>;
13830
13667
  /**
13831
13668
  * Enforce better comment content.
13832
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/comment-content.md
13669
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/comment-content.md
13833
13670
  */
13834
13671
  "unicorn/comment-content"?: Linter.RuleEntry<UnicornCommentContent>;
13835
13672
  /**
13836
13673
  * Enforce consistent assertion style with `node:assert`.
13837
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-assert.md
13674
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-assert.md
13838
13675
  */
13839
13676
  "unicorn/consistent-assert"?: Linter.RuleEntry<[]>;
13840
13677
  /**
13841
13678
  * Enforce consistent naming for boolean names.
13842
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-boolean-name.md
13679
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-boolean-name.md
13843
13680
  */
13844
13681
  "unicorn/consistent-boolean-name"?: Linter.RuleEntry<UnicornConsistentBooleanName>;
13845
13682
  /**
13846
13683
  * Enforce consistent class member order.
13847
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-class-member-order.md
13684
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-class-member-order.md
13848
13685
  */
13849
13686
  "unicorn/consistent-class-member-order"?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>;
13850
13687
  /**
13851
13688
  * Enforce consistent spelling of compound words in identifiers.
13852
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-compound-words.md
13689
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-compound-words.md
13853
13690
  */
13854
13691
  "unicorn/consistent-compound-words"?: Linter.RuleEntry<UnicornConsistentCompoundWords>;
13855
13692
  /**
13856
13693
  * Enforce consistent conditional object spread style.
13857
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-conditional-object-spread.md
13694
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-conditional-object-spread.md
13858
13695
  */
13859
13696
  "unicorn/consistent-conditional-object-spread"?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>;
13860
13697
  /**
13861
13698
  * Prefer passing `Date` directly to the constructor when cloning.
13862
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-date-clone.md
13699
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-date-clone.md
13863
13700
  */
13864
13701
  "unicorn/consistent-date-clone"?: Linter.RuleEntry<[]>;
13865
13702
  /**
13866
13703
  * Use destructured variables over properties.
13867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-destructuring.md
13704
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-destructuring.md
13868
13705
  */
13869
13706
  "unicorn/consistent-destructuring"?: Linter.RuleEntry<[]>;
13870
13707
  /**
13871
13708
  * Prefer consistent types when spreading a ternary in an array literal.
13872
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-empty-array-spread.md
13709
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-empty-array-spread.md
13873
13710
  */
13874
13711
  "unicorn/consistent-empty-array-spread"?: Linter.RuleEntry<[]>;
13875
13712
  /**
13876
13713
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
13877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-existence-index-check.md
13714
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-existence-index-check.md
13878
13715
  */
13879
13716
  "unicorn/consistent-existence-index-check"?: Linter.RuleEntry<[]>;
13880
13717
  /**
13881
13718
  * Enforce consistent decorator position on exported classes.
13882
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-export-decorator-position.md
13719
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-export-decorator-position.md
13883
13720
  */
13884
13721
  "unicorn/consistent-export-decorator-position"?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>;
13885
13722
  /**
13886
13723
  * Move function definitions to the highest possible scope.
13887
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-scoping.md
13724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-function-scoping.md
13888
13725
  */
13889
13726
  "unicorn/consistent-function-scoping"?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
13890
13727
  /**
13891
13728
  * Enforce function syntax by role.
13892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-function-style.md
13729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-function-style.md
13893
13730
  */
13894
13731
  "unicorn/consistent-function-style"?: Linter.RuleEntry<UnicornConsistentFunctionStyle>;
13895
13732
  /**
13896
13733
  * Enforce consistent JSON file reads before `JSON.parse()`.
13897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-json-file-read.md
13734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-json-file-read.md
13898
13735
  */
13899
13736
  "unicorn/consistent-json-file-read"?: Linter.RuleEntry<UnicornConsistentJsonFileRead>;
13900
13737
  /**
13901
13738
  * Enforce consistent optional chaining for same-base member access.
13902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-optional-chaining.md
13739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-optional-chaining.md
13903
13740
  */
13904
13741
  "unicorn/consistent-optional-chaining"?: Linter.RuleEntry<[]>;
13905
13742
  /**
13906
13743
  * Enforce consistent style for escaping `${` in template literals.
13907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-template-literal-escape.md
13744
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-template-literal-escape.md
13908
13745
  */
13909
13746
  "unicorn/consistent-template-literal-escape"?: Linter.RuleEntry<[]>;
13910
13747
  /**
13911
13748
  * Enforce consistent labels on tuple type elements.
13912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/consistent-tuple-labels.md
13749
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/consistent-tuple-labels.md
13913
13750
  */
13914
13751
  "unicorn/consistent-tuple-labels"?: Linter.RuleEntry<[]>;
13915
13752
  /**
13916
13753
  * Enforce correct `Error` subclassing.
13917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/custom-error-definition.md
13754
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/custom-error-definition.md
13918
13755
  */
13919
13756
  "unicorn/custom-error-definition"?: Linter.RuleEntry<[]>;
13920
13757
  /**
13921
13758
  * Enforce consistent default export declarations.
13922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/default-export-style.md
13759
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/default-export-style.md
13923
13760
  */
13924
13761
  "unicorn/default-export-style"?: Linter.RuleEntry<UnicornDefaultExportStyle>;
13925
13762
  /**
13926
13763
  * Enforce consistent style for DOM element dataset access.
13927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/dom-node-dataset.md
13764
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/dom-node-dataset.md
13928
13765
  */
13929
13766
  "unicorn/dom-node-dataset"?: Linter.RuleEntry<UnicornDomNodeDataset>;
13930
13767
  /**
13931
13768
  * Enforce no spaces between braces.
13932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/empty-brace-spaces.md
13769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/empty-brace-spaces.md
13933
13770
  */
13934
13771
  "unicorn/empty-brace-spaces"?: Linter.RuleEntry<[]>;
13935
13772
  /**
13936
13773
  * Enforce passing a `message` value when creating a built-in error.
13937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/error-message.md
13774
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/error-message.md
13938
13775
  */
13939
13776
  "unicorn/error-message"?: Linter.RuleEntry<[]>;
13940
13777
  /**
13941
13778
  * Require escape sequences to use uppercase or lowercase values.
13942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/escape-case.md
13779
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/escape-case.md
13943
13780
  */
13944
13781
  "unicorn/escape-case"?: Linter.RuleEntry<UnicornEscapeCase>;
13945
13782
  /**
13946
13783
  * Add expiration conditions to TODO comments.
13947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/expiring-todo-comments.md
13784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/expiring-todo-comments.md
13948
13785
  */
13949
13786
  "unicorn/expiring-todo-comments"?: Linter.RuleEntry<UnicornExpiringTodoComments>;
13950
13787
  /**
13951
13788
  * Enforce explicitly comparing the `length` or `size` property of a value.
13952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-length-check.md
13789
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/explicit-length-check.md
13953
13790
  */
13954
13791
  "unicorn/explicit-length-check"?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
13955
13792
  /**
13956
13793
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
13957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/explicit-timer-delay.md
13794
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/explicit-timer-delay.md
13958
13795
  */
13959
13796
  "unicorn/explicit-timer-delay"?: Linter.RuleEntry<UnicornExplicitTimerDelay>;
13960
13797
  /**
13961
13798
  * Enforce a case style for filenames and directory names.
13962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/filename-case.md
13799
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/filename-case.md
13963
13800
  */
13964
13801
  "unicorn/filename-case"?: Linter.RuleEntry<UnicornFilenameCase>;
13965
13802
  /**
13966
13803
  * Require identifiers to match a specified regular expression.
13967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/id-match.md
13804
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/id-match.md
13968
13805
  */
13969
13806
  "unicorn/id-match"?: Linter.RuleEntry<UnicornIdMatch>;
13970
13807
  /**
13971
13808
  * Enforce specific import styles per module.
13972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/import-style.md
13809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/import-style.md
13973
13810
  */
13974
13811
  "unicorn/import-style"?: Linter.RuleEntry<UnicornImportStyle>;
13975
13812
  /**
13976
13813
  * Prevent usage of variables from outside the scope of isolated functions.
13977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/isolated-functions.md
13814
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/isolated-functions.md
13978
13815
  */
13979
13816
  "unicorn/isolated-functions"?: Linter.RuleEntry<UnicornIsolatedFunctions>;
13980
13817
  /**
13981
13818
  * Require or disallow logical assignment operator shorthand
13982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/logical-assignment-operators.md
13819
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/logical-assignment-operators.md
13983
13820
  */
13984
13821
  "unicorn/logical-assignment-operators"?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>;
13985
13822
  /**
13986
13823
  * Limit the depth of nested calls.
13987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/max-nested-calls.md
13824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/max-nested-calls.md
13988
13825
  */
13989
13826
  "unicorn/max-nested-calls"?: Linter.RuleEntry<UnicornMaxNestedCalls>;
13990
13827
  /**
13991
13828
  * Enforce replacements for variable, property, and filenames.
13992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/name-replacements.md
13829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/name-replacements.md
13993
13830
  */
13994
13831
  "unicorn/name-replacements"?: Linter.RuleEntry<UnicornNameReplacements>;
13995
13832
  /**
13996
13833
  * Enforce correct use of `new` for builtin constructors.
13997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/new-for-builtins.md
13834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/new-for-builtins.md
13998
13835
  */
13999
13836
  "unicorn/new-for-builtins"?: Linter.RuleEntry<[]>;
14000
13837
  /**
14001
13838
  * Enforce specifying rules to disable in `eslint-disable` comments.
14002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-abusive-eslint-disable.md
13839
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-abusive-eslint-disable.md
14003
13840
  */
14004
13841
  "unicorn/no-abusive-eslint-disable"?: Linter.RuleEntry<[]>;
14005
13842
  /**
14006
13843
  * Disallow recursive access to `this` within getters and setters.
14007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accessor-recursion.md
13844
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-accessor-recursion.md
14008
13845
  */
14009
13846
  "unicorn/no-accessor-recursion"?: Linter.RuleEntry<[]>;
14010
13847
  /**
14011
13848
  * Disallow bitwise operators where a logical operator was likely intended.
14012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-accidental-bitwise-operator.md
13849
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-accidental-bitwise-operator.md
14013
13850
  */
14014
13851
  "unicorn/no-accidental-bitwise-operator"?: Linter.RuleEntry<[]>;
14015
13852
  /**
14016
13853
  * Disallow anonymous functions and classes as the default export.
14017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-anonymous-default-export.md
13854
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-anonymous-default-export.md
14018
13855
  */
14019
13856
  "unicorn/no-anonymous-default-export"?: Linter.RuleEntry<[]>;
14020
13857
  /**
14021
13858
  * Prevent passing a function reference directly to iterator methods.
14022
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-callback-reference.md
13859
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-callback-reference.md
14023
13860
  */
14024
13861
  "unicorn/no-array-callback-reference"?: Linter.RuleEntry<UnicornNoArrayCallbackReference>;
14025
13862
  /**
14026
13863
  * Disallow array accumulation with `Array#concat()` in loops.
14027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-concat-in-loop.md
13864
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-concat-in-loop.md
14028
13865
  */
14029
13866
  "unicorn/no-array-concat-in-loop"?: Linter.RuleEntry<[]>;
14030
13867
  /**
14031
13868
  * Disallow using reference values as `Array#fill()` values.
14032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-fill-with-reference-type.md
13869
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-fill-with-reference-type.md
14033
13870
  */
14034
13871
  "unicorn/no-array-fill-with-reference-type"?: Linter.RuleEntry<[]>;
14035
13872
  /**
14036
13873
  * Disallow `.fill()` after `Array.from({length: …})`.
14037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-from-fill.md
13874
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-from-fill.md
14038
13875
  */
14039
13876
  "unicorn/no-array-from-fill"?: Linter.RuleEntry<[]>;
14040
13877
  /**
14041
13878
  * Disallow front-of-array mutation.
14042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-front-mutation.md
13879
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-front-mutation.md
14043
13880
  */
14044
13881
  "unicorn/no-array-front-mutation"?: Linter.RuleEntry<[]>;
14045
13882
  /**
14046
13883
  * Disallow using the `this` argument in array methods.
14047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-method-this-argument.md
13884
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-method-this-argument.md
14048
13885
  */
14049
13886
  "unicorn/no-array-method-this-argument"?: Linter.RuleEntry<[]>;
14050
13887
  /**
14051
13888
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
14052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
13889
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
14053
13890
  * @deprecated
14054
13891
  */
14055
13892
  "unicorn/no-array-push-push"?: Linter.RuleEntry<[]>;
14056
13893
  /**
14057
13894
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
14058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reduce.md
13895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-reduce.md
14059
13896
  */
14060
13897
  "unicorn/no-array-reduce"?: Linter.RuleEntry<UnicornNoArrayReduce>;
14061
13898
  /**
14062
13899
  * Prefer `Array#toReversed()` over `Array#reverse()`.
14063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-reverse.md
13900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-reverse.md
14064
13901
  */
14065
13902
  "unicorn/no-array-reverse"?: Linter.RuleEntry<UnicornNoArrayReverse>;
14066
13903
  /**
14067
13904
  * Prefer `Array#toSorted()` over `Array#sort()`.
14068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort.md
13905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-sort.md
14069
13906
  */
14070
13907
  "unicorn/no-array-sort"?: Linter.RuleEntry<UnicornNoArraySort>;
14071
13908
  /**
14072
13909
  * Disallow sorting arrays to get the minimum or maximum value.
14073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-sort-for-min-max.md
13910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-sort-for-min-max.md
14074
13911
  */
14075
13912
  "unicorn/no-array-sort-for-min-max"?: Linter.RuleEntry<[]>;
14076
13913
  /**
14077
13914
  * Prefer `Array#toSpliced()` over `Array#splice()`.
14078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-array-splice.md
13915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-array-splice.md
14079
13916
  */
14080
13917
  "unicorn/no-array-splice"?: Linter.RuleEntry<[]>;
14081
13918
  /**
14082
13919
  * Disallow asterisk prefixes in documentation comments.
14083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
13920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
14084
13921
  */
14085
13922
  "unicorn/no-asterisk-prefix-in-documentation-comments"?: Linter.RuleEntry<[]>;
14086
13923
  /**
14087
13924
  * Disallow async functions as `Promise#finally()` callbacks.
14088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-async-promise-finally.md
13925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-async-promise-finally.md
14089
13926
  */
14090
13927
  "unicorn/no-async-promise-finally"?: Linter.RuleEntry<[]>;
14091
13928
  /**
14092
13929
  * Disallow member access from await expression.
14093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-expression-member.md
13930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-await-expression-member.md
14094
13931
  */
14095
13932
  "unicorn/no-await-expression-member"?: Linter.RuleEntry<[]>;
14096
13933
  /**
14097
13934
  * Disallow using `await` in `Promise` method parameters.
14098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-await-in-promise-methods.md
13935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-await-in-promise-methods.md
14099
13936
  */
14100
13937
  "unicorn/no-await-in-promise-methods"?: Linter.RuleEntry<[]>;
14101
13938
  /**
14102
13939
  * Disallow unnecessary `Blob` to `File` conversion.
14103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-blob-to-file.md
13940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-blob-to-file.md
14104
13941
  */
14105
13942
  "unicorn/no-blob-to-file"?: Linter.RuleEntry<[]>;
14106
13943
  /**
14107
13944
  * Disallow boolean-returning sort comparators.
14108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-boolean-sort-comparator.md
13945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-boolean-sort-comparator.md
14109
13946
  */
14110
13947
  "unicorn/no-boolean-sort-comparator"?: Linter.RuleEntry<[]>;
14111
13948
  /**
14112
13949
  * Disallow `break` and `continue` in nested loops and switches inside loops.
14113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-break-in-nested-loop.md
13950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-break-in-nested-loop.md
14114
13951
  */
14115
13952
  "unicorn/no-break-in-nested-loop"?: Linter.RuleEntry<[]>;
14116
13953
  /**
14117
13954
  * Prefer drawing canvases directly instead of converting them to images.
14118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-canvas-to-image.md
13955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-canvas-to-image.md
14119
13956
  */
14120
13957
  "unicorn/no-canvas-to-image"?: Linter.RuleEntry<[]>;
14121
13958
  /**
14122
13959
  * Disallow chained comparisons such as `a < b < c`.
14123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-chained-comparison.md
13960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-chained-comparison.md
14124
13961
  */
14125
13962
  "unicorn/no-chained-comparison"?: Linter.RuleEntry<[]>;
14126
13963
  /**
14127
13964
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
14128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-collection-bracket-access.md
13965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-collection-bracket-access.md
14129
13966
  */
14130
13967
  "unicorn/no-collection-bracket-access"?: Linter.RuleEntry<[]>;
14131
13968
  /**
14132
13969
  * Disallow dynamic object property existence checks.
14133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-computed-property-existence-check.md
13970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-computed-property-existence-check.md
14134
13971
  */
14135
13972
  "unicorn/no-computed-property-existence-check"?: Linter.RuleEntry<[]>;
14136
13973
  /**
14137
13974
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
14138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-splice.md
13975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-confusing-array-splice.md
14139
13976
  */
14140
13977
  "unicorn/no-confusing-array-splice"?: Linter.RuleEntry<[]>;
14141
13978
  /**
14142
13979
  * Disallow confusing uses of `Array#with()`.
14143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-confusing-array-with.md
13980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-confusing-array-with.md
14144
13981
  */
14145
13982
  "unicorn/no-confusing-array-with"?: Linter.RuleEntry<[]>;
14146
13983
  /**
14147
13984
  * Do not use leading/trailing space between `console.log` parameters.
14148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-console-spaces.md
13985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-console-spaces.md
14149
13986
  */
14150
13987
  "unicorn/no-console-spaces"?: Linter.RuleEntry<[]>;
14151
13988
  /**
14152
13989
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
14153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-constant-zero-expression.md
13990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-constant-zero-expression.md
14154
13991
  */
14155
13992
  "unicorn/no-constant-zero-expression"?: Linter.RuleEntry<[]>;
14156
13993
  /**
14157
13994
  * Disallow declarations before conditional early exits when they are only used after the exit.
14158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-declarations-before-early-exit.md
13995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-declarations-before-early-exit.md
14159
13996
  */
14160
13997
  "unicorn/no-declarations-before-early-exit"?: Linter.RuleEntry<[]>;
14161
13998
  /**
14162
13999
  * Do not use `document.cookie` directly.
14163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-document-cookie.md
14000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-document-cookie.md
14164
14001
  */
14165
14002
  "unicorn/no-document-cookie"?: Linter.RuleEntry<[]>;
14166
14003
  /**
14167
14004
  * Disallow two comparisons of the same operands that can be combined into one.
14168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-double-comparison.md
14005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-double-comparison.md
14169
14006
  */
14170
14007
  "unicorn/no-double-comparison"?: Linter.RuleEntry<[]>;
14171
14008
  /**
14172
14009
  * Disallow duplicate adjacent branches in if chains.
14173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-if-branches.md
14010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-duplicate-if-branches.md
14174
14011
  */
14175
14012
  "unicorn/no-duplicate-if-branches"?: Linter.RuleEntry<[]>;
14176
14013
  /**
14177
14014
  * Disallow adjacent duplicate operands in logical expressions.
14178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-logical-operands.md
14015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-duplicate-logical-operands.md
14179
14016
  */
14180
14017
  "unicorn/no-duplicate-logical-operands"?: Linter.RuleEntry<[]>;
14181
14018
  /**
14182
14019
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
14183
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-loops.md
14020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-duplicate-loops.md
14184
14021
  */
14185
14022
  "unicorn/no-duplicate-loops"?: Linter.RuleEntry<[]>;
14186
14023
  /**
14187
14024
  * Disallow duplicate values in `Set` constructor array literals.
14188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-duplicate-set-values.md
14025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-duplicate-set-values.md
14189
14026
  */
14190
14027
  "unicorn/no-duplicate-set-values"?: Linter.RuleEntry<[]>;
14191
14028
  /**
14192
14029
  * Disallow empty files.
14193
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-empty-file.md
14030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-empty-file.md
14194
14031
  */
14195
14032
  "unicorn/no-empty-file"?: Linter.RuleEntry<UnicornNoEmptyFile>;
14196
14033
  /**
14197
14034
  * Disallow assigning to built-in error properties.
14198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-error-property-assignment.md
14035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-error-property-assignment.md
14199
14036
  */
14200
14037
  "unicorn/no-error-property-assignment"?: Linter.RuleEntry<[]>;
14201
14038
  /**
14202
14039
  * Disallow exports in scripts.
14203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-exports-in-scripts.md
14040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-exports-in-scripts.md
14204
14041
  */
14205
14042
  "unicorn/no-exports-in-scripts"?: Linter.RuleEntry<[]>;
14206
14043
  /**
14207
14044
  * Prefer `for…of` over the `forEach` method.
14208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-each.md
14045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-for-each.md
14209
14046
  */
14210
14047
  "unicorn/no-for-each"?: Linter.RuleEntry<[]>;
14211
14048
  /**
14212
14049
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
14213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-for-loop.md
14050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-for-loop.md
14214
14051
  */
14215
14052
  "unicorn/no-for-loop"?: Linter.RuleEntry<[]>;
14216
14053
  /**
14217
14054
  * Disallow assigning properties on the global object.
14218
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-global-object-property-assignment.md
14055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-global-object-property-assignment.md
14219
14056
  */
14220
14057
  "unicorn/no-global-object-property-assignment"?: Linter.RuleEntry<[]>;
14221
14058
  /**
14222
14059
  * Replaced by `unicorn/prefer-unicode-code-point-escapes` which covers more cases.
14223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
14060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
14224
14061
  * @deprecated
14225
14062
  */
14226
14063
  "unicorn/no-hex-escape"?: Linter.RuleEntry<[]>;
14227
14064
  /**
14228
14065
  * Disallow immediate mutation after variable assignment.
14229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-immediate-mutation.md
14066
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-immediate-mutation.md
14230
14067
  */
14231
14068
  "unicorn/no-immediate-mutation"?: Linter.RuleEntry<[]>;
14232
14069
  /**
14233
14070
  * Disallow impossible comparisons against `.length` or `.size`.
14234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-impossible-length-comparison.md
14071
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-impossible-length-comparison.md
14235
14072
  */
14236
14073
  "unicorn/no-impossible-length-comparison"?: Linter.RuleEntry<[]>;
14237
14074
  /**
14238
14075
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
14239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-query-selector.md
14076
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-incorrect-query-selector.md
14240
14077
  */
14241
14078
  "unicorn/no-incorrect-query-selector"?: Linter.RuleEntry<[]>;
14242
14079
  /**
14243
14080
  * Disallow incorrect template literal interpolation syntax.
14244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-incorrect-template-string-interpolation.md
14081
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-incorrect-template-string-interpolation.md
14245
14082
  */
14246
14083
  "unicorn/no-incorrect-template-string-interpolation"?: Linter.RuleEntry<[]>;
14247
14084
  /**
14248
14085
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
14249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
14086
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
14250
14087
  * @deprecated
14251
14088
  */
14252
14089
  "unicorn/no-instanceof-array"?: Linter.RuleEntry<[]>;
14253
14090
  /**
14254
14091
  * Disallow `instanceof` with built-in objects
14255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-instanceof-builtins.md
14092
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-instanceof-builtins.md
14256
14093
  */
14257
14094
  "unicorn/no-instanceof-builtins"?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
14258
14095
  /**
14259
14096
  * Disallow calling functions and constructors with an invalid number of arguments.
14260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-argument-count.md
14097
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-argument-count.md
14261
14098
  */
14262
14099
  "unicorn/no-invalid-argument-count"?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>;
14263
14100
  /**
14264
14101
  * Disallow comparing a single character from a string to a multi-character string.
14265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-character-comparison.md
14102
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-character-comparison.md
14266
14103
  */
14267
14104
  "unicorn/no-invalid-character-comparison"?: Linter.RuleEntry<[]>;
14268
14105
  /**
14269
14106
  * Disallow invalid options in `fetch()` and `new Request()`.
14270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-fetch-options.md
14107
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-fetch-options.md
14271
14108
  */
14272
14109
  "unicorn/no-invalid-fetch-options"?: Linter.RuleEntry<[]>;
14273
14110
  /**
14274
14111
  * Disallow invalid `accept` values on file inputs.
14275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-file-input-accept.md
14112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-file-input-accept.md
14276
14113
  */
14277
14114
  "unicorn/no-invalid-file-input-accept"?: Linter.RuleEntry<[]>;
14278
14115
  /**
14279
14116
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
14280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-remove-event-listener.md
14117
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-remove-event-listener.md
14281
14118
  */
14282
14119
  "unicorn/no-invalid-remove-event-listener"?: Linter.RuleEntry<[]>;
14283
14120
  /**
14284
14121
  * Disallow invalid implementations of well-known symbol methods.
14285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
14122
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-invalid-well-known-symbol-methods.md
14286
14123
  */
14287
14124
  "unicorn/no-invalid-well-known-symbol-methods"?: Linter.RuleEntry<[]>;
14288
14125
  /**
14289
14126
  * Disallow identifiers starting with `new` or `class`.
14290
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-keyword-prefix.md
14127
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-keyword-prefix.md
14291
14128
  */
14292
14129
  "unicorn/no-keyword-prefix"?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
14293
14130
  /**
14294
14131
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
14295
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-current-target-access.md
14132
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-late-current-target-access.md
14296
14133
  */
14297
14134
  "unicorn/no-late-current-target-access"?: Linter.RuleEntry<[]>;
14298
14135
  /**
14299
14136
  * Disallow event-control method calls after the synchronous event dispatch has finished.
14300
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-late-event-control.md
14137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-late-event-control.md
14301
14138
  */
14302
14139
  "unicorn/no-late-event-control"?: Linter.RuleEntry<[]>;
14303
14140
  /**
14304
14141
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
14305
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
14142
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
14306
14143
  * @deprecated
14307
14144
  */
14308
14145
  "unicorn/no-length-as-slice-end"?: Linter.RuleEntry<[]>;
14309
14146
  /**
14310
14147
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
14311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-lonely-if.md
14148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-lonely-if.md
14312
14149
  */
14313
14150
  "unicorn/no-lonely-if"?: Linter.RuleEntry<[]>;
14314
14151
  /**
14315
14152
  * Disallow mutating a loop iterable during iteration.
14316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-loop-iterable-mutation.md
14153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-loop-iterable-mutation.md
14317
14154
  */
14318
14155
  "unicorn/no-loop-iterable-mutation"?: Linter.RuleEntry<[]>;
14319
14156
  /**
14320
14157
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
14321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-magic-array-flat-depth.md
14158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-magic-array-flat-depth.md
14322
14159
  */
14323
14160
  "unicorn/no-magic-array-flat-depth"?: Linter.RuleEntry<[]>;
14324
14161
  /**
14325
14162
  * Disallow manually wrapped comments.
14326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-manually-wrapped-comments.md
14163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-manually-wrapped-comments.md
14327
14164
  */
14328
14165
  "unicorn/no-manually-wrapped-comments"?: Linter.RuleEntry<[]>;
14329
14166
  /**
14330
14167
  * Disallow checking a Map key before accessing a different key.
14331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-mismatched-map-key.md
14168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-mismatched-map-key.md
14332
14169
  */
14333
14170
  "unicorn/no-mismatched-map-key"?: Linter.RuleEntry<[]>;
14334
14171
  /**
14335
14172
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
14336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-misrefactored-assignment.md
14173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-misrefactored-assignment.md
14337
14174
  */
14338
14175
  "unicorn/no-misrefactored-assignment"?: Linter.RuleEntry<[]>;
14339
14176
  /**
14340
14177
  * Disallow named usage of default import and export.
14341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-named-default.md
14178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-named-default.md
14342
14179
  */
14343
14180
  "unicorn/no-named-default"?: Linter.RuleEntry<[]>;
14344
14181
  /**
14345
14182
  * Disallow negated array predicate calls.
14346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-array-predicate.md
14183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-negated-array-predicate.md
14347
14184
  */
14348
14185
  "unicorn/no-negated-array-predicate"?: Linter.RuleEntry<[]>;
14349
14186
  /**
14350
14187
  * Disallow negated comparisons.
14351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-comparison.md
14188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-negated-comparison.md
14352
14189
  */
14353
14190
  "unicorn/no-negated-comparison"?: Linter.RuleEntry<UnicornNoNegatedComparison>;
14354
14191
  /**
14355
14192
  * Disallow negated conditions.
14356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negated-condition.md
14193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-negated-condition.md
14357
14194
  */
14358
14195
  "unicorn/no-negated-condition"?: Linter.RuleEntry<[]>;
14359
14196
  /**
14360
14197
  * Disallow negated expression in equality check.
14361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-negation-in-equality-check.md
14198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-negation-in-equality-check.md
14362
14199
  */
14363
14200
  "unicorn/no-negation-in-equality-check"?: Linter.RuleEntry<[]>;
14364
14201
  /**
14365
14202
  * Disallow nested ternary expressions.
14366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nested-ternary.md
14203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-nested-ternary.md
14367
14204
  */
14368
14205
  "unicorn/no-nested-ternary"?: Linter.RuleEntry<[]>;
14369
14206
  /**
14370
14207
  * Disallow `new Array()`.
14371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-array.md
14208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-new-array.md
14372
14209
  */
14373
14210
  "unicorn/no-new-array"?: Linter.RuleEntry<[]>;
14374
14211
  /**
14375
14212
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
14376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-new-buffer.md
14213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-new-buffer.md
14377
14214
  */
14378
14215
  "unicorn/no-new-buffer"?: Linter.RuleEntry<[]>;
14379
14216
  /**
14380
14217
  * Disallow non-function values with function-style verb prefixes.
14381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-non-function-verb-prefix.md
14218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-non-function-verb-prefix.md
14382
14219
  */
14383
14220
  "unicorn/no-non-function-verb-prefix"?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>;
14384
14221
  /**
14385
14222
  * Disallow non-standard properties on built-in objects.
14386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-nonstandard-builtin-properties.md
14223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-nonstandard-builtin-properties.md
14387
14224
  */
14388
14225
  "unicorn/no-nonstandard-builtin-properties"?: Linter.RuleEntry<[]>;
14389
14226
  /**
14390
14227
  * Disallow the use of the `null` literal.
14391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-null.md
14228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-null.md
14392
14229
  */
14393
14230
  "unicorn/no-null"?: Linter.RuleEntry<UnicornNoNull>;
14394
14231
  /**
14395
14232
  * Disallow the use of objects as default parameters.
14396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-as-default-parameter.md
14233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-object-as-default-parameter.md
14397
14234
  */
14398
14235
  "unicorn/no-object-as-default-parameter"?: Linter.RuleEntry<[]>;
14399
14236
  /**
14400
14237
  * Disallow `Object` methods with `Map` or `Set`.
14401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-object-methods-with-collections.md
14238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-object-methods-with-collections.md
14402
14239
  */
14403
14240
  "unicorn/no-object-methods-with-collections"?: Linter.RuleEntry<[]>;
14404
14241
  /**
14405
14242
  * Disallow optional chaining on undeclared variables.
14406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
14243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
14407
14244
  */
14408
14245
  "unicorn/no-optional-chaining-on-undeclared-variable"?: Linter.RuleEntry<[]>;
14409
14246
  /**
14410
14247
  * Disallow `process.exit()`.
14411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-process-exit.md
14248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-process-exit.md
14412
14249
  */
14413
14250
  "unicorn/no-process-exit"?: Linter.RuleEntry<[]>;
14414
14251
  /**
14415
14252
  * Disallow comparisons made redundant by an equality check in the same logical AND.
14416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-redundant-comparison.md
14253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-redundant-comparison.md
14417
14254
  */
14418
14255
  "unicorn/no-redundant-comparison"?: Linter.RuleEntry<[]>;
14419
14256
  /**
14420
14257
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
14421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-return-array-push.md
14258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-return-array-push.md
14422
14259
  */
14423
14260
  "unicorn/no-return-array-push"?: Linter.RuleEntry<[]>;
14424
14261
  /**
14425
14262
  * Disallow selector syntax in DOM names.
14426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-selector-as-dom-name.md
14263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-selector-as-dom-name.md
14427
14264
  */
14428
14265
  "unicorn/no-selector-as-dom-name"?: Linter.RuleEntry<[]>;
14429
14266
  /**
14430
14267
  * Disallow passing single-element arrays to `Promise` methods.
14431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-single-promise-in-promise-methods.md
14268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-single-promise-in-promise-methods.md
14432
14269
  */
14433
14270
  "unicorn/no-single-promise-in-promise-methods"?: Linter.RuleEntry<[]>;
14434
14271
  /**
14435
14272
  * Disallow classes that only have static members.
14436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-static-only-class.md
14273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-static-only-class.md
14437
14274
  */
14438
14275
  "unicorn/no-static-only-class"?: Linter.RuleEntry<[]>;
14439
14276
  /**
14440
14277
  * Prefer comparing values directly over subtracting and comparing to `0`.
14441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-subtraction-comparison.md
14278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-subtraction-comparison.md
14442
14279
  */
14443
14280
  "unicorn/no-subtraction-comparison"?: Linter.RuleEntry<[]>;
14444
14281
  /**
14445
14282
  * Disallow `then` property.
14446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-thenable.md
14283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-thenable.md
14447
14284
  */
14448
14285
  "unicorn/no-thenable"?: Linter.RuleEntry<[]>;
14449
14286
  /**
14450
14287
  * Disallow assigning `this` to a variable.
14451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-assignment.md
14288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-this-assignment.md
14452
14289
  */
14453
14290
  "unicorn/no-this-assignment"?: Linter.RuleEntry<[]>;
14454
14291
  /**
14455
14292
  * Disallow `this` outside of classes.
14456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-this-outside-of-class.md
14293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-this-outside-of-class.md
14457
14294
  */
14458
14295
  "unicorn/no-this-outside-of-class"?: Linter.RuleEntry<[]>;
14459
14296
  /**
14460
14297
  * Disallow assigning to top-level variables from inside functions.
14461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-assignment-in-function.md
14298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-top-level-assignment-in-function.md
14462
14299
  */
14463
14300
  "unicorn/no-top-level-assignment-in-function"?: Linter.RuleEntry<[]>;
14464
14301
  /**
14465
14302
  * Disallow top-level side effects in exported modules.
14466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-top-level-side-effects.md
14303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-top-level-side-effects.md
14467
14304
  */
14468
14305
  "unicorn/no-top-level-side-effects"?: Linter.RuleEntry<[]>;
14469
14306
  /**
14470
14307
  * Disallow comparing `undefined` using `typeof`.
14471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-typeof-undefined.md
14308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-typeof-undefined.md
14472
14309
  */
14473
14310
  "unicorn/no-typeof-undefined"?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
14474
14311
  /**
14475
14312
  * Disallow referencing methods without calling them.
14476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-uncalled-method.md
14313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-uncalled-method.md
14477
14314
  */
14478
14315
  "unicorn/no-uncalled-method"?: Linter.RuleEntry<[]>;
14479
14316
  /**
14480
14317
  * Require class members to be declared.
14481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-undeclared-class-members.md
14318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-undeclared-class-members.md
14482
14319
  */
14483
14320
  "unicorn/no-undeclared-class-members"?: Linter.RuleEntry<[]>;
14484
14321
  /**
14485
14322
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
14486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-depth.md
14323
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-array-flat-depth.md
14487
14324
  */
14488
14325
  "unicorn/no-unnecessary-array-flat-depth"?: Linter.RuleEntry<[]>;
14489
14326
  /**
14490
14327
  * Disallow `Array#flatMap()` callbacks that only wrap a single item.
14491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-flat-map.md
14328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-array-flat-map.md
14492
14329
  */
14493
14330
  "unicorn/no-unnecessary-array-flat-map"?: Linter.RuleEntry<[]>;
14494
14331
  /**
14495
14332
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
14496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-array-splice-count.md
14333
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-array-splice-count.md
14497
14334
  */
14498
14335
  "unicorn/no-unnecessary-array-splice-count"?: Linter.RuleEntry<[]>;
14499
14336
  /**
14500
14337
  * Disallow awaiting non-promise values.
14501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-await.md
14338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-await.md
14502
14339
  */
14503
14340
  "unicorn/no-unnecessary-await"?: Linter.RuleEntry<[]>;
14504
14341
  /**
14505
14342
  * Disallow unnecessary comparisons against boolean literals.
14506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-boolean-comparison.md
14343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-boolean-comparison.md
14507
14344
  */
14508
14345
  "unicorn/no-unnecessary-boolean-comparison"?: Linter.RuleEntry<[]>;
14509
14346
  /**
14510
14347
  * Disallow unnecessary options in `fetch()` and `new Request()`.
14511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-fetch-options.md
14348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-fetch-options.md
14512
14349
  */
14513
14350
  "unicorn/no-unnecessary-fetch-options"?: Linter.RuleEntry<[]>;
14514
14351
  /**
14515
14352
  * Disallow unnecessary `globalThis` references.
14516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-global-this.md
14353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-global-this.md
14517
14354
  */
14518
14355
  "unicorn/no-unnecessary-global-this"?: Linter.RuleEntry<[]>;
14519
14356
  /**
14520
14357
  * Disallow unnecessary nested ternary expressions.
14521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-nested-ternary.md
14358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-nested-ternary.md
14522
14359
  */
14523
14360
  "unicorn/no-unnecessary-nested-ternary"?: Linter.RuleEntry<[]>;
14524
14361
  /**
14525
14362
  * Enforce the use of built-in methods instead of unnecessary polyfills.
14526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-polyfills.md
14363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-polyfills.md
14527
14364
  */
14528
14365
  "unicorn/no-unnecessary-polyfills"?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
14529
14366
  /**
14530
14367
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
14531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-slice-end.md
14368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-slice-end.md
14532
14369
  */
14533
14370
  "unicorn/no-unnecessary-slice-end"?: Linter.RuleEntry<[]>;
14534
14371
  /**
14535
14372
  * Disallow `Array#splice()` when simpler alternatives exist.
14536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unnecessary-splice.md
14373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unnecessary-splice.md
14537
14374
  */
14538
14375
  "unicorn/no-unnecessary-splice"?: Linter.RuleEntry<[]>;
14539
14376
  /**
14540
14377
  * Disallow unreadable array destructuring.
14541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-array-destructuring.md
14378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unreadable-array-destructuring.md
14542
14379
  */
14543
14380
  "unicorn/no-unreadable-array-destructuring"?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>;
14544
14381
  /**
14545
14382
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
14546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-for-of-expression.md
14383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unreadable-for-of-expression.md
14547
14384
  */
14548
14385
  "unicorn/no-unreadable-for-of-expression"?: Linter.RuleEntry<[]>;
14549
14386
  /**
14550
14387
  * Disallow unreadable IIFEs.
14551
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-iife.md
14388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unreadable-iife.md
14552
14389
  */
14553
14390
  "unicorn/no-unreadable-iife"?: Linter.RuleEntry<[]>;
14554
14391
  /**
14555
14392
  * Disallow unreadable `new` expressions.
14556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-new-expression.md
14393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unreadable-new-expression.md
14557
14394
  */
14558
14395
  "unicorn/no-unreadable-new-expression"?: Linter.RuleEntry<[]>;
14559
14396
  /**
14560
14397
  * Disallow unreadable object destructuring.
14561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unreadable-object-destructuring.md
14398
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unreadable-object-destructuring.md
14562
14399
  */
14563
14400
  "unicorn/no-unreadable-object-destructuring"?: Linter.RuleEntry<[]>;
14564
14401
  /**
14565
14402
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
14566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-buffer-conversion.md
14403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unsafe-buffer-conversion.md
14567
14404
  */
14568
14405
  "unicorn/no-unsafe-buffer-conversion"?: Linter.RuleEntry<[]>;
14569
14406
  /**
14570
14407
  * Disallow unsafe DOM HTML APIs.
14571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-dom-html.md
14408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unsafe-dom-html.md
14572
14409
  */
14573
14410
  "unicorn/no-unsafe-dom-html"?: Linter.RuleEntry<[]>;
14574
14411
  /**
14575
14412
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
14576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
14413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unsafe-promise-all-settled-values.md
14577
14414
  */
14578
14415
  "unicorn/no-unsafe-promise-all-settled-values"?: Linter.RuleEntry<[]>;
14579
14416
  /**
14580
14417
  * Disallow unsafe values as property keys.
14581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-property-key.md
14418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unsafe-property-key.md
14582
14419
  */
14583
14420
  "unicorn/no-unsafe-property-key"?: Linter.RuleEntry<[]>;
14584
14421
  /**
14585
14422
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
14586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unsafe-string-replacement.md
14423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unsafe-string-replacement.md
14587
14424
  */
14588
14425
  "unicorn/no-unsafe-string-replacement"?: Linter.RuleEntry<[]>;
14589
14426
  /**
14590
14427
  * Disallow ignoring the return value of selected array methods.
14591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-array-method-return.md
14428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unused-array-method-return.md
14592
14429
  */
14593
14430
  "unicorn/no-unused-array-method-return"?: Linter.RuleEntry<[]>;
14594
14431
  /**
14595
14432
  * Disallow unused object properties.
14596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-unused-properties.md
14433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-unused-properties.md
14597
14434
  */
14598
14435
  "unicorn/no-unused-properties"?: Linter.RuleEntry<[]>;
14599
14436
  /**
14600
14437
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
14601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-boolean-cast.md
14438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-boolean-cast.md
14602
14439
  */
14603
14440
  "unicorn/no-useless-boolean-cast"?: Linter.RuleEntry<[]>;
14604
14441
  /**
14605
14442
  * Disallow useless type coercions of values that are already of the target type.
14606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-coercion.md
14443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-coercion.md
14607
14444
  */
14608
14445
  "unicorn/no-useless-coercion"?: Linter.RuleEntry<[]>;
14609
14446
  /**
14610
14447
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
14611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-collection-argument.md
14448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-collection-argument.md
14612
14449
  */
14613
14450
  "unicorn/no-useless-collection-argument"?: Linter.RuleEntry<[]>;
14614
14451
  /**
14615
14452
  * Disallow useless compound assignments such as `x += 0`.
14616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-compound-assignment.md
14453
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-compound-assignment.md
14617
14454
  */
14618
14455
  "unicorn/no-useless-compound-assignment"?: Linter.RuleEntry<[]>;
14619
14456
  /**
14620
14457
  * Disallow useless concatenation of literals.
14621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-concat.md
14458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-concat.md
14622
14459
  */
14623
14460
  "unicorn/no-useless-concat"?: Linter.RuleEntry<[]>;
14624
14461
  /**
14625
14462
  * Disallow useless `continue` statements.
14626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-continue.md
14463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-continue.md
14627
14464
  */
14628
14465
  "unicorn/no-useless-continue"?: Linter.RuleEntry<[]>;
14629
14466
  /**
14630
14467
  * Disallow unnecessary existence checks before deletion.
14631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-delete-check.md
14468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-delete-check.md
14632
14469
  */
14633
14470
  "unicorn/no-useless-delete-check"?: Linter.RuleEntry<[]>;
14634
14471
  /**
14635
14472
  * Disallow `else` after a statement that exits.
14636
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-else.md
14473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-else.md
14637
14474
  */
14638
14475
  "unicorn/no-useless-else"?: Linter.RuleEntry<[]>;
14639
14476
  /**
14640
14477
  * Disallow unnecessary `Error.captureStackTrace(…)`.
14641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-error-capture-stack-trace.md
14478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-error-capture-stack-trace.md
14642
14479
  */
14643
14480
  "unicorn/no-useless-error-capture-stack-trace"?: Linter.RuleEntry<[]>;
14644
14481
  /**
14645
14482
  * Disallow useless fallback when spreading in object literals.
14646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-fallback-in-spread.md
14483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-fallback-in-spread.md
14647
14484
  */
14648
14485
  "unicorn/no-useless-fallback-in-spread"?: Linter.RuleEntry<[]>;
14649
14486
  /**
14650
14487
  * Disallow unnecessary `.toArray()` on iterators.
14651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-iterator-to-array.md
14488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-iterator-to-array.md
14652
14489
  */
14653
14490
  "unicorn/no-useless-iterator-to-array"?: Linter.RuleEntry<[]>;
14654
14491
  /**
14655
14492
  * Disallow useless array length check.
14656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-length-check.md
14493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-length-check.md
14657
14494
  */
14658
14495
  "unicorn/no-useless-length-check"?: Linter.RuleEntry<[]>;
14659
14496
  /**
14660
14497
  * Disallow unnecessary operands in logical expressions involving boolean literals.
14661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-logical-operand.md
14498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-logical-operand.md
14662
14499
  */
14663
14500
  "unicorn/no-useless-logical-operand"?: Linter.RuleEntry<[]>;
14664
14501
  /**
14665
14502
  * Disallow useless overrides of class methods.
14666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-override.md
14503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-override.md
14667
14504
  */
14668
14505
  "unicorn/no-useless-override"?: Linter.RuleEntry<[]>;
14669
14506
  /**
14670
14507
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
14671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-promise-resolve-reject.md
14508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-promise-resolve-reject.md
14672
14509
  */
14673
14510
  "unicorn/no-useless-promise-resolve-reject"?: Linter.RuleEntry<[]>;
14674
14511
  /**
14675
14512
  * Disallow simple recursive function calls that can be replaced with a loop.
14676
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-recursion.md
14513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-recursion.md
14677
14514
  */
14678
14515
  "unicorn/no-useless-recursion"?: Linter.RuleEntry<[]>;
14679
14516
  /**
14680
14517
  * Disallow unnecessary spread.
14681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-spread.md
14518
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-spread.md
14682
14519
  */
14683
14520
  "unicorn/no-useless-spread"?: Linter.RuleEntry<[]>;
14684
14521
  /**
14685
14522
  * Disallow useless case in switch statements.
14686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-switch-case.md
14523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-switch-case.md
14687
14524
  */
14688
14525
  "unicorn/no-useless-switch-case"?: Linter.RuleEntry<[]>;
14689
14526
  /**
14690
14527
  * Disallow useless template literal expressions.
14691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-template-literals.md
14528
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-template-literals.md
14692
14529
  */
14693
14530
  "unicorn/no-useless-template-literals"?: Linter.RuleEntry<[]>;
14694
14531
  /**
14695
14532
  * Disallow useless `undefined`.
14696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-useless-undefined.md
14533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-useless-undefined.md
14697
14534
  */
14698
14535
  "unicorn/no-useless-undefined"?: Linter.RuleEntry<UnicornNoUselessUndefined>;
14699
14536
  /**
14700
14537
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
14701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-xor-as-exponentiation.md
14538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-xor-as-exponentiation.md
14702
14539
  */
14703
14540
  "unicorn/no-xor-as-exponentiation"?: Linter.RuleEntry<[]>;
14704
14541
  /**
14705
14542
  * Disallow number literals with zero fractions or dangling dots.
14706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/no-zero-fractions.md
14543
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/no-zero-fractions.md
14707
14544
  */
14708
14545
  "unicorn/no-zero-fractions"?: Linter.RuleEntry<[]>;
14709
14546
  /**
14710
14547
  * Enforce proper case for numeric literals.
14711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/number-literal-case.md
14548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/number-literal-case.md
14712
14549
  */
14713
14550
  "unicorn/number-literal-case"?: Linter.RuleEntry<UnicornNumberLiteralCase>;
14714
14551
  /**
14715
14552
  * Enforce the style of numeric separators by correctly grouping digits.
14716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/numeric-separators-style.md
14553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/numeric-separators-style.md
14717
14554
  */
14718
14555
  "unicorn/numeric-separators-style"?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
14719
14556
  /**
14720
14557
  * Require assignment operator shorthand where possible.
14721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/operator-assignment.md
14558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/operator-assignment.md
14722
14559
  */
14723
14560
  "unicorn/operator-assignment"?: Linter.RuleEntry<UnicornOperatorAssignment>;
14724
14561
  /**
14725
14562
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
14726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-any.md
14563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-abort-signal-any.md
14727
14564
  */
14728
14565
  "unicorn/prefer-abort-signal-any"?: Linter.RuleEntry<[]>;
14729
14566
  /**
14730
14567
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
14731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-abort-signal-timeout.md
14568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-abort-signal-timeout.md
14732
14569
  */
14733
14570
  "unicorn/prefer-abort-signal-timeout"?: Linter.RuleEntry<[]>;
14734
14571
  /**
14735
14572
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
14736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener.md
14573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-add-event-listener.md
14737
14574
  */
14738
14575
  "unicorn/prefer-add-event-listener"?: Linter.RuleEntry<UnicornPreferAddEventListener>;
14739
14576
  /**
14740
14577
  * Prefer an options object over a boolean in `.addEventListener()`.
14741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-add-event-listener-options.md
14578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-add-event-listener-options.md
14742
14579
  */
14743
14580
  "unicorn/prefer-add-event-listener-options"?: Linter.RuleEntry<[]>;
14744
14581
  /**
14745
14582
  * Prefer `AggregateError` when throwing collected errors.
14746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-aggregate-error.md
14583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-aggregate-error.md
14747
14584
  */
14748
14585
  "unicorn/prefer-aggregate-error"?: Linter.RuleEntry<[]>;
14749
14586
  /**
14750
14587
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
14751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-find.md
14588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-find.md
14752
14589
  */
14753
14590
  "unicorn/prefer-array-find"?: Linter.RuleEntry<UnicornPreferArrayFind>;
14754
14591
  /**
14755
14592
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
14756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat.md
14593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-flat.md
14757
14594
  */
14758
14595
  "unicorn/prefer-array-flat"?: Linter.RuleEntry<UnicornPreferArrayFlat>;
14759
14596
  /**
14760
14597
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
14761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-flat-map.md
14598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-flat-map.md
14762
14599
  */
14763
14600
  "unicorn/prefer-array-flat-map"?: Linter.RuleEntry<[]>;
14764
14601
  /**
14765
14602
  * Prefer `Array.fromAsync()` over `for await…of` array accumulation.
14766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-async.md
14603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-from-async.md
14767
14604
  */
14768
14605
  "unicorn/prefer-array-from-async"?: Linter.RuleEntry<[]>;
14769
14606
  /**
14770
14607
  * Prefer using the `Array.from()` mapping function argument.
14771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-map.md
14608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-from-map.md
14772
14609
  */
14773
14610
  "unicorn/prefer-array-from-map"?: Linter.RuleEntry<[]>;
14774
14611
  /**
14775
14612
  * Prefer `Array.from({length}, …)` when creating range arrays.
14776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-from-range.md
14613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-from-range.md
14777
14614
  */
14778
14615
  "unicorn/prefer-array-from-range"?: Linter.RuleEntry<[]>;
14779
14616
  /**
14780
14617
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
14781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-index-of.md
14618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-index-of.md
14782
14619
  */
14783
14620
  "unicorn/prefer-array-index-of"?: Linter.RuleEntry<[]>;
14784
14621
  /**
14785
14622
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
14786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-iterable-methods.md
14623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-iterable-methods.md
14787
14624
  */
14788
14625
  "unicorn/prefer-array-iterable-methods"?: Linter.RuleEntry<[]>;
14789
14626
  /**
14790
14627
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
14791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-last-methods.md
14628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-last-methods.md
14792
14629
  */
14793
14630
  "unicorn/prefer-array-last-methods"?: Linter.RuleEntry<[]>;
14794
14631
  /**
14795
14632
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
14796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-slice.md
14633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-slice.md
14797
14634
  */
14798
14635
  "unicorn/prefer-array-slice"?: Linter.RuleEntry<[]>;
14799
14636
  /**
14800
14637
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
14801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-array-some.md
14638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-array-some.md
14802
14639
  */
14803
14640
  "unicorn/prefer-array-some"?: Linter.RuleEntry<[]>;
14804
14641
  /**
14805
14642
  * Prefer `.at()` method for index access and `String#charAt()`.
14806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-at.md
14643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-at.md
14807
14644
  */
14808
14645
  "unicorn/prefer-at"?: Linter.RuleEntry<UnicornPreferAt>;
14809
14646
  /**
14810
14647
  * Prefer `await` over promise chaining.
14811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-await.md
14648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-await.md
14812
14649
  */
14813
14650
  "unicorn/prefer-await"?: Linter.RuleEntry<[]>;
14814
14651
  /**
14815
14652
  * Prefer `BigInt` literals over the constructor.
14816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-bigint-literals.md
14653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-bigint-literals.md
14817
14654
  */
14818
14655
  "unicorn/prefer-bigint-literals"?: Linter.RuleEntry<[]>;
14819
14656
  /**
14820
14657
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
14821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-blob-reading-methods.md
14658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-blob-reading-methods.md
14822
14659
  */
14823
14660
  "unicorn/prefer-blob-reading-methods"?: Linter.RuleEntry<[]>;
14824
14661
  /**
14825
14662
  * Prefer block statements over IIFEs used only for scoping.
14826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-block-statement-over-iife.md
14663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-block-statement-over-iife.md
14827
14664
  */
14828
14665
  "unicorn/prefer-block-statement-over-iife"?: Linter.RuleEntry<[]>;
14829
14666
  /**
14830
14667
  * Prefer directly returning boolean expressions over `if` statements.
14831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-boolean-return.md
14668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-boolean-return.md
14832
14669
  */
14833
14670
  "unicorn/prefer-boolean-return"?: Linter.RuleEntry<[]>;
14834
14671
  /**
14835
14672
  * Prefer class field declarations over `this` assignments in constructors.
14836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-class-fields.md
14673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-class-fields.md
14837
14674
  */
14838
14675
  "unicorn/prefer-class-fields"?: Linter.RuleEntry<[]>;
14839
14676
  /**
14840
14677
  * Prefer using `Element#classList.toggle()` to toggle class names.
14841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-classlist-toggle.md
14678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-classlist-toggle.md
14842
14679
  */
14843
14680
  "unicorn/prefer-classlist-toggle"?: Linter.RuleEntry<[]>;
14844
14681
  /**
14845
14682
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
14846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-code-point.md
14683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-code-point.md
14847
14684
  */
14848
14685
  "unicorn/prefer-code-point"?: Linter.RuleEntry<[]>;
14849
14686
  /**
14850
14687
  * Prefer early continues over whole-loop conditional wrapping.
14851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-continue.md
14688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-continue.md
14852
14689
  */
14853
14690
  "unicorn/prefer-continue"?: Linter.RuleEntry<UnicornPreferContinue>;
14854
14691
  /**
14855
14692
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
14856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-date-now.md
14693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-date-now.md
14857
14694
  */
14858
14695
  "unicorn/prefer-date-now"?: Linter.RuleEntry<[]>;
14859
14696
  /**
14860
14697
  * Prefer default parameters over reassignment.
14861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-default-parameters.md
14698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-default-parameters.md
14862
14699
  */
14863
14700
  "unicorn/prefer-default-parameters"?: Linter.RuleEntry<[]>;
14864
14701
  /**
14865
14702
  * Prefer direct iteration over default iterator method calls.
14866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-direct-iteration.md
14703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-direct-iteration.md
14867
14704
  */
14868
14705
  "unicorn/prefer-direct-iteration"?: Linter.RuleEntry<[]>;
14869
14706
  /**
14870
14707
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
14871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dispose.md
14708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dispose.md
14872
14709
  */
14873
14710
  "unicorn/prefer-dispose"?: Linter.RuleEntry<[]>;
14874
14711
  /**
14875
14712
  * Prefer `Element#append()` over `Node#appendChild()`.
14876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-append.md
14713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dom-node-append.md
14877
14714
  */
14878
14715
  "unicorn/prefer-dom-node-append"?: Linter.RuleEntry<[]>;
14879
14716
  /**
14880
14717
  * Renamed to `unicorn/dom-node-dataset`.
14881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
14718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
14882
14719
  * @deprecated
14883
14720
  */
14884
14721
  "unicorn/prefer-dom-node-dataset"?: Linter.RuleEntry<[]>;
14885
14722
  /**
14886
14723
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
14887
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-html-methods.md
14724
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dom-node-html-methods.md
14888
14725
  */
14889
14726
  "unicorn/prefer-dom-node-html-methods"?: Linter.RuleEntry<[]>;
14890
14727
  /**
14891
14728
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
14892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-remove.md
14729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dom-node-remove.md
14893
14730
  */
14894
14731
  "unicorn/prefer-dom-node-remove"?: Linter.RuleEntry<[]>;
14895
14732
  /**
14896
14733
  * Prefer `.replaceChildren()` when emptying DOM children.
14897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-replace-children.md
14734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dom-node-replace-children.md
14898
14735
  */
14899
14736
  "unicorn/prefer-dom-node-replace-children"?: Linter.RuleEntry<[]>;
14900
14737
  /**
14901
14738
  * Prefer `.textContent` over `.innerText`.
14902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-dom-node-text-content.md
14739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-dom-node-text-content.md
14903
14740
  */
14904
14741
  "unicorn/prefer-dom-node-text-content"?: Linter.RuleEntry<[]>;
14905
14742
  /**
14906
14743
  * Prefer early returns over full-function conditional wrapping.
14907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-early-return.md
14744
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-early-return.md
14908
14745
  */
14909
14746
  "unicorn/prefer-early-return"?: Linter.RuleEntry<UnicornPreferEarlyReturn>;
14910
14747
  /**
14911
14748
  * Prefer `else if` over adjacent `if` statements with related conditions.
14912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-else-if.md
14749
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-else-if.md
14913
14750
  */
14914
14751
  "unicorn/prefer-else-if"?: Linter.RuleEntry<[]>;
14915
14752
  /**
14916
14753
  * Prefer `Error.isError()` when checking for errors.
14917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-error-is-error.md
14754
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-error-is-error.md
14918
14755
  */
14919
14756
  "unicorn/prefer-error-is-error"?: Linter.RuleEntry<[]>;
14920
14757
  /**
14921
14758
  * Prefer `EventTarget` over `EventEmitter`.
14922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-event-target.md
14759
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-event-target.md
14923
14760
  */
14924
14761
  "unicorn/prefer-event-target"?: Linter.RuleEntry<[]>;
14925
14762
  /**
14926
14763
  * Prefer `export…from` when re-exporting.
14927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-export-from.md
14764
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-export-from.md
14928
14765
  */
14929
14766
  "unicorn/prefer-export-from"?: Linter.RuleEntry<UnicornPreferExportFrom>;
14930
14767
  /**
14931
14768
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
14932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-flat-math-min-max.md
14769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-flat-math-min-max.md
14933
14770
  */
14934
14771
  "unicorn/prefer-flat-math-min-max"?: Linter.RuleEntry<[]>;
14935
14772
  /**
14936
14773
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
14937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-get-or-insert-computed.md
14774
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-get-or-insert-computed.md
14938
14775
  */
14939
14776
  "unicorn/prefer-get-or-insert-computed"?: Linter.RuleEntry<[]>;
14940
14777
  /**
14941
14778
  * Prefer global numeric constants over `Number` static properties.
14942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-number-constants.md
14779
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-global-number-constants.md
14943
14780
  */
14944
14781
  "unicorn/prefer-global-number-constants"?: Linter.RuleEntry<[]>;
14945
14782
  /**
14946
14783
  * Prefer `globalThis` over `window`, `self`, and `global`.
14947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-global-this.md
14784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-global-this.md
14948
14785
  */
14949
14786
  "unicorn/prefer-global-this"?: Linter.RuleEntry<[]>;
14950
14787
  /**
14951
14788
  * Prefer `Object.groupBy()` or `Map.groupBy()` over reduce-based grouping.
14952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-group-by.md
14789
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-group-by.md
14953
14790
  */
14954
14791
  "unicorn/prefer-group-by"?: Linter.RuleEntry<[]>;
14955
14792
  /**
14956
14793
  * Prefer `.has()` when checking existence.
14957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-has-check.md
14794
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-has-check.md
14958
14795
  */
14959
14796
  "unicorn/prefer-has-check"?: Linter.RuleEntry<[]>;
14960
14797
  /**
14961
14798
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
14962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-hoisting-branch-code.md
14799
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-hoisting-branch-code.md
14963
14800
  */
14964
14801
  "unicorn/prefer-hoisting-branch-code"?: Linter.RuleEntry<[]>;
14965
14802
  /**
14966
14803
  * Prefer HTTPS over HTTP.
14967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-https.md
14804
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-https.md
14968
14805
  */
14969
14806
  "unicorn/prefer-https"?: Linter.RuleEntry<[]>;
14970
14807
  /**
14971
14808
  * Prefer identifiers over string literals in import and export specifiers.
14972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
14809
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-identifier-import-export-specifiers.md
14973
14810
  */
14974
14811
  "unicorn/prefer-identifier-import-export-specifiers"?: Linter.RuleEntry<[]>;
14975
14812
  /**
14976
14813
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
14977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-import-meta-properties.md
14814
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-import-meta-properties.md
14978
14815
  */
14979
14816
  "unicorn/prefer-import-meta-properties"?: Linter.RuleEntry<[]>;
14980
14817
  /**
14981
14818
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
14982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes.md
14819
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-includes.md
14983
14820
  */
14984
14821
  "unicorn/prefer-includes"?: Linter.RuleEntry<[]>;
14985
14822
  /**
14986
14823
  * Prefer `.includes()` over repeated equality comparisons.
14987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
14824
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-includes-over-repeated-comparisons.md
14988
14825
  */
14989
14826
  "unicorn/prefer-includes-over-repeated-comparisons"?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>;
14990
14827
  /**
14991
14828
  * Prefer passing iterables directly to constructors instead of filling empty collections.
14992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterable-in-constructor.md
14829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-iterable-in-constructor.md
14993
14830
  */
14994
14831
  "unicorn/prefer-iterable-in-constructor"?: Linter.RuleEntry<[]>;
14995
14832
  /**
14996
14833
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
14997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-concat.md
14834
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-iterator-concat.md
14998
14835
  */
14999
14836
  "unicorn/prefer-iterator-concat"?: Linter.RuleEntry<[]>;
15000
14837
  /**
15001
14838
  * Prefer iterator helpers over temporary arrays from iterators.
15002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-helpers.md
14839
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-iterator-helpers.md
15003
14840
  */
15004
14841
  "unicorn/prefer-iterator-helpers"?: Linter.RuleEntry<[]>;
15005
14842
  /**
15006
14843
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
15007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array.md
14844
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-iterator-to-array.md
15008
14845
  */
15009
14846
  "unicorn/prefer-iterator-to-array"?: Linter.RuleEntry<[]>;
15010
14847
  /**
15011
14848
  * Prefer moving `.toArray()` to the end of iterator helper chains.
15012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-iterator-to-array-at-end.md
14849
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-iterator-to-array-at-end.md
15013
14850
  */
15014
14851
  "unicorn/prefer-iterator-to-array-at-end"?: Linter.RuleEntry<[]>;
15015
14852
  /**
15016
14853
  * Renamed to `unicorn/consistent-json-file-read`.
15017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
14854
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
15018
14855
  * @deprecated
15019
14856
  */
15020
14857
  "unicorn/prefer-json-parse-buffer"?: Linter.RuleEntry<[]>;
15021
14858
  /**
15022
14859
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
15023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-keyboard-event-key.md
14860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-keyboard-event-key.md
15024
14861
  */
15025
14862
  "unicorn/prefer-keyboard-event-key"?: Linter.RuleEntry<[]>;
15026
14863
  /**
15027
14864
  * Prefer `location.assign()` over assigning to `location.href`.
15028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-location-assign.md
14865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-location-assign.md
15029
14866
  */
15030
14867
  "unicorn/prefer-location-assign"?: Linter.RuleEntry<[]>;
15031
14868
  /**
15032
14869
  * Prefer using a logical operator over a ternary.
15033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-logical-operator-over-ternary.md
14870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-logical-operator-over-ternary.md
15034
14871
  */
15035
14872
  "unicorn/prefer-logical-operator-over-ternary"?: Linter.RuleEntry<[]>;
15036
14873
  /**
15037
14874
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
15038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-map-from-entries.md
14875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-map-from-entries.md
15039
14876
  */
15040
14877
  "unicorn/prefer-map-from-entries"?: Linter.RuleEntry<[]>;
15041
14878
  /**
15042
14879
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
15043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-abs.md
14880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-math-abs.md
15044
14881
  */
15045
14882
  "unicorn/prefer-math-abs"?: Linter.RuleEntry<[]>;
15046
14883
  /**
15047
14884
  * Prefer `Math` constants over their approximate numeric values.
15048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-constants.md
14885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-math-constants.md
15049
14886
  */
15050
14887
  "unicorn/prefer-math-constants"?: Linter.RuleEntry<[]>;
15051
14888
  /**
15052
14889
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
15053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-min-max.md
14890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-math-min-max.md
15054
14891
  */
15055
14892
  "unicorn/prefer-math-min-max"?: Linter.RuleEntry<[]>;
15056
14893
  /**
15057
14894
  * Prefer `Math.trunc()` for truncating numbers.
15058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-math-trunc.md
14895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-math-trunc.md
15059
14896
  */
15060
14897
  "unicorn/prefer-math-trunc"?: Linter.RuleEntry<[]>;
15061
14898
  /**
15062
14899
  * Prefer moving ternaries into the minimal varying part of an expression.
15063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-minimal-ternary.md
14900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-minimal-ternary.md
15064
14901
  */
15065
14902
  "unicorn/prefer-minimal-ternary"?: Linter.RuleEntry<UnicornPreferMinimalTernary>;
15066
14903
  /**
15067
14904
  * Prefer modern DOM APIs.
15068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-dom-apis.md
14905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-modern-dom-apis.md
15069
14906
  */
15070
14907
  "unicorn/prefer-modern-dom-apis"?: Linter.RuleEntry<[]>;
15071
14908
  /**
15072
14909
  * Prefer modern `Math` APIs over legacy patterns.
15073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-modern-math-apis.md
14910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-modern-math-apis.md
15074
14911
  */
15075
14912
  "unicorn/prefer-modern-math-apis"?: Linter.RuleEntry<[]>;
15076
14913
  /**
15077
14914
  * Prefer JavaScript modules (ESM) over CommonJS.
15078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-module.md
14915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-module.md
15079
14916
  */
15080
14917
  "unicorn/prefer-module"?: Linter.RuleEntry<[]>;
15081
14918
  /**
15082
14919
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
15083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-native-coercion-functions.md
14920
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-native-coercion-functions.md
15084
14921
  */
15085
14922
  "unicorn/prefer-native-coercion-functions"?: Linter.RuleEntry<[]>;
15086
14923
  /**
15087
14924
  * Prefer negative index over `.length - index` when possible.
15088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-negative-index.md
14925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-negative-index.md
15089
14926
  */
15090
14927
  "unicorn/prefer-negative-index"?: Linter.RuleEntry<[]>;
15091
14928
  /**
15092
14929
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
15093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-node-protocol.md
14930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-node-protocol.md
15094
14931
  */
15095
14932
  "unicorn/prefer-node-protocol"?: Linter.RuleEntry<[]>;
15096
14933
  /**
15097
14934
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
15098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-coercion.md
14935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-number-coercion.md
15099
14936
  */
15100
14937
  "unicorn/prefer-number-coercion"?: Linter.RuleEntry<[]>;
15101
14938
  /**
15102
14939
  * Prefer `Number.isSafeInteger()` over integer checks.
15103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-is-safe-integer.md
14940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-number-is-safe-integer.md
15104
14941
  */
15105
14942
  "unicorn/prefer-number-is-safe-integer"?: Linter.RuleEntry<[]>;
15106
14943
  /**
15107
14944
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
15108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-number-properties.md
14945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-number-properties.md
15109
14946
  */
15110
14947
  "unicorn/prefer-number-properties"?: Linter.RuleEntry<UnicornPreferNumberProperties>;
15111
14948
  /**
15112
14949
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
15113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-define-properties.md
14950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-object-define-properties.md
15114
14951
  */
15115
14952
  "unicorn/prefer-object-define-properties"?: Linter.RuleEntry<[]>;
15116
14953
  /**
15117
14954
  * Prefer object destructuring defaults over default object literals with spread.
15118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-destructuring-defaults.md
14955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-object-destructuring-defaults.md
15119
14956
  */
15120
14957
  "unicorn/prefer-object-destructuring-defaults"?: Linter.RuleEntry<[]>;
15121
14958
  /**
15122
14959
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
15123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-from-entries.md
14960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-object-from-entries.md
15124
14961
  */
15125
14962
  "unicorn/prefer-object-from-entries"?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
15126
14963
  /**
15127
14964
  * Prefer the most specific `Object` iterable method.
15128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-object-iterable-methods.md
14965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-object-iterable-methods.md
15129
14966
  */
15130
14967
  "unicorn/prefer-object-iterable-methods"?: Linter.RuleEntry<[]>;
15131
14968
  /**
15132
14969
  * Prefer observer APIs over resize and scroll listeners with layout reads.
15133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-observer-apis.md
14970
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-observer-apis.md
15134
14971
  */
15135
14972
  "unicorn/prefer-observer-apis"?: Linter.RuleEntry<[]>;
15136
14973
  /**
15137
14974
  * Prefer omitting the `catch` binding parameter.
15138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-optional-catch-binding.md
14975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-optional-catch-binding.md
15139
14976
  */
15140
14977
  "unicorn/prefer-optional-catch-binding"?: Linter.RuleEntry<[]>;
15141
14978
  /**
15142
14979
  * Prefer `Path2D` for repeatedly drawn canvas paths.
15143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-path2d.md
14980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-path2d.md
15144
14981
  */
15145
14982
  "unicorn/prefer-path2d"?: Linter.RuleEntry<[]>;
15146
14983
  /**
15147
14984
  * Prefer private class fields over the underscore-prefix convention.
15148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-private-class-fields.md
14985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-private-class-fields.md
15149
14986
  */
15150
14987
  "unicorn/prefer-private-class-fields"?: Linter.RuleEntry<[]>;
15151
14988
  /**
15152
14989
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
15153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-try.md
14990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-promise-try.md
15154
14991
  */
15155
14992
  "unicorn/prefer-promise-try"?: Linter.RuleEntry<[]>;
15156
14993
  /**
15157
14994
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
15158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-promise-with-resolvers.md
14995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-promise-with-resolvers.md
15159
14996
  */
15160
14997
  "unicorn/prefer-promise-with-resolvers"?: Linter.RuleEntry<[]>;
15161
14998
  /**
15162
14999
  * Prefer borrowing methods from the prototype instead of the instance.
15163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-prototype-methods.md
15000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-prototype-methods.md
15164
15001
  */
15165
15002
  "unicorn/prefer-prototype-methods"?: Linter.RuleEntry<[]>;
15166
15003
  /**
15167
15004
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
15168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-query-selector.md
15005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-query-selector.md
15169
15006
  */
15170
15007
  "unicorn/prefer-query-selector"?: Linter.RuleEntry<UnicornPreferQuerySelector>;
15171
15008
  /**
15172
15009
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
15173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-queue-microtask.md
15010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-queue-microtask.md
15174
15011
  */
15175
15012
  "unicorn/prefer-queue-microtask"?: Linter.RuleEntry<UnicornPreferQueueMicrotask>;
15176
15013
  /**
15177
15014
  * Prefer `Reflect.apply()` over `Function#apply()`.
15178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-reflect-apply.md
15015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-reflect-apply.md
15179
15016
  */
15180
15017
  "unicorn/prefer-reflect-apply"?: Linter.RuleEntry<[]>;
15181
15018
  /**
15182
15019
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
15183
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-escape.md
15020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-regexp-escape.md
15184
15021
  */
15185
15022
  "unicorn/prefer-regexp-escape"?: Linter.RuleEntry<[]>;
15186
15023
  /**
15187
15024
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
15188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-regexp-test.md
15025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-regexp-test.md
15189
15026
  */
15190
15027
  "unicorn/prefer-regexp-test"?: Linter.RuleEntry<[]>;
15191
15028
  /**
15192
15029
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
15193
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-response-static-json.md
15030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-response-static-json.md
15194
15031
  */
15195
15032
  "unicorn/prefer-response-static-json"?: Linter.RuleEntry<[]>;
15196
15033
  /**
15197
15034
  * Prefer `:scope` when using element query selector methods.
15198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-scoped-selector.md
15035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-scoped-selector.md
15199
15036
  */
15200
15037
  "unicorn/prefer-scoped-selector"?: Linter.RuleEntry<[]>;
15201
15038
  /**
15202
15039
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
15203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-has.md
15040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-set-has.md
15204
15041
  */
15205
15042
  "unicorn/prefer-set-has"?: Linter.RuleEntry<UnicornPreferSetHas>;
15206
15043
  /**
15207
15044
  * Prefer `Set` methods for Set operations.
15208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-methods.md
15045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-set-methods.md
15209
15046
  */
15210
15047
  "unicorn/prefer-set-methods"?: Linter.RuleEntry<[]>;
15211
15048
  /**
15212
15049
  * Prefer using `Set#size` instead of `Array#length`.
15213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-set-size.md
15050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-set-size.md
15214
15051
  */
15215
15052
  "unicorn/prefer-set-size"?: Linter.RuleEntry<[]>;
15216
15053
  /**
15217
15054
  * Prefer arrow function properties over methods with a single return.
15218
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-short-arrow-method.md
15055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-short-arrow-method.md
15219
15056
  */
15220
15057
  "unicorn/prefer-short-arrow-method"?: Linter.RuleEntry<[]>;
15221
15058
  /**
15222
15059
  * Prefer simple conditions first in logical expressions.
15223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-condition-first.md
15060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-simple-condition-first.md
15224
15061
  */
15225
15062
  "unicorn/prefer-simple-condition-first"?: Linter.RuleEntry<[]>;
15226
15063
  /**
15227
15064
  * Prefer a simple comparison function for `Array#sort()`.
15228
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simple-sort-comparator.md
15065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-simple-sort-comparator.md
15229
15066
  */
15230
15067
  "unicorn/prefer-simple-sort-comparator"?: Linter.RuleEntry<[]>;
15231
15068
  /**
15232
15069
  * Prefer simplified conditions.
15233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-simplified-conditions.md
15070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-simplified-conditions.md
15234
15071
  */
15235
15072
  "unicorn/prefer-simplified-conditions"?: Linter.RuleEntry<[]>;
15236
15073
  /**
15237
15074
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
15238
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-array-predicate.md
15075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-single-array-predicate.md
15239
15076
  */
15240
15077
  "unicorn/prefer-single-array-predicate"?: Linter.RuleEntry<[]>;
15241
15078
  /**
15242
15079
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
15243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-call.md
15080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-single-call.md
15244
15081
  */
15245
15082
  "unicorn/prefer-single-call"?: Linter.RuleEntry<UnicornPreferSingleCall>;
15246
15083
  /**
15247
15084
  * Prefer a single object destructuring declaration per local const source.
15248
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-object-destructuring.md
15085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-single-object-destructuring.md
15249
15086
  */
15250
15087
  "unicorn/prefer-single-object-destructuring"?: Linter.RuleEntry<[]>;
15251
15088
  /**
15252
15089
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
15253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-single-replace.md
15090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-single-replace.md
15254
15091
  */
15255
15092
  "unicorn/prefer-single-replace"?: Linter.RuleEntry<[]>;
15256
15093
  /**
15257
15094
  * Prefer declaring variables in the smallest possible scope.
15258
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-smaller-scope.md
15095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-smaller-scope.md
15259
15096
  */
15260
15097
  "unicorn/prefer-smaller-scope"?: Linter.RuleEntry<[]>;
15261
15098
  /**
15262
15099
  * Prefer `String#split()` with a limit.
15263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-split-limit.md
15100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-split-limit.md
15264
15101
  */
15265
15102
  "unicorn/prefer-split-limit"?: Linter.RuleEntry<[]>;
15266
15103
  /**
15267
15104
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
15268
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-spread.md
15105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-spread.md
15269
15106
  */
15270
15107
  "unicorn/prefer-spread"?: Linter.RuleEntry<[]>;
15271
15108
  /**
15272
15109
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
15273
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-match-all.md
15110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-match-all.md
15274
15111
  */
15275
15112
  "unicorn/prefer-string-match-all"?: Linter.RuleEntry<[]>;
15276
15113
  /**
15277
15114
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
15278
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-pad-start-end.md
15115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-pad-start-end.md
15279
15116
  */
15280
15117
  "unicorn/prefer-string-pad-start-end"?: Linter.RuleEntry<[]>;
15281
15118
  /**
15282
15119
  * Prefer using the `String.raw` tag to avoid escaping `\`.
15283
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-raw.md
15120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-raw.md
15284
15121
  */
15285
15122
  "unicorn/prefer-string-raw"?: Linter.RuleEntry<[]>;
15286
15123
  /**
15287
15124
  * Prefer `String#repeat()` for repeated whitespace.
15288
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-repeat.md
15125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-repeat.md
15289
15126
  */
15290
15127
  "unicorn/prefer-string-repeat"?: Linter.RuleEntry<UnicornPreferStringRepeat>;
15291
15128
  /**
15292
15129
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
15293
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-replace-all.md
15130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-replace-all.md
15294
15131
  */
15295
15132
  "unicorn/prefer-string-replace-all"?: Linter.RuleEntry<[]>;
15296
15133
  /**
15297
15134
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
15298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-slice.md
15135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-slice.md
15299
15136
  */
15300
15137
  "unicorn/prefer-string-slice"?: Linter.RuleEntry<[]>;
15301
15138
  /**
15302
15139
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()` and `String#indexOf() === 0`.
15303
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-starts-ends-with.md
15140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-starts-ends-with.md
15304
15141
  */
15305
15142
  "unicorn/prefer-string-starts-ends-with"?: Linter.RuleEntry<[]>;
15306
15143
  /**
15307
15144
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
15308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-string-trim-start-end.md
15145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-string-trim-start-end.md
15309
15146
  */
15310
15147
  "unicorn/prefer-string-trim-start-end"?: Linter.RuleEntry<[]>;
15311
15148
  /**
15312
15149
  * Prefer using `structuredClone` to create a deep clone.
15313
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-structured-clone.md
15150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-structured-clone.md
15314
15151
  */
15315
15152
  "unicorn/prefer-structured-clone"?: Linter.RuleEntry<UnicornPreferStructuredClone>;
15316
15153
  /**
15317
15154
  * Prefer `switch` over multiple `else-if`.
15318
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-switch.md
15155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-switch.md
15319
15156
  */
15320
15157
  "unicorn/prefer-switch"?: Linter.RuleEntry<UnicornPreferSwitch>;
15321
15158
  /**
15322
15159
  * Prefer `Temporal` over `Date`.
15323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-temporal.md
15160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-temporal.md
15324
15161
  */
15325
15162
  "unicorn/prefer-temporal"?: Linter.RuleEntry<UnicornPreferTemporal>;
15326
15163
  /**
15327
15164
  * Prefer ternary expressions over simple `if` statements that return or assign values.
15328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-ternary.md
15165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-ternary.md
15329
15166
  */
15330
15167
  "unicorn/prefer-ternary"?: Linter.RuleEntry<UnicornPreferTernary>;
15331
15168
  /**
15332
15169
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
15333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-toggle-attribute.md
15170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-toggle-attribute.md
15334
15171
  */
15335
15172
  "unicorn/prefer-toggle-attribute"?: Linter.RuleEntry<[]>;
15336
15173
  /**
15337
15174
  * Prefer top-level await over top-level promises and async function calls.
15338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-top-level-await.md
15175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-top-level-await.md
15339
15176
  */
15340
15177
  "unicorn/prefer-top-level-await"?: Linter.RuleEntry<[]>;
15341
15178
  /**
15342
15179
  * Enforce throwing `TypeError` in type checking conditions.
15343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-error.md
15180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-type-error.md
15344
15181
  */
15345
15182
  "unicorn/prefer-type-error"?: Linter.RuleEntry<[]>;
15346
15183
  /**
15347
15184
  * Require type literals to be last in union types.
15348
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-type-literal-last.md
15185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-type-literal-last.md
15349
15186
  */
15350
15187
  "unicorn/prefer-type-literal-last"?: Linter.RuleEntry<[]>;
15351
15188
  /**
15352
15189
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over `atob()`, `btoa()`, and `Buffer` base64 conversions.
15353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-uint8array-base64.md
15190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-uint8array-base64.md
15354
15191
  */
15355
15192
  "unicorn/prefer-uint8array-base64"?: Linter.RuleEntry<[]>;
15356
15193
  /**
15357
15194
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
15358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unary-minus.md
15195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-unary-minus.md
15359
15196
  */
15360
15197
  "unicorn/prefer-unary-minus"?: Linter.RuleEntry<[]>;
15361
15198
  /**
15362
15199
  * Prefer Unicode code point escapes over legacy escape sequences.
15363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-unicode-code-point-escapes.md
15200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-unicode-code-point-escapes.md
15364
15201
  */
15365
15202
  "unicorn/prefer-unicode-code-point-escapes"?: Linter.RuleEntry<[]>;
15366
15203
  /**
15367
15204
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
15368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-can-parse.md
15205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-url-can-parse.md
15369
15206
  */
15370
15207
  "unicorn/prefer-url-can-parse"?: Linter.RuleEntry<[]>;
15371
15208
  /**
15372
15209
  * Prefer `URL#href` over stringifying a `URL`.
15373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-href.md
15210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-url-href.md
15374
15211
  */
15375
15212
  "unicorn/prefer-url-href"?: Linter.RuleEntry<[]>;
15376
15213
  /**
15377
15214
  * Prefer `URLSearchParams` over manually splitting query strings.
15378
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-url-search-parameters.md
15215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-url-search-parameters.md
15379
15216
  */
15380
15217
  "unicorn/prefer-url-search-parameters"?: Linter.RuleEntry<[]>;
15381
15218
  /**
15382
15219
  * Prefer putting the condition in the while statement.
15383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/prefer-while-loop-condition.md
15220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/prefer-while-loop-condition.md
15384
15221
  */
15385
15222
  "unicorn/prefer-while-loop-condition"?: Linter.RuleEntry<[]>;
15386
15223
  /**
15387
15224
  * Renamed to `unicorn/name-replacements`.
15388
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
15225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
15389
15226
  * @deprecated
15390
15227
  */
15391
15228
  "unicorn/prevent-abbreviations"?: Linter.RuleEntry<[]>;
15392
15229
  /**
15393
15230
  * Enforce consistent relative URL style.
15394
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/relative-url-style.md
15231
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/relative-url-style.md
15395
15232
  */
15396
15233
  "unicorn/relative-url-style"?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
15397
15234
  /**
15398
15235
  * Enforce using the separator argument with `Array#join()`.
15399
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-join-separator.md
15236
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-array-join-separator.md
15400
15237
  */
15401
15238
  "unicorn/require-array-join-separator"?: Linter.RuleEntry<[]>;
15402
15239
  /**
15403
15240
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
15404
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-array-sort-compare.md
15241
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-array-sort-compare.md
15405
15242
  */
15406
15243
  "unicorn/require-array-sort-compare"?: Linter.RuleEntry<[]>;
15407
15244
  /**
15408
15245
  * Require `CSS.escape()` for interpolated values in CSS selectors.
15409
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-css-escape.md
15246
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-css-escape.md
15410
15247
  */
15411
15248
  "unicorn/require-css-escape"?: Linter.RuleEntry<UnicornRequireCssEscape>;
15412
15249
  /**
15413
15250
  * Require non-empty module attributes for imports and exports
15414
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-attributes.md
15251
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-module-attributes.md
15415
15252
  */
15416
15253
  "unicorn/require-module-attributes"?: Linter.RuleEntry<[]>;
15417
15254
  /**
15418
15255
  * Require non-empty specifier list in import and export statements.
15419
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-module-specifiers.md
15256
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-module-specifiers.md
15420
15257
  */
15421
15258
  "unicorn/require-module-specifiers"?: Linter.RuleEntry<[]>;
15422
15259
  /**
15423
15260
  * Enforce using the digits argument with `Number#toFixed()`.
15424
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-number-to-fixed-digits-argument.md
15261
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-number-to-fixed-digits-argument.md
15425
15262
  */
15426
15263
  "unicorn/require-number-to-fixed-digits-argument"?: Linter.RuleEntry<[]>;
15427
15264
  /**
15428
15265
  * Require passive event listeners for high-frequency events.
15429
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-passive-events.md
15266
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-passive-events.md
15430
15267
  */
15431
15268
  "unicorn/require-passive-events"?: Linter.RuleEntry<[]>;
15432
15269
  /**
15433
15270
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
15434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-post-message-target-origin.md
15271
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-post-message-target-origin.md
15435
15272
  */
15436
15273
  "unicorn/require-post-message-target-origin"?: Linter.RuleEntry<[]>;
15437
15274
  /**
15438
15275
  * Require boolean-returning Proxy traps to return booleans.
15439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/require-proxy-trap-boolean-return.md
15276
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/require-proxy-trap-boolean-return.md
15440
15277
  */
15441
15278
  "unicorn/require-proxy-trap-boolean-return"?: Linter.RuleEntry<[]>;
15442
15279
  /**
15443
15280
  * Enforce better string content.
15444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/string-content.md
15281
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/string-content.md
15445
15282
  */
15446
15283
  "unicorn/string-content"?: Linter.RuleEntry<UnicornStringContent>;
15447
15284
  /**
15448
15285
  * Enforce consistent brace style for `case` clauses.
15449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-braces.md
15286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/switch-case-braces.md
15450
15287
  */
15451
15288
  "unicorn/switch-case-braces"?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
15452
15289
  /**
15453
15290
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
15454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/switch-case-break-position.md
15291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/switch-case-break-position.md
15455
15292
  */
15456
15293
  "unicorn/switch-case-break-position"?: Linter.RuleEntry<[]>;
15457
15294
  /**
15458
15295
  * Fix whitespace-insensitive template indentation.
15459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/template-indent.md
15296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/template-indent.md
15460
15297
  */
15461
15298
  "unicorn/template-indent"?: Linter.RuleEntry<UnicornTemplateIndent>;
15462
15299
  /**
15463
15300
  * Enforce consistent case for text encoding identifiers.
15464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/text-encoding-identifier-case.md
15301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/text-encoding-identifier-case.md
15465
15302
  */
15466
15303
  "unicorn/text-encoding-identifier-case"?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
15467
15304
  /**
15468
15305
  * Require `new` when creating an error.
15469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/throw-new-error.md
15306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/throw-new-error.md
15470
15307
  */
15471
15308
  "unicorn/throw-new-error"?: Linter.RuleEntry<[]>;
15472
15309
  /**
15473
15310
  * Limit the complexity of `try` blocks.
15474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v70.0.0/docs/rules/try-complexity.md
15311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v71.1.0/docs/rules/try-complexity.md
15475
15312
  */
15476
15313
  "unicorn/try-complexity"?: Linter.RuleEntry<UnicornTryComplexity>;
15477
15314
  }
@@ -15813,8 +15650,56 @@ type UnicornTryComplexity = [] | [{
15813
15650
  max?: number;
15814
15651
  }];
15815
15652
  //#endregion
15653
+ //#region src/_generated/dts/unused-imports.d.ts
15654
+ interface UnusedImportsRules {
15655
+ /**
15656
+ * Disallow unused variables
15657
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
15658
+ */
15659
+ "unused-imports/no-unused-imports"?: Linter.RuleEntry<UnusedImportsNoUnusedImports>;
15660
+ /**
15661
+ * Disallow unused variables
15662
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
15663
+ */
15664
+ "unused-imports/no-unused-vars"?: Linter.RuleEntry<UnusedImportsNoUnusedVars>;
15665
+ }
15666
+ /* ======= Declarations ======= */
15667
+ // ----- unused-imports/no-unused-imports -----
15668
+ type UnusedImportsNoUnusedImports = [] | [("all" | "local") | {
15669
+ args?: "all" | "after-used" | "none";
15670
+ argsIgnorePattern?: string;
15671
+ caughtErrors?: "all" | "none";
15672
+ caughtErrorsIgnorePattern?: string;
15673
+ destructuredArrayIgnorePattern?: string;
15674
+ enableAutofixRemoval?: {
15675
+ imports?: boolean;
15676
+ };
15677
+ ignoreClassWithStaticInitBlock?: boolean;
15678
+ ignoreRestSiblings?: boolean;
15679
+ ignoreUsingDeclarations?: boolean;
15680
+ reportUsedIgnorePattern?: boolean;
15681
+ vars?: "all" | "local";
15682
+ varsIgnorePattern?: string;
15683
+ }]; // ----- unused-imports/no-unused-vars -----
15684
+ type UnusedImportsNoUnusedVars = [] | [("all" | "local") | {
15685
+ args?: "all" | "after-used" | "none";
15686
+ argsIgnorePattern?: string;
15687
+ caughtErrors?: "all" | "none";
15688
+ caughtErrorsIgnorePattern?: string;
15689
+ destructuredArrayIgnorePattern?: string;
15690
+ enableAutofixRemoval?: {
15691
+ imports?: boolean;
15692
+ };
15693
+ ignoreClassWithStaticInitBlock?: boolean;
15694
+ ignoreRestSiblings?: boolean;
15695
+ ignoreUsingDeclarations?: boolean;
15696
+ reportUsedIgnorePattern?: boolean;
15697
+ vars?: "all" | "local";
15698
+ varsIgnorePattern?: string;
15699
+ }];
15700
+ //#endregion
15816
15701
  //#region src/_generated/dts/vitest.d.ts
15817
- interface VitestRuleOptions {
15702
+ interface VitestRules {
15818
15703
  /**
15819
15704
  * enforce using `.each` or `.for` consistently
15820
15705
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-each-for.md
@@ -16263,7 +16148,7 @@ type VitestNoFocusedTests = [] | [{
16263
16148
  fixable?: boolean;
16264
16149
  }]; // ----- vitest/no-hooks -----
16265
16150
  type VitestNoHooks = [] | [{
16266
- allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach")[];
16151
+ allow?: ("beforeAll" | "beforeEach" | "afterAll" | "afterEach" | "aroundAll" | "aroundEach")[];
16267
16152
  }]; // ----- vitest/no-large-snapshots -----
16268
16153
  type VitestNoLargeSnapshots = [] | [{
16269
16154
  maxSize?: number;
@@ -16324,7 +16209,7 @@ type VitestValidTitle = [] | [{
16324
16209
  }];
16325
16210
  //#endregion
16326
16211
  //#region src/_generated/dts/yml.d.ts
16327
- interface YmlRuleOptions {
16212
+ interface YmlRules {
16328
16213
  /**
16329
16214
  * require or disallow block style mappings.
16330
16215
  * @see https://ota-meshi.github.io/eslint-plugin-yml/rules/block-mapping.html
@@ -16639,11 +16524,13 @@ type YamlSortSequenceValues = [{
16639
16524
  type?: "asc" | "desc";
16640
16525
  caseSensitive?: boolean;
16641
16526
  natural?: boolean;
16527
+ key?: string;
16642
16528
  };
16643
16529
  })[] | {
16644
16530
  type?: "asc" | "desc";
16645
16531
  caseSensitive?: boolean;
16646
16532
  natural?: boolean;
16533
+ key?: string;
16647
16534
  };
16648
16535
  minValues?: number;
16649
16536
  }, ...{
@@ -16654,11 +16541,13 @@ type YamlSortSequenceValues = [{
16654
16541
  type?: "asc" | "desc";
16655
16542
  caseSensitive?: boolean;
16656
16543
  natural?: boolean;
16544
+ key?: string;
16657
16545
  };
16658
16546
  })[] | {
16659
16547
  type?: "asc" | "desc";
16660
16548
  caseSensitive?: boolean;
16661
16549
  natural?: boolean;
16550
+ key?: string;
16662
16551
  };
16663
16552
  minValues?: number;
16664
16553
  }[]]; // ----- yaml/spaced-comment -----
@@ -16668,425 +16557,40 @@ type YamlSpacedComment = [] | ["always" | "never"] | ["always" | "never", {
16668
16557
  }];
16669
16558
  //#endregion
16670
16559
  //#region src/_generated/rule-options.d.ts
16671
- type RuleOptionsUnion = BuiltinsRuleOptions & AntfuRuleOptions & CommandRuleOptions & DeMorganRuleOptions & E18eRuleOptions & EslintCommentsRuleOptions & EslintReactRuleOptions & IgnoresRuleOptions & ImportsRuleOptions & JavascriptRuleOptions$1 & JsdocRuleOptions & JsoncRuleOptions & MarkdownRuleOptions & NRuleOptions & NoOnlyTestsRuleOptions & NodeTestRuleOptions & PerfectionistRuleOptions & PnpmRuleOptions & PrettierRuleOptions & ReactHooksRuleOptions & RegexpRuleOptions & SortPackageJsonRuleOptions & SortTsconfigRuleOptions & StylisticRuleOptions & TomlRuleOptions & TypescriptRuleOptions & UnicornRuleOptions & VitestRuleOptions & YmlRuleOptions;
16672
- //#endregion
16673
- //#region src/types.d.ts
16674
- type RulesRecord = Linter.RulesRecord & RuleOptionsUnion;
16675
- type Config = Omit<Linter.Config<Linter.RulesRecord & RuleOptionsUnion>, "plugins"> & {
16676
- /**
16677
- * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
16678
- * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
16679
- */
16680
- plugins?: Record<string, any>;
16681
- };
16682
- type JavascriptRuleOptions = BuiltinsRuleOptions;
16683
- type TypescriptConfigRules = TypescriptRuleOptions & BuiltinsRuleOptions;
16684
- type Awaitable<T> = T | Promise<T>;
16685
- type UnPromise<T> = T extends Promise<infer U> ? U : T;
16686
- type LanguageOptions = Linter.Config["languageOptions"];
16687
- type RuleName = keyof RuleOptionsUnion;
16688
- type TypedFlatConfigItemWithId = Config & {
16689
- name: string;
16690
- };
16691
- type OptionsCommon = {
16692
- debug?: boolean;
16693
- /**
16694
- * The prefix for the name of the config item.
16695
- * @default "jsse"
16696
- */
16697
- rootId?: string;
16698
- /**
16699
- * Type of the project. `lib` will enable more strict rules for libraries.
16700
- * @default 'lib'
16701
- */
16702
- type?: "app" | "lib";
16703
- };
16704
- type OptionsComponentExts = {
16705
- /**
16706
- * Additional extensions for components.
16707
- * @example ['vue']
16708
- * @default []
16709
- */
16710
- componentExts?: string[];
16711
- };
16712
- type EslintConfigFnAsync<T = undefined> = (options?: T) => Promise<TypedFlatConfigItemWithId[]>;
16713
- type EslintConfigFnSync<T = undefined> = (options?: T) => TypedFlatConfigItemWithId[];
16714
- type EslintConfigFn<T = undefined> = EslintConfigFnAsync<T> | EslintConfigFnSync<T>;
16715
- type OptionsFiles = {
16716
- /**
16717
- * Override the `files` option to provide custom globs.
16718
- */
16719
- files?: string[];
16720
- };
16721
- type OptionsTypeScriptParserOptions = {
16722
- /**
16723
- * Additional parser options for TypeScript.
16724
- */
16725
- parserOptions?: Partial<ParserOptions>;
16726
- /**
16727
- * Flag to use `projectService` for type-aware linting.
16728
- *
16729
- * If `true` use fancy new `projectService` for type-aware linting.
16730
- * If `false` use classic `project` configuration.
16731
- *
16732
- * When omitted, this is auto-detected: `projectService` is used only
16733
- * when `tsconfig` is exactly `"tsconfig.json"` (or `["tsconfig.json"]`);
16734
- * any other `tsconfig` value falls back to classic `project` mode.
16735
- * @default auto-detected from `tsconfig`
16736
- */
16737
- useProjectService?: boolean;
16738
- /**
16739
- * Glob patterns for files that should be type aware.
16740
- * @default ['**\/*.{ts,tsx}']
16741
- */
16742
- filesTypeAware?: string[];
16743
- /**
16744
- * Glob patterns for files that should not be type aware.
16745
- * @default ['**\/*.md\/**']
16746
- */
16747
- ignoresTypeAware?: string[];
16748
- };
16749
- type OptionsTypeScriptWithTypes = {
16750
- /**
16751
- * When this options is provided, type aware rules will be enabled.
16752
- * @see https://typescript-eslint.io/linting/typed-linting/
16753
- */
16754
- tsconfig?: string | string[];
16755
- /**
16756
- * Override only type-aware rules.
16757
- */
16758
- overridesTypeAware?: Config["rules"];
16759
- /**
16760
- * Override TypeScript rules.
16761
- */
16762
- overrides?: TypescriptConfigRules;
16763
- /**
16764
- * strict vs recommended configs
16765
- * @default false
16766
- */
16767
- strict?: boolean;
16768
- /**
16769
- * typeAware
16770
- */
16771
- typeAware?: boolean;
16772
- };
16773
- type OptionsTypescript = OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions;
16774
- type OptionsHasTypeScript = {
16775
- typescript?: boolean;
16776
- };
16777
- type OptionsStylistic = {
16778
- stylistic?: boolean | StylisticConfig;
16779
- };
16780
- type StylisticConfig = {
16781
- indent?: number | "tab";
16782
- quotes?: "single" | "double";
16783
- jsx?: boolean;
16784
- };
16785
- type OptionsPrefix = {
16786
- prefix?: {
16787
- from: string;
16788
- to: string;
16789
- };
16790
- };
16791
- type OptionsOverrides = {
16792
- overrides?: Config["rules"];
16793
- };
16794
- type OptionsIsInEditor = {
16795
- isInEditor?: boolean;
16796
- };
16797
- type OptionsAntfu = {
16798
- topLevelFunction?: "error" | "off";
16799
- overrides?: AntfuRuleOptions;
16800
- };
16801
- type OptionsCommand = {
16802
- overrides?: CommandRuleOptions;
16803
- };
16804
- type OptionsDeMorgan = {
16805
- overrides?: DeMorganRuleOptions;
16806
- };
16807
- type OptionsE18e = {
16808
- modernization?: boolean;
16809
- moduleReplacements?: boolean;
16810
- performanceImprovements?: boolean;
16811
- overrides?: E18eRuleOptions;
16812
- };
16813
- type OptionsJavascript = {
16814
- overrides?: JavascriptRuleOptions;
16815
- };
16816
- type OptionsJsdoc = {
16817
- overrides?: JsdocRuleOptions;
16818
- };
16819
- type OptionsJsonc = OptionsStylistic & {
16820
- overrides?: JsoncRuleOptions;
16821
- };
16822
- type OptionsMarkdown = OptionsComponentExts & {
16823
- overrides?: MarkdownRuleOptions;
16824
- };
16825
- type OptionsN = {
16826
- overrides?: NRuleOptions;
16827
- };
16828
- type OptionsNodeTest = {
16829
- /**
16830
- * Files to include for node-test rules.
16831
- *
16832
- * Defaults to `GLOB_TESTS`
16833
- */
16834
- files?: string[];
16835
- /**
16836
- * eslint-node-test preset to use as the base ruleset.
16837
- * @default "recommended"
16838
- */
16839
- preset?: "recommended" | "unopinionated" | "all";
16840
- /**
16841
- * Override eslint-node-test rules after applying the preset.
16842
- */
16843
- overrides?: NodeTestRuleOptions;
16844
- };
16845
- type OptionsPnpm = {
16846
- overrides?: PnpmRuleOptions;
16847
- };
16848
- type OptionsReactConfig = {
16849
- reactRefresh?: boolean;
16850
- overrides?: EslintReactRuleOptions;
16851
- };
16852
- type OptionsSortTsconfig = {
16853
- extendTsconfigGlobs?: string[];
16854
- };
16855
- type OptionsUnicorn = {
16856
- /**
16857
- * Unicorn preset to use as the base ruleset.
16858
- * @default "recommended"
16859
- */
16860
- preset?: "recommended" | "unopinionated" | "all";
16861
- /**
16862
- * Override Unicorn rules after applying the preset and built-in rules.
16863
- */
16864
- overrides?: UnicornRuleOptions;
16865
- };
16866
- type OptionsVitest = {
16867
- overrides?: VitestRuleOptions;
16868
- };
16869
- type OptionsYaml = OptionsFiles & OptionsStylistic & {
16870
- overrides?: YmlRuleOptions;
16871
- };
16872
- /**
16873
- * Tailwind CSS ESLint settings
16874
- */
16875
- type TailwindEslintSettings = {
16876
- /**
16877
- * call expressions to check for tailwind classes
16878
- * @default ["classnames", "clsx", "ctl", "cn", "cx", "twMerge", "twJoin"]
16879
- */
16880
- callees: string[];
16881
- classRegex: string;
16882
- config: string;
16883
- cssFiles: string[];
16884
- cssFilesRefreshRate: number;
16885
- removeDuplicates: boolean;
16886
- skipClassAttribute: boolean;
16887
- tags: string[];
16888
- whitelist: string[];
16889
- };
16890
- type TailwindOptions = Partial<TailwindEslintSettings> | boolean | undefined;
16891
- type OptionsConfigs = {
16892
- /**
16893
- * Enable eslint-plugin-antfu.
16894
- * @default true
16895
- */
16896
- antfu?: boolean | OptionsAntfu;
16897
- /**
16898
- * Enable `eslint-plugin-command`
16899
- * @default true
16900
- */
16901
- command?: boolean | OptionsCommand;
16902
- /**
16903
- * Enable eslint-plugin-de-morgan.
16904
- * @default true
16905
- */
16906
- demorgan?: boolean | OptionsDeMorgan;
16907
- /**
16908
- * Enable @e18e/eslint-plugin.
16909
- * @default true
16910
- */
16911
- e18e?: boolean | OptionsE18e;
16912
- /**
16913
- * Configure JavaScript rules.
16914
- */
16915
- javascript?: OptionsJavascript;
16916
- /**
16917
- * Enable eslint-plugin-jsdoc.
16918
- * @default true
16919
- */
16920
- jsdoc?: boolean | OptionsJsdoc;
16921
- /**
16922
- * Enable eslint-plugin-n (Node.js rules).
16923
- * @default true
16924
- */
16925
- n?: boolean | OptionsN;
16926
- /**
16927
- * Enable `eslint-node-test` (Node.js built-in test runner rules).
16928
- * @default false
16929
- */
16930
- nodeTest?: boolean | OptionsNodeTest;
16931
- /**
16932
- * Enable eslint-plugin-pnpm.
16933
- * @default false
16934
- */
16935
- pnpm?: boolean | OptionsPnpm;
16936
- /**
16937
- * Enable Tailwind CSS support.
16938
- *
16939
- * Passing an object to configure the options.
16940
- * Tailwind support is currently disabled; passing this option only logs a warning.
16941
- * @default false
16942
- */
16943
- tailwind?: TailwindOptions;
16944
- /**
16945
- * Enable TypeScript support.
16946
- *
16947
- * Passing an object to enable TypeScript Language Server support.
16948
- * @default auto-detect based on the dependencies
16949
- */
16950
- typescript?: boolean | OptionsTypescript;
16951
- /**
16952
- * Enable eslint-plugin-unicorn.
16953
- * @default true
16954
- */
16955
- unicorn?: boolean | OptionsUnicorn;
16956
- react?: boolean | OptionsReactConfig;
16957
- reactRefresh?: boolean;
16958
- /**
16959
- * Enable regexp plugin
16960
- * @default true
16961
- */
16962
- regexp?: boolean;
16963
- /**
16964
- * Enable `@vitest/eslint-plugin` (Vitest rules).
16965
- * @default auto-detect based on the dependencies
16966
- */
16967
- vitest?: boolean | OptionsVitest;
16968
- /**
16969
- * Enable JSONC support.
16970
- * @default true
16971
- */
16972
- jsonc?: boolean | OptionsJsonc;
16973
- /**
16974
- * Enable YAML support.
16975
- * @default false
16976
- */
16977
- yaml?: boolean | OptionsYaml;
16978
- /**
16979
- * Enable Markdown support.
16980
- * @default false
16981
- */
16982
- markdown?: boolean | OptionsMarkdown;
16983
- /**
16984
- * Enable stylistic rules.
16985
- * @default true
16986
- */
16987
- stylistic?: boolean | StylisticConfig;
16988
- };
16989
- type OptionsConfig = OptionsComponentExts & OptionsTypeScriptParserOptions & OptionsConfigs & {
16990
- /**
16991
- * Enable debug mode.
16992
- */
16993
- debug?: boolean;
16994
- /**
16995
- * Enable configuration diagnostics.
16996
- * @default true
16997
- */
16998
- diagnostics?: boolean;
16999
- /**
17000
- * Enable reporting of unused disable directives.
17001
- * @default true
17002
- */
17003
- reportUnusedDisableDirectives?: boolean;
17004
- /**
17005
- * Array of rules to turn off.
17006
- */
17007
- off?: RuleName[] | Set<RuleName>;
17008
- /**
17009
- * Enable fast mode.
17010
- *
17011
- * This will disable some rules to speed up linting.
17012
- */
17013
- fast?: boolean;
17014
- /**
17015
- * Enable Prettier config rules to disable conflicting ESLint rules
17016
- *
17017
- * THIS DOES NOT ENABLE PRETTIER FORMATTING. YOU DO THAT, BUT I
17018
- * RECOMMEND USING PRETTIER TO FORMAT AND NOT THE ESLint PRETTIER
17019
- * PLUGIN!.
17020
- */
17021
- prettier?: boolean;
17022
- /**
17023
- * The prefix for the name of the config item.
17024
- * @default "jsse"
17025
- */
17026
- rootId?: string;
17027
- /**
17028
- * Optional function to run before the final config is returned.
17029
- */
17030
- preReturn?: (configs: Config[]) => Config[] | Awaitable<Config[]>;
17031
- /**
17032
- * Enable gitignore support.
17033
- *
17034
- * Passing an object to configure the options.
17035
- * @see https://github.com/antfu/eslint-config-flat-gitignore
17036
- * @default true
17037
- */
17038
- gitignore?: boolean | FlatGitignoreOptions;
17039
- /**
17040
- * Enable sorting of package.json files.
17041
- * @default true
17042
- */
17043
- sortPackageJson?: boolean;
17044
- /**
17045
- * Enable sorting of tsconfig.json files.
17046
- * @default true
17047
- */
17048
- sortTsconfig?: boolean | OptionsSortTsconfig;
17049
- /**
17050
- * Enable sorting of geojson files.
17051
- * @default false
17052
- */
17053
- sortGeojson?: boolean;
17054
- /**
17055
- * Enable import/export sorting via perfectionist.
17056
- * @default false
17057
- */
17058
- sortImports?: boolean;
17059
- tsPrefix?: string;
17060
- /**
17061
- * Glob patterns for ADDITIONAL tsconfig files to lint (aka sort)
17062
- *
17063
- * Has nothing to do with `@typescript-eslint/parser` or `typescript-eslint/eslint-plugin`
17064
- * @default ['tsconfig.json', 'tsconfig.*.json']
17065
- */
17066
- extendTsconfigLintGlobs?: string[];
17067
- /**
17068
- * Forcibly disable type aware rules
17069
- */
17070
- typeAware?: boolean;
17071
- /**
17072
- * Enable JSX related rules.
17073
- *
17074
- * Currently only stylistic rules are included.
17075
- * @default true
17076
- */
17077
- jsx?: boolean;
17078
- /**
17079
- * Control to disable some rules in editors.
17080
- * @default auto-detect based on the process.env
17081
- */
17082
- isInEditor?: boolean;
16560
+ type AllRulesIntersection = BuiltinRules | AntfuRules | CommandRules | DeMorganRules | E18eRules | EslintCommentsRules | EslintReactRules | IgnoresRules | ImportsRules | JavascriptRules | JsdocRules | JsoncRules | MarkdownRules | NRules | NoOnlyTestsRules | NodeTestRules | PerfectionistRules | PnpmRules | PrettierRules | ReactHooksRules | ReactRefreshRules | RegexpRules | SortPackageJsonRules | SortTsconfigRules | StylisticRules | TomlRules | TypescriptRules | UnicornRules | UnusedImportsRules | VitestRules | YmlRules;
16561
+ type AllRules = BuiltinRules & AntfuRules & CommandRules & DeMorganRules & E18eRules & EslintCommentsRules & EslintReactRules & IgnoresRules & ImportsRules & JavascriptRules & JsdocRules & JsoncRules & MarkdownRules & NRules & NoOnlyTestsRules & NodeTestRules & PerfectionistRules & PnpmRules & PrettierRules & ReactHooksRules & ReactRefreshRules & RegexpRules & SortPackageJsonRules & SortTsconfigRules & StylisticRules & TomlRules & TypescriptRules & UnicornRules & UnusedImportsRules & VitestRules & YmlRules;
16562
+ type AllRulesMap = {
16563
+ BuiltinRules: BuiltinRules;
16564
+ AntfuRules: AntfuRules;
16565
+ CommandRules: CommandRules;
16566
+ DeMorganRules: DeMorganRules;
16567
+ E18eRules: E18eRules;
16568
+ EslintCommentsRules: EslintCommentsRules;
16569
+ EslintReactRules: EslintReactRules;
16570
+ IgnoresRules: IgnoresRules;
16571
+ ImportsRules: ImportsRules;
16572
+ JavascriptRules: JavascriptRules;
16573
+ JsdocRules: JsdocRules;
16574
+ JsoncRules: JsoncRules;
16575
+ MarkdownRules: MarkdownRules;
16576
+ NRules: NRules;
16577
+ NoOnlyTestsRules: NoOnlyTestsRules;
16578
+ NodeTestRules: NodeTestRules;
16579
+ PerfectionistRules: PerfectionistRules;
16580
+ PnpmRules: PnpmRules;
16581
+ PrettierRules: PrettierRules;
16582
+ ReactHooksRules: ReactHooksRules;
16583
+ ReactRefreshRules: ReactRefreshRules;
16584
+ RegexpRules: RegexpRules;
16585
+ SortPackageJsonRules: SortPackageJsonRules;
16586
+ SortTsconfigRules: SortTsconfigRules;
16587
+ StylisticRules: StylisticRules;
16588
+ TomlRules: TomlRules;
16589
+ TypescriptRules: TypescriptRules;
16590
+ UnicornRules: UnicornRules;
16591
+ UnusedImportsRules: UnusedImportsRules;
16592
+ VitestRules: VitestRules;
16593
+ YmlRules: YmlRules;
17083
16594
  };
17084
- type NormalizedOptionsConfig = Omit<OptionsConfig, "off"> & {
17085
- off: RuleName[];
17086
- };
17087
- type RenamePrefix<T extends Record<string, unknown>, FromPref extends string, ToPref extends string> = { [K in keyof T as K extends `${FromPref}${infer Rest}` ? `${ToPref}${Rest}` : K]: T[K] };
17088
- //#endregion
17089
- //#region src/_generated/fixable-rules-map.d.ts
17090
- declare const FIXABLE_RULES_MAP: Record<string, RuleName[]>;
17091
16595
  //#endregion
17092
- export { OptionsSortTsconfig as A, RulesRecord as B, OptionsMarkdown as C, OptionsPnpm as D, OptionsOverrides as E, OptionsUnicorn as F, TypescriptConfigRules as G, TailwindEslintSettings as H, OptionsVitest as I, UnPromise as K, OptionsYaml as L, OptionsTypeScriptParserOptions as M, OptionsTypeScriptWithTypes as N, OptionsPrefix as O, OptionsTypescript as P, RenamePrefix as R, OptionsJsonc as S, OptionsNodeTest as T, TailwindOptions as U, StylisticConfig as V, TypedFlatConfigItemWithId as W, OptionsFiles as _, EslintConfigFnAsync as a, OptionsJavascript as b, LanguageOptions as c, OptionsCommand as d, OptionsCommon as f, OptionsE18e as g, OptionsDeMorgan as h, EslintConfigFn as i, OptionsStylistic as j, OptionsReactConfig as k, NormalizedOptionsConfig as l, OptionsConfig as m, Awaitable as n, EslintConfigFnSync as o, OptionsComponentExts as p, Config as r, JavascriptRuleOptions as s, FIXABLE_RULES_MAP as t, OptionsAntfu as u, OptionsHasTypeScript as v, OptionsN as w, OptionsJsdoc as x, OptionsIsInEditor as y, RuleName as z };
16596
+ export { E18eRules as A, JsoncRules as C, IgnoresRules as D, ImportsRules as E, CommandRules as M, BuiltinRules as N, EslintReactRules as O, AntfuRules as P, MarkdownRules as S, JavascriptRules as T, PnpmRules as _, VitestRules as a, NoOnlyTestsRules as b, TypescriptRules as c, SortTsconfigRules as d, SortPackageJsonRules as f, PrettierRules as g, ReactHooksRules as h, YmlRules as i, DeMorganRules as j, EslintCommentsRules as k, TomlRules as l, ReactRefreshRules as m, AllRulesIntersection as n, UnusedImportsRules as o, RegexpRules as p, AllRulesMap as r, UnicornRules as s, AllRules as t, StylisticRules as u, PerfectionistRules as v, JsdocRules as w, NRules as x, NodeTestRules as y };