@liwo/eslint-config 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -107,271 +107,6 @@ interface RuleOptions {
107
107
  * @deprecated
108
108
  */
109
109
  'arrow-spacing'?: Linter.RuleEntry<ArrowSpacing>;
110
- /**
111
- * apply `jsx-a11y/alt-text` rule to Astro components
112
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/alt-text/
113
- */
114
- 'astro/jsx-a11y/alt-text'?: Linter.RuleEntry<[]>;
115
- /**
116
- * apply `jsx-a11y/anchor-ambiguous-text` rule to Astro components
117
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-ambiguous-text/
118
- */
119
- 'astro/jsx-a11y/anchor-ambiguous-text'?: Linter.RuleEntry<[]>;
120
- /**
121
- * apply `jsx-a11y/anchor-has-content` rule to Astro components
122
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-has-content/
123
- */
124
- 'astro/jsx-a11y/anchor-has-content'?: Linter.RuleEntry<[]>;
125
- /**
126
- * apply `jsx-a11y/anchor-is-valid` rule to Astro components
127
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/anchor-is-valid/
128
- */
129
- 'astro/jsx-a11y/anchor-is-valid'?: Linter.RuleEntry<[]>;
130
- /**
131
- * apply `jsx-a11y/aria-activedescendant-has-tabindex` rule to Astro components
132
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-activedescendant-has-tabindex/
133
- */
134
- 'astro/jsx-a11y/aria-activedescendant-has-tabindex'?: Linter.RuleEntry<[]>;
135
- /**
136
- * apply `jsx-a11y/aria-props` rule to Astro components
137
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-props/
138
- */
139
- 'astro/jsx-a11y/aria-props'?: Linter.RuleEntry<[]>;
140
- /**
141
- * apply `jsx-a11y/aria-proptypes` rule to Astro components
142
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-proptypes/
143
- */
144
- 'astro/jsx-a11y/aria-proptypes'?: Linter.RuleEntry<[]>;
145
- /**
146
- * apply `jsx-a11y/aria-role` rule to Astro components
147
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-role/
148
- */
149
- 'astro/jsx-a11y/aria-role'?: Linter.RuleEntry<[]>;
150
- /**
151
- * apply `jsx-a11y/aria-unsupported-elements` rule to Astro components
152
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/aria-unsupported-elements/
153
- */
154
- 'astro/jsx-a11y/aria-unsupported-elements'?: Linter.RuleEntry<[]>;
155
- /**
156
- * apply `jsx-a11y/autocomplete-valid` rule to Astro components
157
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/autocomplete-valid/
158
- */
159
- 'astro/jsx-a11y/autocomplete-valid'?: Linter.RuleEntry<[]>;
160
- /**
161
- * apply `jsx-a11y/click-events-have-key-events` rule to Astro components
162
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/click-events-have-key-events/
163
- */
164
- 'astro/jsx-a11y/click-events-have-key-events'?: Linter.RuleEntry<[]>;
165
- /**
166
- * apply `jsx-a11y/control-has-associated-label` rule to Astro components
167
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/control-has-associated-label/
168
- */
169
- 'astro/jsx-a11y/control-has-associated-label'?: Linter.RuleEntry<[]>;
170
- /**
171
- * apply `jsx-a11y/heading-has-content` rule to Astro components
172
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/heading-has-content/
173
- */
174
- 'astro/jsx-a11y/heading-has-content'?: Linter.RuleEntry<[]>;
175
- /**
176
- * apply `jsx-a11y/html-has-lang` rule to Astro components
177
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/html-has-lang/
178
- */
179
- 'astro/jsx-a11y/html-has-lang'?: Linter.RuleEntry<[]>;
180
- /**
181
- * apply `jsx-a11y/iframe-has-title` rule to Astro components
182
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/iframe-has-title/
183
- */
184
- 'astro/jsx-a11y/iframe-has-title'?: Linter.RuleEntry<[]>;
185
- /**
186
- * apply `jsx-a11y/img-redundant-alt` rule to Astro components
187
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/img-redundant-alt/
188
- */
189
- 'astro/jsx-a11y/img-redundant-alt'?: Linter.RuleEntry<[]>;
190
- /**
191
- * apply `jsx-a11y/interactive-supports-focus` rule to Astro components
192
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/interactive-supports-focus/
193
- */
194
- 'astro/jsx-a11y/interactive-supports-focus'?: Linter.RuleEntry<[]>;
195
- /**
196
- * apply `jsx-a11y/label-has-associated-control` rule to Astro components
197
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/label-has-associated-control/
198
- */
199
- 'astro/jsx-a11y/label-has-associated-control'?: Linter.RuleEntry<[]>;
200
- /**
201
- * apply `jsx-a11y/lang` rule to Astro components
202
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/lang/
203
- */
204
- 'astro/jsx-a11y/lang'?: Linter.RuleEntry<[]>;
205
- /**
206
- * apply `jsx-a11y/media-has-caption` rule to Astro components
207
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/media-has-caption/
208
- */
209
- 'astro/jsx-a11y/media-has-caption'?: Linter.RuleEntry<[]>;
210
- /**
211
- * apply `jsx-a11y/mouse-events-have-key-events` rule to Astro components
212
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/mouse-events-have-key-events/
213
- */
214
- 'astro/jsx-a11y/mouse-events-have-key-events'?: Linter.RuleEntry<[]>;
215
- /**
216
- * apply `jsx-a11y/no-access-key` rule to Astro components
217
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-access-key/
218
- */
219
- 'astro/jsx-a11y/no-access-key'?: Linter.RuleEntry<[]>;
220
- /**
221
- * apply `jsx-a11y/no-aria-hidden-on-focusable` rule to Astro components
222
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-aria-hidden-on-focusable/
223
- */
224
- 'astro/jsx-a11y/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
225
- /**
226
- * apply `jsx-a11y/no-autofocus` rule to Astro components
227
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-autofocus/
228
- */
229
- 'astro/jsx-a11y/no-autofocus'?: Linter.RuleEntry<[]>;
230
- /**
231
- * apply `jsx-a11y/no-distracting-elements` rule to Astro components
232
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-distracting-elements/
233
- */
234
- 'astro/jsx-a11y/no-distracting-elements'?: Linter.RuleEntry<[]>;
235
- /**
236
- * apply `jsx-a11y/no-interactive-element-to-noninteractive-role` rule to Astro components
237
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-interactive-element-to-noninteractive-role/
238
- */
239
- 'astro/jsx-a11y/no-interactive-element-to-noninteractive-role'?: Linter.RuleEntry<[]>;
240
- /**
241
- * apply `jsx-a11y/no-noninteractive-element-interactions` rule to Astro components
242
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-interactions/
243
- */
244
- 'astro/jsx-a11y/no-noninteractive-element-interactions'?: Linter.RuleEntry<[]>;
245
- /**
246
- * apply `jsx-a11y/no-noninteractive-element-to-interactive-role` rule to Astro components
247
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-element-to-interactive-role/
248
- */
249
- 'astro/jsx-a11y/no-noninteractive-element-to-interactive-role'?: Linter.RuleEntry<[]>;
250
- /**
251
- * apply `jsx-a11y/no-noninteractive-tabindex` rule to Astro components
252
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-noninteractive-tabindex/
253
- */
254
- 'astro/jsx-a11y/no-noninteractive-tabindex'?: Linter.RuleEntry<[]>;
255
- /**
256
- * apply `jsx-a11y/no-redundant-roles` rule to Astro components
257
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-redundant-roles/
258
- */
259
- 'astro/jsx-a11y/no-redundant-roles'?: Linter.RuleEntry<[]>;
260
- /**
261
- * apply `jsx-a11y/no-static-element-interactions` rule to Astro components
262
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/no-static-element-interactions/
263
- */
264
- 'astro/jsx-a11y/no-static-element-interactions'?: Linter.RuleEntry<[]>;
265
- /**
266
- * apply `jsx-a11y/prefer-tag-over-role` rule to Astro components
267
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/prefer-tag-over-role/
268
- */
269
- 'astro/jsx-a11y/prefer-tag-over-role'?: Linter.RuleEntry<[]>;
270
- /**
271
- * apply `jsx-a11y/role-has-required-aria-props` rule to Astro components
272
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-has-required-aria-props/
273
- */
274
- 'astro/jsx-a11y/role-has-required-aria-props'?: Linter.RuleEntry<[]>;
275
- /**
276
- * apply `jsx-a11y/role-supports-aria-props` rule to Astro components
277
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/role-supports-aria-props/
278
- */
279
- 'astro/jsx-a11y/role-supports-aria-props'?: Linter.RuleEntry<[]>;
280
- /**
281
- * apply `jsx-a11y/scope` rule to Astro components
282
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/scope/
283
- */
284
- 'astro/jsx-a11y/scope'?: Linter.RuleEntry<[]>;
285
- /**
286
- * apply `jsx-a11y/tabindex-no-positive` rule to Astro components
287
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/jsx-a11y/tabindex-no-positive/
288
- */
289
- 'astro/jsx-a11y/tabindex-no-positive'?: Linter.RuleEntry<[]>;
290
- /**
291
- * the client:only directive is missing the correct component's framework value
292
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/missing-client-only-directive-value/
293
- */
294
- 'astro/missing-client-only-directive-value'?: Linter.RuleEntry<[]>;
295
- /**
296
- * disallow conflicting set directives and child contents
297
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-conflict-set-directives/
298
- */
299
- 'astro/no-conflict-set-directives'?: Linter.RuleEntry<[]>;
300
- /**
301
- * disallow using deprecated `Astro.canonicalURL`
302
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-canonicalurl/
303
- */
304
- 'astro/no-deprecated-astro-canonicalurl'?: Linter.RuleEntry<[]>;
305
- /**
306
- * disallow using deprecated `Astro.fetchContent()`
307
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-fetchcontent/
308
- */
309
- 'astro/no-deprecated-astro-fetchcontent'?: Linter.RuleEntry<[]>;
310
- /**
311
- * disallow using deprecated `Astro.resolve()`
312
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-astro-resolve/
313
- */
314
- 'astro/no-deprecated-astro-resolve'?: Linter.RuleEntry<[]>;
315
- /**
316
- * disallow using deprecated `getEntryBySlug()`
317
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-deprecated-getentrybyslug/
318
- */
319
- 'astro/no-deprecated-getentrybyslug'?: Linter.RuleEntry<[]>;
320
- /**
321
- * disallow value export
322
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-exports-from-components/
323
- */
324
- 'astro/no-exports-from-components'?: Linter.RuleEntry<[]>;
325
- /**
326
- * disallow use of `set:html` to prevent XSS attack
327
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-html-directive/
328
- */
329
- 'astro/no-set-html-directive'?: Linter.RuleEntry<[]>;
330
- /**
331
- * disallow use of `set:text`
332
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-set-text-directive/
333
- */
334
- 'astro/no-set-text-directive'?: Linter.RuleEntry<[]>;
335
- /**
336
- * disallow selectors defined in `style` tag that don't use in HTML
337
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unused-css-selector/
338
- */
339
- 'astro/no-unused-css-selector'?: Linter.RuleEntry<[]>;
340
- /**
341
- * disallow unused `define:vars={...}` in `style` tag
342
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/no-unused-define-vars-in-style/
343
- */
344
- 'astro/no-unused-define-vars-in-style'?: Linter.RuleEntry<[]>;
345
- /**
346
- * require `class:list` directives instead of `class` with expressions
347
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-class-list-directive/
348
- */
349
- 'astro/prefer-class-list-directive'?: Linter.RuleEntry<[]>;
350
- /**
351
- * require use object instead of ternary expression in `class:list`
352
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-object-class-list/
353
- */
354
- 'astro/prefer-object-class-list'?: Linter.RuleEntry<[]>;
355
- /**
356
- * require use split array elements in `class:list`
357
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/prefer-split-class-list/
358
- */
359
- 'astro/prefer-split-class-list'?: Linter.RuleEntry<AstroPreferSplitClassList>;
360
- /**
361
- * Require or disallow semicolons instead of ASI
362
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
363
- */
364
- 'astro/semi'?: Linter.RuleEntry<AstroSemi>;
365
- /**
366
- * enforce sorting of attributes
367
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
368
- */
369
- 'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>;
370
- /**
371
- * disallow warnings when compiling.
372
- * @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
373
- */
374
- 'astro/valid-compile'?: Linter.RuleEntry<[]>;
375
110
  /**
376
111
  * Enforce the use of variables within the scope they are defined
377
112
  * @see https://eslint.org/docs/latest/rules/block-scoped-var
@@ -5360,670 +5095,690 @@ interface RuleOptions {
5360
5095
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
5361
5096
  /**
5362
5097
  * Improve regexes by making them shorter, consistent, and safer.
5363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
5098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/better-regex.md
5364
5099
  */
5365
5100
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
5366
5101
  /**
5367
5102
  * Enforce a specific parameter name in catch clauses.
5368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
5103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/catch-error-name.md
5369
5104
  */
5370
5105
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
5371
5106
  /**
5372
5107
  * Enforce consistent assertion style with `node:assert`.
5373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
5108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-assert.md
5374
5109
  */
5375
5110
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
5376
5111
  /**
5377
5112
  * Prefer passing `Date` directly to the constructor when cloning.
5378
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
5113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-date-clone.md
5379
5114
  */
5380
5115
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
5381
5116
  /**
5382
5117
  * Use destructured variables over properties.
5383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
5118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-destructuring.md
5384
5119
  */
5385
5120
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
5386
5121
  /**
5387
5122
  * Prefer consistent types when spreading a ternary in an array literal.
5388
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
5123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-empty-array-spread.md
5389
5124
  */
5390
5125
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
5391
5126
  /**
5392
5127
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
5393
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
5128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-existence-index-check.md
5394
5129
  */
5395
5130
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
5396
5131
  /**
5397
5132
  * Move function definitions to the highest possible scope.
5398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
5133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-function-scoping.md
5399
5134
  */
5400
5135
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
5401
5136
  /**
5402
5137
  * Enforce correct `Error` subclassing.
5403
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
5138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/custom-error-definition.md
5404
5139
  */
5405
5140
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
5406
5141
  /**
5407
5142
  * Enforce no spaces between braces.
5408
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
5143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/empty-brace-spaces.md
5409
5144
  */
5410
5145
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
5411
5146
  /**
5412
5147
  * Enforce passing a `message` value when creating a built-in error.
5413
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
5148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/error-message.md
5414
5149
  */
5415
5150
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
5416
5151
  /**
5417
5152
  * Require escape sequences to use uppercase or lowercase values.
5418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
5153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/escape-case.md
5419
5154
  */
5420
5155
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
5421
5156
  /**
5422
5157
  * Add expiration conditions to TODO comments.
5423
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
5158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/expiring-todo-comments.md
5424
5159
  */
5425
5160
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
5426
5161
  /**
5427
5162
  * Enforce explicitly comparing the `length` or `size` property of a value.
5428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
5163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/explicit-length-check.md
5429
5164
  */
5430
5165
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
5431
5166
  /**
5432
5167
  * Enforce a case style for filenames.
5433
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
5168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/filename-case.md
5434
5169
  */
5435
5170
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
5436
5171
  /**
5437
5172
  * Enforce specific import styles per module.
5438
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
5173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/import-style.md
5439
5174
  */
5440
5175
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
5441
5176
  /**
5442
5177
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
5178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/new-for-builtins.md
5444
5179
  */
5445
5180
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
5446
5181
  /**
5447
5182
  * Enforce specifying rules to disable in `eslint-disable` comments.
5448
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
5183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-abusive-eslint-disable.md
5449
5184
  */
5450
5185
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
5451
5186
  /**
5452
5187
  * Disallow recursive access to `this` within getters and setters.
5453
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
5188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-accessor-recursion.md
5454
5189
  */
5455
5190
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
5456
5191
  /**
5457
5192
  * Disallow anonymous functions and classes as the default export.
5458
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
5193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-anonymous-default-export.md
5459
5194
  */
5460
5195
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
5461
5196
  /**
5462
5197
  * Prevent passing a function reference directly to iterator methods.
5463
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
5198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-callback-reference.md
5464
5199
  */
5465
5200
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
5466
5201
  /**
5467
5202
  * Prefer `for…of` over the `forEach` method.
5468
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
5203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-for-each.md
5469
5204
  */
5470
5205
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
5471
5206
  /**
5472
5207
  * Disallow using the `this` argument in array methods.
5473
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
5208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-method-this-argument.md
5474
5209
  */
5475
5210
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
5476
5211
  /**
5477
5212
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
5478
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
5213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-array-push-push
5479
5214
  * @deprecated
5480
5215
  */
5481
5216
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
5482
5217
  /**
5483
5218
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5484
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
5219
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reduce.md
5485
5220
  */
5486
5221
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
5222
+ /**
5223
+ * Prefer `Array#toReversed()` over `Array#reverse()`.
5224
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reverse.md
5225
+ */
5226
+ 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
5487
5227
  /**
5488
5228
  * Disallow member access from await expression.
5489
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
5229
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-expression-member.md
5490
5230
  */
5491
5231
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
5492
5232
  /**
5493
5233
  * Disallow using `await` in `Promise` method parameters.
5494
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
5234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-in-promise-methods.md
5495
5235
  */
5496
5236
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
5497
5237
  /**
5498
5238
  * Do not use leading/trailing space between `console.log` parameters.
5499
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
5239
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-console-spaces.md
5500
5240
  */
5501
5241
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
5502
5242
  /**
5503
5243
  * Do not use `document.cookie` directly.
5504
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
5244
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-document-cookie.md
5505
5245
  */
5506
5246
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
5507
5247
  /**
5508
5248
  * Disallow empty files.
5509
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
5249
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-empty-file.md
5510
5250
  */
5511
5251
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
5512
5252
  /**
5513
5253
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5514
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
5254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-for-loop.md
5515
5255
  */
5516
5256
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
5517
5257
  /**
5518
5258
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5519
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
5259
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-hex-escape.md
5520
5260
  */
5521
5261
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
5522
5262
  /**
5523
5263
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
5524
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
5264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-instanceof-array
5525
5265
  * @deprecated
5526
5266
  */
5527
5267
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
5528
5268
  /**
5529
5269
  * Disallow `instanceof` with built-in objects
5530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
5270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-instanceof-builtins.md
5531
5271
  */
5532
5272
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
5533
5273
  /**
5534
5274
  * Disallow invalid options in `fetch()` and `new Request()`.
5535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
5275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-fetch-options.md
5536
5276
  */
5537
5277
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
5538
5278
  /**
5539
5279
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
5280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-remove-event-listener.md
5541
5281
  */
5542
5282
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
5543
5283
  /**
5544
5284
  * Disallow identifiers starting with `new` or `class`.
5545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
5285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-keyword-prefix.md
5546
5286
  */
5547
5287
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
5548
5288
  /**
5549
5289
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
5550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
5290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-length-as-slice-end
5551
5291
  * @deprecated
5552
5292
  */
5553
5293
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
5554
5294
  /**
5555
5295
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
5296
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-lonely-if.md
5557
5297
  */
5558
5298
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
5559
5299
  /**
5560
5300
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
5301
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-magic-array-flat-depth.md
5562
5302
  */
5563
5303
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
5564
5304
  /**
5565
5305
  * Disallow named usage of default import and export.
5566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
5306
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-named-default.md
5567
5307
  */
5568
5308
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
5569
5309
  /**
5570
5310
  * Disallow negated conditions.
5571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
5311
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negated-condition.md
5572
5312
  */
5573
5313
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
5574
5314
  /**
5575
5315
  * Disallow negated expression in equality check.
5576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
5316
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negation-in-equality-check.md
5577
5317
  */
5578
5318
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
5579
5319
  /**
5580
5320
  * Disallow nested ternary expressions.
5581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
5321
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-nested-ternary.md
5582
5322
  */
5583
5323
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
5584
5324
  /**
5585
5325
  * Disallow `new Array()`.
5586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
5326
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-array.md
5587
5327
  */
5588
5328
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
5589
5329
  /**
5590
5330
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
5331
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-buffer.md
5592
5332
  */
5593
5333
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
5594
5334
  /**
5595
5335
  * Disallow the use of the `null` literal.
5596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
5336
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-null.md
5597
5337
  */
5598
5338
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
5599
5339
  /**
5600
5340
  * Disallow the use of objects as default parameters.
5601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
5341
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-object-as-default-parameter.md
5602
5342
  */
5603
5343
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
5604
5344
  /**
5605
5345
  * Disallow `process.exit()`.
5606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
5346
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-process-exit.md
5607
5347
  */
5608
5348
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
5609
5349
  /**
5610
5350
  * Disallow passing single-element arrays to `Promise` methods.
5611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
5351
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-single-promise-in-promise-methods.md
5612
5352
  */
5613
5353
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
5614
5354
  /**
5615
5355
  * Disallow classes that only have static members.
5616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
5356
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-static-only-class.md
5617
5357
  */
5618
5358
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
5619
5359
  /**
5620
5360
  * Disallow `then` property.
5621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
5361
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-thenable.md
5622
5362
  */
5623
5363
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
5624
5364
  /**
5625
5365
  * Disallow assigning `this` to a variable.
5626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
5366
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-this-assignment.md
5627
5367
  */
5628
5368
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
5629
5369
  /**
5630
5370
  * Disallow comparing `undefined` using `typeof`.
5631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
5371
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-typeof-undefined.md
5632
5372
  */
5633
5373
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
5634
5374
  /**
5635
5375
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
5636
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
5376
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-flat-depth.md
5637
5377
  */
5638
5378
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
5639
5379
  /**
5640
5380
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
5641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
5381
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-splice-count.md
5642
5382
  */
5643
5383
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
5644
5384
  /**
5645
5385
  * Disallow awaiting non-promise values.
5646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
5386
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-await.md
5647
5387
  */
5648
5388
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
5649
5389
  /**
5650
5390
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
5391
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-polyfills.md
5652
5392
  */
5653
5393
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
5654
5394
  /**
5655
5395
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
5396
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-slice-end.md
5657
5397
  */
5658
5398
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
5659
5399
  /**
5660
5400
  * Disallow unreadable array destructuring.
5661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
5401
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-array-destructuring.md
5662
5402
  */
5663
5403
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
5664
5404
  /**
5665
5405
  * Disallow unreadable IIFEs.
5666
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
5406
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-iife.md
5667
5407
  */
5668
5408
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
5669
5409
  /**
5670
5410
  * Disallow unused object properties.
5671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
5411
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unused-properties.md
5672
5412
  */
5673
5413
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
5414
+ /**
5415
+ * Disallow unnecessary `Error.captureStackTrace(…)`.
5416
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-error-capture-stack-trace.md
5417
+ */
5418
+ 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
5674
5419
  /**
5675
5420
  * Disallow useless fallback when spreading in object literals.
5676
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
5421
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-fallback-in-spread.md
5677
5422
  */
5678
5423
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
5679
5424
  /**
5680
5425
  * Disallow useless array length check.
5681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
5426
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-length-check.md
5682
5427
  */
5683
5428
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
5684
5429
  /**
5685
5430
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5686
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
5431
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-promise-resolve-reject.md
5687
5432
  */
5688
5433
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
5689
5434
  /**
5690
5435
  * Disallow unnecessary spread.
5691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
5436
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-spread.md
5692
5437
  */
5693
5438
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
5694
5439
  /**
5695
5440
  * Disallow useless case in switch statements.
5696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
5441
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-switch-case.md
5697
5442
  */
5698
5443
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
5699
5444
  /**
5700
5445
  * Disallow useless `undefined`.
5701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
5446
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-undefined.md
5702
5447
  */
5703
5448
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
5704
5449
  /**
5705
5450
  * Disallow number literals with zero fractions or dangling dots.
5706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
5451
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-zero-fractions.md
5707
5452
  */
5708
5453
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
5709
5454
  /**
5710
5455
  * Enforce proper case for numeric literals.
5711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
5456
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/number-literal-case.md
5712
5457
  */
5713
5458
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
5714
5459
  /**
5715
5460
  * Enforce the style of numeric separators by correctly grouping digits.
5716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
5461
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/numeric-separators-style.md
5717
5462
  */
5718
5463
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
5719
5464
  /**
5720
5465
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
5466
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-add-event-listener.md
5722
5467
  */
5723
5468
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
5724
5469
  /**
5725
5470
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
5471
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-find.md
5727
5472
  */
5728
5473
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
5729
5474
  /**
5730
5475
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
5476
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat.md
5732
5477
  */
5733
5478
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
5734
5479
  /**
5735
5480
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
5481
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat-map.md
5737
5482
  */
5738
5483
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
5739
5484
  /**
5740
5485
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5741
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
5486
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-index-of.md
5742
5487
  */
5743
5488
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
5744
5489
  /**
5745
5490
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
5491
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-some.md
5747
5492
  */
5748
5493
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
5749
5494
  /**
5750
5495
  * Prefer `.at()` method for index access and `String#charAt()`.
5751
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
5496
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-at.md
5752
5497
  */
5753
5498
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
5754
5499
  /**
5755
5500
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
5501
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-blob-reading-methods.md
5757
5502
  */
5758
5503
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
5504
+ /**
5505
+ * Prefer class field declarations over `this` assignments in constructors.
5506
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-class-fields.md
5507
+ */
5508
+ 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
5759
5509
  /**
5760
5510
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
5511
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-code-point.md
5762
5512
  */
5763
5513
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
5764
5514
  /**
5765
5515
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5766
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
5516
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-date-now.md
5767
5517
  */
5768
5518
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
5769
5519
  /**
5770
5520
  * Prefer default parameters over reassignment.
5771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
5521
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-default-parameters.md
5772
5522
  */
5773
5523
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
5774
5524
  /**
5775
5525
  * Prefer `Node#append()` over `Node#appendChild()`.
5776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
5526
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-append.md
5777
5527
  */
5778
5528
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
5779
5529
  /**
5780
5530
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
5531
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-dataset.md
5782
5532
  */
5783
5533
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
5784
5534
  /**
5785
5535
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
5536
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-remove.md
5787
5537
  */
5788
5538
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
5789
5539
  /**
5790
5540
  * Prefer `.textContent` over `.innerText`.
5791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
5541
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-text-content.md
5792
5542
  */
5793
5543
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
5794
5544
  /**
5795
5545
  * Prefer `EventTarget` over `EventEmitter`.
5796
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
5546
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-event-target.md
5797
5547
  */
5798
5548
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
5799
5549
  /**
5800
5550
  * Prefer `export…from` when re-exporting.
5801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
5551
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-export-from.md
5802
5552
  */
5803
5553
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
5804
5554
  /**
5805
5555
  * Prefer `globalThis` over `window`, `self`, and `global`.
5806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
5556
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-global-this.md
5807
5557
  */
5808
5558
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
5809
5559
  /**
5810
5560
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
5811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
5561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-import-meta-properties.md
5812
5562
  */
5813
5563
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
5814
5564
  /**
5815
5565
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5816
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
5566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-includes.md
5817
5567
  */
5818
5568
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
5819
5569
  /**
5820
5570
  * Prefer reading a JSON file as a buffer.
5821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
5571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-json-parse-buffer.md
5822
5572
  */
5823
5573
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
5824
5574
  /**
5825
5575
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
5576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-keyboard-event-key.md
5827
5577
  */
5828
5578
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
5829
5579
  /**
5830
5580
  * Prefer using a logical operator over a ternary.
5831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
5581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5832
5582
  */
5833
5583
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
5834
5584
  /**
5835
5585
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
5836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
5586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-min-max.md
5837
5587
  */
5838
5588
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
5839
5589
  /**
5840
5590
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
5591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-trunc.md
5842
5592
  */
5843
5593
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
5844
5594
  /**
5845
5595
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
5596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-dom-apis.md
5847
5597
  */
5848
5598
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
5849
5599
  /**
5850
5600
  * Prefer modern `Math` APIs over legacy patterns.
5851
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
5601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-math-apis.md
5852
5602
  */
5853
5603
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
5854
5604
  /**
5855
5605
  * Prefer JavaScript modules (ESM) over CommonJS.
5856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
5606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-module.md
5857
5607
  */
5858
5608
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
5859
5609
  /**
5860
5610
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5861
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
5611
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-native-coercion-functions.md
5862
5612
  */
5863
5613
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
5864
5614
  /**
5865
5615
  * Prefer negative index over `.length - index` when possible.
5866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
5616
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-negative-index.md
5867
5617
  */
5868
5618
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
5869
5619
  /**
5870
5620
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
5621
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-node-protocol.md
5872
5622
  */
5873
5623
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
5874
5624
  /**
5875
5625
  * Prefer `Number` static properties over global ones.
5876
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
5626
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-number-properties.md
5877
5627
  */
5878
5628
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
5879
5629
  /**
5880
5630
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
5631
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-object-from-entries.md
5882
5632
  */
5883
5633
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
5884
5634
  /**
5885
5635
  * Prefer omitting the `catch` binding parameter.
5886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
5636
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-optional-catch-binding.md
5887
5637
  */
5888
5638
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
5889
5639
  /**
5890
5640
  * Prefer borrowing methods from the prototype instead of the instance.
5891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
5641
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-prototype-methods.md
5892
5642
  */
5893
5643
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
5894
5644
  /**
5895
5645
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
5896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
5646
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-query-selector.md
5897
5647
  */
5898
5648
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
5899
5649
  /**
5900
5650
  * Prefer `Reflect.apply()` over `Function#apply()`.
5901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
5651
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-reflect-apply.md
5902
5652
  */
5903
5653
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
5904
5654
  /**
5905
5655
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
5656
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-regexp-test.md
5907
5657
  */
5908
5658
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
5909
5659
  /**
5910
5660
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
5661
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-has.md
5912
5662
  */
5913
5663
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
5914
5664
  /**
5915
5665
  * Prefer using `Set#size` instead of `Array#length`.
5916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
5666
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-size.md
5917
5667
  */
5918
5668
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
5919
5669
  /**
5920
5670
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
5921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
5671
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-single-call.md
5922
5672
  */
5923
5673
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
5924
5674
  /**
5925
5675
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5926
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
5676
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-spread.md
5927
5677
  */
5928
5678
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
5929
5679
  /**
5930
5680
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5931
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
5681
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-raw.md
5932
5682
  */
5933
5683
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
5934
5684
  /**
5935
5685
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5936
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
5686
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-replace-all.md
5937
5687
  */
5938
5688
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
5939
5689
  /**
5940
5690
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5941
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
5691
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-slice.md
5942
5692
  */
5943
5693
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
5944
5694
  /**
5945
5695
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5946
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
5696
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-starts-ends-with.md
5947
5697
  */
5948
5698
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
5949
5699
  /**
5950
5700
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5951
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
5701
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-trim-start-end.md
5952
5702
  */
5953
5703
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
5954
5704
  /**
5955
5705
  * Prefer using `structuredClone` to create a deep clone.
5956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
5706
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-structured-clone.md
5957
5707
  */
5958
5708
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
5959
5709
  /**
5960
5710
  * Prefer `switch` over multiple `else-if`.
5961
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
5711
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-switch.md
5962
5712
  */
5963
5713
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
5964
5714
  /**
5965
5715
  * Prefer ternary expressions over simple `if-else` statements.
5966
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
5716
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-ternary.md
5967
5717
  */
5968
5718
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
5969
5719
  /**
5970
5720
  * Prefer top-level await over top-level promises and async function calls.
5971
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
5721
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-top-level-await.md
5972
5722
  */
5973
5723
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
5974
5724
  /**
5975
5725
  * Enforce throwing `TypeError` in type checking conditions.
5976
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
5726
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-type-error.md
5977
5727
  */
5978
5728
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
5979
5729
  /**
5980
5730
  * Prevent abbreviations.
5981
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
5731
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prevent-abbreviations.md
5982
5732
  */
5983
5733
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
5984
5734
  /**
5985
5735
  * Enforce consistent relative URL style.
5986
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
5736
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/relative-url-style.md
5987
5737
  */
5988
5738
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
5989
5739
  /**
5990
5740
  * Enforce using the separator argument with `Array#join()`.
5991
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
5741
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-array-join-separator.md
5992
5742
  */
5993
5743
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
5744
+ /**
5745
+ * Require non-empty specifier list in import and export statements.
5746
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-module-specifiers.md
5747
+ */
5748
+ 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
5994
5749
  /**
5995
5750
  * Enforce using the digits argument with `Number#toFixed()`.
5996
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
5751
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5997
5752
  */
5998
5753
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
5999
5754
  /**
6000
5755
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
6001
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
5756
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-post-message-target-origin.md
6002
5757
  */
6003
5758
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
6004
5759
  /**
6005
5760
  * Enforce better string content.
6006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
5761
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/string-content.md
6007
5762
  */
6008
5763
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
6009
5764
  /**
6010
5765
  * Enforce consistent brace style for `case` clauses.
6011
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
5766
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/switch-case-braces.md
6012
5767
  */
6013
5768
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
6014
5769
  /**
6015
5770
  * Fix whitespace-insensitive template indentation.
6016
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
5771
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/template-indent.md
6017
5772
  */
6018
5773
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
6019
5774
  /**
6020
5775
  * Enforce consistent case for text encoding identifiers.
6021
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
5776
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/text-encoding-identifier-case.md
6022
5777
  */
6023
5778
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
6024
5779
  /**
6025
5780
  * Require `new` when creating an error.
6026
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
5781
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/throw-new-error.md
6027
5782
  */
6028
5783
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
6029
5784
  /**
@@ -7543,23 +7298,6 @@ type ArrowSpacing = [] | [{
7543
7298
  before?: boolean;
7544
7299
  after?: boolean;
7545
7300
  }];
7546
- // ----- astro/prefer-split-class-list -----
7547
- type AstroPreferSplitClassList = [] | [{
7548
- splitLiteral?: boolean;
7549
- }];
7550
- // ----- astro/semi -----
7551
- type AstroSemi = ([] | ["never"] | ["never", {
7552
- beforeStatementContinuationChars?: ("always" | "any" | "never");
7553
- }] | [] | ["always"] | ["always", {
7554
- omitLastInOneLineBlock?: boolean;
7555
- omitLastInOneLineClassBody?: boolean;
7556
- }]);
7557
- // ----- astro/sort-attributes -----
7558
- type AstroSortAttributes = [] | [{
7559
- type?: ("alphabetical" | "line-length");
7560
- ignoreCase?: boolean;
7561
- order?: ("asc" | "desc");
7562
- }];
7563
7301
  // ----- block-spacing -----
7564
7302
  type BlockSpacing = [] | [("always" | "never")];
7565
7303
  // ----- brace-style -----
@@ -14303,6 +14041,10 @@ interface _UnicornImportStyle_BooleanObject {
14303
14041
  type UnicornNoArrayReduce = [] | [{
14304
14042
  allowSimpleOperations?: boolean;
14305
14043
  }];
14044
+ // ----- unicorn/no-array-reverse -----
14045
+ type UnicornNoArrayReverse = [] | [{
14046
+ allowExpressionStatement?: boolean;
14047
+ }];
14306
14048
  // ----- unicorn/no-instanceof-builtins -----
14307
14049
  type UnicornNoInstanceofBuiltins = [] | [{
14308
14050
  useErrorIsError?: boolean;
@@ -15890,7 +15632,7 @@ type Yoda = [] | [("always" | "never")] | [("always" | "never"), {
15890
15632
  onlyEquality?: boolean;
15891
15633
  }];
15892
15634
  // Names of all the configs
15893
- type ConfigNames = 'antfu/astro/setup' | 'antfu/astro/rules' | 'antfu/eslint-comments/rules' | 'antfu/formatter/setup' | 'antfu/imports/rules' | 'antfu/javascript/setup' | 'antfu/javascript/rules' | 'antfu/jsx/setup' | 'antfu/jsdoc/rules' | 'antfu/jsonc/setup' | 'antfu/jsonc/rules' | 'antfu/markdown/setup' | 'antfu/markdown/processor' | 'antfu/markdown/parser' | 'antfu/markdown/disables' | 'antfu/node/rules' | 'antfu/perfectionist/setup' | 'antfu/react/setup' | 'antfu/react/rules' | 'antfu/sort/package-json' | 'antfu/stylistic/rules' | 'antfu/test/setup' | 'antfu/test/rules' | 'antfu/toml/setup' | 'antfu/toml/rules' | 'antfu/regexp/rules' | 'antfu/typescript/setup' | 'antfu/typescript/parser' | 'antfu/typescript/rules' | 'antfu/unicorn/rules' | 'antfu/unocss' | 'antfu/vue/setup' | 'antfu/vue/rules' | 'antfu/yaml/setup' | 'antfu/yaml/rules' | 'antfu/yaml/pnpm-workspace';
15635
+ type ConfigNames = 'liwo/eslint-comments/rules' | 'liwo/formatter/setup' | 'liwo/imports/rules' | 'liwo/javascript/setup' | 'liwo/javascript/rules' | 'liwo/jsx/setup' | 'liwo/jsdoc/rules' | 'liwo/jsonc/setup' | 'liwo/jsonc/rules' | 'liwo/markdown/setup' | 'liwo/markdown/processor' | 'liwo/markdown/parser' | 'liwo/markdown/disables' | 'liwo/node/rules' | 'liwo/perfectionist/setup' | 'liwo/react/setup' | 'liwo/react/rules' | 'liwo/sort/package-json' | 'liwo/stylistic/rules' | 'liwo/test/setup' | 'liwo/test/rules' | 'liwo/toml/setup' | 'liwo/toml/rules' | 'liwo/regexp/rules' | 'liwo/typescript/setup' | 'liwo/typescript/parser' | 'liwo/typescript/rules' | 'liwo/unicorn/rules' | 'liwo/unocss' | 'liwo/vue/setup' | 'liwo/vue/rules' | 'liwo/yaml/setup' | 'liwo/yaml/rules' | 'liwo/yaml/pnpm-workspace';
15894
15636
  //#endregion
15895
15637
  //#region src/vender/prettier-types.d.ts
15896
15638
  /**
@@ -16015,13 +15757,18 @@ interface VendoredPrettierOptionsRequired {
16015
15757
  //#region src/types.d.ts
16016
15758
  type Awaitable<T> = T | Promise<T>;
16017
15759
  interface Rules extends RuleOptions {}
16018
- type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins'> & {
15760
+ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, 'plugins' | 'rules'> & {
16019
15761
  /**
16020
15762
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
16021
15763
  *
16022
15764
  * @see [Using plugins in your configuration](https://eslint.org/docs/latest/user-guide/configuring/configuration-files-new#using-plugins-in-your-configuration)
16023
15765
  */
16024
15766
  plugins?: Record<string, any>;
15767
+ /**
15768
+ * An object containing the configured rules. When files or ignores are specified,
15769
+ * these rule configurations are only available to the matching files.
15770
+ */
15771
+ rules?: Record<string, Linter.RuleEntry<any> | undefined>;
16025
15772
  };
16026
15773
  interface OptionsFiles {
16027
15774
  /**
@@ -16109,12 +15856,6 @@ interface OptionsFormatters {
16109
15856
  slidev?: boolean | {
16110
15857
  files?: string[];
16111
15858
  };
16112
- /**
16113
- * Enable formatting support for Astro.
16114
- *
16115
- * Currently only support Prettier.
16116
- */
16117
- astro?: 'prettier' | boolean;
16118
15859
  }
16119
15860
  interface OptionsComponentExts {
16120
15861
  /**
@@ -16281,18 +16022,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
16281
16022
  * @default true
16282
16023
  */
16283
16024
  toml?: boolean | OptionsOverrides;
16284
- /**
16285
- * Enable ASTRO support.
16286
- *
16287
- * Requires installing:
16288
- * - `eslint-plugin-astro`
16289
- *
16290
- * Requires installing for formatting .astro:
16291
- * - `prettier-plugin-astro`
16292
- *
16293
- * @default false
16294
- */
16295
- astro?: boolean | OptionsOverrides;
16296
16025
  /**
16297
16026
  * Enable linting for **code snippets** in Markdown.
16298
16027
  *
@@ -16326,24 +16055,6 @@ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
16326
16055
  * @default false
16327
16056
  */
16328
16057
  react?: boolean | OptionsOverrides;
16329
- /**
16330
- * Enable solid rules.
16331
- *
16332
- * Requires installing:
16333
- * - `eslint-plugin-solid`
16334
- *
16335
- * @default false
16336
- */
16337
- solid?: boolean | OptionsOverrides;
16338
- /**
16339
- * Enable svelte rules.
16340
- *
16341
- * Requires installing:
16342
- * - `eslint-plugin-svelte`
16343
- *
16344
- * @default false
16345
- */
16346
- svelte?: boolean | OptionsOverrides;
16347
16058
  /**
16348
16059
  * Enable unocss rules.
16349
16060
  *
@@ -16411,14 +16122,11 @@ declare const defaultPluginRenaming: {
16411
16122
  * @returns {Promise<TypedFlatConfigItem[]>}
16412
16123
  * The merged ESLint configurations.
16413
16124
  */
16414
- declare function antfu(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
16125
+ declare function eslintConfig(options?: OptionsConfig & Omit<TypedFlatConfigItem, 'files'>, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
16415
16126
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
16416
16127
  declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
16417
16128
  declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
16418
16129
  //#endregion
16419
- //#region src/configs/astro.d.ts
16420
- declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
16421
- //#endregion
16422
16130
  //#region src/configs/command.d.ts
16423
16131
  declare function command(): Promise<TypedFlatConfigItem[]>;
16424
16132
  //#endregion
@@ -16531,15 +16239,12 @@ declare const GLOB_JSON5 = "**/*.json5";
16531
16239
  declare const GLOB_JSONC = "**/*.jsonc";
16532
16240
  declare const GLOB_MARKDOWN = "**/*.md";
16533
16241
  declare const GLOB_MARKDOWN_IN_MARKDOWN = "**/*.md/*.md";
16534
- declare const GLOB_SVELTE = "**/*.svelte?(.{js,ts})";
16535
16242
  declare const GLOB_VUE = "**/*.vue";
16536
16243
  declare const GLOB_YAML = "**/*.y?(a)ml";
16537
16244
  declare const GLOB_TOML = "**/*.toml";
16538
16245
  declare const GLOB_XML = "**/*.xml";
16539
16246
  declare const GLOB_SVG = "**/*.svg";
16540
16247
  declare const GLOB_HTML = "**/*.htm?(l)";
16541
- declare const GLOB_ASTRO = "**/*.astro";
16542
- declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
16543
16248
  declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
16544
16249
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
16545
16250
  declare const GLOB_TESTS: string[];
@@ -16582,7 +16287,7 @@ declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatCo
16582
16287
  *
16583
16288
  * @example
16584
16289
  * ```ts
16585
- * import { renameRules } from '@antfu/eslint-config'
16290
+ * import { renameRules } from '@liwo/eslint-config'
16586
16291
  *
16587
16292
  * export default [{
16588
16293
  * rules: renameRules(
@@ -16600,7 +16305,7 @@ declare function renameRules(rules: Record<string, any>, map: Record<string, str
16600
16305
  *
16601
16306
  * @example
16602
16307
  * ```ts
16603
- * import { renamePluginInConfigs } from '@antfu/eslint-config'
16308
+ * import { renamePluginInConfigs } from '@liwo/eslint-config'
16604
16309
  * import someConfigs from './some-configs'
16605
16310
  *
16606
16311
  * export default renamePluginInConfigs(someConfigs, {
@@ -16619,4 +16324,4 @@ declare function ensurePackages(packages: (string | undefined)[]): Promise<void>
16619
16324
  declare function isInEditorEnv(): boolean;
16620
16325
  declare function isInGitHooksOrLintStaged(): boolean;
16621
16326
  //#endregion
16622
- export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, StylisticOptions, TypedFlatConfigItem, antfu, astro, combine, command, comments, antfu as default, defaultPluginRenaming, disables, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
16327
+ export { Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsFiles, OptionsFormatters, OptionsHasTypeScript, OptionsIsInEditor, OptionsOverrides, OptionsProjectType, OptionsRegExp, OptionsStylistic, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, OptionsTypescript, OptionsUnicorn, OptionsUnoCSS, OptionsVue, ResolvedOptions, Rules, StylisticConfig, StylisticConfigDefaults, StylisticOptions, TypedFlatConfigItem, combine, command, comments, eslintConfig as default, defaultPluginRenaming, disables, ensurePackages, eslintConfig, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, markdown, node, parserPlain, perfectionist, pnpm, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };