@w5s/eslint-config 7.1.2 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,1992 +11,2017 @@ declare module 'eslint' {
11
11
  export interface RuleOptions {
12
12
  /**
13
13
  * Prefer better DOM traversal APIs.
14
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/better-dom-traversing.md
14
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/better-dom-traversing.md
15
15
  */
16
16
  'unicorn/better-dom-traversing'?: Linter.RuleEntry<[]>
17
17
  /**
18
18
  * Removed. Prefer `eslint-plugin-regexp`
19
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#better-regex
19
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#better-regex
20
20
  * @deprecated
21
21
  */
22
22
  'unicorn/better-regex'?: Linter.RuleEntry<[]>
23
23
  /**
24
24
  * Enforce a specific parameter name in catch clauses.
25
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/catch-error-name.md
25
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/catch-error-name.md
26
26
  */
27
27
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
28
28
  /**
29
29
  * Enforce consistent class references in static methods.
30
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/class-reference-in-static-methods.md
30
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/class-reference-in-static-methods.md
31
31
  */
32
32
  'unicorn/class-reference-in-static-methods'?: Linter.RuleEntry<UnicornClassReferenceInStaticMethods>
33
33
  /**
34
- * Enforce consistent spacing before and after commas in JSON.
35
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/comma-spacing.md
34
+ * Enforce consistent spacing before and after commas in JSON and SOML.
35
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/comma-spacing.md
36
36
  */
37
37
  'unicorn/comma-spacing'?: Linter.RuleEntry<[]>
38
38
  /**
39
39
  * Enforce better comment content.
40
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/comment-content.md
40
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/comment-content.md
41
41
  */
42
42
  'unicorn/comment-content'?: Linter.RuleEntry<UnicornCommentContent>
43
43
  /**
44
44
  * Enforce a consistent return style for multiline arrow function bodies.
45
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-arrow-return-style.md
45
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-arrow-return-style.md
46
46
  */
47
47
  'unicorn/consistent-arrow-return-style'?: Linter.RuleEntry<[]>
48
48
  /**
49
49
  * Enforce consistent assertion style with `node:assert`.
50
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-assert.md
50
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-assert.md
51
51
  */
52
52
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
53
53
  /**
54
54
  * Enforce consistent naming for boolean names.
55
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-boolean-name.md
55
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-boolean-name.md
56
56
  */
57
57
  'unicorn/consistent-boolean-name'?: Linter.RuleEntry<UnicornConsistentBooleanName>
58
58
  /**
59
59
  * Enforce consistent class member order.
60
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-class-member-order.md
60
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-class-member-order.md
61
61
  */
62
62
  'unicorn/consistent-class-member-order'?: Linter.RuleEntry<UnicornConsistentClassMemberOrder>
63
63
  /**
64
64
  * Enforce consistent spelling of compound words in identifiers.
65
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-compound-words.md
65
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-compound-words.md
66
66
  */
67
67
  'unicorn/consistent-compound-words'?: Linter.RuleEntry<UnicornConsistentCompoundWords>
68
68
  /**
69
69
  * Enforce consistent conditional object spread style.
70
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-conditional-object-spread.md
70
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-conditional-object-spread.md
71
71
  */
72
72
  'unicorn/consistent-conditional-object-spread'?: Linter.RuleEntry<UnicornConsistentConditionalObjectSpread>
73
73
  /**
74
74
  * Prefer passing `Date` directly to the constructor when cloning.
75
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-date-clone.md
75
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-date-clone.md
76
76
  */
77
77
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
78
78
  /**
79
79
  * Use destructured variables over properties.
80
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-destructuring.md
80
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-destructuring.md
81
81
  */
82
82
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
83
83
  /**
84
84
  * Prefer consistent types when spreading a ternary in an array literal.
85
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-empty-array-spread.md
85
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-empty-array-spread.md
86
86
  */
87
87
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
88
88
  /**
89
89
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
90
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-existence-index-check.md
90
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-existence-index-check.md
91
91
  */
92
92
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
93
93
  /**
94
94
  * Enforce consistent decorator position on exported classes.
95
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-export-decorator-position.md
95
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-export-decorator-position.md
96
96
  */
97
97
  'unicorn/consistent-export-decorator-position'?: Linter.RuleEntry<UnicornConsistentExportDecoratorPosition>
98
98
  /**
99
99
  * Move function definitions to the highest possible scope.
100
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-function-scoping.md
100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-function-scoping.md
101
101
  */
102
102
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
103
103
  /**
104
104
  * Enforce function syntax by role.
105
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-function-style.md
105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-function-style.md
106
106
  */
107
107
  'unicorn/consistent-function-style'?: Linter.RuleEntry<UnicornConsistentFunctionStyle>
108
108
  /**
109
109
  * Enforce consistent JSON file reads before `JSON.parse()`.
110
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-json-file-read.md
110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-json-file-read.md
111
111
  */
112
112
  'unicorn/consistent-json-file-read'?: Linter.RuleEntry<UnicornConsistentJsonFileRead>
113
113
  /**
114
114
  * Enforce consistent optional chaining for same-base member access.
115
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-optional-chaining.md
115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-optional-chaining.md
116
116
  */
117
117
  'unicorn/consistent-optional-chaining'?: Linter.RuleEntry<[]>
118
118
  /**
119
119
  * Enforce consistent style for escaping `${` in template literals.
120
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-template-literal-escape.md
120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-template-literal-escape.md
121
121
  */
122
122
  'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>
123
123
  /**
124
124
  * Enforce consistent labels on tuple type elements.
125
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/consistent-tuple-labels.md
125
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/consistent-tuple-labels.md
126
126
  */
127
127
  'unicorn/consistent-tuple-labels'?: Linter.RuleEntry<[]>
128
128
  /**
129
129
  * Enforce correct `Error` subclassing.
130
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/custom-error-definition.md
130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/custom-error-definition.md
131
131
  */
132
132
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
133
133
  /**
134
134
  * Enforce consistent default export declarations.
135
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/default-export-style.md
135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/default-export-style.md
136
136
  */
137
137
  'unicorn/default-export-style'?: Linter.RuleEntry<UnicornDefaultExportStyle>
138
138
  /**
139
139
  * Enforce consistent style for DOM element dataset access.
140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/dom-node-dataset.md
140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/dom-node-dataset.md
141
141
  */
142
142
  'unicorn/dom-node-dataset'?: Linter.RuleEntry<UnicornDomNodeDataset>
143
143
  /**
144
144
  * Enforce no spaces between braces.
145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/empty-brace-spaces.md
145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/empty-brace-spaces.md
146
146
  */
147
147
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
148
148
  /**
149
149
  * Enforce passing a `message` value when creating a built-in error.
150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/error-message.md
150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/error-message.md
151
151
  */
152
152
  'unicorn/error-message'?: Linter.RuleEntry<[]>
153
153
  /**
154
154
  * Require escape sequences to use uppercase or lowercase values.
155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/escape-case.md
155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/escape-case.md
156
156
  */
157
157
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
158
158
  /**
159
159
  * Add expiration conditions to TODO comments.
160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/expiring-todo-comments.md
160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/expiring-todo-comments.md
161
161
  */
162
162
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
163
163
  /**
164
164
  * Enforce explicitly comparing the `length` or `size` property of a value.
165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/explicit-length-check.md
165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/explicit-length-check.md
166
166
  */
167
167
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
168
168
  /**
169
169
  * Enforce or disallow explicit `delay` argument for `setTimeout()` and `setInterval()`.
170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/explicit-timer-delay.md
170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/explicit-timer-delay.md
171
171
  */
172
172
  'unicorn/explicit-timer-delay'?: Linter.RuleEntry<UnicornExplicitTimerDelay>
173
173
  /**
174
174
  * Enforce a case style for filenames and directory names.
175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/filename-case.md
175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/filename-case.md
176
176
  */
177
177
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
178
178
  /**
179
179
  * Require identifiers to match a specified regular expression.
180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/id-match.md
180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/id-match.md
181
181
  */
182
182
  'unicorn/id-match'?: Linter.RuleEntry<UnicornIdMatch>
183
183
  /**
184
184
  * Enforce specific import styles per module.
185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/import-style.md
185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/import-style.md
186
186
  */
187
187
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
188
188
  /**
189
189
  * Enforce consistent indentation in JSON and CSS.
190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/indent.md
190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/indent.md
191
191
  */
192
192
  'unicorn/indent'?: Linter.RuleEntry<UnicornIndent>
193
193
  /**
194
194
  * Prevent usage of variables from outside the scope of isolated functions.
195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/isolated-functions.md
195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/isolated-functions.md
196
196
  */
197
197
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>
198
198
  /**
199
199
  * Enforce a consistent style for optional loop sources.
200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/iteration-fallback-style.md
200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/iteration-fallback-style.md
201
201
  */
202
202
  'unicorn/iteration-fallback-style'?: Linter.RuleEntry<UnicornIterationFallbackStyle>
203
203
  /**
204
204
  * Enforce a case style for data keys.
205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/key-name-casing.md
205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/key-name-casing.md
206
206
  */
207
207
  'unicorn/key-name-casing'?: Linter.RuleEntry<UnicornKeyNameCasing>
208
208
  /**
209
209
  * Require or disallow logical assignment operator shorthand
210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/logical-assignment-operators.md
210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/logical-assignment-operators.md
211
211
  */
212
212
  'unicorn/logical-assignment-operators'?: Linter.RuleEntry<UnicornLogicalAssignmentOperators>
213
213
  /**
214
214
  * Limit the depth of nested calls.
215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/max-nested-calls.md
215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/max-nested-calls.md
216
216
  */
217
217
  'unicorn/max-nested-calls'?: Linter.RuleEntry<UnicornMaxNestedCalls>
218
218
  /**
219
219
  * Enforce replacements for variable, property, and filenames.
220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/name-replacements.md
220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/name-replacements.md
221
221
  */
222
222
  'unicorn/name-replacements'?: Linter.RuleEntry<UnicornNameReplacements>
223
223
  /**
224
224
  * Enforce correct use of `new` for builtin constructors.
225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/new-for-builtins.md
225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/new-for-builtins.md
226
226
  */
227
227
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
228
228
  /**
229
229
  * Enforce specifying rules to disable in `eslint-disable` comments.
230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-abusive-eslint-disable.md
230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-abusive-eslint-disable.md
231
231
  */
232
232
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
233
233
  /**
234
234
  * Disallow recursive access to `this` within getters and setters.
235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-accessor-recursion.md
235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-accessor-recursion.md
236
236
  */
237
237
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
238
238
  /**
239
239
  * Disallow bitwise operators where a logical operator was likely intended.
240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-accidental-bitwise-operator.md
240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-accidental-bitwise-operator.md
241
241
  */
242
242
  'unicorn/no-accidental-bitwise-operator'?: Linter.RuleEntry<[]>
243
243
  /**
244
244
  * Disallow anonymous functions and classes as the default export.
245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-anonymous-default-export.md
245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-anonymous-default-export.md
246
246
  */
247
247
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
248
248
  /**
249
249
  * Prevent passing a function reference directly to iterator methods.
250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-callback-reference.md
250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-callback-reference.md
251
251
  */
252
252
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<UnicornNoArrayCallbackReference>
253
253
  /**
254
254
  * Disallow array accumulation with `Array#concat()` in loops.
255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-concat-in-loop.md
255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-concat-in-loop.md
256
256
  */
257
257
  'unicorn/no-array-concat-in-loop'?: Linter.RuleEntry<[]>
258
258
  /**
259
259
  * Disallow using reference values as `Array#fill()` values.
260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-fill-with-reference-type.md
260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-fill-with-reference-type.md
261
261
  */
262
262
  'unicorn/no-array-fill-with-reference-type'?: Linter.RuleEntry<[]>
263
263
  /**
264
264
  * Disallow `.fill()` after `Array.from({length: …})`.
265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-from-fill.md
265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-from-fill.md
266
266
  */
267
267
  'unicorn/no-array-from-fill'?: Linter.RuleEntry<[]>
268
268
  /**
269
269
  * Disallow front-of-array mutation.
270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-front-mutation.md
270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-front-mutation.md
271
271
  */
272
272
  'unicorn/no-array-front-mutation'?: Linter.RuleEntry<[]>
273
273
  /**
274
274
  * Disallow using the `this` argument in array methods.
275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-method-this-argument.md
275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-method-this-argument.md
276
276
  */
277
277
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
278
278
  /**
279
279
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
281
281
  * @deprecated
282
282
  */
283
283
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
284
284
  /**
285
285
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-reduce.md
286
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-reduce.md
287
287
  */
288
288
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
289
289
  /**
290
290
  * Prefer `Array#toReversed()` over `Array#reverse()`.
291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-reverse.md
291
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-reverse.md
292
292
  */
293
293
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>
294
294
  /**
295
295
  * Prefer `Array#toSorted()` over `Array#sort()`.
296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-sort.md
296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-sort.md
297
297
  */
298
298
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>
299
299
  /**
300
300
  * Disallow sorting arrays to get the minimum or maximum value.
301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-sort-for-min-max.md
301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-sort-for-min-max.md
302
302
  */
303
303
  'unicorn/no-array-sort-for-min-max'?: Linter.RuleEntry<[]>
304
304
  /**
305
305
  * Prefer `Array#toSpliced()` over `Array#splice()`.
306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-array-splice.md
306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-array-splice.md
307
307
  */
308
308
  'unicorn/no-array-splice'?: Linter.RuleEntry<[]>
309
309
  /**
310
- * Disallow asterisk prefixes in multiline comments.
311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
310
+ * Disallow asterisk prefixes and shared indentation in multiline comments.
311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-asterisk-prefix-in-documentation-comments.md
312
312
  */
313
313
  'unicorn/no-asterisk-prefix-in-documentation-comments'?: Linter.RuleEntry<[]>
314
314
  /**
315
315
  * Disallow asynchronous callbacks in synchronous iterator helpers.
316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-async-iterator-callback.md
316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-async-iterator-callback.md
317
317
  */
318
318
  'unicorn/no-async-iterator-callback'?: Linter.RuleEntry<[]>
319
319
  /**
320
320
  * Disallow async functions as `Promise#finally()` callbacks.
321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-async-promise-finally.md
321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-async-promise-finally.md
322
322
  */
323
323
  'unicorn/no-async-promise-finally'?: Linter.RuleEntry<[]>
324
324
  /**
325
325
  * Disallow member access from await expression.
326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-await-expression-member.md
326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-await-expression-member.md
327
327
  */
328
328
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
329
329
  /**
330
330
  * Disallow using `await` in `Promise` method parameters.
331
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-await-in-promise-methods.md
331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-await-in-promise-methods.md
332
332
  */
333
333
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
334
334
  /**
335
335
  * Disallow barrel files.
336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-barrel-files.md
336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-barrel-files.md
337
337
  */
338
338
  'unicorn/no-barrel-files'?: Linter.RuleEntry<[]>
339
339
  /**
340
340
  * Disallow unnecessary `Blob` to `File` conversion.
341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-blob-to-file.md
341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-blob-to-file.md
342
342
  */
343
343
  'unicorn/no-blob-to-file'?: Linter.RuleEntry<[]>
344
344
  /**
345
345
  * Disallow boolean-returning sort comparators.
346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-boolean-sort-comparator.md
346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-boolean-sort-comparator.md
347
347
  */
348
348
  'unicorn/no-boolean-sort-comparator'?: Linter.RuleEntry<[]>
349
349
  /**
350
350
  * Disallow `break` and optionally `continue` in nested loops and switches inside loops.
351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-break-in-nested-loop.md
351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-break-in-nested-loop.md
352
352
  */
353
353
  'unicorn/no-break-in-nested-loop'?: Linter.RuleEntry<UnicornNoBreakInNestedLoop>
354
354
  /**
355
355
  * Prefer drawing canvases directly instead of converting them to images.
356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-canvas-to-image.md
356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-canvas-to-image.md
357
357
  */
358
358
  'unicorn/no-canvas-to-image'?: Linter.RuleEntry<[]>
359
359
  /**
360
360
  * Disallow chained comparisons such as `a < b < c`.
361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-chained-comparison.md
361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-chained-comparison.md
362
362
  */
363
363
  'unicorn/no-chained-comparison'?: Linter.RuleEntry<[]>
364
364
  /**
365
365
  * Disallow accessing `Map`, `Set`, `WeakMap`, and `WeakSet` entries with bracket notation.
366
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-collection-bracket-access.md
366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-collection-bracket-access.md
367
367
  */
368
368
  'unicorn/no-collection-bracket-access'?: Linter.RuleEntry<[]>
369
369
  /**
370
370
  * Disallow dynamic object property existence checks.
371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-computed-property-existence-check.md
371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-computed-property-existence-check.md
372
372
  */
373
373
  'unicorn/no-computed-property-existence-check'?: Linter.RuleEntry<[]>
374
374
  /**
375
375
  * Disallow conflicting CSS query and HTML form constraints.
376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-conflicting-constraints.md
376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-conflicting-constraints.md
377
377
  */
378
378
  'unicorn/no-conflicting-constraints'?: Linter.RuleEntry<[]>
379
379
  /**
380
380
  * Disallow confusing uses of `Array#{splice,toSpliced}()`.
381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-confusing-array-splice.md
381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-confusing-array-splice.md
382
382
  */
383
383
  'unicorn/no-confusing-array-splice'?: Linter.RuleEntry<[]>
384
384
  /**
385
385
  * Disallow confusing uses of `Array#with()`.
386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-confusing-array-with.md
386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-confusing-array-with.md
387
387
  */
388
388
  'unicorn/no-confusing-array-with'?: Linter.RuleEntry<[]>
389
389
  /**
390
390
  * Do not use leading/trailing space between `console.log` parameters.
391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-console-spaces.md
391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-console-spaces.md
392
392
  */
393
393
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
394
394
  /**
395
395
  * Disallow arithmetic and bitwise operations that always evaluate to `0`.
396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-constant-zero-expression.md
396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-constant-zero-expression.md
397
397
  */
398
398
  'unicorn/no-constant-zero-expression'?: Linter.RuleEntry<[]>
399
399
  /**
400
400
  * Disallow declarations before conditional early exits when they are only used after the exit.
401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-declarations-before-early-exit.md
401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-declarations-before-early-exit.md
402
402
  */
403
403
  'unicorn/no-declarations-before-early-exit'?: Linter.RuleEntry<[]>
404
404
  /**
405
405
  * Moved to `eslint-cssicorn` as `cssicorn/no-deprecated-features`.
406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-deprecated-css-features
406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-deprecated-css-features
407
407
  * @deprecated
408
408
  */
409
409
  'unicorn/no-deprecated-css-features'?: Linter.RuleEntry<[]>
410
410
  /**
411
411
  * Do not use `document.cookie` directly.
412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-document-cookie.md
412
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-document-cookie.md
413
413
  */
414
414
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
415
415
  /**
416
416
  * Disallow two comparisons of the same operands that can be combined into one.
417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-double-comparison.md
417
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-double-comparison.md
418
418
  */
419
419
  'unicorn/no-double-comparison'?: Linter.RuleEntry<[]>
420
420
  /**
421
421
  * Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-selectors`.
422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-css-selectors
422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-css-selectors
423
423
  * @deprecated
424
424
  */
425
425
  'unicorn/no-duplicate-css-selectors'?: Linter.RuleEntry<[]>
426
426
  /**
427
427
  * Moved to `eslint-cssicorn` as `cssicorn/no-duplicate-font-family-names`.
428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-font-family-names
428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-duplicate-font-family-names
429
429
  * @deprecated
430
430
  */
431
431
  'unicorn/no-duplicate-font-family-names'?: Linter.RuleEntry<[]>
432
432
  /**
433
433
  * Disallow duplicate adjacent branches in if chains.
434
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-if-branches.md
434
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-duplicate-if-branches.md
435
435
  */
436
436
  'unicorn/no-duplicate-if-branches'?: Linter.RuleEntry<[]>
437
437
  /**
438
438
  * Disallow adjacent duplicate operands in logical expressions.
439
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-logical-operands.md
439
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-duplicate-logical-operands.md
440
440
  */
441
441
  'unicorn/no-duplicate-logical-operands'?: Linter.RuleEntry<[]>
442
442
  /**
443
443
  * Disallow `.map()` and `.filter()` in `for…of` and `for await…of` loop headers.
444
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-loops.md
444
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-duplicate-loops.md
445
445
  */
446
446
  'unicorn/no-duplicate-loops'?: Linter.RuleEntry<[]>
447
447
  /**
448
448
  * Disallow duplicate values in `Set` constructor array literals.
449
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-duplicate-set-values.md
449
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-duplicate-set-values.md
450
450
  */
451
451
  'unicorn/no-duplicate-set-values'?: Linter.RuleEntry<[]>
452
452
  /**
453
453
  * Disallow empty files.
454
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-empty-file.md
454
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-empty-file.md
455
455
  */
456
456
  'unicorn/no-empty-file'?: Linter.RuleEntry<UnicornNoEmptyFile>
457
457
  /**
458
458
  * Disallow empty link text in Markdown.
459
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-empty-link-text.md
459
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-empty-link-text.md
460
460
  */
461
461
  'unicorn/no-empty-link-text'?: Linter.RuleEntry<[]>
462
462
  /**
463
463
  * Disallow assigning to built-in error properties.
464
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-error-property-assignment.md
464
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-error-property-assignment.md
465
465
  */
466
466
  'unicorn/no-error-property-assignment'?: Linter.RuleEntry<[]>
467
467
  /**
468
468
  * Disallow exports in scripts.
469
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-exports-in-scripts.md
469
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-exports-in-scripts.md
470
470
  */
471
471
  'unicorn/no-exports-in-scripts'?: Linter.RuleEntry<[]>
472
472
  /**
473
473
  * Prefer `for…of` over the `forEach` method.
474
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-for-each.md
474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-for-each.md
475
475
  */
476
476
  'unicorn/no-for-each'?: Linter.RuleEntry<[]>
477
477
  /**
478
478
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
479
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-for-loop.md
479
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-for-loop.md
480
480
  */
481
481
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
482
482
  /**
483
483
  * Disallow assigning properties on the global object.
484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-global-object-property-assignment.md
484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-global-object-property-assignment.md
485
485
  */
486
486
  'unicorn/no-global-object-property-assignment'?: Linter.RuleEntry<[]>
487
487
  /**
488
488
  * Replaced by `unicorn/prefer-literal-ascii` and `unicorn/prefer-unicode-code-point-escapes`, which cover more cases.
489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
489
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-hex-escape
490
490
  * @deprecated
491
491
  */
492
492
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
493
493
  /**
494
- * Disallow immediate mutation after variable assignment.
495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-immediate-mutation.md
494
+ * Disallow immediate mutation after assignment and initialization immediately after declaration.
495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-immediate-mutation.md
496
496
  */
497
497
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<UnicornNoImmediateMutation>
498
498
  /**
499
499
  * Disallow impossible comparisons against `.length` or `.size`.
500
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-impossible-length-comparison.md
500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-impossible-length-comparison.md
501
501
  */
502
502
  'unicorn/no-impossible-length-comparison'?: Linter.RuleEntry<[]>
503
503
  /**
504
504
  * Disallow class accessors that hide an inherited getter or setter.
505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incomplete-accessor-override.md
505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-incomplete-accessor-override.md
506
506
  */
507
507
  'unicorn/no-incomplete-accessor-override'?: Linter.RuleEntry<[]>
508
508
  /**
509
509
  * Disallow incorrect `querySelector()` and `querySelectorAll()` usage.
510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incorrect-query-selector.md
510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-incorrect-query-selector.md
511
511
  */
512
512
  'unicorn/no-incorrect-query-selector'?: Linter.RuleEntry<[]>
513
513
  /**
514
514
  * Disallow incorrect template literal interpolation syntax.
515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-incorrect-template-string-interpolation.md
515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-incorrect-template-string-interpolation.md
516
516
  */
517
517
  'unicorn/no-incorrect-template-string-interpolation'?: Linter.RuleEntry<[]>
518
518
  /**
519
519
  * Disallow ineffective CSP directives in `<meta>` elements.
520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-ineffective-csp-directives.md
520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-ineffective-csp-directives.md
521
521
  */
522
522
  'unicorn/no-ineffective-csp-directives'?: Linter.RuleEntry<[]>
523
523
  /**
524
524
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
526
526
  * @deprecated
527
527
  */
528
528
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
529
529
  /**
530
530
  * Disallow `instanceof` with built-in objects
531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-instanceof-builtins.md
531
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-instanceof-builtins.md
532
532
  */
533
533
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
534
534
  /**
535
535
  * Disallow calling functions and constructors with an invalid number of arguments.
536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-argument-count.md
536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-argument-count.md
537
537
  */
538
538
  'unicorn/no-invalid-argument-count'?: Linter.RuleEntry<UnicornNoInvalidArgumentCount>
539
539
  /**
540
540
  * Disallow invalid values for HTML boolean attributes.
541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-boolean-attribute-value.md
541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-boolean-attribute-value.md
542
542
  */
543
543
  'unicorn/no-invalid-boolean-attribute-value'?: Linter.RuleEntry<[]>
544
544
  /**
545
545
  * Disallow comparing a single character from a string to a multi-character string.
546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-character-comparison.md
546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-character-comparison.md
547
547
  */
548
548
  'unicorn/no-invalid-character-comparison'?: Linter.RuleEntry<[]>
549
549
  /**
550
550
  * Disallow invalid DOM tokens.
551
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-dom-token.md
551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-dom-token.md
552
552
  */
553
553
  'unicorn/no-invalid-dom-token'?: Linter.RuleEntry<[]>
554
554
  /**
555
555
  * Disallow invalid options in `fetch()` and `new Request()`.
556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-fetch-options.md
556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-fetch-options.md
557
557
  */
558
558
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
559
559
  /**
560
560
  * Disallow invalid `accept` values on file inputs.
561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-file-input-accept.md
561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-file-input-accept.md
562
562
  */
563
563
  'unicorn/no-invalid-file-input-accept'?: Linter.RuleEntry<[]>
564
564
  /**
565
565
  * Disallow invalid subresource integrity metadata.
566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-integrity.md
566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-integrity.md
567
567
  */
568
568
  'unicorn/no-invalid-integrity'?: Linter.RuleEntry<[]>
569
569
  /**
570
570
  * Disallow invalid or ignored Intl options.
571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-intl-options.md
571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-intl-options.md
572
572
  */
573
573
  'unicorn/no-invalid-intl-options'?: Linter.RuleEntry<[]>
574
574
  /**
575
575
  * Moved to `eslint-cssicorn` as `cssicorn/no-invalid-media-features`.
576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-invalid-media-features
576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-invalid-media-features
577
577
  * @deprecated
578
578
  */
579
579
  'unicorn/no-invalid-media-features'?: Linter.RuleEntry<[]>
580
580
  /**
581
581
  * Disallow invalid property descriptors.
582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-property-descriptor.md
582
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-property-descriptor.md
583
583
  */
584
584
  'unicorn/no-invalid-property-descriptor'?: Linter.RuleEntry<[]>
585
585
  /**
586
586
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-remove-event-listener.md
587
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-remove-event-listener.md
588
588
  */
589
589
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
590
590
  /**
591
591
  * Disallow invalid options in `new Response()`, `Response.json()`, and `Response.redirect()`.
592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-response-options.md
592
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-response-options.md
593
593
  */
594
594
  'unicorn/no-invalid-response-options'?: Linter.RuleEntry<[]>
595
595
  /**
596
596
  * Disallow invalid arguments to `CSSStyleDeclaration#setProperty()`.
597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-style-set-property.md
597
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-style-set-property.md
598
598
  */
599
599
  'unicorn/no-invalid-style-set-property'?: Linter.RuleEntry<[]>
600
600
  /**
601
601
  * Disallow statically known invalid Temporal arithmetic.
602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-temporal-arithmetic.md
602
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-temporal-arithmetic.md
603
603
  */
604
604
  'unicorn/no-invalid-temporal-arithmetic'?: Linter.RuleEntry<[]>
605
605
  /**
606
606
  * Disallow invalid protocol strings in comparisons with `URL#protocol`.
607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-url-protocol-comparison.md
607
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-url-protocol-comparison.md
608
608
  */
609
609
  'unicorn/no-invalid-url-protocol-comparison'?: Linter.RuleEntry<[]>
610
610
  /**
611
611
  * Disallow invalid implementations of well-known symbol methods.
612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-invalid-well-known-symbol-methods.md
613
613
  */
614
614
  'unicorn/no-invalid-well-known-symbol-methods'?: Linter.RuleEntry<[]>
615
615
  /**
616
616
  * Disallow `javascript:` URLs in Markdown.
617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-javascript-url.md
617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-javascript-url.md
618
618
  */
619
619
  'unicorn/no-javascript-url'?: Linter.RuleEntry<[]>
620
620
  /**
621
621
  * Disallow identifiers starting with `new` or `class`.
622
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-keyword-prefix.md
622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-keyword-prefix.md
623
623
  */
624
624
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
625
625
  /**
626
626
  * Disallow accessing `event.currentTarget` after the synchronous event dispatch has finished.
627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-late-current-target-access.md
627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-late-current-target-access.md
628
628
  */
629
629
  'unicorn/no-late-current-target-access'?: Linter.RuleEntry<[]>
630
630
  /**
631
631
  * Disallow event-control method calls after the synchronous event dispatch has finished.
632
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-late-event-control.md
632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-late-event-control.md
633
633
  */
634
634
  'unicorn/no-late-event-control'?: Linter.RuleEntry<[]>
635
635
  /**
636
636
  * Disallow empty lines at the beginning of a file.
637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-leading-empty-lines.md
637
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-leading-empty-lines.md
638
638
  */
639
639
  'unicorn/no-leading-empty-lines'?: Linter.RuleEntry<[]>
640
640
  /**
641
641
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
642
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
643
643
  * @deprecated
644
644
  */
645
645
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
646
646
  /**
647
647
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-lonely-if.md
648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-lonely-if.md
649
649
  */
650
650
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
651
651
  /**
652
652
  * Disallow mutating a loop iterable during iteration.
653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-loop-iterable-mutation.md
653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-loop-iterable-mutation.md
654
654
  */
655
655
  'unicorn/no-loop-iterable-mutation'?: Linter.RuleEntry<[]>
656
656
  /**
657
657
  * Disallow numeric literals that lose precision when represented as IEEE 754 binary64 values.
658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-loss-of-precision.md
658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-loss-of-precision.md
659
659
  */
660
660
  'unicorn/no-loss-of-precision'?: Linter.RuleEntry<[]>
661
661
  /**
662
662
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-magic-array-flat-depth.md
663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-magic-array-flat-depth.md
664
664
  */
665
665
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
666
666
  /**
667
667
  * Disallow manually wrapped comments.
668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-manually-wrapped-comments.md
668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-manually-wrapped-comments.md
669
669
  */
670
670
  'unicorn/no-manually-wrapped-comments'?: Linter.RuleEntry<[]>
671
671
  /**
672
672
  * Disallow checking a Map key before accessing a different key.
673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-mismatched-map-key.md
673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-mismatched-map-key.md
674
674
  */
675
675
  'unicorn/no-mismatched-map-key'?: Linter.RuleEntry<[]>
676
676
  /**
677
677
  * Disallow misrefactored compound assignments where the target is duplicated in the right-hand side.
678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-misrefactored-assignment.md
678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-misrefactored-assignment.md
679
679
  */
680
680
  'unicorn/no-misrefactored-assignment'?: Linter.RuleEntry<[]>
681
681
  /**
682
682
  * Disallow references to missing local resources.
683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-missing-local-resource.md
683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-missing-local-resource.md
684
684
  */
685
685
  'unicorn/no-missing-local-resource'?: Linter.RuleEntry<[]>
686
686
  /**
687
687
  * Disallow calling Promise executor resolver functions more than once on the same execution path.
688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-multiple-promise-resolver-calls.md
688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-multiple-promise-resolver-calls.md
689
689
  */
690
690
  'unicorn/no-multiple-promise-resolver-calls'?: Linter.RuleEntry<[]>
691
691
  /**
692
692
  * Disallow named usage of default import and export.
693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-named-default.md
693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-named-default.md
694
694
  */
695
695
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>
696
696
  /**
697
697
  * Disallow negated array predicate calls.
698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-array-predicate.md
698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-negated-array-predicate.md
699
699
  */
700
700
  'unicorn/no-negated-array-predicate'?: Linter.RuleEntry<[]>
701
701
  /**
702
702
  * Disallow negated comparisons.
703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-comparison.md
703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-negated-comparison.md
704
704
  */
705
705
  'unicorn/no-negated-comparison'?: Linter.RuleEntry<UnicornNoNegatedComparison>
706
706
  /**
707
707
  * Disallow negated conditions.
708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negated-condition.md
708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-negated-condition.md
709
709
  */
710
710
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
711
711
  /**
712
712
  * Disallow negated expression in equality check.
713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-negation-in-equality-check.md
713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-negation-in-equality-check.md
714
714
  */
715
715
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
716
716
  /**
717
717
  * Disallow nested ternary expressions.
718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-nested-ternary.md
718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-nested-ternary.md
719
719
  */
720
720
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
721
721
  /**
722
722
  * Moved to `eslint-cssicorn` as `cssicorn/no-nesting-with-mixed-specificity`.
723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-nesting-with-mixed-specificity
723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-nesting-with-mixed-specificity
724
724
  * @deprecated
725
725
  */
726
726
  'unicorn/no-nesting-with-mixed-specificity'?: Linter.RuleEntry<[]>
727
727
  /**
728
728
  * Disallow `new Array()`.
729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-new-array.md
729
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-new-array.md
730
730
  */
731
731
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
732
732
  /**
733
733
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-new-buffer.md
734
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-new-buffer.md
735
735
  */
736
736
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
737
737
  /**
738
738
  * Disallow non-function values with function-style verb prefixes.
739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-non-function-verb-prefix.md
739
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-non-function-verb-prefix.md
740
740
  */
741
741
  'unicorn/no-non-function-verb-prefix'?: Linter.RuleEntry<UnicornNoNonFunctionVerbPrefix>
742
742
  /**
743
743
  * Disallow non-standard properties on built-in objects.
744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-nonstandard-builtin-properties.md
744
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-nonstandard-builtin-properties.md
745
745
  */
746
746
  'unicorn/no-nonstandard-builtin-properties'?: Linter.RuleEntry<[]>
747
747
  /**
748
748
  * Disallow the use of the `null` literal.
749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-null.md
749
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-null.md
750
750
  */
751
751
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
752
752
  /**
753
753
  * Disallow the use of objects as default parameters.
754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-object-as-default-parameter.md
754
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-object-as-default-parameter.md
755
755
  */
756
756
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
757
757
  /**
758
758
  * Disallow `Object` methods with `Map` or `Set`.
759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-object-methods-with-collections.md
759
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-object-methods-with-collections.md
760
760
  */
761
761
  'unicorn/no-object-methods-with-collections'?: Linter.RuleEntry<[]>
762
762
  /**
763
763
  * Disallow optional chaining on undeclared variables.
764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
764
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-optional-chaining-on-undeclared-variable.md
765
765
  */
766
766
  'unicorn/no-optional-chaining-on-undeclared-variable'?: Linter.RuleEntry<[]>
767
767
  /**
768
768
  * Disallow ineffective `preventDefault()` calls in passive event listeners.
769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-prevent-default-in-passive-listener.md
769
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-prevent-default-in-passive-listener.md
770
770
  */
771
771
  'unicorn/no-prevent-default-in-passive-listener'?: Linter.RuleEntry<[]>
772
772
  /**
773
773
  * Disallow `process.exit()`.
774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-process-exit.md
774
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-process-exit.md
775
775
  */
776
776
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
777
777
  /**
778
778
  * Disallow comparisons made redundant by an equality check in the same logical AND.
779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-redundant-comparison.md
779
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-redundant-comparison.md
780
780
  */
781
781
  'unicorn/no-redundant-comparison'?: Linter.RuleEntry<[]>
782
782
  /**
783
783
  * Moved to `eslint-cssicorn` as `cssicorn/no-redundant-nested-style-rules`.
784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules
784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-redundant-nested-style-rules
785
785
  * @deprecated
786
786
  */
787
787
  'unicorn/no-redundant-nested-style-rules'?: Linter.RuleEntry<[]>
788
+ /**
789
+ * Disallow repeating the same wrapper at every call to a function.
790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-repeated-call-wrappers.md
791
+ */
792
+ 'unicorn/no-repeated-call-wrappers'?: Linter.RuleEntry<[]>
788
793
  /**
789
794
  * Disallow using the return value of `Array#push()` and `Array#unshift()`.
790
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-return-array-push.md
795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-return-array-push.md
791
796
  */
792
797
  'unicorn/no-return-array-push'?: Linter.RuleEntry<[]>
793
798
  /**
794
799
  * Disallow selector syntax in DOM names.
795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-selector-as-dom-name.md
800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-selector-as-dom-name.md
796
801
  */
797
802
  'unicorn/no-selector-as-dom-name'?: Linter.RuleEntry<[]>
798
803
  /**
799
804
  * Disallow shorthand properties that override related longhand properties.
800
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-shorthand-property-overrides.md
805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-shorthand-property-overrides.md
801
806
  */
802
807
  'unicorn/no-shorthand-property-overrides'?: Linter.RuleEntry<[]>
803
808
  /**
804
809
  * Disallow passing single-element arrays to `Promise` methods.
805
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-single-promise-in-promise-methods.md
810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-single-promise-in-promise-methods.md
806
811
  */
807
812
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
808
813
  /**
809
814
  * Disallow classes that only have static members.
810
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-static-only-class.md
815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-static-only-class.md
811
816
  */
812
817
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
813
818
  /**
814
819
  * Prefer comparing values directly over subtracting and comparing to `0`.
815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-subtraction-comparison.md
820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-subtraction-comparison.md
816
821
  */
817
822
  'unicorn/no-subtraction-comparison'?: Linter.RuleEntry<[]>
818
823
  /**
819
824
  * Disallow `then` property.
820
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-thenable.md
825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-thenable.md
821
826
  */
822
827
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
823
828
  /**
824
829
  * Disallow assigning `this` to a variable.
825
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-this-assignment.md
830
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-this-assignment.md
826
831
  */
827
832
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
828
833
  /**
829
834
  * Disallow `this` outside of classes.
830
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-this-outside-of-class.md
835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-this-outside-of-class.md
831
836
  */
832
837
  'unicorn/no-this-outside-of-class'?: Linter.RuleEntry<[]>
833
838
  /**
834
839
  * Disallow assigning to top-level variables from inside functions.
835
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-top-level-assignment-in-function.md
840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-top-level-assignment-in-function.md
836
841
  */
837
842
  'unicorn/no-top-level-assignment-in-function'?: Linter.RuleEntry<[]>
838
843
  /**
839
844
  * Disallow top-level side effects in exported modules.
840
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-top-level-side-effects.md
845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-top-level-side-effects.md
841
846
  */
842
- 'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<[]>
847
+ 'unicorn/no-top-level-side-effects'?: Linter.RuleEntry<UnicornNoTopLevelSideEffects>
843
848
  /**
844
849
  * Disallow `all` as a transition property.
845
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-transition-all.md
850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-transition-all.md
846
851
  */
847
852
  'unicorn/no-transition-all'?: Linter.RuleEntry<[]>
848
853
  /**
849
854
  * Disallow comparing `undefined` using `typeof`.
850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-typeof-undefined.md
855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-typeof-undefined.md
851
856
  */
852
857
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
853
858
  /**
854
859
  * Disallow referencing methods without calling them.
855
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-uncalled-method.md
860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-uncalled-method.md
856
861
  */
857
862
  'unicorn/no-uncalled-method'?: Linter.RuleEntry<[]>
858
863
  /**
859
864
  * Require class members to be declared.
860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-undeclared-class-members.md
865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-undeclared-class-members.md
861
866
  */
862
867
  'unicorn/no-undeclared-class-members'?: Linter.RuleEntry<[]>
863
868
  /**
864
869
  * Moved to `eslint-cssicorn` as `cssicorn/no-unknown-annotations`.
865
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-css-annotations
870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-css-annotations
866
871
  * @deprecated
867
872
  */
868
873
  'unicorn/no-unknown-css-annotations'?: Linter.RuleEntry<[]>
869
874
  /**
870
875
  * Moved to `eslint-cssicorn` as `cssicorn/no-unknown-pseudo-selectors`.
871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-pseudo-selectors
876
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-unknown-pseudo-selectors
872
877
  * @deprecated
873
878
  */
874
879
  'unicorn/no-unknown-pseudo-selectors'?: Linter.RuleEntry<[]>
875
880
  /**
876
881
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-flat-depth.md
882
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-array-flat-depth.md
878
883
  */
879
884
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
880
885
  /**
881
886
  * Disallow unnecessary use of `Array#flatMap()`.
882
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-flat-map.md
887
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-array-flat-map.md
883
888
  */
884
889
  'unicorn/no-unnecessary-array-flat-map'?: Linter.RuleEntry<[]>
885
890
  /**
886
891
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
887
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-array-splice-count.md
892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-array-splice-count.md
888
893
  */
889
894
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
890
895
  /**
891
896
  * Disallow awaiting non-promise values.
892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-await.md
897
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-await.md
893
898
  */
894
899
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
895
900
  /**
896
901
  * Disallow unnecessary comparisons against boolean literals.
897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-boolean-comparison.md
902
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-boolean-comparison.md
898
903
  */
899
904
  'unicorn/no-unnecessary-boolean-comparison'?: Linter.RuleEntry<[]>
905
+ /**
906
+ * Disallow arguments that match their parameter defaults.
907
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-default-arguments.md
908
+ */
909
+ 'unicorn/no-unnecessary-default-arguments'?: Linter.RuleEntry<[]>
900
910
  /**
901
911
  * Disallow unnecessary options in `fetch()` and `new Request()`.
902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-fetch-options.md
912
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-fetch-options.md
903
913
  */
904
914
  'unicorn/no-unnecessary-fetch-options'?: Linter.RuleEntry<[]>
905
915
  /**
906
916
  * Disallow unnecessary `globalThis` references.
907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-global-this.md
917
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-global-this.md
908
918
  */
909
919
  'unicorn/no-unnecessary-global-this'?: Linter.RuleEntry<[]>
910
920
  /**
911
921
  * Disallow unnecessary nested ternary expressions.
912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-nested-ternary.md
922
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-nested-ternary.md
913
923
  */
914
924
  'unicorn/no-unnecessary-nested-ternary'?: Linter.RuleEntry<[]>
915
925
  /**
916
926
  * Disallow parameters that receive the same value at every call.
917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-parameters.md
927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-parameters.md
918
928
  */
919
929
  'unicorn/no-unnecessary-parameters'?: Linter.RuleEntry<UnicornNoUnnecessaryParameters>
920
930
  /**
921
931
  * Enforce the use of built-in methods instead of unnecessary polyfills.
922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-polyfills.md
932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-polyfills.md
923
933
  */
924
934
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
925
935
  /**
926
936
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-slice-end.md
937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-slice-end.md
928
938
  */
929
939
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
930
940
  /**
931
941
  * Disallow `Array#splice()` when simpler alternatives exist.
932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-splice.md
942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-splice.md
933
943
  */
934
944
  'unicorn/no-unnecessary-splice'?: Linter.RuleEntry<[]>
935
945
  /**
936
946
  * Disallow `String#trim()` before `String#startsWith()` or `String#endsWith()`.
937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unnecessary-string-trim.md
947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unnecessary-string-trim.md
938
948
  */
939
949
  'unicorn/no-unnecessary-string-trim'?: Linter.RuleEntry<[]>
940
950
  /**
941
951
  * Disallow unreadable array destructuring.
942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-array-destructuring.md
952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-array-destructuring.md
943
953
  */
944
954
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<UnicornNoUnreadableArrayDestructuring>
945
955
  /**
946
956
  * Disallow unreadable iterable expressions in `for…of` and `for await…of` loop headers.
947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-for-of-expression.md
957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-for-of-expression.md
948
958
  */
949
959
  'unicorn/no-unreadable-for-of-expression'?: Linter.RuleEntry<[]>
950
960
  /**
951
961
  * Disallow unreadable IIFEs.
952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-iife.md
962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-iife.md
953
963
  */
954
964
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
955
965
  /**
956
966
  * Disallow unreadable `new` expressions.
957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-new-expression.md
967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-new-expression.md
958
968
  */
959
969
  'unicorn/no-unreadable-new-expression'?: Linter.RuleEntry<[]>
960
970
  /**
961
971
  * Disallow unreadable object destructuring.
962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unreadable-object-destructuring.md
972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unreadable-object-destructuring.md
963
973
  */
964
974
  'unicorn/no-unreadable-object-destructuring'?: Linter.RuleEntry<[]>
965
975
  /**
966
976
  * Prevent unsafe use of ArrayBuffer view `.buffer`.
967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-buffer-conversion.md
977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-buffer-conversion.md
968
978
  */
969
979
  'unicorn/no-unsafe-buffer-conversion'?: Linter.RuleEntry<[]>
970
980
  /**
971
981
  * Disallow unsafe DOM HTML APIs.
972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-dom-html.md
982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-dom-html.md
973
983
  */
974
984
  'unicorn/no-unsafe-dom-html'?: Linter.RuleEntry<[]>
975
985
  /**
976
986
  * Disallow known values that JSON serialization cannot represent faithfully.
977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-json-serialization.md
987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-json-serialization.md
978
988
  */
979
989
  'unicorn/no-unsafe-json-serialization'?: Linter.RuleEntry<[]>
980
990
  /**
981
991
  * Disallow reading `.value` from `Promise.allSettled()` results without a fulfilled status guard.
982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-promise-all-settled-values.md
983
993
  */
984
994
  'unicorn/no-unsafe-promise-all-settled-values'?: Linter.RuleEntry<[]>
985
995
  /**
986
996
  * Disallow unsafe values as property keys.
987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-property-key.md
997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-property-key.md
988
998
  */
989
999
  'unicorn/no-unsafe-property-key'?: Linter.RuleEntry<[]>
990
1000
  /**
991
1001
  * Disallow interpolation into SQL strings passed to Node’s `node:sqlite` APIs.
992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
1002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-sqlite-interpolation.md
993
1003
  */
994
1004
  'unicorn/no-unsafe-sqlite-interpolation'?: Linter.RuleEntry<[]>
995
1005
  /**
996
1006
  * Disallow non-literal replacement values in `String#replace()` and `String#replaceAll()`.
997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unsafe-string-replacement.md
1007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unsafe-string-replacement.md
998
1008
  */
999
1009
  'unicorn/no-unsafe-string-replacement'?: Linter.RuleEntry<[]>
1000
1010
  /**
1001
1011
  * Moved to `eslint-cssicorn` as `cssicorn/no-unscoped-nesting-selector`.
1002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unscoped-css-nesting-selector
1012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-unscoped-css-nesting-selector
1003
1013
  * @deprecated
1004
1014
  */
1005
1015
  'unicorn/no-unscoped-css-nesting-selector'?: Linter.RuleEntry<[]>
1006
1016
  /**
1007
1017
  * Replaced by `unicorn/no-unused-builtin-method-return` which covers more cases.
1008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
1018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#no-unused-array-method-return
1009
1019
  * @deprecated
1010
1020
  */
1011
1021
  'unicorn/no-unused-array-method-return'?: Linter.RuleEntry<[]>
1012
1022
  /**
1013
1023
  * Disallow ignoring the return value of selected built-in methods.
1014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-builtin-method-return.md
1024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unused-builtin-method-return.md
1015
1025
  */
1016
1026
  'unicorn/no-unused-builtin-method-return'?: Linter.RuleEntry<[]>
1017
1027
  /**
1018
1028
  * Disallow discarding lazy iterator helpers.
1019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-iterator-helper.md
1029
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unused-iterator-helper.md
1020
1030
  */
1021
1031
  'unicorn/no-unused-iterator-helper'?: Linter.RuleEntry<[]>
1022
1032
  /**
1023
1033
  * Disallow unused object properties.
1024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-unused-properties.md
1034
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-unused-properties.md
1025
1035
  */
1026
1036
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
1027
1037
  /**
1028
1038
  * Disallow passing full URLs to `URLSearchParams`.
1029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-url-in-search-params.md
1039
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-url-in-search-params.md
1030
1040
  */
1031
1041
  'unicorn/no-url-in-search-params'?: Linter.RuleEntry<[]>
1032
1042
  /**
1033
1043
  * Disallow unnecessary `Boolean()` casts in array predicate callbacks.
1034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-boolean-cast.md
1044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-boolean-cast.md
1035
1045
  */
1036
1046
  'unicorn/no-useless-boolean-cast'?: Linter.RuleEntry<[]>
1037
1047
  /**
1038
1048
  * Disallow useless type coercions of values that are already of the target type.
1039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-coercion.md
1049
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-coercion.md
1040
1050
  */
1041
1051
  'unicorn/no-useless-coercion'?: Linter.RuleEntry<[]>
1042
1052
  /**
1043
1053
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
1044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-collection-argument.md
1054
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-collection-argument.md
1045
1055
  */
1046
1056
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>
1047
1057
  /**
1048
1058
  * Disallow useless compound assignments such as `x += 0`.
1049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-compound-assignment.md
1059
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-compound-assignment.md
1050
1060
  */
1051
1061
  'unicorn/no-useless-compound-assignment'?: Linter.RuleEntry<[]>
1052
1062
  /**
1053
1063
  * Disallow useless concatenation of literals.
1054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-concat.md
1064
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-concat.md
1055
1065
  */
1056
1066
  'unicorn/no-useless-concat'?: Linter.RuleEntry<[]>
1057
1067
  /**
1058
1068
  * Disallow useless `continue` statements.
1059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-continue.md
1069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-continue.md
1060
1070
  */
1061
1071
  'unicorn/no-useless-continue'?: Linter.RuleEntry<[]>
1062
1072
  /**
1063
1073
  * Disallow unnecessary existence checks before deletion.
1064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-delete-check.md
1074
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-delete-check.md
1065
1075
  */
1066
1076
  'unicorn/no-useless-delete-check'?: Linter.RuleEntry<[]>
1067
1077
  /**
1068
1078
  * Disallow `else` after a statement that exits.
1069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-else.md
1079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-else.md
1070
1080
  */
1071
1081
  'unicorn/no-useless-else'?: Linter.RuleEntry<[]>
1072
1082
  /**
1073
1083
  * Disallow unnecessary `Error.captureStackTrace(…)`.
1074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-error-capture-stack-trace.md
1084
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-error-capture-stack-trace.md
1075
1085
  */
1076
1086
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>
1077
1087
  /**
1078
1088
  * Disallow useless fallback when spreading in object literals.
1079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-fallback-in-spread.md
1089
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-fallback-in-spread.md
1080
1090
  */
1081
1091
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
1082
1092
  /**
1083
1093
  * Disallow unnecessary `.toArray()` on iterators.
1084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-iterator-to-array.md
1094
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-iterator-to-array.md
1085
1095
  */
1086
1096
  'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>
1087
1097
  /**
1088
1098
  * Disallow useless array length check.
1089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-length-check.md
1099
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-length-check.md
1090
1100
  */
1091
1101
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
1092
1102
  /**
1093
1103
  * Disallow unnecessary operands in logical expressions involving boolean literals.
1094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-logical-operand.md
1104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-logical-operand.md
1095
1105
  */
1096
1106
  'unicorn/no-useless-logical-operand'?: Linter.RuleEntry<[]>
1097
1107
  /**
1098
1108
  * Disallow useless overrides of class methods.
1099
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-override.md
1109
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-override.md
1100
1110
  */
1101
1111
  'unicorn/no-useless-override'?: Linter.RuleEntry<[]>
1102
1112
  /**
1103
1113
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
1104
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-promise-resolve-reject.md
1114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-promise-resolve-reject.md
1105
1115
  */
1106
1116
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
1107
1117
  /**
1108
1118
  * Disallow redundant re-exports.
1109
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-re-export.md
1119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-re-export.md
1110
1120
  */
1111
1121
  'unicorn/no-useless-re-export'?: Linter.RuleEntry<[]>
1112
1122
  /**
1113
1123
  * Disallow simple recursive function calls that can be replaced with a loop.
1114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-recursion.md
1124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-recursion.md
1115
1125
  */
1116
1126
  'unicorn/no-useless-recursion'?: Linter.RuleEntry<[]>
1117
1127
  /**
1118
1128
  * Disallow unnecessary `Set` construction around `Set` methods.
1119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-set-construction.md
1129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-set-construction.md
1120
1130
  */
1121
1131
  'unicorn/no-useless-set-construction'?: Linter.RuleEntry<[]>
1122
1132
  /**
1123
1133
  * Disallow unnecessary spread.
1124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-spread.md
1134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-spread.md
1125
1135
  */
1126
1136
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
1127
1137
  /**
1128
1138
  * Disallow useless case in switch statements.
1129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-switch-case.md
1139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-switch-case.md
1130
1140
  */
1131
1141
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
1132
1142
  /**
1133
1143
  * Disallow useless template literal expressions.
1134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-template-literals.md
1144
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-template-literals.md
1135
1145
  */
1136
1146
  'unicorn/no-useless-template-literals'?: Linter.RuleEntry<[]>
1137
1147
  /**
1138
1148
  * Disallow useless `undefined`.
1139
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-useless-undefined.md
1149
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-useless-undefined.md
1140
1150
  */
1141
1151
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
1142
1152
  /**
1143
1153
  * Disallow returning or exporting resources declared with `using`, including through capturing functions.
1144
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-using-resource-escape.md
1154
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-using-resource-escape.md
1145
1155
  */
1146
1156
  'unicorn/no-using-resource-escape'?: Linter.RuleEntry<[]>
1147
1157
  /**
1148
1158
  * Disallow the bitwise XOR operator where exponentiation was likely intended.
1149
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-xor-as-exponentiation.md
1159
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-xor-as-exponentiation.md
1150
1160
  */
1151
1161
  'unicorn/no-xor-as-exponentiation'?: Linter.RuleEntry<[]>
1152
1162
  /**
1153
1163
  * Require consistent decimal numbers without redundant zeros.
1154
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/no-zero-fractions.md
1164
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/no-zero-fractions.md
1155
1165
  */
1156
1166
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
1157
1167
  /**
1158
1168
  * Enforce proper case for numeric literals.
1159
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/number-literal-case.md
1169
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/number-literal-case.md
1160
1170
  */
1161
1171
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
1162
1172
  /**
1163
1173
  * Enforce the style of numeric separators by correctly grouping digits.
1164
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/numeric-separators-style.md
1174
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/numeric-separators-style.md
1165
1175
  */
1166
1176
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
1167
1177
  /**
1168
1178
  * Require assignment operator shorthand where possible.
1169
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/operator-assignment.md
1179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/operator-assignment.md
1170
1180
  */
1171
1181
  'unicorn/operator-assignment'?: Linter.RuleEntry<UnicornOperatorAssignment>
1172
1182
  /**
1173
1183
  * Prefer `AbortSignal.any()` over manually forwarding abort events between signals.
1174
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-abort-signal-any.md
1184
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-abort-signal-any.md
1175
1185
  */
1176
1186
  'unicorn/prefer-abort-signal-any'?: Linter.RuleEntry<[]>
1177
1187
  /**
1178
1188
  * Prefer `AbortSignal.timeout()` over manually aborting an `AbortController` with `setTimeout()`.
1179
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-abort-signal-timeout.md
1189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-abort-signal-timeout.md
1180
1190
  */
1181
1191
  'unicorn/prefer-abort-signal-timeout'?: Linter.RuleEntry<[]>
1182
1192
  /**
1183
1193
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
1184
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-add-event-listener.md
1194
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-add-event-listener.md
1185
1195
  */
1186
1196
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
1187
1197
  /**
1188
1198
  * Prefer an options object over a boolean in `.addEventListener()`.
1189
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-add-event-listener-options.md
1199
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-add-event-listener-options.md
1190
1200
  */
1191
1201
  'unicorn/prefer-add-event-listener-options'?: Linter.RuleEntry<[]>
1192
1202
  /**
1193
1203
  * Prefer `AggregateError` when throwing collected errors.
1194
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-aggregate-error.md
1204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-aggregate-error.md
1195
1205
  */
1196
1206
  'unicorn/prefer-aggregate-error'?: Linter.RuleEntry<[]>
1197
1207
  /**
1198
1208
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
1199
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-find.md
1209
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-find.md
1200
1210
  */
1201
1211
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
1202
1212
  /**
1203
1213
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
1204
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-flat.md
1214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-flat.md
1205
1215
  */
1206
1216
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
1207
1217
  /**
1208
1218
  * Prefer `.flatMap(…)` over `.map(…).flat()` and `.filter(…).flatMap(…)`.
1209
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-flat-map.md
1219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-flat-map.md
1210
1220
  */
1211
1221
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
1212
1222
  /**
1213
1223
  * Prefer `Array.fromAsync()` over array accumulation loops.
1214
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-async.md
1224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-from-async.md
1215
1225
  */
1216
1226
  'unicorn/prefer-array-from-async'?: Linter.RuleEntry<[]>
1217
1227
  /**
1218
1228
  * Prefer using the `Array.from()` mapping function argument.
1219
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-map.md
1229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-from-map.md
1220
1230
  */
1221
1231
  'unicorn/prefer-array-from-map'?: Linter.RuleEntry<[]>
1222
1232
  /**
1223
1233
  * Prefer `Array.from({length}, …)` when creating range arrays.
1224
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-from-range.md
1234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-from-range.md
1225
1235
  */
1226
1236
  'unicorn/prefer-array-from-range'?: Linter.RuleEntry<[]>
1227
1237
  /**
1228
1238
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
1229
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-index-of.md
1239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-index-of.md
1230
1240
  */
1231
1241
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
1232
1242
  /**
1233
1243
  * Prefer iterating an array directly or with `Array#keys()` over `Array#entries()` when the index or value is unused.
1234
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-iterable-methods.md
1244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-iterable-methods.md
1235
1245
  */
1236
1246
  'unicorn/prefer-array-iterable-methods'?: Linter.RuleEntry<[]>
1237
1247
  /**
1238
1248
  * Prefer last-oriented array methods over `Array#reverse()` or `Array#toReversed()` followed by a method.
1239
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-last-methods.md
1249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-last-methods.md
1240
1250
  */
1241
1251
  'unicorn/prefer-array-last-methods'?: Linter.RuleEntry<[]>
1242
1252
  /**
1243
1253
  * Prefer `Array#slice()` over `Array#splice()` when reading from the returned array.
1244
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-slice.md
1254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-slice.md
1245
1255
  */
1246
1256
  'unicorn/prefer-array-slice'?: Linter.RuleEntry<[]>
1247
1257
  /**
1248
1258
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
1249
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-array-some.md
1259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-array-some.md
1250
1260
  */
1251
1261
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
1252
1262
  /**
1253
1263
  * Prefer `.at()` method for index access and `String#charAt()`.
1254
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-at.md
1264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-at.md
1255
1265
  */
1256
1266
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
1257
1267
  /**
1258
1268
  * Prefer `await` over promise chaining.
1259
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-await.md
1269
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-await.md
1260
1270
  */
1261
1271
  'unicorn/prefer-await'?: Linter.RuleEntry<[]>
1262
1272
  /**
1263
1273
  * Prefer `BigInt` literals over the constructor.
1264
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-bigint-literals.md
1274
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-bigint-literals.md
1265
1275
  */
1266
1276
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>
1267
1277
  /**
1268
1278
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
1269
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-blob-reading-methods.md
1279
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-blob-reading-methods.md
1270
1280
  */
1271
1281
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
1272
1282
  /**
1273
1283
  * Prefer block statements over IIFEs used only for scoping.
1274
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-block-statement-over-iife.md
1284
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-block-statement-over-iife.md
1275
1285
  */
1276
1286
  'unicorn/prefer-block-statement-over-iife'?: Linter.RuleEntry<[]>
1277
1287
  /**
1278
1288
  * Prefer directly returning boolean expressions over `if` statements.
1279
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-boolean-return.md
1289
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-boolean-return.md
1280
1290
  */
1281
1291
  'unicorn/prefer-boolean-return'?: Linter.RuleEntry<[]>
1282
1292
  /**
1283
1293
  * Prefer class field declarations over `this` assignments in constructors.
1284
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-class-fields.md
1294
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-class-fields.md
1285
1295
  */
1286
1296
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>
1287
1297
  /**
1288
1298
  * Prefer using `Element#classList.toggle()` to toggle class names.
1289
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-classlist-toggle.md
1299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-classlist-toggle.md
1290
1300
  */
1291
1301
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>
1292
1302
  /**
1293
1303
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
1294
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-code-point.md
1304
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-code-point.md
1295
1305
  */
1296
1306
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
1297
1307
  /**
1298
1308
  * Prefer combining consecutive guards with identical exit statements.
1299
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-combined-guards.md
1309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-combined-guards.md
1300
1310
  */
1301
1311
  'unicorn/prefer-combined-guards'?: Linter.RuleEntry<UnicornPreferCombinedGuards>
1302
1312
  /**
1303
1313
  * Prefer early continues over conditionals wrapping the remainder of the loop body.
1304
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-continue.md
1314
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-continue.md
1305
1315
  */
1306
1316
  'unicorn/prefer-continue'?: Linter.RuleEntry<UnicornPreferContinue>
1307
1317
  /**
1308
1318
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
1309
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-date-now.md
1319
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-date-now.md
1310
1320
  */
1311
1321
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
1312
1322
  /**
1313
1323
  * Prefer default parameters and destructuring defaults over reassignment and fallback expressions.
1314
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-default-parameters.md
1324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-default-parameters.md
1315
1325
  */
1316
- 'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
1326
+ 'unicorn/prefer-default-parameters'?: Linter.RuleEntry<UnicornPreferDefaultParameters>
1317
1327
  /**
1318
1328
  * Prefer direct iteration over default iterator method calls.
1319
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-direct-iteration.md
1329
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-direct-iteration.md
1320
1330
  */
1321
1331
  'unicorn/prefer-direct-iteration'?: Linter.RuleEntry<[]>
1322
1332
  /**
1323
1333
  * Prefer using `using`/`await using` over manual `try`/`finally` resource disposal.
1324
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dispose.md
1334
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dispose.md
1325
1335
  */
1326
1336
  'unicorn/prefer-dispose'?: Linter.RuleEntry<[]>
1327
1337
  /**
1328
1338
  * Prefer `Element#append()` over `Node#appendChild()`.
1329
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-append.md
1339
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dom-node-append.md
1330
1340
  */
1331
1341
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
1332
1342
  /**
1333
1343
  * Renamed to `unicorn/dom-node-dataset`.
1334
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
1344
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#prefer-dom-node-dataset
1335
1345
  * @deprecated
1336
1346
  */
1337
1347
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
1338
1348
  /**
1339
1349
  * Prefer `.getHTML()` and `.setHTML()` over `.innerHTML`.
1340
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-html-methods.md
1350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dom-node-html-methods.md
1341
1351
  */
1342
1352
  'unicorn/prefer-dom-node-html-methods'?: Linter.RuleEntry<UnicornPreferDomNodeHtmlMethods>
1343
1353
  /**
1344
1354
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
1345
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-remove.md
1355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dom-node-remove.md
1346
1356
  */
1347
1357
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
1348
1358
  /**
1349
1359
  * Prefer `.replaceChildren()` when replacing DOM children.
1350
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-replace-children.md
1360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dom-node-replace-children.md
1351
1361
  */
1352
1362
  'unicorn/prefer-dom-node-replace-children'?: Linter.RuleEntry<[]>
1353
1363
  /**
1354
1364
  * Prefer `.textContent` over `.innerText`.
1355
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-dom-node-text-content.md
1365
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-dom-node-text-content.md
1356
1366
  */
1357
1367
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
1358
1368
  /**
1359
1369
  * Prefer early returns over conditionals wrapping the remainder of the function body.
1360
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-early-return.md
1370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-early-return.md
1361
1371
  */
1362
1372
  'unicorn/prefer-early-return'?: Linter.RuleEntry<UnicornPreferEarlyReturn>
1363
1373
  /**
1364
1374
  * Prefer `else if` over adjacent `if` statements with related conditions.
1365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-else-if.md
1375
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-else-if.md
1366
1376
  */
1367
1377
  'unicorn/prefer-else-if'?: Linter.RuleEntry<[]>
1368
1378
  /**
1369
1379
  * Prefer `Error.isError()` when checking for errors.
1370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-error-is-error.md
1380
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-error-is-error.md
1371
1381
  */
1372
1382
  'unicorn/prefer-error-is-error'?: Linter.RuleEntry<[]>
1373
1383
  /**
1374
1384
  * Prefer escape sequences for irregular whitespace characters.
1375
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-escaped-irregular-whitespace.md
1385
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-escaped-irregular-whitespace.md
1376
1386
  */
1377
1387
  'unicorn/prefer-escaped-irregular-whitespace'?: Linter.RuleEntry<[]>
1378
1388
  /**
1379
1389
  * Prefer `EventTarget` over `EventEmitter`.
1380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-event-target.md
1390
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-event-target.md
1381
1391
  */
1382
1392
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
1383
1393
  /**
1384
1394
  * Moved to `eslint-cssicorn` as `cssicorn/prefer-explicit-viewport-units`.
1385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-explicit-viewport-units
1395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#prefer-explicit-viewport-units
1386
1396
  * @deprecated
1387
1397
  */
1388
1398
  'unicorn/prefer-explicit-viewport-units'?: Linter.RuleEntry<[]>
1389
1399
  /**
1390
1400
  * Prefer `export…from` when re-exporting.
1391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-export-from.md
1401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-export-from.md
1392
1402
  */
1393
1403
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
1394
1404
  /**
1395
1405
  * Prefer flat `Math.min()` and `Math.max()` calls over nested calls.
1396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-flat-math-min-max.md
1406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-flat-math-min-max.md
1397
1407
  */
1398
1408
  'unicorn/prefer-flat-math-min-max'?: Linter.RuleEntry<[]>
1399
1409
  /**
1400
1410
  * Prefer `.getOrInsertComputed()` when the default value has side effects.
1401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-get-or-insert-computed.md
1411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-get-or-insert-computed.md
1402
1412
  */
1403
1413
  'unicorn/prefer-get-or-insert-computed'?: Linter.RuleEntry<[]>
1404
1414
  /**
1405
1415
  * Prefer global numeric constants over `Number` static properties.
1406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-global-number-constants.md
1416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-global-number-constants.md
1407
1417
  */
1408
1418
  'unicorn/prefer-global-number-constants'?: Linter.RuleEntry<[]>
1409
1419
  /**
1410
1420
  * Prefer `globalThis` over `window`, `self`, and `global`.
1411
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-global-this.md
1421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-global-this.md
1412
1422
  */
1413
1423
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
1414
1424
  /**
1415
1425
  * Prefer `Object.groupBy()` or `Map.groupBy()` over manual grouping.
1416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-group-by.md
1426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-group-by.md
1417
1427
  */
1418
1428
  'unicorn/prefer-group-by'?: Linter.RuleEntry<[]>
1419
1429
  /**
1420
1430
  * Prefer `.has()` when checking existence.
1421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-has-check.md
1431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-has-check.md
1422
1432
  */
1423
1433
  'unicorn/prefer-has-check'?: Linter.RuleEntry<[]>
1424
1434
  /**
1425
1435
  * Prefer moving code shared by all branches of an `if` statement out of the branches.
1426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-hoisting-branch-code.md
1436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-hoisting-branch-code.md
1427
1437
  */
1428
1438
  'unicorn/prefer-hoisting-branch-code'?: Linter.RuleEntry<[]>
1429
1439
  /**
1430
1440
  * Prefer HTTPS over HTTP.
1431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-https.md
1441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-https.md
1432
1442
  */
1433
1443
  'unicorn/prefer-https'?: Linter.RuleEntry<UnicornPreferHttps>
1434
1444
  /**
1435
1445
  * Prefer identifiers over string literals in import and export specifiers.
1436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
1446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-identifier-import-export-specifiers.md
1437
1447
  */
1438
1448
  'unicorn/prefer-identifier-import-export-specifiers'?: Linter.RuleEntry<[]>
1439
1449
  /**
1440
1450
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
1441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-import-meta-properties.md
1451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-import-meta-properties.md
1442
1452
  */
1443
1453
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
1444
1454
  /**
1445
1455
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
1446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-includes.md
1456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-includes.md
1447
1457
  */
1448
1458
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
1449
1459
  /**
1450
1460
  * Prefer `.includes()` over repeated equality comparisons.
1451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
1461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-includes-over-repeated-comparisons.md
1452
1462
  */
1453
1463
  'unicorn/prefer-includes-over-repeated-comparisons'?: Linter.RuleEntry<UnicornPreferIncludesOverRepeatedComparisons>
1454
1464
  /**
1455
1465
  * Prefer passing iterables directly to constructors instead of filling empty collections.
1456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterable-in-constructor.md
1466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterable-in-constructor.md
1457
1467
  */
1458
1468
  'unicorn/prefer-iterable-in-constructor'?: Linter.RuleEntry<[]>
1459
1469
  /**
1460
1470
  * Prefer `Iterator.concat(…)` over temporary spread arrays.
1461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-concat.md
1471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-concat.md
1462
1472
  */
1463
1473
  'unicorn/prefer-iterator-concat'?: Linter.RuleEntry<[]>
1464
1474
  /**
1465
1475
  * Prefer iterator helpers over temporary arrays from iterators.
1466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-helpers.md
1476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-helpers.md
1467
1477
  */
1468
1478
  'unicorn/prefer-iterator-helpers'?: Linter.RuleEntry<[]>
1469
1479
  /**
1470
1480
  * Prefer `Iterator#toArray()` over temporary arrays from iterator spreads.
1471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-to-array.md
1481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-to-array.md
1472
1482
  */
1473
1483
  'unicorn/prefer-iterator-to-array'?: Linter.RuleEntry<[]>
1474
1484
  /**
1475
1485
  * Prefer moving `.toArray()` to the end of iterator helper chains.
1476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-to-array-at-end.md
1486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-to-array-at-end.md
1477
1487
  */
1478
1488
  'unicorn/prefer-iterator-to-array-at-end'?: Linter.RuleEntry<[]>
1479
1489
  /**
1480
1490
  * Prefer `Iterator.zip()` over parallel-array indexing.
1481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-iterator-zip.md
1491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-iterator-zip.md
1482
1492
  */
1483
1493
  'unicorn/prefer-iterator-zip'?: Linter.RuleEntry<[]>
1484
1494
  /**
1485
1495
  * Prefer JSON imports over reading and parsing JSON files.
1486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-json-import.md
1496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-json-import.md
1487
1497
  */
1488
1498
  'unicorn/prefer-json-import'?: Linter.RuleEntry<[]>
1489
1499
  /**
1490
1500
  * Renamed to `unicorn/consistent-json-file-read`.
1491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
1501
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#prefer-json-parse-buffer
1492
1502
  * @deprecated
1493
1503
  */
1494
1504
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
1495
1505
  /**
1496
1506
  * Prefer `KeyboardEvent#key` over deprecated keyboard event properties.
1497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-keyboard-event-key.md
1507
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-keyboard-event-key.md
1498
1508
  */
1499
1509
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
1500
1510
  /**
1501
1511
  * Prefer literal printable ASCII characters over escape sequences.
1502
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-literal-ascii.md
1512
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-literal-ascii.md
1503
1513
  */
1504
1514
  'unicorn/prefer-literal-ascii'?: Linter.RuleEntry<[]>
1505
1515
  /**
1506
1516
  * Prefer `location.assign()` over assigning to `location.href`.
1507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-location-assign.md
1517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-location-assign.md
1508
1518
  */
1509
1519
  'unicorn/prefer-location-assign'?: Linter.RuleEntry<[]>
1510
1520
  /**
1511
1521
  * Prefer using a logical operator over a ternary.
1512
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-logical-operator-over-ternary.md
1522
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-logical-operator-over-ternary.md
1513
1523
  */
1514
1524
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
1515
1525
  /**
1516
1526
  * Prefer `new Map()` over `Object.fromEntries()` when using the result as a map.
1517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-map-from-entries.md
1527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-map-from-entries.md
1518
1528
  */
1519
1529
  'unicorn/prefer-map-from-entries'?: Linter.RuleEntry<[]>
1520
1530
  /**
1521
1531
  * Prefer `Math.abs()` over manual absolute value expressions and symmetric range checks.
1522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-abs.md
1532
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-math-abs.md
1523
1533
  */
1524
1534
  'unicorn/prefer-math-abs'?: Linter.RuleEntry<[]>
1525
1535
  /**
1526
1536
  * Prefer `Math` constants over their approximate numeric values.
1527
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-constants.md
1537
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-math-constants.md
1528
1538
  */
1529
1539
  'unicorn/prefer-math-constants'?: Linter.RuleEntry<[]>
1530
1540
  /**
1531
1541
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
1532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-min-max.md
1542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-math-min-max.md
1533
1543
  */
1534
1544
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
1535
1545
  /**
1536
1546
  * Prefer `Math.trunc()` for truncating numbers.
1537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-math-trunc.md
1547
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-math-trunc.md
1538
1548
  */
1539
1549
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
1540
1550
  /**
1541
1551
  * Moved to `eslint-cssicorn` as `cssicorn/prefer-media-feature-range-syntax`.
1542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prefer-media-feature-range-syntax
1552
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#prefer-media-feature-range-syntax
1543
1553
  * @deprecated
1544
1554
  */
1545
1555
  'unicorn/prefer-media-feature-range-syntax'?: Linter.RuleEntry<[]>
1546
1556
  /**
1547
1557
  * Prefer moving ternaries into the minimal varying part of an expression.
1548
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-minimal-ternary.md
1558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-minimal-ternary.md
1549
1559
  */
1550
1560
  'unicorn/prefer-minimal-ternary'?: Linter.RuleEntry<UnicornPreferMinimalTernary>
1551
1561
  /**
1552
1562
  * Prefer modern DOM APIs.
1553
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-modern-dom-apis.md
1563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-modern-dom-apis.md
1554
1564
  */
1555
1565
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
1556
1566
  /**
1557
1567
  * Prefer modern `Math` APIs over legacy patterns.
1558
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-modern-math-apis.md
1568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-modern-math-apis.md
1559
1569
  */
1560
1570
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
1561
1571
  /**
1562
1572
  * Prefer JavaScript modules (ESM) over CommonJS.
1563
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-module.md
1573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-module.md
1564
1574
  */
1565
1575
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
1566
1576
  /**
1567
1577
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
1568
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-native-coercion-functions.md
1578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-native-coercion-functions.md
1569
1579
  */
1570
1580
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
1571
1581
  /**
1572
1582
  * Prefer negative index over `.length - index` when possible.
1573
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-negative-index.md
1583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-negative-index.md
1574
1584
  */
1575
1585
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
1576
1586
  /**
1577
1587
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
1578
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-node-protocol.md
1588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-node-protocol.md
1579
1589
  */
1580
1590
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
1581
1591
  /**
1582
1592
  * Prefer `Number()` over `parseFloat()` and base-10 `parseInt()`.
1583
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-coercion.md
1593
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-number-coercion.md
1584
1594
  */
1585
1595
  'unicorn/prefer-number-coercion'?: Linter.RuleEntry<[]>
1586
1596
  /**
1587
1597
  * Prefer `Number.isSafeInteger()` over integer checks.
1588
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-is-safe-integer.md
1598
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-number-is-safe-integer.md
1589
1599
  */
1590
1600
  'unicorn/prefer-number-is-safe-integer'?: Linter.RuleEntry<[]>
1591
1601
  /**
1592
1602
  * Prefer `Number` static methods over global functions and optionally static properties over global constants.
1593
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-number-properties.md
1603
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-number-properties.md
1594
1604
  */
1595
1605
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
1596
1606
  /**
1597
1607
  * Prefer `Object.defineProperties()` over multiple `Object.defineProperty()` calls.
1598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-define-properties.md
1608
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-object-define-properties.md
1599
1609
  */
1600
1610
  'unicorn/prefer-object-define-properties'?: Linter.RuleEntry<[]>
1601
1611
  /**
1602
1612
  * Prefer object destructuring defaults over default object literals with spread.
1603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-destructuring-defaults.md
1613
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-object-destructuring-defaults.md
1604
1614
  */
1605
1615
  'unicorn/prefer-object-destructuring-defaults'?: Linter.RuleEntry<[]>
1606
1616
  /**
1607
1617
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
1608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-from-entries.md
1618
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-object-from-entries.md
1609
1619
  */
1610
1620
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
1611
1621
  /**
1612
1622
  * Prefer the most specific `Object` iterable method.
1613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-object-iterable-methods.md
1623
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-object-iterable-methods.md
1614
1624
  */
1615
1625
  'unicorn/prefer-object-iterable-methods'?: Linter.RuleEntry<[]>
1616
1626
  /**
1617
1627
  * Prefer observer APIs over resize and scroll listeners with layout reads.
1618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-observer-apis.md
1628
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-observer-apis.md
1619
1629
  */
1620
1630
  'unicorn/prefer-observer-apis'?: Linter.RuleEntry<[]>
1621
1631
  /**
1622
1632
  * Prefer omitting the `catch` binding parameter.
1623
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-optional-catch-binding.md
1633
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-optional-catch-binding.md
1624
1634
  */
1625
1635
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
1636
+ /**
1637
+ * Prefer an options object over optional positional parameters.
1638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-options-parameter.md
1639
+ */
1640
+ 'unicorn/prefer-options-parameter'?: Linter.RuleEntry<UnicornPreferOptionsParameter>
1626
1641
  /**
1627
1642
  * Prefer `Path2D` for repeatedly drawn canvas paths.
1628
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-path2d.md
1643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-path2d.md
1629
1644
  */
1630
1645
  'unicorn/prefer-path2d'?: Linter.RuleEntry<[]>
1631
1646
  /**
1632
1647
  * Prefer private class fields over the underscore-prefix convention.
1633
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-private-class-fields.md
1648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-private-class-fields.md
1634
1649
  */
1635
1650
  'unicorn/prefer-private-class-fields'?: Linter.RuleEntry<[]>
1636
1651
  /**
1637
1652
  * Prefer `Promise.resolve()` and `Promise.reject()` over trivial `new Promise()` calls.
1638
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-static-methods.md
1653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-promise-static-methods.md
1639
1654
  */
1640
1655
  'unicorn/prefer-promise-static-methods'?: Linter.RuleEntry<[]>
1641
1656
  /**
1642
1657
  * Prefer `Promise.try()` over promise-wrapping boilerplate.
1643
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-try.md
1658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-promise-try.md
1644
1659
  */
1645
1660
  'unicorn/prefer-promise-try'?: Linter.RuleEntry<[]>
1646
1661
  /**
1647
1662
  * Prefer `Promise.withResolvers()` when extracting resolver functions from `new Promise()`.
1648
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-promise-with-resolvers.md
1663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-promise-with-resolvers.md
1649
1664
  */
1650
1665
  'unicorn/prefer-promise-with-resolvers'?: Linter.RuleEntry<[]>
1651
1666
  /**
1652
1667
  * Prefer borrowing methods from the prototype instead of the instance.
1653
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-prototype-methods.md
1668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-prototype-methods.md
1654
1669
  */
1655
1670
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
1656
1671
  /**
1657
1672
  * Prefer `.querySelector()` and `.querySelectorAll()` over older DOM query methods.
1658
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-query-selector.md
1673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-query-selector.md
1659
1674
  */
1660
1675
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<UnicornPreferQuerySelector>
1661
1676
  /**
1662
1677
  * Prefer `queueMicrotask()` over `process.nextTick()`, `setImmediate()`, and `setTimeout(…, 0)`.
1663
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-queue-microtask.md
1678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-queue-microtask.md
1664
1679
  */
1665
1680
  'unicorn/prefer-queue-microtask'?: Linter.RuleEntry<UnicornPreferQueueMicrotask>
1666
1681
  /**
1667
1682
  * Prefer `Reflect.apply()` over `Function#apply()`.
1668
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-reflect-apply.md
1683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-reflect-apply.md
1669
1684
  */
1670
1685
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
1671
1686
  /**
1672
1687
  * Prefer `RegExp.escape()` for escaping strings to use in regular expressions.
1673
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-regexp-escape.md
1688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-regexp-escape.md
1674
1689
  */
1675
1690
  'unicorn/prefer-regexp-escape'?: Linter.RuleEntry<[]>
1691
+ /**
1692
+ * Prefer `RegExp#exec()` over `String#match()` for non-global regular expressions.
1693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-regexp-exec.md
1694
+ */
1695
+ 'unicorn/prefer-regexp-exec'?: Linter.RuleEntry<[]>
1676
1696
  /**
1677
1697
  * Prefer `RegExp#test()` over `String#match()`, `String#search()`, and `RegExp#exec()`.
1678
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-regexp-test.md
1698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-regexp-test.md
1679
1699
  */
1680
1700
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
1681
1701
  /**
1682
1702
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
1683
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-response-static-json.md
1703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-response-static-json.md
1684
1704
  */
1685
1705
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>
1686
1706
  /**
1687
1707
  * Prefer `:scope` when using element query selector methods.
1688
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-scoped-selector.md
1708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-scoped-selector.md
1689
1709
  */
1690
1710
  'unicorn/prefer-scoped-selector'?: Linter.RuleEntry<[]>
1691
1711
  /**
1692
1712
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
1693
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-has.md
1713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-set-has.md
1694
1714
  */
1695
1715
  'unicorn/prefer-set-has'?: Linter.RuleEntry<UnicornPreferSetHas>
1696
1716
  /**
1697
1717
  * Prefer `Set` methods for Set operations.
1698
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-methods.md
1718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-set-methods.md
1699
1719
  */
1700
1720
  'unicorn/prefer-set-methods'?: Linter.RuleEntry<[]>
1701
1721
  /**
1702
1722
  * Prefer using `Set#size` instead of `Array#length`.
1703
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-set-size.md
1723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-set-size.md
1704
1724
  */
1705
1725
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
1706
1726
  /**
1707
1727
  * Prefer arrow function properties over methods with a single return.
1708
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-short-arrow-method.md
1728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-short-arrow-method.md
1709
1729
  */
1710
1730
  'unicorn/prefer-short-arrow-method'?: Linter.RuleEntry<UnicornPreferShortArrowMethod>
1711
1731
  /**
1712
1732
  * Prefer shorter alternatives to Unicode escape sequences.
1713
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-short-escape-sequences.md
1733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-short-escape-sequences.md
1714
1734
  */
1715
1735
  'unicorn/prefer-short-escape-sequences'?: Linter.RuleEntry<[]>
1716
1736
  /**
1717
1737
  * Prefer simple conditions first in logical expressions.
1718
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simple-condition-first.md
1738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-simple-condition-first.md
1719
1739
  */
1720
1740
  'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>
1721
1741
  /**
1722
1742
  * Prefer a simple comparison function for `Array#sort()`.
1723
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simple-sort-comparator.md
1743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-simple-sort-comparator.md
1724
1744
  */
1725
1745
  'unicorn/prefer-simple-sort-comparator'?: Linter.RuleEntry<[]>
1726
1746
  /**
1727
1747
  * Prefer simplified conditions.
1728
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-simplified-conditions.md
1748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-simplified-conditions.md
1729
1749
  */
1730
1750
  'unicorn/prefer-simplified-conditions'?: Linter.RuleEntry<UnicornPreferSimplifiedConditions>
1731
1751
  /**
1732
1752
  * Prefer a single `Array#some()` or `Array#every()` with a combined predicate.
1733
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-array-predicate.md
1753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-single-array-predicate.md
1734
1754
  */
1735
1755
  'unicorn/prefer-single-array-predicate'?: Linter.RuleEntry<[]>
1736
1756
  /**
1737
1757
  * Enforce combining multiple `Array#{push,unshift}()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
1738
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-call.md
1758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-single-call.md
1739
1759
  */
1740
1760
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
1741
1761
  /**
1742
1762
  * Prefer a single object destructuring declaration per local const source.
1743
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-object-destructuring.md
1763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-single-object-destructuring.md
1744
1764
  */
1745
1765
  'unicorn/prefer-single-object-destructuring'?: Linter.RuleEntry<[]>
1746
1766
  /**
1747
1767
  * Enforce combining multiple single-character replacements into a single `String#replaceAll()` with a regular expression.
1748
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-single-replace.md
1768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-single-replace.md
1749
1769
  */
1750
1770
  'unicorn/prefer-single-replace'?: Linter.RuleEntry<[]>
1751
1771
  /**
1752
- * Prefer declaring variables in the smallest possible scope.
1753
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-smaller-scope.md
1772
+ * Prefer declaring variables and type aliases in the smallest possible scope.
1773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-smaller-scope.md
1754
1774
  */
1755
- 'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<[]>
1775
+ 'unicorn/prefer-smaller-scope'?: Linter.RuleEntry<UnicornPreferSmallerScope>
1756
1776
  /**
1757
1777
  * Prefer `String#split()` with a limit.
1758
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-split-limit.md
1778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-split-limit.md
1759
1779
  */
1760
1780
  'unicorn/prefer-split-limit'?: Linter.RuleEntry<[]>
1761
1781
  /**
1762
1782
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()`, and trivial `for…of` copies.
1763
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-spread.md
1783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-spread.md
1764
1784
  */
1765
1785
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
1766
1786
  /**
1767
1787
  * Prefer `String#matchAll()` over `RegExp#exec()` loops.
1768
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-match-all.md
1788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-match-all.md
1769
1789
  */
1770
1790
  'unicorn/prefer-string-match-all'?: Linter.RuleEntry<[]>
1771
1791
  /**
1772
1792
  * Prefer `String#padStart()` and `String#padEnd()` over manual string padding.
1773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-pad-start-end.md
1793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-pad-start-end.md
1774
1794
  */
1775
1795
  'unicorn/prefer-string-pad-start-end'?: Linter.RuleEntry<[]>
1776
1796
  /**
1777
1797
  * Prefer using the `String.raw` tag to avoid escaping `\`.
1778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-raw.md
1798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-raw.md
1779
1799
  */
1780
1800
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
1781
1801
  /**
1782
1802
  * Prefer `String#repeat()` for repeated whitespace.
1783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-repeat.md
1803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-repeat.md
1784
1804
  */
1785
1805
  'unicorn/prefer-string-repeat'?: Linter.RuleEntry<UnicornPreferStringRepeat>
1786
1806
  /**
1787
1807
  * Prefer `String#replaceAll()` over regex searches with the global flag and `String#split().join()`.
1788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-replace-all.md
1808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-replace-all.md
1789
1809
  */
1790
1810
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
1791
1811
  /**
1792
1812
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
1793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-slice.md
1813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-slice.md
1794
1814
  */
1795
1815
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
1796
1816
  /**
1797
1817
  * Prefer `String#startsWith()` & `String#endsWith()` over regexes, `String#indexOf() === 0`, and slice checks.
1798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-starts-ends-with.md
1818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-starts-ends-with.md
1799
1819
  */
1800
1820
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
1801
1821
  /**
1802
1822
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
1803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-string-trim-start-end.md
1823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-string-trim-start-end.md
1804
1824
  */
1805
1825
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
1806
1826
  /**
1807
1827
  * Prefer using `structuredClone` to create a deep clone.
1808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-structured-clone.md
1828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-structured-clone.md
1809
1829
  */
1810
1830
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
1811
1831
  /**
1812
1832
  * Prefer `switch` over multiple `else-if`.
1813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-switch.md
1833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-switch.md
1814
1834
  */
1815
1835
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
1816
1836
  /**
1817
1837
  * Prefer `Temporal` over `Date`.
1818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-temporal.md
1838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-temporal.md
1819
1839
  */
1820
1840
  'unicorn/prefer-temporal'?: Linter.RuleEntry<UnicornPreferTemporal>
1821
1841
  /**
1822
1842
  * Prefer direct Temporal conversion methods.
1823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-temporal-conversion.md
1843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-temporal-conversion.md
1824
1844
  */
1825
1845
  'unicorn/prefer-temporal-conversion'?: Linter.RuleEntry<[]>
1826
1846
  /**
1827
- * Prefer ternary expressions over simple `if` statements that return or assign values.
1828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-ternary.md
1847
+ * Prefer ternary expressions over simple `if` statements.
1848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-ternary.md
1829
1849
  */
1830
1850
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
1831
1851
  /**
1832
1852
  * Prefer `.then().catch()` over `.then(…, …)` for error handling.
1833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-then-catch.md
1853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-then-catch.md
1834
1854
  */
1835
1855
  'unicorn/prefer-then-catch'?: Linter.RuleEntry<[]>
1836
1856
  /**
1837
1857
  * Prefer using `Element#toggleAttribute()` to toggle attributes.
1838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-toggle-attribute.md
1858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-toggle-attribute.md
1839
1859
  */
1840
1860
  'unicorn/prefer-toggle-attribute'?: Linter.RuleEntry<[]>
1841
1861
  /**
1842
1862
  * Prefer top-level await over top-level promises and async function calls.
1843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-top-level-await.md
1863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-top-level-await.md
1844
1864
  */
1845
1865
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
1846
1866
  /**
1847
1867
  * Enforce throwing `TypeError` in type checking conditions.
1848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-type-error.md
1868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-type-error.md
1849
1869
  */
1850
1870
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
1851
1871
  /**
1852
1872
  * Require type literals to be last in union types.
1853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-type-literal-last.md
1873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-type-literal-last.md
1854
1874
  */
1855
1875
  'unicorn/prefer-type-literal-last'?: Linter.RuleEntry<[]>
1856
1876
  /**
1857
1877
  * Prefer `Uint8Array#toBase64()` and `Uint8Array.fromBase64()` over legacy base64 conversions and manual postprocessing.
1858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-uint8array-base64.md
1878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-uint8array-base64.md
1859
1879
  */
1860
- 'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<[]>
1880
+ 'unicorn/prefer-uint8array-base64'?: Linter.RuleEntry<UnicornPreferUint8ArrayBase64>
1861
1881
  /**
1862
1882
  * Prefer `Uint8Array#toHex()` and `Uint8Array.fromHex()` over manual and Buffer hex conversions.
1863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-uint8array-hex.md
1883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-uint8array-hex.md
1864
1884
  */
1865
- 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<[]>
1885
+ 'unicorn/prefer-uint8array-hex'?: Linter.RuleEntry<UnicornPreferUint8ArrayHex>
1866
1886
  /**
1867
1887
  * Prefer the unary minus operator over multiplying or dividing by `-1`.
1868
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-unary-minus.md
1888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-unary-minus.md
1869
1889
  */
1870
1890
  'unicorn/prefer-unary-minus'?: Linter.RuleEntry<[]>
1871
1891
  /**
1872
1892
  * Prefer Unicode code point escapes over legacy escape sequences.
1873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-unicode-code-point-escapes.md
1893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-unicode-code-point-escapes.md
1874
1894
  */
1875
1895
  'unicorn/prefer-unicode-code-point-escapes'?: Linter.RuleEntry<[]>
1876
1896
  /**
1877
1897
  * Prefer `URL.canParse()` over constructing a `URL` in a try/catch for validation.
1878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-can-parse.md
1898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-url-can-parse.md
1879
1899
  */
1880
1900
  'unicorn/prefer-url-can-parse'?: Linter.RuleEntry<[]>
1881
1901
  /**
1882
1902
  * Prefer `URL#href` over stringifying a `URL`.
1883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-href.md
1903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-url-href.md
1884
1904
  */
1885
1905
  'unicorn/prefer-url-href'?: Linter.RuleEntry<[]>
1886
1906
  /**
1887
1907
  * Prefer `URLSearchParams` over manually splitting query strings.
1888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-url-search-parameters.md
1908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-url-search-parameters.md
1889
1909
  */
1890
1910
  'unicorn/prefer-url-search-parameters'?: Linter.RuleEntry<[]>
1891
1911
  /**
1892
1912
  * Prefer putting the condition in the while statement.
1893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/prefer-while-loop-condition.md
1913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/prefer-while-loop-condition.md
1894
1914
  */
1895
1915
  'unicorn/prefer-while-loop-condition'?: Linter.RuleEntry<[]>
1896
1916
  /**
1897
1917
  * Renamed to `unicorn/name-replacements`.
1898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
1918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/deleted-and-deprecated-rules.md#prevent-abbreviations
1899
1919
  * @deprecated
1900
1920
  */
1901
1921
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<[]>
1902
1922
  /**
1903
1923
  * Enforce consistent relative URL style.
1904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/relative-url-style.md
1924
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/relative-url-style.md
1905
1925
  */
1906
1926
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
1907
1927
  /**
1908
1928
  * Enforce using the separator argument with `Array#join()`.
1909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-array-join-separator.md
1929
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-array-join-separator.md
1910
1930
  */
1911
1931
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
1912
1932
  /**
1913
1933
  * Require a compare function when calling `Array#sort()` or `Array#toSorted()`.
1914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-array-sort-compare.md
1934
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-array-sort-compare.md
1915
1935
  */
1916
1936
  'unicorn/require-array-sort-compare'?: Linter.RuleEntry<[]>
1917
1937
  /**
1918
1938
  * Require `CSS.escape()` for interpolated values in CSS selectors.
1919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-css-escape.md
1939
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-css-escape.md
1920
1940
  */
1921
1941
  'unicorn/require-css-escape'?: Linter.RuleEntry<UnicornRequireCssEscape>
1922
1942
  /**
1923
1943
  * Require configured YAML frontmatter fields.
1924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-frontmatter-fields.md
1944
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-frontmatter-fields.md
1925
1945
  */
1926
1946
  'unicorn/require-frontmatter-fields'?: Linter.RuleEntry<UnicornRequireFrontmatterFields>
1927
1947
  /**
1928
1948
  * Require non-empty module attributes for imports and exports
1929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-module-attributes.md
1949
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-module-attributes.md
1930
1950
  */
1931
1951
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>
1932
1952
  /**
1933
1953
  * Require non-empty specifier list in import and export statements.
1934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-module-specifiers.md
1954
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-module-specifiers.md
1935
1955
  */
1936
1956
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>
1937
1957
  /**
1938
1958
  * Enforce using the digits argument with `Number#toFixed()`.
1939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-number-to-fixed-digits-argument.md
1959
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-number-to-fixed-digits-argument.md
1940
1960
  */
1941
1961
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
1942
1962
  /**
1943
1963
  * Require passive event listeners for high-frequency events.
1944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-passive-events.md
1964
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-passive-events.md
1945
1965
  */
1946
1966
  'unicorn/require-passive-events'?: Linter.RuleEntry<[]>
1947
1967
  /**
1948
1968
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
1949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-post-message-target-origin.md
1969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-post-message-target-origin.md
1950
1970
  */
1951
1971
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
1952
1972
  /**
1953
1973
  * Require boolean-returning Proxy traps to return booleans.
1954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-proxy-trap-boolean-return.md
1974
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-proxy-trap-boolean-return.md
1955
1975
  */
1956
1976
  'unicorn/require-proxy-trap-boolean-return'?: Linter.RuleEntry<[]>
1977
+ /**
1978
+ * Require parentheses around complex spread arguments.
1979
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-spread-parentheses.md
1980
+ */
1981
+ 'unicorn/require-spread-parentheses'?: Linter.RuleEntry<[]>
1957
1982
  /**
1958
1983
  * Require streaming decoding of fetch-body chunks with `TextDecoder`.
1959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/require-text-decoder-streaming.md
1984
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/require-text-decoder-streaming.md
1960
1985
  */
1961
1986
  'unicorn/require-text-decoder-streaming'?: Linter.RuleEntry<[]>
1962
1987
  /**
1963
1988
  * Enforce a consistent style for single-line block comments.
1964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/single-line-block-comment-style.md
1989
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/single-line-block-comment-style.md
1965
1990
  */
1966
1991
  'unicorn/single-line-block-comment-style'?: Linter.RuleEntry<UnicornSingleLineBlockCommentStyle>
1967
1992
  /**
1968
1993
  * Enforce better string content.
1969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/string-content.md
1994
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/string-content.md
1970
1995
  */
1971
1996
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
1972
1997
  /**
1973
1998
  * Enforce consistent brace style for `case` clauses.
1974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/switch-case-braces.md
1999
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/switch-case-braces.md
1975
2000
  */
1976
2001
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
1977
2002
  /**
1978
2003
  * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
1979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/switch-case-break-position.md
2004
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/switch-case-break-position.md
1980
2005
  */
1981
2006
  'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>
1982
2007
  /**
1983
2008
  * Fix whitespace-insensitive template indentation.
1984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/template-indent.md
2009
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/template-indent.md
1985
2010
  */
1986
2011
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
1987
2012
  /**
1988
2013
  * Enforce consistent case for text encoding identifiers.
1989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/text-encoding-identifier-case.md
2014
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/text-encoding-identifier-case.md
1990
2015
  */
1991
2016
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>
1992
2017
  /**
1993
2018
  * Require `new` when creating an error.
1994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/throw-new-error.md
2019
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/throw-new-error.md
1995
2020
  */
1996
2021
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
1997
2022
  /**
1998
2023
  * Limit the complexity of `try` blocks.
1999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v77.0.0/docs/rules/try-complexity.md
2024
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v80.0.0/docs/rules/try-complexity.md
2000
2025
  */
2001
2026
  'unicorn/try-complexity'?: Linter.RuleEntry<UnicornTryComplexity>
2002
2027
  }
@@ -2021,6 +2046,10 @@ type UnicornClassReferenceInStaticMethods = []|[{
2021
2046
  // ----- unicorn/comment-content -----
2022
2047
  type UnicornCommentContent = []|[{
2023
2048
 
2049
+ ignore?: (string | {
2050
+ [k: string]: unknown | undefined
2051
+ })[]
2052
+
2024
2053
  checkUniformCase?: boolean
2025
2054
 
2026
2055
  extendDefaultReplacements?: boolean
@@ -2281,7 +2310,7 @@ type UnicornNameReplacements = []|[{
2281
2310
  replacements?: _UnicornNameReplacements_NameReplacements
2282
2311
 
2283
2312
  extendDefaultAllowList?: boolean
2284
- allowList?: _UnicornNameReplacements_BooleanObject
2313
+ allowList?: _UnicornNameReplacements_BooleanObject1
2285
2314
 
2286
2315
  ignore?: (string | {
2287
2316
  [k: string]: unknown | undefined
@@ -2294,7 +2323,7 @@ interface _UnicornNameReplacements_NameReplacements {
2294
2323
  interface _UnicornNameReplacements_BooleanObject {
2295
2324
  [k: string]: boolean | undefined
2296
2325
  }
2297
- interface _UnicornNameReplacements_BooleanObject {
2326
+ interface _UnicornNameReplacements_BooleanObject1 {
2298
2327
  [k: string]: boolean | undefined
2299
2328
  }
2300
2329
  // ----- unicorn/no-array-callback-reference -----
@@ -2328,6 +2357,8 @@ type UnicornNoEmptyFile = []|[{
2328
2357
  // ----- unicorn/no-immediate-mutation -----
2329
2358
  type UnicornNoImmediateMutation = []|[{
2330
2359
 
2360
+ checkCollections?: boolean
2361
+
2331
2362
  checkConditionals?: boolean
2332
2363
  }]
2333
2364
  // ----- unicorn/no-instanceof-builtins -----
@@ -2374,6 +2405,15 @@ type UnicornNoNull = []|[{
2374
2405
 
2375
2406
  checkStrictEquality?: boolean
2376
2407
  }]
2408
+ // ----- unicorn/no-top-level-side-effects -----
2409
+ type UnicornNoTopLevelSideEffects = []|[{
2410
+
2411
+ checkUnknownCalls?: boolean
2412
+
2413
+ allow?: {
2414
+ [k: string]: string[] | undefined
2415
+ }
2416
+ }]
2377
2417
  // ----- unicorn/no-typeof-undefined -----
2378
2418
  type UnicornNoTypeofUndefined = []|[{
2379
2419
 
@@ -2484,6 +2524,11 @@ type UnicornPreferContinue = []|[{
2484
2524
 
2485
2525
  checkShortBodies?: boolean
2486
2526
  }]
2527
+ // ----- unicorn/prefer-default-parameters -----
2528
+ type UnicornPreferDefaultParameters = []|[{
2529
+
2530
+ checkFallbackExpressions?: boolean
2531
+ }]
2487
2532
  // ----- unicorn/prefer-dom-node-html-methods -----
2488
2533
  type UnicornPreferDomNodeHtmlMethods = []|[{
2489
2534
 
@@ -2534,6 +2579,11 @@ type UnicornPreferObjectFromEntries = []|[{
2534
2579
 
2535
2580
  functions?: string[]
2536
2581
  }]
2582
+ // ----- unicorn/prefer-options-parameter -----
2583
+ type UnicornPreferOptionsParameter = []|[{
2584
+
2585
+ checkWithoutOptionsObject?: boolean
2586
+ }]
2537
2587
  // ----- unicorn/prefer-query-selector -----
2538
2588
  type UnicornPreferQuerySelector = []|[{
2539
2589
 
@@ -2563,6 +2613,11 @@ type UnicornPreferSingleCall = []|[{
2563
2613
 
2564
2614
  ignore?: string[]
2565
2615
  }]
2616
+ // ----- unicorn/prefer-smaller-scope -----
2617
+ type UnicornPreferSmallerScope = []|[{
2618
+
2619
+ checkTypeAliases?: boolean
2620
+ }]
2566
2621
  // ----- unicorn/prefer-string-repeat -----
2567
2622
  type UnicornPreferStringRepeat = []|[{
2568
2623
 
@@ -2590,7 +2645,24 @@ type UnicornPreferTemporal = []|[{
2590
2645
  checkMethods?: boolean
2591
2646
  }]
2592
2647
  // ----- unicorn/prefer-ternary -----
2593
- type UnicornPreferTernary = []|[("always" | "only-single-line")]
2648
+ type UnicornPreferTernary = []|[("always" | "only-single-line")]|[("always" | "only-single-line"), {
2649
+
2650
+ checkVaryingBase?: boolean
2651
+
2652
+ checkComputedMemberAccess?: boolean
2653
+
2654
+ checkNestedTernaries?: boolean
2655
+ }]
2656
+ // ----- unicorn/prefer-uint8array-base64 -----
2657
+ type UnicornPreferUint8ArrayBase64 = []|[{
2658
+
2659
+ checkBufferDecoding?: boolean
2660
+ }]
2661
+ // ----- unicorn/prefer-uint8array-hex -----
2662
+ type UnicornPreferUint8ArrayHex = []|[{
2663
+
2664
+ checkBufferDecoding?: boolean
2665
+ }]
2594
2666
  // ----- unicorn/relative-url-style -----
2595
2667
  type UnicornRelativeUrlStyle = []|[("never" | "always")]
2596
2668
  // ----- unicorn/require-css-escape -----