@rhapsodic/eslint-config 1.0.3 → 1.0.5

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.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { FlatConfigComposer } from "eslint-flat-config-utils";
2
2
  import { StylisticCustomizeOptions } from "@stylistic/eslint-plugin";
3
3
  import { ParserOptions } from "@typescript-eslint/parser";
4
- import { Options } from "eslint-processor-vue-blocks";
5
4
  import { Linter } from "eslint";
5
+ import { Options } from "eslint-processor-vue-blocks";
6
6
 
7
7
  //#region src/typegen.d.ts
8
8
  interface RuleOptions {
@@ -275,238 +275,238 @@ interface RuleOptions {
275
275
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
276
276
  /**
277
277
  * Enforce or ban the use of inline type-only markers for named imports.
278
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
278
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/consistent-type-specifier-style.md
279
279
  */
280
280
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
281
281
  /**
282
282
  * Ensure a default export is present, given a default import.
283
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
283
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/default.md
284
284
  */
285
285
  'import/default'?: Linter.RuleEntry<[]>;
286
286
  /**
287
287
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
288
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
288
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/dynamic-import-chunkname.md
289
289
  */
290
290
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
291
291
  /**
292
292
  * Forbid any invalid exports, i.e. re-export of the same name.
293
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
293
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/export.md
294
294
  */
295
295
  'import/export'?: Linter.RuleEntry<[]>;
296
296
  /**
297
297
  * Ensure all exports appear after other statements.
298
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
298
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/exports-last.md
299
299
  */
300
300
  'import/exports-last'?: Linter.RuleEntry<[]>;
301
301
  /**
302
302
  * Ensure consistent use of file extension within the import path.
303
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
303
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/extensions.md
304
304
  */
305
305
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
306
306
  /**
307
307
  * Ensure all imports appear before other statements.
308
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
308
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/first.md
309
309
  */
310
310
  'import/first'?: Linter.RuleEntry<ImportFirst>;
311
311
  /**
312
312
  * Prefer named exports to be grouped together in a single export declaration.
313
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
313
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/group-exports.md
314
314
  */
315
315
  'import/group-exports'?: Linter.RuleEntry<[]>;
316
316
  /**
317
317
  * Replaced by `import-x/first`.
318
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
318
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/imports-first.md
319
319
  * @deprecated
320
320
  */
321
321
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
322
322
  /**
323
323
  * Enforce the maximum number of dependencies a module can have.
324
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
324
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/max-dependencies.md
325
325
  */
326
326
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
327
327
  /**
328
328
  * Ensure named imports correspond to a named export in the remote file.
329
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
329
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/named.md
330
330
  */
331
331
  'import/named'?: Linter.RuleEntry<ImportNamed>;
332
332
  /**
333
333
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
334
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
334
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/namespace.md
335
335
  */
336
336
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
337
337
  /**
338
338
  * Enforce a newline after import statements.
339
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
339
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/newline-after-import.md
340
340
  */
341
341
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
342
342
  /**
343
343
  * Forbid import of modules using absolute paths.
344
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
344
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-absolute-path.md
345
345
  */
346
346
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
347
347
  /**
348
348
  * Forbid AMD `require` and `define` calls.
349
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
349
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-amd.md
350
350
  */
351
351
  'import/no-amd'?: Linter.RuleEntry<[]>;
352
352
  /**
353
353
  * Forbid anonymous values as default exports.
354
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
354
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-anonymous-default-export.md
355
355
  */
356
356
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
357
357
  /**
358
358
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
359
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
359
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-commonjs.md
360
360
  */
361
361
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
362
362
  /**
363
363
  * Forbid a module from importing a module with a dependency path back to itself.
364
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
364
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-cycle.md
365
365
  */
366
366
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
367
367
  /**
368
368
  * Forbid default exports.
369
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
369
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-default-export.md
370
370
  */
371
371
  'import/no-default-export'?: Linter.RuleEntry<[]>;
372
372
  /**
373
373
  * Forbid imported names marked with `@deprecated` documentation tag.
374
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
374
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-deprecated.md
375
375
  */
376
376
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
377
377
  /**
378
378
  * Forbid repeated import of the same module in multiple places.
379
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
379
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-duplicates.md
380
380
  */
381
381
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
382
382
  /**
383
383
  * Forbid `require()` calls with expressions.
384
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
384
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-dynamic-require.md
385
385
  */
386
386
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
387
387
  /**
388
388
  * Forbid empty named import blocks.
389
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
389
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-empty-named-blocks.md
390
390
  */
391
391
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
392
392
  /**
393
393
  * Forbid the use of extraneous packages.
394
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
394
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-extraneous-dependencies.md
395
395
  */
396
396
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
397
397
  /**
398
398
  * Forbid import statements with CommonJS module.exports.
399
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
399
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-import-module-exports.md
400
400
  */
401
401
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
402
402
  /**
403
403
  * Forbid importing the submodules of other modules.
404
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
404
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-internal-modules.md
405
405
  */
406
406
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
407
407
  /**
408
408
  * Forbid the use of mutable exports with `var` or `let`.
409
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
409
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-mutable-exports.md
410
410
  */
411
411
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
412
412
  /**
413
413
  * Forbid use of exported name as identifier of default export.
414
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default.md
415
415
  */
416
416
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
417
417
  /**
418
418
  * Forbid use of exported name as property of default export.
419
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-as-default-member.md
420
420
  */
421
421
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
422
422
  /**
423
423
  * Forbid named default exports.
424
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-default.md
425
425
  */
426
426
  'import/no-named-default'?: Linter.RuleEntry<[]>;
427
427
  /**
428
428
  * Forbid named exports.
429
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-named-export.md
430
430
  */
431
431
  'import/no-named-export'?: Linter.RuleEntry<[]>;
432
432
  /**
433
433
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
434
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
434
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-namespace.md
435
435
  */
436
436
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
437
437
  /**
438
438
  * Forbid Node.js builtin modules.
439
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
439
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-nodejs-modules.md
440
440
  */
441
441
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
442
442
  /**
443
443
  * Forbid importing packages through relative paths.
444
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
444
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-packages.md
445
445
  */
446
446
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
447
447
  /**
448
448
  * Forbid importing modules from parent directories.
449
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
449
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-relative-parent-imports.md
450
450
  */
451
451
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
452
452
  /**
453
453
  * Forbid importing a default export by a different name.
454
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
454
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-rename-default.md
455
455
  */
456
456
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
457
457
  /**
458
458
  * Enforce which files can be imported in a given folder.
459
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
459
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-restricted-paths.md
460
460
  */
461
461
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
462
462
  /**
463
463
  * Forbid a module from importing itself.
464
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
464
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-self-import.md
465
465
  */
466
466
  'import/no-self-import'?: Linter.RuleEntry<[]>;
467
467
  /**
468
468
  * Forbid unassigned imports.
469
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
469
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unassigned-import.md
470
470
  */
471
471
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
472
472
  /**
473
473
  * Ensure imports point to a file/module that can be resolved.
474
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
474
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unresolved.md
475
475
  */
476
476
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
477
477
  /**
478
478
  * Forbid modules without exports, or exports without matching import in another module.
479
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-unused-modules.md
480
480
  */
481
481
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
482
482
  /**
483
483
  * Forbid unnecessary path segments in import and require statements.
484
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-useless-path-segments.md
485
485
  */
486
486
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
487
487
  /**
488
488
  * Forbid webpack loader syntax in imports.
489
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/no-webpack-loader-syntax.md
490
490
  */
491
491
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
492
492
  /**
493
493
  * Enforce a convention in module import order.
494
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/order.md
495
495
  */
496
496
  'import/order'?: Linter.RuleEntry<ImportOrder>;
497
497
  /**
498
498
  * Prefer a default export if module exports a single name or multiple names.
499
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-default-export.md
500
500
  */
501
501
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
502
502
  /**
503
503
  * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
504
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/prefer-namespace-import.md
505
505
  */
506
506
  'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>;
507
507
  /**
508
508
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.2/docs/rules/unambiguous.md
510
510
  */
511
511
  'import/unambiguous'?: Linter.RuleEntry<[]>;
512
512
  /**
@@ -2924,730 +2924,750 @@ interface RuleOptions {
2924
2924
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
2925
2925
  /**
2926
2926
  * Improve regexes by making them shorter, consistent, and safer.
2927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/better-regex.md
2927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/better-regex.md
2928
2928
  */
2929
2929
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
2930
2930
  /**
2931
2931
  * Enforce a specific parameter name in catch clauses.
2932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/catch-error-name.md
2932
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/catch-error-name.md
2933
2933
  */
2934
2934
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
2935
2935
  /**
2936
2936
  * Enforce consistent assertion style with `node:assert`.
2937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-assert.md
2937
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-assert.md
2938
2938
  */
2939
2939
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
2940
2940
  /**
2941
2941
  * Prefer passing `Date` directly to the constructor when cloning.
2942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-date-clone.md
2942
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-date-clone.md
2943
2943
  */
2944
2944
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
2945
2945
  /**
2946
2946
  * Use destructured variables over properties.
2947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-destructuring.md
2947
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-destructuring.md
2948
2948
  */
2949
2949
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
2950
2950
  /**
2951
2951
  * Prefer consistent types when spreading a ternary in an array literal.
2952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-empty-array-spread.md
2952
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-empty-array-spread.md
2953
2953
  */
2954
2954
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
2955
2955
  /**
2956
2956
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
2957
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-existence-index-check.md
2957
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-existence-index-check.md
2958
2958
  */
2959
2959
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
2960
2960
  /**
2961
2961
  * Move function definitions to the highest possible scope.
2962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/consistent-function-scoping.md
2962
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-function-scoping.md
2963
2963
  */
2964
2964
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
2965
+ /**
2966
+ * Enforce consistent style for escaping `${` in template literals.
2967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/consistent-template-literal-escape.md
2968
+ */
2969
+ 'unicorn/consistent-template-literal-escape'?: Linter.RuleEntry<[]>;
2965
2970
  /**
2966
2971
  * Enforce correct `Error` subclassing.
2967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/custom-error-definition.md
2972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/custom-error-definition.md
2968
2973
  */
2969
2974
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
2970
2975
  /**
2971
2976
  * Enforce no spaces between braces.
2972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/empty-brace-spaces.md
2977
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/empty-brace-spaces.md
2973
2978
  */
2974
2979
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
2975
2980
  /**
2976
2981
  * Enforce passing a `message` value when creating a built-in error.
2977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/error-message.md
2982
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/error-message.md
2978
2983
  */
2979
2984
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
2980
2985
  /**
2981
2986
  * Require escape sequences to use uppercase or lowercase values.
2982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/escape-case.md
2987
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/escape-case.md
2983
2988
  */
2984
2989
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
2985
2990
  /**
2986
2991
  * Add expiration conditions to TODO comments.
2987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/expiring-todo-comments.md
2992
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/expiring-todo-comments.md
2988
2993
  */
2989
2994
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
2990
2995
  /**
2991
2996
  * Enforce explicitly comparing the `length` or `size` property of a value.
2992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/explicit-length-check.md
2997
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/explicit-length-check.md
2993
2998
  */
2994
2999
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
2995
3000
  /**
2996
3001
  * Enforce a case style for filenames.
2997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/filename-case.md
3002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/filename-case.md
2998
3003
  */
2999
3004
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
3000
3005
  /**
3001
3006
  * Enforce specific import styles per module.
3002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/import-style.md
3007
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/import-style.md
3003
3008
  */
3004
3009
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
3005
3010
  /**
3006
3011
  * Prevent usage of variables from outside the scope of isolated functions.
3007
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/isolated-functions.md
3012
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/isolated-functions.md
3008
3013
  */
3009
3014
  'unicorn/isolated-functions'?: Linter.RuleEntry<UnicornIsolatedFunctions>;
3010
3015
  /**
3011
3016
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
3012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/new-for-builtins.md
3017
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/new-for-builtins.md
3013
3018
  */
3014
3019
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
3015
3020
  /**
3016
3021
  * Enforce specifying rules to disable in `eslint-disable` comments.
3017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-abusive-eslint-disable.md
3022
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-abusive-eslint-disable.md
3018
3023
  */
3019
3024
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
3020
3025
  /**
3021
3026
  * Disallow recursive access to `this` within getters and setters.
3022
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-accessor-recursion.md
3027
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-accessor-recursion.md
3023
3028
  */
3024
3029
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
3025
3030
  /**
3026
3031
  * Disallow anonymous functions and classes as the default export.
3027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-anonymous-default-export.md
3032
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-anonymous-default-export.md
3028
3033
  */
3029
3034
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
3030
3035
  /**
3031
3036
  * Prevent passing a function reference directly to iterator methods.
3032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-callback-reference.md
3037
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-callback-reference.md
3033
3038
  */
3034
3039
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
3035
3040
  /**
3036
3041
  * Prefer `for…of` over the `forEach` method.
3037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-for-each.md
3042
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-for-each.md
3038
3043
  */
3039
3044
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
3040
3045
  /**
3041
3046
  * Disallow using the `this` argument in array methods.
3042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-method-this-argument.md
3047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-method-this-argument.md
3043
3048
  */
3044
3049
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
3045
3050
  /**
3046
3051
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
3047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
3052
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-array-push-push
3048
3053
  * @deprecated
3049
3054
  */
3050
3055
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
3051
3056
  /**
3052
3057
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
3053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reduce.md
3058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reduce.md
3054
3059
  */
3055
3060
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
3056
3061
  /**
3057
3062
  * Prefer `Array#toReversed()` over `Array#reverse()`.
3058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-reverse.md
3063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-reverse.md
3059
3064
  */
3060
3065
  'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
3061
3066
  /**
3062
3067
  * Prefer `Array#toSorted()` over `Array#sort()`.
3063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-array-sort.md
3068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-array-sort.md
3064
3069
  */
3065
3070
  'unicorn/no-array-sort'?: Linter.RuleEntry<UnicornNoArraySort>;
3066
3071
  /**
3067
3072
  * Disallow member access from await expression.
3068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-expression-member.md
3073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-expression-member.md
3069
3074
  */
3070
3075
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
3071
3076
  /**
3072
3077
  * Disallow using `await` in `Promise` method parameters.
3073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-await-in-promise-methods.md
3078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-await-in-promise-methods.md
3074
3079
  */
3075
3080
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
3076
3081
  /**
3077
3082
  * Do not use leading/trailing space between `console.log` parameters.
3078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-console-spaces.md
3083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-console-spaces.md
3079
3084
  */
3080
3085
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
3081
3086
  /**
3082
3087
  * Do not use `document.cookie` directly.
3083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-document-cookie.md
3088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-document-cookie.md
3084
3089
  */
3085
3090
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
3086
3091
  /**
3087
3092
  * Disallow empty files.
3088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-empty-file.md
3093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-empty-file.md
3089
3094
  */
3090
3095
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
3091
3096
  /**
3092
3097
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
3093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-for-loop.md
3098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-for-loop.md
3094
3099
  */
3095
3100
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
3096
3101
  /**
3097
3102
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
3098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-hex-escape.md
3103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-hex-escape.md
3099
3104
  */
3100
3105
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
3101
3106
  /**
3102
3107
  * Disallow immediate mutation after variable assignment.
3103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-immediate-mutation.md
3108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-immediate-mutation.md
3104
3109
  */
3105
3110
  'unicorn/no-immediate-mutation'?: Linter.RuleEntry<[]>;
3106
3111
  /**
3107
3112
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
3108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
3113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-instanceof-array
3109
3114
  * @deprecated
3110
3115
  */
3111
3116
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
3112
3117
  /**
3113
3118
  * Disallow `instanceof` with built-in objects
3114
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-instanceof-builtins.md
3119
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-instanceof-builtins.md
3115
3120
  */
3116
3121
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
3117
3122
  /**
3118
3123
  * Disallow invalid options in `fetch()` and `new Request()`.
3119
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-fetch-options.md
3124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-fetch-options.md
3120
3125
  */
3121
3126
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
3122
3127
  /**
3123
3128
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
3124
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-invalid-remove-event-listener.md
3129
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-invalid-remove-event-listener.md
3125
3130
  */
3126
3131
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
3127
3132
  /**
3128
3133
  * Disallow identifiers starting with `new` or `class`.
3129
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-keyword-prefix.md
3134
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-keyword-prefix.md
3130
3135
  */
3131
3136
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
3132
3137
  /**
3133
3138
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
3134
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
3139
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/deleted-and-deprecated-rules.md#no-length-as-slice-end
3135
3140
  * @deprecated
3136
3141
  */
3137
3142
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
3138
3143
  /**
3139
3144
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
3140
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-lonely-if.md
3145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-lonely-if.md
3141
3146
  */
3142
3147
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
3143
3148
  /**
3144
3149
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
3145
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-magic-array-flat-depth.md
3150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-magic-array-flat-depth.md
3146
3151
  */
3147
3152
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
3148
3153
  /**
3149
3154
  * Disallow named usage of default import and export.
3150
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-named-default.md
3155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-named-default.md
3151
3156
  */
3152
3157
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
3153
3158
  /**
3154
3159
  * Disallow negated conditions.
3155
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negated-condition.md
3160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negated-condition.md
3156
3161
  */
3157
3162
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
3158
3163
  /**
3159
3164
  * Disallow negated expression in equality check.
3160
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-negation-in-equality-check.md
3165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-negation-in-equality-check.md
3161
3166
  */
3162
3167
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
3163
3168
  /**
3164
3169
  * Disallow nested ternary expressions.
3165
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-nested-ternary.md
3170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-nested-ternary.md
3166
3171
  */
3167
3172
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
3168
3173
  /**
3169
3174
  * Disallow `new Array()`.
3170
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-array.md
3175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-array.md
3171
3176
  */
3172
3177
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
3173
3178
  /**
3174
3179
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
3175
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-new-buffer.md
3180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-new-buffer.md
3176
3181
  */
3177
3182
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
3178
3183
  /**
3179
3184
  * Disallow the use of the `null` literal.
3180
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-null.md
3185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-null.md
3181
3186
  */
3182
3187
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
3183
3188
  /**
3184
3189
  * Disallow the use of objects as default parameters.
3185
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-object-as-default-parameter.md
3190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-object-as-default-parameter.md
3186
3191
  */
3187
3192
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
3188
3193
  /**
3189
3194
  * Disallow `process.exit()`.
3190
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-process-exit.md
3195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-process-exit.md
3191
3196
  */
3192
3197
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
3193
3198
  /**
3194
3199
  * Disallow passing single-element arrays to `Promise` methods.
3195
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-single-promise-in-promise-methods.md
3200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-single-promise-in-promise-methods.md
3196
3201
  */
3197
3202
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
3198
3203
  /**
3199
3204
  * Disallow classes that only have static members.
3200
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-static-only-class.md
3205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-static-only-class.md
3201
3206
  */
3202
3207
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
3203
3208
  /**
3204
3209
  * Disallow `then` property.
3205
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-thenable.md
3210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-thenable.md
3206
3211
  */
3207
3212
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
3208
3213
  /**
3209
3214
  * Disallow assigning `this` to a variable.
3210
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-this-assignment.md
3215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-this-assignment.md
3211
3216
  */
3212
3217
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
3213
3218
  /**
3214
3219
  * Disallow comparing `undefined` using `typeof`.
3215
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-typeof-undefined.md
3220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-typeof-undefined.md
3216
3221
  */
3217
3222
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
3218
3223
  /**
3219
3224
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
3220
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-flat-depth.md
3225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-flat-depth.md
3221
3226
  */
3222
3227
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
3223
3228
  /**
3224
3229
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
3225
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-array-splice-count.md
3230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-array-splice-count.md
3226
3231
  */
3227
3232
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
3228
3233
  /**
3229
3234
  * Disallow awaiting non-promise values.
3230
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-await.md
3235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-await.md
3231
3236
  */
3232
3237
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
3233
3238
  /**
3234
3239
  * Enforce the use of built-in methods instead of unnecessary polyfills.
3235
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-polyfills.md
3240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-polyfills.md
3236
3241
  */
3237
3242
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
3238
3243
  /**
3239
3244
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
3240
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unnecessary-slice-end.md
3245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unnecessary-slice-end.md
3241
3246
  */
3242
3247
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
3243
3248
  /**
3244
3249
  * Disallow unreadable array destructuring.
3245
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-array-destructuring.md
3250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-array-destructuring.md
3246
3251
  */
3247
3252
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
3248
3253
  /**
3249
3254
  * Disallow unreadable IIFEs.
3250
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unreadable-iife.md
3255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unreadable-iife.md
3251
3256
  */
3252
3257
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
3253
3258
  /**
3254
3259
  * Disallow unused object properties.
3255
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-unused-properties.md
3260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-unused-properties.md
3256
3261
  */
3257
3262
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
3258
3263
  /**
3259
3264
  * Disallow useless values or fallbacks in `Set`, `Map`, `WeakSet`, or `WeakMap`.
3260
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-collection-argument.md
3265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-collection-argument.md
3261
3266
  */
3262
3267
  'unicorn/no-useless-collection-argument'?: Linter.RuleEntry<[]>;
3263
3268
  /**
3264
3269
  * Disallow unnecessary `Error.captureStackTrace(…)`.
3265
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-error-capture-stack-trace.md
3270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-error-capture-stack-trace.md
3266
3271
  */
3267
3272
  'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
3268
3273
  /**
3269
3274
  * Disallow useless fallback when spreading in object literals.
3270
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-fallback-in-spread.md
3275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-fallback-in-spread.md
3271
3276
  */
3272
3277
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
3278
+ /**
3279
+ * Disallow unnecessary `.toArray()` on iterators.
3280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-iterator-to-array.md
3281
+ */
3282
+ 'unicorn/no-useless-iterator-to-array'?: Linter.RuleEntry<[]>;
3273
3283
  /**
3274
3284
  * Disallow useless array length check.
3275
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-length-check.md
3285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-length-check.md
3276
3286
  */
3277
3287
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
3278
3288
  /**
3279
3289
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
3280
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-promise-resolve-reject.md
3290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-promise-resolve-reject.md
3281
3291
  */
3282
3292
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
3283
3293
  /**
3284
3294
  * Disallow unnecessary spread.
3285
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-spread.md
3295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-spread.md
3286
3296
  */
3287
3297
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
3288
3298
  /**
3289
3299
  * Disallow useless case in switch statements.
3290
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-switch-case.md
3300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-switch-case.md
3291
3301
  */
3292
3302
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
3293
3303
  /**
3294
3304
  * Disallow useless `undefined`.
3295
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-useless-undefined.md
3305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-useless-undefined.md
3296
3306
  */
3297
3307
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
3298
3308
  /**
3299
3309
  * Disallow number literals with zero fractions or dangling dots.
3300
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/no-zero-fractions.md
3310
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/no-zero-fractions.md
3301
3311
  */
3302
3312
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
3303
3313
  /**
3304
3314
  * Enforce proper case for numeric literals.
3305
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/number-literal-case.md
3315
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/number-literal-case.md
3306
3316
  */
3307
3317
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
3308
3318
  /**
3309
3319
  * Enforce the style of numeric separators by correctly grouping digits.
3310
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/numeric-separators-style.md
3320
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/numeric-separators-style.md
3311
3321
  */
3312
3322
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
3313
3323
  /**
3314
3324
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
3315
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-add-event-listener.md
3325
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-add-event-listener.md
3316
3326
  */
3317
3327
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
3318
3328
  /**
3319
3329
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
3320
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-find.md
3330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-find.md
3321
3331
  */
3322
3332
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
3323
3333
  /**
3324
3334
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
3325
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat.md
3335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat.md
3326
3336
  */
3327
3337
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
3328
3338
  /**
3329
3339
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
3330
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-flat-map.md
3340
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-flat-map.md
3331
3341
  */
3332
3342
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
3333
3343
  /**
3334
3344
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
3335
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-index-of.md
3345
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-index-of.md
3336
3346
  */
3337
3347
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
3338
3348
  /**
3339
3349
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
3340
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-array-some.md
3350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-array-some.md
3341
3351
  */
3342
3352
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
3343
3353
  /**
3344
3354
  * Prefer `.at()` method for index access and `String#charAt()`.
3345
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-at.md
3355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-at.md
3346
3356
  */
3347
3357
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
3348
3358
  /**
3349
3359
  * Prefer `BigInt` literals over the constructor.
3350
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-bigint-literals.md
3360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-bigint-literals.md
3351
3361
  */
3352
3362
  'unicorn/prefer-bigint-literals'?: Linter.RuleEntry<[]>;
3353
3363
  /**
3354
3364
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
3355
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-blob-reading-methods.md
3365
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-blob-reading-methods.md
3356
3366
  */
3357
3367
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
3358
3368
  /**
3359
3369
  * Prefer class field declarations over `this` assignments in constructors.
3360
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-class-fields.md
3370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-class-fields.md
3361
3371
  */
3362
3372
  'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
3363
3373
  /**
3364
3374
  * Prefer using `Element#classList.toggle()` to toggle class names.
3365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-classlist-toggle.md
3375
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-classlist-toggle.md
3366
3376
  */
3367
3377
  'unicorn/prefer-classlist-toggle'?: Linter.RuleEntry<[]>;
3368
3378
  /**
3369
3379
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
3370
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-code-point.md
3380
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-code-point.md
3371
3381
  */
3372
3382
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
3373
3383
  /**
3374
3384
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
3375
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-date-now.md
3385
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-date-now.md
3376
3386
  */
3377
3387
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
3378
3388
  /**
3379
3389
  * Prefer default parameters over reassignment.
3380
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-default-parameters.md
3390
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-default-parameters.md
3381
3391
  */
3382
3392
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
3383
3393
  /**
3384
3394
  * Prefer `Node#append()` over `Node#appendChild()`.
3385
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-append.md
3395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-append.md
3386
3396
  */
3387
3397
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
3388
3398
  /**
3389
3399
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
3390
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-dataset.md
3400
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-dataset.md
3391
3401
  */
3392
3402
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
3393
3403
  /**
3394
3404
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
3395
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-remove.md
3405
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-remove.md
3396
3406
  */
3397
3407
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
3398
3408
  /**
3399
3409
  * Prefer `.textContent` over `.innerText`.
3400
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-dom-node-text-content.md
3410
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-dom-node-text-content.md
3401
3411
  */
3402
3412
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
3403
3413
  /**
3404
3414
  * Prefer `EventTarget` over `EventEmitter`.
3405
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-event-target.md
3415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-event-target.md
3406
3416
  */
3407
3417
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
3408
3418
  /**
3409
3419
  * Prefer `export…from` when re-exporting.
3410
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-export-from.md
3420
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-export-from.md
3411
3421
  */
3412
3422
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
3413
3423
  /**
3414
3424
  * Prefer `globalThis` over `window`, `self`, and `global`.
3415
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-global-this.md
3425
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-global-this.md
3416
3426
  */
3417
3427
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
3418
3428
  /**
3419
3429
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
3420
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-import-meta-properties.md
3430
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-import-meta-properties.md
3421
3431
  */
3422
3432
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
3423
3433
  /**
3424
3434
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
3425
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-includes.md
3435
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-includes.md
3426
3436
  */
3427
3437
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
3428
3438
  /**
3429
3439
  * Prefer reading a JSON file as a buffer.
3430
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-json-parse-buffer.md
3440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-json-parse-buffer.md
3431
3441
  */
3432
3442
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
3433
3443
  /**
3434
3444
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
3435
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-keyboard-event-key.md
3445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-keyboard-event-key.md
3436
3446
  */
3437
3447
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
3438
3448
  /**
3439
3449
  * Prefer using a logical operator over a ternary.
3440
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-logical-operator-over-ternary.md
3450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-logical-operator-over-ternary.md
3441
3451
  */
3442
3452
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
3443
3453
  /**
3444
3454
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
3445
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-min-max.md
3455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-min-max.md
3446
3456
  */
3447
3457
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
3448
3458
  /**
3449
3459
  * Enforce the use of `Math.trunc` instead of bitwise operators.
3450
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-math-trunc.md
3460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-math-trunc.md
3451
3461
  */
3452
3462
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
3453
3463
  /**
3454
3464
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
3455
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-dom-apis.md
3465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-dom-apis.md
3456
3466
  */
3457
3467
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
3458
3468
  /**
3459
3469
  * Prefer modern `Math` APIs over legacy patterns.
3460
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-modern-math-apis.md
3470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-modern-math-apis.md
3461
3471
  */
3462
3472
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
3463
3473
  /**
3464
3474
  * Prefer JavaScript modules (ESM) over CommonJS.
3465
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-module.md
3475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-module.md
3466
3476
  */
3467
3477
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
3468
3478
  /**
3469
3479
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
3470
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-native-coercion-functions.md
3480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-native-coercion-functions.md
3471
3481
  */
3472
3482
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
3473
3483
  /**
3474
3484
  * Prefer negative index over `.length - index` when possible.
3475
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-negative-index.md
3485
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-negative-index.md
3476
3486
  */
3477
3487
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
3478
3488
  /**
3479
3489
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
3480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-node-protocol.md
3490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-node-protocol.md
3481
3491
  */
3482
3492
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
3483
3493
  /**
3484
3494
  * Prefer `Number` static properties over global ones.
3485
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-number-properties.md
3495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-number-properties.md
3486
3496
  */
3487
3497
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
3488
3498
  /**
3489
3499
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
3490
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-object-from-entries.md
3500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-object-from-entries.md
3491
3501
  */
3492
3502
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
3493
3503
  /**
3494
3504
  * Prefer omitting the `catch` binding parameter.
3495
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-optional-catch-binding.md
3505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-optional-catch-binding.md
3496
3506
  */
3497
3507
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
3498
3508
  /**
3499
3509
  * Prefer borrowing methods from the prototype instead of the instance.
3500
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-prototype-methods.md
3510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-prototype-methods.md
3501
3511
  */
3502
3512
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
3503
3513
  /**
3504
3514
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
3505
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-query-selector.md
3515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-query-selector.md
3506
3516
  */
3507
3517
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
3508
3518
  /**
3509
3519
  * Prefer `Reflect.apply()` over `Function#apply()`.
3510
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-reflect-apply.md
3520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-reflect-apply.md
3511
3521
  */
3512
3522
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
3513
3523
  /**
3514
3524
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
3515
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-regexp-test.md
3525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-regexp-test.md
3516
3526
  */
3517
3527
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
3518
3528
  /**
3519
3529
  * Prefer `Response.json()` over `new Response(JSON.stringify())`.
3520
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-response-static-json.md
3530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-response-static-json.md
3521
3531
  */
3522
3532
  'unicorn/prefer-response-static-json'?: Linter.RuleEntry<[]>;
3523
3533
  /**
3524
3534
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
3525
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-has.md
3535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-has.md
3526
3536
  */
3527
3537
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
3528
3538
  /**
3529
3539
  * Prefer using `Set#size` instead of `Array#length`.
3530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-set-size.md
3540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-set-size.md
3531
3541
  */
3532
3542
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
3543
+ /**
3544
+ * Prefer simple conditions first in logical expressions.
3545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-simple-condition-first.md
3546
+ */
3547
+ 'unicorn/prefer-simple-condition-first'?: Linter.RuleEntry<[]>;
3533
3548
  /**
3534
3549
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
3535
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-single-call.md
3550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-single-call.md
3536
3551
  */
3537
3552
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
3538
3553
  /**
3539
3554
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
3540
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-spread.md
3555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-spread.md
3541
3556
  */
3542
3557
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
3543
3558
  /**
3544
3559
  * Prefer using the `String.raw` tag to avoid escaping `\`.
3545
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-raw.md
3560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-raw.md
3546
3561
  */
3547
3562
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
3548
3563
  /**
3549
3564
  * Prefer `String#replaceAll()` over regex searches with the global flag.
3550
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-replace-all.md
3565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-replace-all.md
3551
3566
  */
3552
3567
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
3553
3568
  /**
3554
3569
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
3555
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-slice.md
3570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-slice.md
3556
3571
  */
3557
3572
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
3558
3573
  /**
3559
3574
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
3560
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-starts-ends-with.md
3575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-starts-ends-with.md
3561
3576
  */
3562
3577
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
3563
3578
  /**
3564
3579
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
3565
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-string-trim-start-end.md
3580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-string-trim-start-end.md
3566
3581
  */
3567
3582
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
3568
3583
  /**
3569
3584
  * Prefer using `structuredClone` to create a deep clone.
3570
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-structured-clone.md
3585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-structured-clone.md
3571
3586
  */
3572
3587
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
3573
3588
  /**
3574
3589
  * Prefer `switch` over multiple `else-if`.
3575
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-switch.md
3590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-switch.md
3576
3591
  */
3577
3592
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
3578
3593
  /**
3579
3594
  * Prefer ternary expressions over simple `if-else` statements.
3580
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-ternary.md
3595
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-ternary.md
3581
3596
  */
3582
3597
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
3583
3598
  /**
3584
3599
  * Prefer top-level await over top-level promises and async function calls.
3585
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-top-level-await.md
3600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-top-level-await.md
3586
3601
  */
3587
3602
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
3588
3603
  /**
3589
3604
  * Enforce throwing `TypeError` in type checking conditions.
3590
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prefer-type-error.md
3605
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prefer-type-error.md
3591
3606
  */
3592
3607
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
3593
3608
  /**
3594
3609
  * Prevent abbreviations.
3595
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/prevent-abbreviations.md
3610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/prevent-abbreviations.md
3596
3611
  */
3597
3612
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
3598
3613
  /**
3599
3614
  * Enforce consistent relative URL style.
3600
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/relative-url-style.md
3615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/relative-url-style.md
3601
3616
  */
3602
3617
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
3603
3618
  /**
3604
3619
  * Enforce using the separator argument with `Array#join()`.
3605
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-array-join-separator.md
3620
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-array-join-separator.md
3606
3621
  */
3607
3622
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
3608
3623
  /**
3609
3624
  * Require non-empty module attributes for imports and exports
3610
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-attributes.md
3625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-attributes.md
3611
3626
  */
3612
3627
  'unicorn/require-module-attributes'?: Linter.RuleEntry<[]>;
3613
3628
  /**
3614
3629
  * Require non-empty specifier list in import and export statements.
3615
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-module-specifiers.md
3630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-module-specifiers.md
3616
3631
  */
3617
3632
  'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
3618
3633
  /**
3619
3634
  * Enforce using the digits argument with `Number#toFixed()`.
3620
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-number-to-fixed-digits-argument.md
3635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-number-to-fixed-digits-argument.md
3621
3636
  */
3622
3637
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
3623
3638
  /**
3624
3639
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
3625
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/require-post-message-target-origin.md
3640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/require-post-message-target-origin.md
3626
3641
  */
3627
3642
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
3628
3643
  /**
3629
3644
  * Enforce better string content.
3630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/string-content.md
3645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/string-content.md
3631
3646
  */
3632
3647
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
3633
3648
  /**
3634
3649
  * Enforce consistent brace style for `case` clauses.
3635
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/switch-case-braces.md
3650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-braces.md
3636
3651
  */
3637
3652
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
3653
+ /**
3654
+ * Enforce consistent `break`/`return`/`continue`/`throw` position in `case` clauses.
3655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/switch-case-break-position.md
3656
+ */
3657
+ 'unicorn/switch-case-break-position'?: Linter.RuleEntry<[]>;
3638
3658
  /**
3639
3659
  * Fix whitespace-insensitive template indentation.
3640
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/template-indent.md
3660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/template-indent.md
3641
3661
  */
3642
3662
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
3643
3663
  /**
3644
3664
  * Enforce consistent case for text encoding identifiers.
3645
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/text-encoding-identifier-case.md
3665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/text-encoding-identifier-case.md
3646
3666
  */
3647
3667
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<UnicornTextEncodingIdentifierCase>;
3648
3668
  /**
3649
3669
  * Require `new` when creating an error.
3650
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v63.0.0/docs/rules/throw-new-error.md
3670
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v64.0.0/docs/rules/throw-new-error.md
3651
3671
  */
3652
3672
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
3653
3673
  /**
@@ -3969,7 +3989,7 @@ interface RuleOptions {
3969
3989
  */
3970
3990
  'vue/jsx-uses-vars'?: Linter.RuleEntry<[]>;
3971
3991
  /**
3972
- * Enforce consistent spacing between keys and values in object literal properties in `<template>`
3992
+ * Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
3973
3993
  * @see https://eslint.vuejs.org/rules/key-spacing.html
3974
3994
  */
3975
3995
  'vue/key-spacing'?: Linter.RuleEntry<VueKeySpacing>;
@@ -4267,7 +4287,7 @@ interface RuleOptions {
4267
4287
  * disallow object, array, and function literals in template
4268
4288
  * @see https://eslint.vuejs.org/rules/no-literals-in-template.html
4269
4289
  */
4270
- 'vue/no-literals-in-template'?: Linter.RuleEntry<[]>;
4290
+ 'vue/no-literals-in-template'?: Linter.RuleEntry<VueNoLiteralsInTemplate>;
4271
4291
  /**
4272
4292
  * disallow unnecessary `<template>`
4273
4293
  * @see https://eslint.vuejs.org/rules/no-lone-template.html
@@ -4660,6 +4680,11 @@ interface RuleOptions {
4660
4680
  * @see https://eslint.vuejs.org/rules/prefer-separate-static-class.html
4661
4681
  */
4662
4682
  'vue/prefer-separate-static-class'?: Linter.RuleEntry<[]>;
4683
+ /**
4684
+ * enforce passing a single argument to custom event emissions
4685
+ * @see https://eslint.vuejs.org/rules/prefer-single-event-payload.html
4686
+ */
4687
+ 'vue/prefer-single-event-payload'?: Linter.RuleEntry<[]>;
4663
4688
  /**
4664
4689
  * Require template literals instead of string concatenation in `<template>`
4665
4690
  * @see https://eslint.vuejs.org/rules/prefer-template.html
@@ -4675,13 +4700,18 @@ interface RuleOptions {
4675
4700
  * @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
4676
4701
  */
4677
4702
  'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>;
4703
+ /**
4704
+ * enforce using `v-model` instead of `:prop`/`@update:prop` pair
4705
+ * @see https://eslint.vuejs.org/rules/prefer-v-model.html
4706
+ */
4707
+ 'vue/prefer-v-model'?: Linter.RuleEntry<[]>;
4678
4708
  /**
4679
4709
  * enforce specific casing for the Prop name in Vue components
4680
4710
  * @see https://eslint.vuejs.org/rules/prop-name-casing.html
4681
4711
  */
4682
4712
  'vue/prop-name-casing'?: Linter.RuleEntry<VuePropNameCasing>;
4683
4713
  /**
4684
- * Require quotes around object literal property names in `<template>`
4714
+ * Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
4685
4715
  * @see https://eslint.vuejs.org/rules/quote-props.html
4686
4716
  */
4687
4717
  'vue/quote-props'?: Linter.RuleEntry<VueQuoteProps>;
@@ -6710,33 +6740,33 @@ type StyleExpListStyle = [] | [{
6710
6740
  singleLine?: _StyleExpListStyle_SingleLineConfig;
6711
6741
  multiLine?: _StyleExpListStyle_MultiLineConfig;
6712
6742
  overrides?: {
6713
- "()"?: _StyleExpListStyle_BaseConfig;
6714
- "[]"?: _StyleExpListStyle_BaseConfig;
6715
- "{}"?: _StyleExpListStyle_BaseConfig;
6716
- "<>"?: _StyleExpListStyle_BaseConfig;
6717
- ArrayExpression?: _StyleExpListStyle_BaseConfig;
6718
- ArrayPattern?: _StyleExpListStyle_BaseConfig;
6719
- ArrowFunctionExpression?: _StyleExpListStyle_BaseConfig;
6720
- CallExpression?: _StyleExpListStyle_BaseConfig;
6721
- ExportNamedDeclaration?: _StyleExpListStyle_BaseConfig;
6722
- FunctionDeclaration?: _StyleExpListStyle_BaseConfig;
6723
- FunctionExpression?: _StyleExpListStyle_BaseConfig;
6724
- IfStatement?: _StyleExpListStyle_BaseConfig;
6725
- ImportAttributes?: _StyleExpListStyle_BaseConfig;
6726
- ImportDeclaration?: _StyleExpListStyle_BaseConfig;
6727
- JSONArrayExpression?: _StyleExpListStyle_BaseConfig;
6728
- JSONObjectExpression?: _StyleExpListStyle_BaseConfig;
6729
- NewExpression?: _StyleExpListStyle_BaseConfig;
6730
- ObjectExpression?: _StyleExpListStyle_BaseConfig;
6731
- ObjectPattern?: _StyleExpListStyle_BaseConfig;
6732
- TSDeclareFunction?: _StyleExpListStyle_BaseConfig;
6733
- TSEnumBody?: _StyleExpListStyle_BaseConfig;
6734
- TSFunctionType?: _StyleExpListStyle_BaseConfig;
6735
- TSInterfaceBody?: _StyleExpListStyle_BaseConfig;
6736
- TSTupleType?: _StyleExpListStyle_BaseConfig;
6737
- TSTypeLiteral?: _StyleExpListStyle_BaseConfig;
6738
- TSTypeParameterDeclaration?: _StyleExpListStyle_BaseConfig;
6739
- TSTypeParameterInstantiation?: _StyleExpListStyle_BaseConfig;
6743
+ "()"?: (_StyleExpListStyle_BaseConfig | "off");
6744
+ "[]"?: (_StyleExpListStyle_BaseConfig | "off");
6745
+ "{}"?: (_StyleExpListStyle_BaseConfig | "off");
6746
+ "<>"?: (_StyleExpListStyle_BaseConfig | "off");
6747
+ ArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
6748
+ ArrayPattern?: (_StyleExpListStyle_BaseConfig | "off");
6749
+ ArrowFunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
6750
+ CallExpression?: (_StyleExpListStyle_BaseConfig | "off");
6751
+ ExportNamedDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
6752
+ FunctionDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
6753
+ FunctionExpression?: (_StyleExpListStyle_BaseConfig | "off");
6754
+ IfStatement?: (_StyleExpListStyle_BaseConfig | "off");
6755
+ ImportAttributes?: (_StyleExpListStyle_BaseConfig | "off");
6756
+ ImportDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
6757
+ JSONArrayExpression?: (_StyleExpListStyle_BaseConfig | "off");
6758
+ JSONObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
6759
+ NewExpression?: (_StyleExpListStyle_BaseConfig | "off");
6760
+ ObjectExpression?: (_StyleExpListStyle_BaseConfig | "off");
6761
+ ObjectPattern?: (_StyleExpListStyle_BaseConfig | "off");
6762
+ TSDeclareFunction?: (_StyleExpListStyle_BaseConfig | "off");
6763
+ TSEnumBody?: (_StyleExpListStyle_BaseConfig | "off");
6764
+ TSFunctionType?: (_StyleExpListStyle_BaseConfig | "off");
6765
+ TSInterfaceBody?: (_StyleExpListStyle_BaseConfig | "off");
6766
+ TSTupleType?: (_StyleExpListStyle_BaseConfig | "off");
6767
+ TSTypeLiteral?: (_StyleExpListStyle_BaseConfig | "off");
6768
+ TSTypeParameterDeclaration?: (_StyleExpListStyle_BaseConfig | "off");
6769
+ TSTypeParameterInstantiation?: (_StyleExpListStyle_BaseConfig | "off");
6740
6770
  };
6741
6771
  }];
6742
6772
  interface _StyleExpListStyle_SingleLineConfig {
@@ -7607,6 +7637,7 @@ type StylePaddingLineBetweenStatements = {
7607
7637
  }[];
7608
7638
  interface _StylePaddingLineBetweenStatements_SelectorOption {
7609
7639
  selector: string;
7640
+ lineMode?: ("any" | "singleline" | "multiline");
7610
7641
  } // ----- style/quote-props -----
7611
7642
  type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
7612
7643
  keywords?: boolean;
@@ -8471,6 +8502,18 @@ type TsPreferOptionalChain = [] | [{
8471
8502
  requireNullish?: boolean;
8472
8503
  }]; // ----- ts/prefer-promise-reject-errors -----
8473
8504
  type TsPreferPromiseRejectErrors = [] | [{
8505
+ allow?: (string | {
8506
+ from: "file";
8507
+ name: (string | [string, ...(string)[]]);
8508
+ path?: string;
8509
+ } | {
8510
+ from: "lib";
8511
+ name: (string | [string, ...(string)[]]);
8512
+ } | {
8513
+ from: "package";
8514
+ name: (string | [string, ...(string)[]]);
8515
+ package: string;
8516
+ })[];
8474
8517
  allowEmptyReject?: boolean;
8475
8518
  allowThrowingAny?: boolean;
8476
8519
  allowThrowingUnknown?: boolean;
@@ -8602,6 +8645,7 @@ type UnicornEscapeCase = [] | [("uppercase" | "lowercase")]; // ----- unicorn/ex
8602
8645
  type UnicornExpiringTodoComments = [] | [{
8603
8646
  terms?: string[];
8604
8647
  ignore?: unknown[];
8648
+ ignoreDates?: boolean;
8605
8649
  ignoreDatesOnPullRequests?: boolean;
8606
8650
  allowWarningComments?: boolean;
8607
8651
  date?: string;
@@ -8758,6 +8802,9 @@ type _UnicornPreventAbbreviationsReplacements = (false | _UnicornPreventAbbrevia
8758
8802
  interface _UnicornPreventAbbreviations_Abbreviations {
8759
8803
  [k: string]: _UnicornPreventAbbreviationsReplacements | undefined;
8760
8804
  }
8805
+ interface _UnicornPreventAbbreviations_BooleanObject {
8806
+ [k: string]: boolean | undefined;
8807
+ }
8761
8808
  interface _UnicornPreventAbbreviations_BooleanObject {
8762
8809
  [k: string]: boolean | undefined;
8763
8810
  } // ----- unicorn/relative-url-style -----
@@ -8863,6 +8910,7 @@ type VueArrayElementNewline = [] | [(_VueArrayElementNewlineBasicConfig | {
8863
8910
  ArrayPattern?: _VueArrayElementNewlineBasicConfig;
8864
8911
  })];
8865
8912
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
8913
+ consistent?: boolean;
8866
8914
  multiline?: boolean;
8867
8915
  minItems?: (number | null);
8868
8916
  }); // ----- vue/arrow-spacing -----
@@ -8922,9 +8970,14 @@ type VueCommaDangle = [] | [(_VueCommaDangleValue | {
8922
8970
  imports?: _VueCommaDangleValueWithIgnore;
8923
8971
  exports?: _VueCommaDangleValueWithIgnore;
8924
8972
  functions?: _VueCommaDangleValueWithIgnore;
8973
+ importAttributes?: _VueCommaDangleValueWithIgnore;
8974
+ dynamicImports?: _VueCommaDangleValueWithIgnore;
8975
+ enums?: _VueCommaDangleValueWithIgnore;
8976
+ generics?: _VueCommaDangleValueWithIgnore;
8977
+ tuples?: _VueCommaDangleValueWithIgnore;
8925
8978
  })];
8926
8979
  type _VueCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline");
8927
- type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "ignore" | "never" | "only-multiline"); // ----- vue/comma-spacing -----
8980
+ type _VueCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore"); // ----- vue/comma-spacing -----
8928
8981
  type VueCommaSpacing = [] | [{
8929
8982
  before?: boolean;
8930
8983
  after?: boolean;
@@ -8974,6 +9027,10 @@ type VueFirstAttributeLinebreak = [] | [{
8974
9027
  }]; // ----- vue/func-call-spacing -----
8975
9028
  type VueFuncCallSpacing = ([] | ["never"] | [] | ["always"] | ["always", {
8976
9029
  allowNewlines?: boolean;
9030
+ optionalChain?: {
9031
+ before?: boolean;
9032
+ after?: boolean;
9033
+ };
8977
9034
  }]); // ----- vue/html-button-has-type -----
8978
9035
  type VueHtmlButtonHasType = [] | [{
8979
9036
  button?: boolean;
@@ -9045,6 +9102,7 @@ type VueKeySpacing = [] | [({
9045
9102
  mode?: ("strict" | "minimum");
9046
9103
  beforeColon?: boolean;
9047
9104
  afterColon?: boolean;
9105
+ ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[];
9048
9106
  } | {
9049
9107
  singleLine?: {
9050
9108
  mode?: ("strict" | "minimum");
@@ -9088,18 +9146,6 @@ type VueKeywordSpacing = [] | [{
9088
9146
  before?: boolean;
9089
9147
  after?: boolean;
9090
9148
  };
9091
- as?: {
9092
- before?: boolean;
9093
- after?: boolean;
9094
- };
9095
- async?: {
9096
- before?: boolean;
9097
- after?: boolean;
9098
- };
9099
- await?: {
9100
- before?: boolean;
9101
- after?: boolean;
9102
- };
9103
9149
  boolean?: {
9104
9150
  before?: boolean;
9105
9151
  after?: boolean;
@@ -9192,18 +9238,10 @@ type VueKeywordSpacing = [] | [{
9192
9238
  before?: boolean;
9193
9239
  after?: boolean;
9194
9240
  };
9195
- from?: {
9196
- before?: boolean;
9197
- after?: boolean;
9198
- };
9199
9241
  function?: {
9200
9242
  before?: boolean;
9201
9243
  after?: boolean;
9202
9244
  };
9203
- get?: {
9204
- before?: boolean;
9205
- after?: boolean;
9206
- };
9207
9245
  goto?: {
9208
9246
  before?: boolean;
9209
9247
  after?: boolean;
@@ -9236,10 +9274,6 @@ type VueKeywordSpacing = [] | [{
9236
9274
  before?: boolean;
9237
9275
  after?: boolean;
9238
9276
  };
9239
- let?: {
9240
- before?: boolean;
9241
- after?: boolean;
9242
- };
9243
9277
  long?: {
9244
9278
  before?: boolean;
9245
9279
  after?: boolean;
@@ -9256,10 +9290,6 @@ type VueKeywordSpacing = [] | [{
9256
9290
  before?: boolean;
9257
9291
  after?: boolean;
9258
9292
  };
9259
- of?: {
9260
- before?: boolean;
9261
- after?: boolean;
9262
- };
9263
9293
  package?: {
9264
9294
  before?: boolean;
9265
9295
  after?: boolean;
@@ -9280,10 +9310,6 @@ type VueKeywordSpacing = [] | [{
9280
9310
  before?: boolean;
9281
9311
  after?: boolean;
9282
9312
  };
9283
- set?: {
9284
- before?: boolean;
9285
- after?: boolean;
9286
- };
9287
9313
  short?: {
9288
9314
  before?: boolean;
9289
9315
  after?: boolean;
@@ -9352,10 +9378,66 @@ type VueKeywordSpacing = [] | [{
9352
9378
  before?: boolean;
9353
9379
  after?: boolean;
9354
9380
  };
9381
+ arguments?: {
9382
+ before?: boolean;
9383
+ after?: boolean;
9384
+ };
9385
+ as?: {
9386
+ before?: boolean;
9387
+ after?: boolean;
9388
+ };
9389
+ async?: {
9390
+ before?: boolean;
9391
+ after?: boolean;
9392
+ };
9393
+ await?: {
9394
+ before?: boolean;
9395
+ after?: boolean;
9396
+ };
9397
+ eval?: {
9398
+ before?: boolean;
9399
+ after?: boolean;
9400
+ };
9401
+ from?: {
9402
+ before?: boolean;
9403
+ after?: boolean;
9404
+ };
9405
+ get?: {
9406
+ before?: boolean;
9407
+ after?: boolean;
9408
+ };
9409
+ let?: {
9410
+ before?: boolean;
9411
+ after?: boolean;
9412
+ };
9413
+ of?: {
9414
+ before?: boolean;
9415
+ after?: boolean;
9416
+ };
9417
+ set?: {
9418
+ before?: boolean;
9419
+ after?: boolean;
9420
+ };
9421
+ type?: {
9422
+ before?: boolean;
9423
+ after?: boolean;
9424
+ };
9425
+ using?: {
9426
+ before?: boolean;
9427
+ after?: boolean;
9428
+ };
9355
9429
  yield?: {
9356
9430
  before?: boolean;
9357
9431
  after?: boolean;
9358
9432
  };
9433
+ accessor?: {
9434
+ before?: boolean;
9435
+ after?: boolean;
9436
+ };
9437
+ satisfies?: {
9438
+ before?: boolean;
9439
+ after?: boolean;
9440
+ };
9359
9441
  };
9360
9442
  }]; // ----- vue/match-component-file-name -----
9361
9443
  type VueMatchComponentFileName = [] | [{
@@ -9475,7 +9557,9 @@ type VueMultilineHtmlElementContentNewline = [] | [{
9475
9557
  ignores?: string[];
9476
9558
  allowEmptyLines?: boolean;
9477
9559
  }]; // ----- vue/multiline-ternary -----
9478
- type VueMultilineTernary = [] | [("always" | "always-multiline" | "never")]; // ----- vue/mustache-interpolation-spacing -----
9560
+ type VueMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
9561
+ ignoreJSX?: boolean;
9562
+ }]; // ----- vue/mustache-interpolation-spacing -----
9479
9563
  type VueMustacheInterpolationSpacing = [] | [("always" | "never")]; // ----- vue/new-line-between-multi-line-property -----
9480
9564
  type VueNewLineBetweenMultiLineProperty = [] | [{
9481
9565
  minLineOfMultilineProperty?: number;
@@ -9535,6 +9619,13 @@ type VueNoExtraParens = ([] | ["functions"] | [] | ["all"] | ["all", {
9535
9619
  enforceForNewInMemberExpressions?: boolean;
9536
9620
  enforceForFunctionPrototypeMethods?: boolean;
9537
9621
  allowParensAfterCommentPattern?: string;
9622
+ nestedConditionalExpressions?: boolean;
9623
+ allowNodesInSpreadElement?: {
9624
+ ConditionalExpression?: boolean;
9625
+ LogicalExpression?: boolean;
9626
+ AwaitExpression?: boolean;
9627
+ };
9628
+ ignoredNodes?: string[];
9538
9629
  }]); // ----- vue/no-implicit-coercion -----
9539
9630
  type VueNoImplicitCoercion = [] | [{
9540
9631
  boolean?: boolean;
@@ -9550,6 +9641,9 @@ type VueNoIrregularWhitespace = [] | [{
9550
9641
  skipRegExps?: boolean;
9551
9642
  skipHTMLAttributeValues?: boolean;
9552
9643
  skipHTMLTextContents?: boolean;
9644
+ }]; // ----- vue/no-literals-in-template -----
9645
+ type VueNoLiteralsInTemplate = [] | [{
9646
+ ignores?: string[];
9553
9647
  }]; // ----- vue/no-lone-template -----
9554
9648
  type VueNoLoneTemplate = [] | [{
9555
9649
  ignoreAccessible?: boolean;
@@ -9704,7 +9798,7 @@ type VueNoUnusedComponents = [] | [{
9704
9798
  ignoreWhenBindingPresent?: boolean;
9705
9799
  }]; // ----- vue/no-unused-properties -----
9706
9800
  type VueNoUnusedProperties = [] | [{
9707
- groups?: ("props" | "data" | "asyncData" | "computed" | "methods" | "setup")[];
9801
+ groups?: ("props" | "data" | "asyncData" | "computed" | "methods" | "setup" | "inject")[];
9708
9802
  deepData?: boolean;
9709
9803
  ignorePublicMembers?: boolean;
9710
9804
  unreferencedOptions?: ("unknownMemberAsUnreferenced" | "returnAsUnreferenced")[];
@@ -9755,14 +9849,41 @@ type VueObjectCurlyNewline = [] | [((("always" | "never") | {
9755
9849
  minProperties?: number;
9756
9850
  consistent?: boolean;
9757
9851
  });
9852
+ TSTypeLiteral?: (("always" | "never") | {
9853
+ multiline?: boolean;
9854
+ minProperties?: number;
9855
+ consistent?: boolean;
9856
+ });
9857
+ TSInterfaceBody?: (("always" | "never") | {
9858
+ multiline?: boolean;
9859
+ minProperties?: number;
9860
+ consistent?: boolean;
9861
+ });
9862
+ TSEnumBody?: (("always" | "never") | {
9863
+ multiline?: boolean;
9864
+ minProperties?: number;
9865
+ consistent?: boolean;
9866
+ });
9758
9867
  })]; // ----- vue/object-curly-spacing -----
9759
9868
  type VueObjectCurlySpacing = [] | [("always" | "never")] | [("always" | "never"), {
9760
9869
  arraysInObjects?: boolean;
9761
9870
  objectsInObjects?: boolean;
9871
+ overrides?: {
9872
+ ObjectPattern?: ("always" | "never");
9873
+ ObjectExpression?: ("always" | "never");
9874
+ ImportDeclaration?: ("always" | "never");
9875
+ ImportAttributes?: ("always" | "never");
9876
+ ExportNamedDeclaration?: ("always" | "never");
9877
+ ExportAllDeclaration?: ("always" | "never");
9878
+ TSMappedType?: ("always" | "never");
9879
+ TSTypeLiteral?: ("always" | "never");
9880
+ TSInterfaceBody?: ("always" | "never");
9881
+ TSEnumBody?: ("always" | "never");
9882
+ };
9883
+ emptyObjects?: ("ignore" | "always" | "never");
9762
9884
  }]; // ----- vue/object-property-newline -----
9763
9885
  type VueObjectPropertyNewline = [] | [{
9764
9886
  allowAllPropertiesOnSameLine?: boolean;
9765
- allowMultiplePropertiesPerLine?: boolean;
9766
9887
  }]; // ----- vue/object-shorthand -----
9767
9888
  type VueObjectShorthand = ([] | [("always" | "methods" | "properties" | "never" | "consistent" | "consistent-as-needed")] | [] | [("always" | "methods" | "properties")] | [("always" | "methods" | "properties"), {
9768
9889
  avoidQuotes?: boolean;
@@ -9772,7 +9893,7 @@ type VueObjectShorthand = ([] | [("always" | "methods" | "properties" | "never"
9772
9893
  avoidQuotes?: boolean;
9773
9894
  avoidExplicitReturnArrows?: boolean;
9774
9895
  }]); // ----- vue/operator-linebreak -----
9775
- type VueOperatorLinebreak = [] | [("after" | "before" | "none" | null)] | [("after" | "before" | "none" | null), {
9896
+ type VueOperatorLinebreak = [] | [(("after" | "before" | "none") | null)] | [(("after" | "before" | "none") | null), {
9776
9897
  overrides?: {
9777
9898
  [k: string]: ("after" | "before" | "none" | "ignore") | undefined;
9778
9899
  };
@@ -9860,6 +9981,7 @@ type VueSpaceInParens = [] | [("always" | "never")] | [("always" | "never"), {
9860
9981
  }]; // ----- vue/space-infix-ops -----
9861
9982
  type VueSpaceInfixOps = [] | [{
9862
9983
  int32Hint?: boolean;
9984
+ ignoreTypes?: boolean;
9863
9985
  }]; // ----- vue/space-unary-ops -----
9864
9986
  type VueSpaceUnaryOps = [] | [{
9865
9987
  words?: boolean;