@isentinel/eslint-config 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -411,42 +411,42 @@ interface RuleOptions {
411
411
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
412
412
  /**
413
413
  * Enforce or ban the use of inline type-only markers for named imports.
414
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/consistent-type-specifier-style.md
414
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
415
415
  */
416
416
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
417
417
  /**
418
418
  * Ensure a default export is present, given a default import.
419
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/default.md
419
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
420
420
  */
421
421
  'import/default'?: Linter.RuleEntry<[]>
422
422
  /**
423
423
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
424
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/dynamic-import-chunkname.md
424
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
425
425
  */
426
426
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
427
427
  /**
428
428
  * Forbid any invalid exports, i.e. re-export of the same name.
429
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/export.md
429
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
430
430
  */
431
431
  'import/export'?: Linter.RuleEntry<[]>
432
432
  /**
433
433
  * Ensure all exports appear after other statements.
434
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/exports-last.md
434
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
435
435
  */
436
436
  'import/exports-last'?: Linter.RuleEntry<[]>
437
437
  /**
438
438
  * Ensure consistent use of file extension within the import path.
439
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/extensions.md
439
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
440
440
  */
441
441
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
442
442
  /**
443
443
  * Ensure all imports appear before other statements.
444
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/first.md
444
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
445
445
  */
446
446
  'import/first'?: Linter.RuleEntry<ImportFirst>
447
447
  /**
448
448
  * Prefer named exports to be grouped together in a single export declaration.
449
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/group-exports.md
449
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
450
450
  */
451
451
  'import/group-exports'?: Linter.RuleEntry<[]>
452
452
  /**
@@ -457,182 +457,182 @@ interface RuleOptions {
457
457
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
458
458
  /**
459
459
  * Enforce the maximum number of dependencies a module can have.
460
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/max-dependencies.md
460
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
461
461
  */
462
462
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
463
463
  /**
464
464
  * Ensure named imports correspond to a named export in the remote file.
465
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/named.md
465
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
466
466
  */
467
467
  'import/named'?: Linter.RuleEntry<ImportNamed>
468
468
  /**
469
469
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
470
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/namespace.md
470
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
471
471
  */
472
472
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
473
473
  /**
474
474
  * Enforce a newline after import statements.
475
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/newline-after-import.md
475
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
476
476
  */
477
477
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
478
478
  /**
479
479
  * Forbid import of modules using absolute paths.
480
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-absolute-path.md
480
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
481
481
  */
482
482
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
483
483
  /**
484
484
  * Forbid AMD `require` and `define` calls.
485
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-amd.md
485
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
486
486
  */
487
487
  'import/no-amd'?: Linter.RuleEntry<[]>
488
488
  /**
489
489
  * Forbid anonymous values as default exports.
490
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-anonymous-default-export.md
490
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
491
491
  */
492
492
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
493
493
  /**
494
494
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
495
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-commonjs.md
495
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
496
496
  */
497
497
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
498
498
  /**
499
499
  * Forbid a module from importing a module with a dependency path back to itself.
500
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-cycle.md
500
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
501
501
  */
502
502
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
503
503
  /**
504
504
  * Forbid default exports.
505
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-default-export.md
505
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
506
506
  */
507
507
  'import/no-default-export'?: Linter.RuleEntry<[]>
508
508
  /**
509
509
  * Forbid imported names marked with `@deprecated` documentation tag.
510
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-deprecated.md
510
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
511
511
  */
512
512
  'import/no-deprecated'?: Linter.RuleEntry<[]>
513
513
  /**
514
514
  * Forbid repeated import of the same module in multiple places.
515
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-duplicates.md
515
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
516
516
  */
517
517
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
518
518
  /**
519
519
  * Forbid `require()` calls with expressions.
520
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-dynamic-require.md
520
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
521
521
  */
522
522
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
523
523
  /**
524
524
  * Forbid empty named import blocks.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-empty-named-blocks.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
526
526
  */
527
527
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
528
528
  /**
529
529
  * Forbid the use of extraneous packages.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-extraneous-dependencies.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
531
531
  */
532
532
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
533
533
  /**
534
534
  * Forbid import statements with CommonJS module.exports.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-import-module-exports.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
536
536
  */
537
537
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
538
538
  /**
539
539
  * Forbid importing the submodules of other modules.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-internal-modules.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
541
541
  */
542
542
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
543
543
  /**
544
544
  * Forbid the use of mutable exports with `var` or `let`.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-mutable-exports.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
546
546
  */
547
547
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
548
548
  /**
549
549
  * Forbid use of exported name as identifier of default export.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
551
551
  */
552
552
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
553
553
  /**
554
554
  * Forbid use of exported name as property of default export.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default-member.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
556
556
  */
557
557
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
558
558
  /**
559
559
  * Forbid named default exports.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-default.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
561
561
  */
562
562
  'import/no-named-default'?: Linter.RuleEntry<[]>
563
563
  /**
564
564
  * Forbid named exports.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-export.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
566
566
  */
567
567
  'import/no-named-export'?: Linter.RuleEntry<[]>
568
568
  /**
569
569
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-namespace.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
571
571
  */
572
572
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
573
573
  /**
574
574
  * Forbid Node.js builtin modules.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-nodejs-modules.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
576
576
  */
577
577
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
578
578
  /**
579
579
  * Forbid importing packages through relative paths.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-packages.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
581
581
  */
582
582
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
583
583
  /**
584
584
  * Forbid importing modules from parent directories.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-parent-imports.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
586
586
  */
587
587
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
588
588
  /**
589
589
  * Enforce which files can be imported in a given folder.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-restricted-paths.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
591
591
  */
592
592
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
593
593
  /**
594
594
  * Forbid a module from importing itself.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-self-import.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
596
596
  */
597
597
  'import/no-self-import'?: Linter.RuleEntry<[]>
598
598
  /**
599
599
  * Forbid unassigned imports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unassigned-import.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
601
601
  */
602
602
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
603
603
  /**
604
604
  * Ensure imports point to a file/module that can be resolved.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unresolved.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
606
606
  */
607
607
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
608
608
  /**
609
609
  * Forbid modules without exports, or exports without matching import in another module.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unused-modules.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
611
611
  */
612
612
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
613
613
  /**
614
614
  * Forbid unnecessary path segments in import and require statements.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-useless-path-segments.md
615
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
616
616
  */
617
617
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
618
618
  /**
619
619
  * Forbid webpack loader syntax in imports.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-webpack-loader-syntax.md
620
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
621
621
  */
622
622
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
623
623
  /**
624
624
  * Enforce a convention in module import order.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/order.md
625
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
626
626
  */
627
627
  'import/order'?: Linter.RuleEntry<ImportOrder>
628
628
  /**
629
629
  * Prefer a default export if module exports a single name or multiple names.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/prefer-default-export.md
630
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
631
631
  */
632
632
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
633
633
  /**
634
634
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/unambiguous.md
635
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
636
636
  */
637
637
  'import/unambiguous'?: Linter.RuleEntry<[]>
638
638
  /**
@@ -697,6 +697,11 @@ interface RuleOptions {
697
697
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
698
698
  */
699
699
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
700
+ /**
701
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
702
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
703
+ */
704
+ 'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
700
705
  /**
701
706
  * Reports invalid types.
702
707
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -1338,12 +1343,12 @@ interface RuleOptions {
1338
1343
  */
1339
1344
  'no-autofix/@cspell/spellchecker'?: Linter.RuleEntry<NoAutofixCspellSpellchecker>
1340
1345
  /**
1341
- * enforce boolean attributes notation in JSX
1346
+ * avoid using shorthand boolean attribute
1342
1347
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
1343
1348
  */
1344
1349
  'no-autofix/@eslint-react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
1345
1350
  /**
1346
- * enforce using fragment component instead of shorthand fragment syntax
1351
+ * avoid using shorthand fragment syntax
1347
1352
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
1348
1353
  */
1349
1354
  'no-autofix/@eslint-react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -1418,7 +1423,7 @@ interface RuleOptions {
1418
1423
  */
1419
1424
  'no-autofix/@eslint-react/dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
1420
1425
  /**
1421
- * require all 'forwardRef' components include a 'ref' parameter
1426
+ * require a 'ref' parameter to be set when using 'forwardRef'
1422
1427
  * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
1423
1428
  */
1424
1429
  'no-autofix/@eslint-react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
@@ -1478,47 +1483,47 @@ interface RuleOptions {
1478
1483
  */
1479
1484
  'no-autofix/@eslint-react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
1480
1485
  /**
1481
- * disallow using Array index as key
1486
+ * disallow using Array index as 'key'
1482
1487
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
1483
1488
  */
1484
1489
  'no-autofix/@eslint-react/no-array-index-key'?: Linter.RuleEntry<[]>
1485
1490
  /**
1486
- * disallow 'Children.count'
1491
+ * disallow using 'Children.count'
1487
1492
  * @see https://eslint-react.xyz/docs/rules/no-children-count
1488
1493
  */
1489
1494
  'no-autofix/@eslint-react/no-children-count'?: Linter.RuleEntry<[]>
1490
1495
  /**
1491
- * disallow 'Children.forEach'
1496
+ * disallow using 'Children.forEach'
1492
1497
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
1493
1498
  */
1494
1499
  'no-autofix/@eslint-react/no-children-for-each'?: Linter.RuleEntry<[]>
1495
1500
  /**
1496
- * disallow 'Children.map'
1501
+ * disallow using 'Children.map'
1497
1502
  * @see https://eslint-react.xyz/docs/rules/no-children-map
1498
1503
  */
1499
1504
  'no-autofix/@eslint-react/no-children-map'?: Linter.RuleEntry<[]>
1500
1505
  /**
1501
- * disallow 'Children.only'
1506
+ * disallow using 'Children.only'
1502
1507
  * @see https://eslint-react.xyz/docs/rules/no-children-only
1503
1508
  */
1504
1509
  'no-autofix/@eslint-react/no-children-only'?: Linter.RuleEntry<[]>
1505
1510
  /**
1506
- * disallow passing of 'children' as props
1511
+ * disallow passing 'children' as props
1507
1512
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
1508
1513
  */
1509
1514
  'no-autofix/@eslint-react/no-children-prop'?: Linter.RuleEntry<[]>
1510
1515
  /**
1511
- * disallow 'Children.toArray'
1516
+ * disallow using 'Children.toArray'
1512
1517
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
1513
1518
  */
1514
1519
  'no-autofix/@eslint-react/no-children-to-array'?: Linter.RuleEntry<[]>
1515
1520
  /**
1516
- * disallow class component
1521
+ * disallow using class components
1517
1522
  * @see https://eslint-react.xyz/docs/rules/no-class-component
1518
1523
  */
1519
1524
  'no-autofix/@eslint-react/no-class-component'?: Linter.RuleEntry<[]>
1520
1525
  /**
1521
- * disallow 'cloneElement'
1526
+ * disallow using 'cloneElement'
1522
1527
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
1523
1528
  */
1524
1529
  'no-autofix/@eslint-react/no-clone-element'?: Linter.RuleEntry<[]>
@@ -1528,31 +1533,42 @@ interface RuleOptions {
1528
1533
  */
1529
1534
  'no-autofix/@eslint-react/no-comment-textnodes'?: Linter.RuleEntry<[]>
1530
1535
  /**
1531
- * disallow complicated conditional rendering
1532
- * @see https://eslint-react.xyz/docs/rules/no-complicated-conditional-rendering
1536
+ * disallow complex conditional rendering
1537
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
1538
+ * @deprecated
1539
+ */
1540
+ 'no-autofix/@eslint-react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
1541
+ /**
1542
+ * disallow complex conditional rendering
1543
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
1533
1544
  * @deprecated
1534
1545
  */
1535
1546
  'no-autofix/@eslint-react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
1536
1547
  /**
1537
- * disallow usage of 'componentWillMount'
1548
+ * disallow using 'componentWillMount'
1538
1549
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
1539
1550
  */
1540
1551
  'no-autofix/@eslint-react/no-component-will-mount'?: Linter.RuleEntry<[]>
1541
1552
  /**
1542
- * disallow usage of 'componentWillReceiveProps'
1553
+ * disallow using 'componentWillReceiveProps'
1543
1554
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
1544
1555
  */
1545
1556
  'no-autofix/@eslint-react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
1546
1557
  /**
1547
- * disallow usage of 'componentWillUpdate'
1558
+ * disallow using 'componentWillReceiveProps'
1548
1559
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
1549
1560
  */
1550
1561
  'no-autofix/@eslint-react/no-component-will-update'?: Linter.RuleEntry<[]>
1551
1562
  /**
1552
- * disallow 'createRef' in function components
1563
+ * disallow using 'createRef' in function components
1553
1564
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
1554
1565
  */
1555
1566
  'no-autofix/@eslint-react/no-create-ref'?: Linter.RuleEntry<[]>
1567
+ /**
1568
+ * disallow using 'defaultProps' property in components
1569
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
1570
+ */
1571
+ 'no-autofix/@eslint-react/no-default-props'?: Linter.RuleEntry<[]>
1556
1572
  /**
1557
1573
  * disallow direct mutation of state
1558
1574
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
@@ -1564,9 +1580,8 @@ interface RuleOptions {
1564
1580
  */
1565
1581
  'no-autofix/@eslint-react/no-duplicate-key'?: Linter.RuleEntry<[]>
1566
1582
  /**
1567
- * disallow spreading 'key' from objects.
1583
+ * disallow implicit 'key' props
1568
1584
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
1569
- * @deprecated
1570
1585
  */
1571
1586
  'no-autofix/@eslint-react/no-implicit-key'?: Linter.RuleEntry<[]>
1572
1587
  /**
@@ -1575,7 +1590,7 @@ interface RuleOptions {
1575
1590
  */
1576
1591
  'no-autofix/@eslint-react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
1577
1592
  /**
1578
- * require 'displayName' for memo and forwardRef components
1593
+ * require 'displayName' for 'memo' and 'forwardRef' components
1579
1594
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
1580
1595
  */
1581
1596
  'no-autofix/@eslint-react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
@@ -1585,27 +1600,32 @@ interface RuleOptions {
1585
1600
  */
1586
1601
  'no-autofix/@eslint-react/no-missing-key'?: Linter.RuleEntry<[]>
1587
1602
  /**
1588
- * disallow usage of unstable nested components
1603
+ * disallow using unstable nested components
1589
1604
  * @see https://eslint-react.xyz/docs/rules/no-nested-components
1590
1605
  */
1591
1606
  'no-autofix/@eslint-react/no-nested-components'?: Linter.RuleEntry<[]>
1592
1607
  /**
1593
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
1608
+ * disallow using 'propTypes' property in components
1609
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
1610
+ */
1611
+ 'no-autofix/@eslint-react/no-prop-types'?: Linter.RuleEntry<[]>
1612
+ /**
1613
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
1594
1614
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
1595
1615
  */
1596
1616
  'no-autofix/@eslint-react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
1597
1617
  /**
1598
- * disallow 'setState' in 'componentDidMount'
1618
+ * disallow using 'setState' in 'componentDidMount'
1599
1619
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
1600
1620
  */
1601
1621
  'no-autofix/@eslint-react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
1602
1622
  /**
1603
- * disallow 'setState' in 'componentDidUpdate'
1623
+ * disallow using 'setState' in 'componentDidUpdate'
1604
1624
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
1605
1625
  */
1606
1626
  'no-autofix/@eslint-react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
1607
1627
  /**
1608
- * disallow 'setState' in 'componentWillUpdate'
1628
+ * disallow using 'setState' in 'componentWillUpdate'
1609
1629
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
1610
1630
  */
1611
1631
  'no-autofix/@eslint-react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
@@ -1615,17 +1635,17 @@ interface RuleOptions {
1615
1635
  */
1616
1636
  'no-autofix/@eslint-react/no-string-refs'?: Linter.RuleEntry<[]>
1617
1637
  /**
1618
- * disallow usage of 'UNSAFE_componentWillMount'
1638
+ * disallow using 'UNSAFE_componentWillMount'
1619
1639
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
1620
1640
  */
1621
1641
  'no-autofix/@eslint-react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
1622
1642
  /**
1623
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
1643
+ * disallow using 'UNSAFE_componentWillReceiveProps'
1624
1644
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
1625
1645
  */
1626
1646
  'no-autofix/@eslint-react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
1627
1647
  /**
1628
- * disallow usage of 'UNSAFE_componentWillUpdate'
1648
+ * disallow using 'UNSAFE_componentWillUpdate'
1629
1649
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
1630
1650
  */
1631
1651
  'no-autofix/@eslint-react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
@@ -1635,7 +1655,7 @@ interface RuleOptions {
1635
1655
  */
1636
1656
  'no-autofix/@eslint-react/no-unstable-context-value'?: Linter.RuleEntry<[]>
1637
1657
  /**
1638
- * disallow usage of unstable value as default param in function component
1658
+ * disallow using unstable value as default param in function component
1639
1659
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
1640
1660
  */
1641
1661
  'no-autofix/@eslint-react/no-unstable-default-props'?: Linter.RuleEntry<[]>
@@ -1645,7 +1665,7 @@ interface RuleOptions {
1645
1665
  */
1646
1666
  'no-autofix/@eslint-react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
1647
1667
  /**
1648
- * Prevents unused state of class component
1668
+ * disallow unused state of class component
1649
1669
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
1650
1670
  */
1651
1671
  'no-autofix/@eslint-react/no-unused-state'?: Linter.RuleEntry<[]>
@@ -1660,17 +1680,17 @@ interface RuleOptions {
1660
1680
  */
1661
1681
  'no-autofix/@eslint-react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
1662
1682
  /**
1663
- * enforce that component props are read-only
1683
+ * enforce read-only props in components
1664
1684
  * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
1665
1685
  */
1666
1686
  'no-autofix/@eslint-react/prefer-read-only-props'?: Linter.RuleEntry<[]>
1667
1687
  /**
1668
- * enforce boolean attributes notation in JSX
1688
+ * enforce using shorthand boolean attributes
1669
1689
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
1670
1690
  */
1671
1691
  'no-autofix/@eslint-react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
1672
1692
  /**
1673
- * enforce using fragment syntax instead of Fragment component
1693
+ * enforce using fragment syntax instead of 'Fragment' component
1674
1694
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
1675
1695
  */
1676
1696
  'no-autofix/@eslint-react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -1704,11 +1724,11 @@ interface RuleOptions {
1704
1724
  /**
1705
1725
  * Disallows jest allMocks methods.
1706
1726
  */
1707
- 'no-autofix/@shopify/jest/no-all-mocks-methods'?: Linter.RuleEntry<[]>
1727
+ 'no-autofix/@shopify/jest-no-all-mocks-methods'?: Linter.RuleEntry<[]>
1708
1728
  /**
1709
1729
  * Disallows jest snapshots.
1710
1730
  */
1711
- 'no-autofix/@shopify/jest/no-snapshots'?: Linter.RuleEntry<[]>
1731
+ 'no-autofix/@shopify/jest-no-snapshots'?: Linter.RuleEntry<[]>
1712
1732
  /**
1713
1733
  * Disallow complex expressions embedded in in JSX.
1714
1734
  */
@@ -1808,19 +1828,19 @@ interface RuleOptions {
1808
1828
  /**
1809
1829
  * Prefer buildClientSchema for schema building
1810
1830
  */
1811
- 'no-autofix/@shopify/typescript/prefer-build-client-schema'?: Linter.RuleEntry<[]>
1831
+ 'no-autofix/@shopify/typescript-prefer-build-client-schema'?: Linter.RuleEntry<[]>
1812
1832
  /**
1813
1833
  * Enforce Pascal case when naming enums.
1814
1834
  */
1815
- 'no-autofix/@shopify/typescript/prefer-pascal-case-enums'?: Linter.RuleEntry<[]>
1835
+ 'no-autofix/@shopify/typescript-prefer-pascal-case-enums'?: Linter.RuleEntry<[]>
1816
1836
  /**
1817
1837
  * Prefer singular TypeScript enums.
1818
1838
  */
1819
- 'no-autofix/@shopify/typescript/prefer-singular-enums'?: Linter.RuleEntry<[]>
1839
+ 'no-autofix/@shopify/typescript-prefer-singular-enums'?: Linter.RuleEntry<[]>
1820
1840
  /**
1821
1841
  * Require that all dynamic imports contain a `webpackChunkName` comment.
1822
1842
  */
1823
- 'no-autofix/@shopify/webpack/no-unnamed-dynamic-imports'?: Linter.RuleEntry<[]>
1843
+ 'no-autofix/@shopify/webpack-no-unnamed-dynamic-imports'?: Linter.RuleEntry<[]>
1824
1844
  /**
1825
1845
  * Enforce linebreaks after opening and before closing array brackets
1826
1846
  * @see https://eslint.style/rules/js/array-bracket-newline
@@ -3388,6 +3408,11 @@ interface RuleOptions {
3388
3408
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
3389
3409
  */
3390
3410
  'no-autofix/@typescript-eslint/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
3411
+ /**
3412
+ * Disallow using the unsafe built-in Function type
3413
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
3414
+ */
3415
+ 'no-autofix/@typescript-eslint/no-unsafe-function-type'?: Linter.RuleEntry<[]>
3391
3416
  /**
3392
3417
  * Disallow member access on a value with type `any`
3393
3418
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -3439,6 +3464,11 @@ interface RuleOptions {
3439
3464
  * @see https://typescript-eslint.io/rules/no-var-requires
3440
3465
  */
3441
3466
  'no-autofix/@typescript-eslint/no-var-requires'?: Linter.RuleEntry<NoAutofixTypescriptEslintNoVarRequires>
3467
+ /**
3468
+ * Disallow using confusing built-in primitive class wrappers
3469
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
3470
+ */
3471
+ 'no-autofix/@typescript-eslint/no-wrapper-object-types'?: Linter.RuleEntry<[]>
3442
3472
  /**
3443
3473
  * Enforce non-null assertions over explicit type casts
3444
3474
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
@@ -4575,42 +4605,42 @@ interface RuleOptions {
4575
4605
  'no-autofix/implicit-arrow-linebreak'?: Linter.RuleEntry<NoAutofixImplicitArrowLinebreak>
4576
4606
  /**
4577
4607
  * Enforce or ban the use of inline type-only markers for named imports.
4578
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/consistent-type-specifier-style.md
4608
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
4579
4609
  */
4580
4610
  'no-autofix/import-x/consistent-type-specifier-style'?: Linter.RuleEntry<NoAutofixImportXConsistentTypeSpecifierStyle>
4581
4611
  /**
4582
4612
  * Ensure a default export is present, given a default import.
4583
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/default.md
4613
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
4584
4614
  */
4585
4615
  'no-autofix/import-x/default'?: Linter.RuleEntry<[]>
4586
4616
  /**
4587
4617
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
4588
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/dynamic-import-chunkname.md
4618
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
4589
4619
  */
4590
4620
  'no-autofix/import-x/dynamic-import-chunkname'?: Linter.RuleEntry<NoAutofixImportXDynamicImportChunkname>
4591
4621
  /**
4592
4622
  * Forbid any invalid exports, i.e. re-export of the same name.
4593
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/export.md
4623
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
4594
4624
  */
4595
4625
  'no-autofix/import-x/export'?: Linter.RuleEntry<[]>
4596
4626
  /**
4597
4627
  * Ensure all exports appear after other statements.
4598
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/exports-last.md
4628
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
4599
4629
  */
4600
4630
  'no-autofix/import-x/exports-last'?: Linter.RuleEntry<[]>
4601
4631
  /**
4602
4632
  * Ensure consistent use of file extension within the import path.
4603
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/extensions.md
4633
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
4604
4634
  */
4605
4635
  'no-autofix/import-x/extensions'?: Linter.RuleEntry<NoAutofixImportXExtensions>
4606
4636
  /**
4607
4637
  * Ensure all imports appear before other statements.
4608
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/first.md
4638
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
4609
4639
  */
4610
4640
  'no-autofix/import-x/first'?: Linter.RuleEntry<NoAutofixImportXFirst>
4611
4641
  /**
4612
4642
  * Prefer named exports to be grouped together in a single export declaration.
4613
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/group-exports.md
4643
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
4614
4644
  */
4615
4645
  'no-autofix/import-x/group-exports'?: Linter.RuleEntry<[]>
4616
4646
  /**
@@ -4621,182 +4651,182 @@ interface RuleOptions {
4621
4651
  'no-autofix/import-x/imports-first'?: Linter.RuleEntry<NoAutofixImportXImportsFirst>
4622
4652
  /**
4623
4653
  * Enforce the maximum number of dependencies a module can have.
4624
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/max-dependencies.md
4654
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
4625
4655
  */
4626
4656
  'no-autofix/import-x/max-dependencies'?: Linter.RuleEntry<NoAutofixImportXMaxDependencies>
4627
4657
  /**
4628
4658
  * Ensure named imports correspond to a named export in the remote file.
4629
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/named.md
4659
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
4630
4660
  */
4631
4661
  'no-autofix/import-x/named'?: Linter.RuleEntry<NoAutofixImportXNamed>
4632
4662
  /**
4633
4663
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
4634
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/namespace.md
4664
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
4635
4665
  */
4636
4666
  'no-autofix/import-x/namespace'?: Linter.RuleEntry<NoAutofixImportXNamespace>
4637
4667
  /**
4638
4668
  * Enforce a newline after import statements.
4639
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/newline-after-import.md
4669
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
4640
4670
  */
4641
4671
  'no-autofix/import-x/newline-after-import'?: Linter.RuleEntry<NoAutofixImportXNewlineAfterImport>
4642
4672
  /**
4643
4673
  * Forbid import of modules using absolute paths.
4644
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-absolute-path.md
4674
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
4645
4675
  */
4646
4676
  'no-autofix/import-x/no-absolute-path'?: Linter.RuleEntry<NoAutofixImportXNoAbsolutePath>
4647
4677
  /**
4648
4678
  * Forbid AMD `require` and `define` calls.
4649
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-amd.md
4679
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
4650
4680
  */
4651
4681
  'no-autofix/import-x/no-amd'?: Linter.RuleEntry<[]>
4652
4682
  /**
4653
4683
  * Forbid anonymous values as default exports.
4654
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-anonymous-default-export.md
4684
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
4655
4685
  */
4656
4686
  'no-autofix/import-x/no-anonymous-default-export'?: Linter.RuleEntry<NoAutofixImportXNoAnonymousDefaultExport>
4657
4687
  /**
4658
4688
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
4659
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-commonjs.md
4689
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
4660
4690
  */
4661
4691
  'no-autofix/import-x/no-commonjs'?: Linter.RuleEntry<NoAutofixImportXNoCommonjs>
4662
4692
  /**
4663
4693
  * Forbid a module from importing a module with a dependency path back to itself.
4664
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-cycle.md
4694
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
4665
4695
  */
4666
4696
  'no-autofix/import-x/no-cycle'?: Linter.RuleEntry<NoAutofixImportXNoCycle>
4667
4697
  /**
4668
4698
  * Forbid default exports.
4669
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-default-export.md
4699
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
4670
4700
  */
4671
4701
  'no-autofix/import-x/no-default-export'?: Linter.RuleEntry<[]>
4672
4702
  /**
4673
4703
  * Forbid imported names marked with `@deprecated` documentation tag.
4674
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-deprecated.md
4704
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
4675
4705
  */
4676
4706
  'no-autofix/import-x/no-deprecated'?: Linter.RuleEntry<[]>
4677
4707
  /**
4678
4708
  * Forbid repeated import of the same module in multiple places.
4679
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-duplicates.md
4709
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
4680
4710
  */
4681
4711
  'no-autofix/import-x/no-duplicates'?: Linter.RuleEntry<NoAutofixImportXNoDuplicates>
4682
4712
  /**
4683
4713
  * Forbid `require()` calls with expressions.
4684
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-dynamic-require.md
4714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
4685
4715
  */
4686
4716
  'no-autofix/import-x/no-dynamic-require'?: Linter.RuleEntry<NoAutofixImportXNoDynamicRequire>
4687
4717
  /**
4688
4718
  * Forbid empty named import blocks.
4689
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-empty-named-blocks.md
4719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
4690
4720
  */
4691
4721
  'no-autofix/import-x/no-empty-named-blocks'?: Linter.RuleEntry<[]>
4692
4722
  /**
4693
4723
  * Forbid the use of extraneous packages.
4694
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-extraneous-dependencies.md
4724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
4695
4725
  */
4696
4726
  'no-autofix/import-x/no-extraneous-dependencies'?: Linter.RuleEntry<NoAutofixImportXNoExtraneousDependencies>
4697
4727
  /**
4698
4728
  * Forbid import statements with CommonJS module.exports.
4699
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-import-module-exports.md
4729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
4700
4730
  */
4701
4731
  'no-autofix/import-x/no-import-module-exports'?: Linter.RuleEntry<NoAutofixImportXNoImportModuleExports>
4702
4732
  /**
4703
4733
  * Forbid importing the submodules of other modules.
4704
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-internal-modules.md
4734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
4705
4735
  */
4706
4736
  'no-autofix/import-x/no-internal-modules'?: Linter.RuleEntry<NoAutofixImportXNoInternalModules>
4707
4737
  /**
4708
4738
  * Forbid the use of mutable exports with `var` or `let`.
4709
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-mutable-exports.md
4739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
4710
4740
  */
4711
4741
  'no-autofix/import-x/no-mutable-exports'?: Linter.RuleEntry<[]>
4712
4742
  /**
4713
4743
  * Forbid use of exported name as identifier of default export.
4714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default.md
4744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
4715
4745
  */
4716
4746
  'no-autofix/import-x/no-named-as-default'?: Linter.RuleEntry<[]>
4717
4747
  /**
4718
4748
  * Forbid use of exported name as property of default export.
4719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-as-default-member.md
4749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
4720
4750
  */
4721
4751
  'no-autofix/import-x/no-named-as-default-member'?: Linter.RuleEntry<[]>
4722
4752
  /**
4723
4753
  * Forbid named default exports.
4724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-default.md
4754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
4725
4755
  */
4726
4756
  'no-autofix/import-x/no-named-default'?: Linter.RuleEntry<[]>
4727
4757
  /**
4728
4758
  * Forbid named exports.
4729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-named-export.md
4759
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
4730
4760
  */
4731
4761
  'no-autofix/import-x/no-named-export'?: Linter.RuleEntry<[]>
4732
4762
  /**
4733
4763
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
4734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-namespace.md
4764
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
4735
4765
  */
4736
4766
  'no-autofix/import-x/no-namespace'?: Linter.RuleEntry<NoAutofixImportXNoNamespace>
4737
4767
  /**
4738
4768
  * Forbid Node.js builtin modules.
4739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-nodejs-modules.md
4769
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
4740
4770
  */
4741
4771
  'no-autofix/import-x/no-nodejs-modules'?: Linter.RuleEntry<NoAutofixImportXNoNodejsModules>
4742
4772
  /**
4743
4773
  * Forbid importing packages through relative paths.
4744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-packages.md
4774
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
4745
4775
  */
4746
4776
  'no-autofix/import-x/no-relative-packages'?: Linter.RuleEntry<NoAutofixImportXNoRelativePackages>
4747
4777
  /**
4748
4778
  * Forbid importing modules from parent directories.
4749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-relative-parent-imports.md
4779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
4750
4780
  */
4751
4781
  'no-autofix/import-x/no-relative-parent-imports'?: Linter.RuleEntry<NoAutofixImportXNoRelativeParentImports>
4752
4782
  /**
4753
4783
  * Enforce which files can be imported in a given folder.
4754
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-restricted-paths.md
4784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
4755
4785
  */
4756
4786
  'no-autofix/import-x/no-restricted-paths'?: Linter.RuleEntry<NoAutofixImportXNoRestrictedPaths>
4757
4787
  /**
4758
4788
  * Forbid a module from importing itself.
4759
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-self-import.md
4789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
4760
4790
  */
4761
4791
  'no-autofix/import-x/no-self-import'?: Linter.RuleEntry<[]>
4762
4792
  /**
4763
4793
  * Forbid unassigned imports.
4764
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unassigned-import.md
4794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
4765
4795
  */
4766
4796
  'no-autofix/import-x/no-unassigned-import'?: Linter.RuleEntry<NoAutofixImportXNoUnassignedImport>
4767
4797
  /**
4768
4798
  * Ensure imports point to a file/module that can be resolved.
4769
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unresolved.md
4799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
4770
4800
  */
4771
4801
  'no-autofix/import-x/no-unresolved'?: Linter.RuleEntry<NoAutofixImportXNoUnresolved>
4772
4802
  /**
4773
4803
  * Forbid modules without exports, or exports without matching import in another module.
4774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-unused-modules.md
4804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
4775
4805
  */
4776
4806
  'no-autofix/import-x/no-unused-modules'?: Linter.RuleEntry<NoAutofixImportXNoUnusedModules>
4777
4807
  /**
4778
4808
  * Forbid unnecessary path segments in import and require statements.
4779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-useless-path-segments.md
4809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
4780
4810
  */
4781
4811
  'no-autofix/import-x/no-useless-path-segments'?: Linter.RuleEntry<NoAutofixImportXNoUselessPathSegments>
4782
4812
  /**
4783
4813
  * Forbid webpack loader syntax in imports.
4784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/no-webpack-loader-syntax.md
4814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
4785
4815
  */
4786
4816
  'no-autofix/import-x/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
4787
4817
  /**
4788
4818
  * Enforce a convention in module import order.
4789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/order.md
4819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
4790
4820
  */
4791
4821
  'no-autofix/import-x/order'?: Linter.RuleEntry<NoAutofixImportXOrder>
4792
4822
  /**
4793
4823
  * Prefer a default export if module exports a single name or multiple names.
4794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/prefer-default-export.md
4824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
4795
4825
  */
4796
4826
  'no-autofix/import-x/prefer-default-export'?: Linter.RuleEntry<NoAutofixImportXPreferDefaultExport>
4797
4827
  /**
4798
4828
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
4799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.0.1/docs/rules/unambiguous.md
4829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
4800
4830
  */
4801
4831
  'no-autofix/import-x/unambiguous'?: Linter.RuleEntry<[]>
4802
4832
  /**
@@ -5364,6 +5394,11 @@ interface RuleOptions {
5364
5394
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
5365
5395
  */
5366
5396
  'no-autofix/jsdoc/check-tag-names'?: Linter.RuleEntry<NoAutofixJsdocCheckTagNames>
5397
+ /**
5398
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
5399
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
5400
+ */
5401
+ 'no-autofix/jsdoc/check-template-names'?: Linter.RuleEntry<[]>
5367
5402
  /**
5368
5403
  * Reports invalid types.
5369
5404
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -7249,88 +7284,98 @@ interface RuleOptions {
7249
7284
  */
7250
7285
  'no-autofix/padding-line-between-statements'?: Linter.RuleEntry<NoAutofixPaddingLineBetweenStatements>
7251
7286
  /**
7252
- * enforce sorted arrays before include method
7253
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
7287
+ * Enforce sorted arrays before include method.
7288
+ * @see https://perfectionist.dev/rules/sort-array-includes
7254
7289
  */
7255
7290
  'no-autofix/perfectionist/sort-array-includes'?: Linter.RuleEntry<NoAutofixPerfectionistSortArrayIncludes>
7256
7291
  /**
7257
- * enforce sorted Astro attributes
7258
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
7292
+ * Enforce sorted Astro attributes.
7293
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
7259
7294
  */
7260
7295
  'no-autofix/perfectionist/sort-astro-attributes'?: Linter.RuleEntry<NoAutofixPerfectionistSortAstroAttributes>
7261
7296
  /**
7262
- * enforce sorted classes
7263
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
7297
+ * Enforce sorted classes.
7298
+ * @see https://perfectionist.dev/rules/sort-classes
7264
7299
  */
7265
7300
  'no-autofix/perfectionist/sort-classes'?: Linter.RuleEntry<NoAutofixPerfectionistSortClasses>
7266
7301
  /**
7267
- * enforce sorted TypeScript enums
7268
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
7302
+ * Enforce sorted TypeScript enums.
7303
+ * @see https://perfectionist.dev/rules/sort-enums
7269
7304
  */
7270
7305
  'no-autofix/perfectionist/sort-enums'?: Linter.RuleEntry<NoAutofixPerfectionistSortEnums>
7271
7306
  /**
7272
- * enforce sorted exports
7273
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
7307
+ * Enforce sorted exports.
7308
+ * @see https://perfectionist.dev/rules/sort-exports
7274
7309
  */
7275
7310
  'no-autofix/perfectionist/sort-exports'?: Linter.RuleEntry<NoAutofixPerfectionistSortExports>
7276
7311
  /**
7277
- * enforce sorted imports
7278
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
7312
+ * Enforce sorted imports.
7313
+ * @see https://perfectionist.dev/rules/sort-imports
7279
7314
  */
7280
7315
  'no-autofix/perfectionist/sort-imports'?: Linter.RuleEntry<NoAutofixPerfectionistSortImports>
7281
7316
  /**
7282
- * enforce sorted interface properties
7283
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
7317
+ * Enforce sorted interface properties.
7318
+ * @see https://perfectionist.dev/rules/sort-interfaces
7284
7319
  */
7285
7320
  'no-autofix/perfectionist/sort-interfaces'?: Linter.RuleEntry<NoAutofixPerfectionistSortInterfaces>
7286
7321
  /**
7287
- * enforce sorted intersection types
7288
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
7322
+ * Enforce sorted intersection types.
7323
+ * @see https://perfectionist.dev/rules/sort-intersection-types
7289
7324
  */
7290
7325
  'no-autofix/perfectionist/sort-intersection-types'?: Linter.RuleEntry<NoAutofixPerfectionistSortIntersectionTypes>
7291
7326
  /**
7292
- * enforce sorted JSX props
7293
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
7327
+ * Enforce sorted JSX props.
7328
+ * @see https://perfectionist.dev/rules/sort-jsx-props
7294
7329
  */
7295
7330
  'no-autofix/perfectionist/sort-jsx-props'?: Linter.RuleEntry<NoAutofixPerfectionistSortJsxProps>
7296
7331
  /**
7297
- * enforce sorted Map elements
7298
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
7332
+ * Enforce sorted Map elements.
7333
+ * @see https://perfectionist.dev/rules/sort-maps
7299
7334
  */
7300
7335
  'no-autofix/perfectionist/sort-maps'?: Linter.RuleEntry<NoAutofixPerfectionistSortMaps>
7301
7336
  /**
7302
- * enforce sorted named exports
7303
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
7337
+ * Enforce sorted named exports.
7338
+ * @see https://perfectionist.dev/rules/sort-named-exports
7304
7339
  */
7305
7340
  'no-autofix/perfectionist/sort-named-exports'?: Linter.RuleEntry<NoAutofixPerfectionistSortNamedExports>
7306
7341
  /**
7307
- * enforce sorted named imports
7308
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
7342
+ * Enforce sorted named imports.
7343
+ * @see https://perfectionist.dev/rules/sort-named-imports
7309
7344
  */
7310
7345
  'no-autofix/perfectionist/sort-named-imports'?: Linter.RuleEntry<NoAutofixPerfectionistSortNamedImports>
7311
7346
  /**
7312
- * enforce sorted object types
7313
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
7347
+ * Enforce sorted object types.
7348
+ * @see https://perfectionist.dev/rules/sort-object-types
7314
7349
  */
7315
7350
  'no-autofix/perfectionist/sort-object-types'?: Linter.RuleEntry<NoAutofixPerfectionistSortObjectTypes>
7316
7351
  /**
7317
- * enforce sorted objects
7318
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
7352
+ * Enforce sorted objects.
7353
+ * @see https://perfectionist.dev/rules/sort-objects
7319
7354
  */
7320
7355
  'no-autofix/perfectionist/sort-objects'?: Linter.RuleEntry<NoAutofixPerfectionistSortObjects>
7321
7356
  /**
7322
- * enforce sorted Svelte attributes
7323
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
7357
+ * Enforce sorted Svelte attributes.
7358
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
7324
7359
  */
7325
7360
  'no-autofix/perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<NoAutofixPerfectionistSortSvelteAttributes>
7326
7361
  /**
7327
- * enforce sorted union types
7328
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
7362
+ * Enforce sorted switch cases.
7363
+ * @see https://perfectionist.dev/rules/sort-switch-case
7364
+ */
7365
+ 'no-autofix/perfectionist/sort-switch-case'?: Linter.RuleEntry<NoAutofixPerfectionistSortSwitchCase>
7366
+ /**
7367
+ * Enforce sorted union types.
7368
+ * @see https://perfectionist.dev/rules/sort-union-types
7329
7369
  */
7330
7370
  'no-autofix/perfectionist/sort-union-types'?: Linter.RuleEntry<NoAutofixPerfectionistSortUnionTypes>
7331
7371
  /**
7332
- * enforce sorted Vue attributes
7333
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
7372
+ * Enforce sorted variable declarations.
7373
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
7374
+ */
7375
+ 'no-autofix/perfectionist/sort-variable-declarations'?: Linter.RuleEntry<NoAutofixPerfectionistSortVariableDeclarations>
7376
+ /**
7377
+ * Enforce sorted Vue attributes.
7378
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
7334
7379
  */
7335
7380
  'no-autofix/perfectionist/sort-vue-attributes'?: Linter.RuleEntry<NoAutofixPerfectionistSortVueAttributes>
7336
7381
  /**
@@ -7414,7 +7459,7 @@ interface RuleOptions {
7414
7459
  */
7415
7460
  'no-autofix/promise/always-return'?: Linter.RuleEntry<NoAutofixPromiseAlwaysReturn>
7416
7461
  /**
7417
- * Disallow creating `new` promises outside of utility libs (use [pify][] instead).
7462
+ * Disallow creating `new` promises outside of utility libs (use [util.promisify][] instead).
7418
7463
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/avoid-new.md
7419
7464
  */
7420
7465
  'no-autofix/promise/avoid-new'?: Linter.RuleEntry<[]>
@@ -7424,7 +7469,7 @@ interface RuleOptions {
7424
7469
  */
7425
7470
  'no-autofix/promise/catch-or-return'?: Linter.RuleEntry<NoAutofixPromiseCatchOrReturn>
7426
7471
  /**
7427
- * Disallow calling `cb()` inside of a `then()` (use [nodeify][] instead).
7472
+ * Disallow calling `cb()` inside of a `then()` (use [util.callbackify][] instead).
7428
7473
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-callback-in-promise.md
7429
7474
  */
7430
7475
  'no-autofix/promise/no-callback-in-promise'?: Linter.RuleEntry<NoAutofixPromiseNoCallbackInPromise>
@@ -7469,7 +7514,7 @@ interface RuleOptions {
7469
7514
  */
7470
7515
  'no-autofix/promise/param-names'?: Linter.RuleEntry<NoAutofixPromiseParamNames>
7471
7516
  /**
7472
- * Prefer async/await to the callback pattern.
7517
+ * Prefer `async`/`await` to the callback pattern.
7473
7518
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-callbacks.md
7474
7519
  */
7475
7520
  'no-autofix/promise/prefer-await-to-callbacks'?: Linter.RuleEntry<[]>
@@ -7477,7 +7522,7 @@ interface RuleOptions {
7477
7522
  * Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values.
7478
7523
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md
7479
7524
  */
7480
- 'no-autofix/promise/prefer-await-to-then'?: Linter.RuleEntry<[]>
7525
+ 'no-autofix/promise/prefer-await-to-then'?: Linter.RuleEntry<NoAutofixPromisePreferAwaitToThen>
7481
7526
  /**
7482
7527
  * Enforces the proper number of arguments are passed to Promise functions.
7483
7528
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/valid-params.md
@@ -7631,17 +7676,17 @@ interface RuleOptions {
7631
7676
  */
7632
7677
  'no-autofix/react-naming-convention/use-state'?: Linter.RuleEntry<[]>
7633
7678
  /**
7634
- * enforce boolean attributes notation in JSX
7679
+ * avoid using shorthand boolean attribute
7635
7680
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
7636
7681
  */
7637
7682
  'no-autofix/react-x/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
7638
7683
  /**
7639
- * enforce using fragment component instead of shorthand fragment syntax
7684
+ * avoid using shorthand fragment syntax
7640
7685
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
7641
7686
  */
7642
7687
  'no-autofix/react-x/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
7643
7688
  /**
7644
- * require all 'forwardRef' components include a 'ref' parameter
7689
+ * require a 'ref' parameter to be set when using 'forwardRef'
7645
7690
  * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
7646
7691
  */
7647
7692
  'no-autofix/react-x/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
@@ -7651,47 +7696,47 @@ interface RuleOptions {
7651
7696
  */
7652
7697
  'no-autofix/react-x/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
7653
7698
  /**
7654
- * disallow using Array index as key
7699
+ * disallow using Array index as 'key'
7655
7700
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
7656
7701
  */
7657
7702
  'no-autofix/react-x/no-array-index-key'?: Linter.RuleEntry<[]>
7658
7703
  /**
7659
- * disallow 'Children.count'
7704
+ * disallow using 'Children.count'
7660
7705
  * @see https://eslint-react.xyz/docs/rules/no-children-count
7661
7706
  */
7662
7707
  'no-autofix/react-x/no-children-count'?: Linter.RuleEntry<[]>
7663
7708
  /**
7664
- * disallow 'Children.forEach'
7709
+ * disallow using 'Children.forEach'
7665
7710
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
7666
7711
  */
7667
7712
  'no-autofix/react-x/no-children-for-each'?: Linter.RuleEntry<[]>
7668
7713
  /**
7669
- * disallow 'Children.map'
7714
+ * disallow using 'Children.map'
7670
7715
  * @see https://eslint-react.xyz/docs/rules/no-children-map
7671
7716
  */
7672
7717
  'no-autofix/react-x/no-children-map'?: Linter.RuleEntry<[]>
7673
7718
  /**
7674
- * disallow 'Children.only'
7719
+ * disallow using 'Children.only'
7675
7720
  * @see https://eslint-react.xyz/docs/rules/no-children-only
7676
7721
  */
7677
7722
  'no-autofix/react-x/no-children-only'?: Linter.RuleEntry<[]>
7678
7723
  /**
7679
- * disallow passing of 'children' as props
7724
+ * disallow passing 'children' as props
7680
7725
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
7681
7726
  */
7682
7727
  'no-autofix/react-x/no-children-prop'?: Linter.RuleEntry<[]>
7683
7728
  /**
7684
- * disallow 'Children.toArray'
7729
+ * disallow using 'Children.toArray'
7685
7730
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
7686
7731
  */
7687
7732
  'no-autofix/react-x/no-children-to-array'?: Linter.RuleEntry<[]>
7688
7733
  /**
7689
- * disallow class component
7734
+ * disallow using class components
7690
7735
  * @see https://eslint-react.xyz/docs/rules/no-class-component
7691
7736
  */
7692
7737
  'no-autofix/react-x/no-class-component'?: Linter.RuleEntry<[]>
7693
7738
  /**
7694
- * disallow 'cloneElement'
7739
+ * disallow using 'cloneElement'
7695
7740
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
7696
7741
  */
7697
7742
  'no-autofix/react-x/no-clone-element'?: Linter.RuleEntry<[]>
@@ -7701,31 +7746,42 @@ interface RuleOptions {
7701
7746
  */
7702
7747
  'no-autofix/react-x/no-comment-textnodes'?: Linter.RuleEntry<[]>
7703
7748
  /**
7704
- * disallow complicated conditional rendering
7705
- * @see https://eslint-react.xyz/docs/rules/no-complicated-conditional-rendering
7749
+ * disallow complex conditional rendering
7750
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
7751
+ * @deprecated
7752
+ */
7753
+ 'no-autofix/react-x/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
7754
+ /**
7755
+ * disallow complex conditional rendering
7756
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
7706
7757
  * @deprecated
7707
7758
  */
7708
7759
  'no-autofix/react-x/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
7709
7760
  /**
7710
- * disallow usage of 'componentWillMount'
7761
+ * disallow using 'componentWillMount'
7711
7762
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
7712
7763
  */
7713
7764
  'no-autofix/react-x/no-component-will-mount'?: Linter.RuleEntry<[]>
7714
7765
  /**
7715
- * disallow usage of 'componentWillReceiveProps'
7766
+ * disallow using 'componentWillReceiveProps'
7716
7767
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
7717
7768
  */
7718
7769
  'no-autofix/react-x/no-component-will-receive-props'?: Linter.RuleEntry<[]>
7719
7770
  /**
7720
- * disallow usage of 'componentWillUpdate'
7771
+ * disallow using 'componentWillReceiveProps'
7721
7772
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
7722
7773
  */
7723
7774
  'no-autofix/react-x/no-component-will-update'?: Linter.RuleEntry<[]>
7724
7775
  /**
7725
- * disallow 'createRef' in function components
7776
+ * disallow using 'createRef' in function components
7726
7777
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
7727
7778
  */
7728
7779
  'no-autofix/react-x/no-create-ref'?: Linter.RuleEntry<[]>
7780
+ /**
7781
+ * disallow using 'defaultProps' property in components
7782
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
7783
+ */
7784
+ 'no-autofix/react-x/no-default-props'?: Linter.RuleEntry<[]>
7729
7785
  /**
7730
7786
  * disallow direct mutation of state
7731
7787
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
@@ -7737,9 +7793,8 @@ interface RuleOptions {
7737
7793
  */
7738
7794
  'no-autofix/react-x/no-duplicate-key'?: Linter.RuleEntry<[]>
7739
7795
  /**
7740
- * disallow spreading 'key' from objects.
7796
+ * disallow implicit 'key' props
7741
7797
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
7742
- * @deprecated
7743
7798
  */
7744
7799
  'no-autofix/react-x/no-implicit-key'?: Linter.RuleEntry<[]>
7745
7800
  /**
@@ -7748,7 +7803,7 @@ interface RuleOptions {
7748
7803
  */
7749
7804
  'no-autofix/react-x/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
7750
7805
  /**
7751
- * require 'displayName' for memo and forwardRef components
7806
+ * require 'displayName' for 'memo' and 'forwardRef' components
7752
7807
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
7753
7808
  */
7754
7809
  'no-autofix/react-x/no-missing-component-display-name'?: Linter.RuleEntry<[]>
@@ -7758,27 +7813,32 @@ interface RuleOptions {
7758
7813
  */
7759
7814
  'no-autofix/react-x/no-missing-key'?: Linter.RuleEntry<[]>
7760
7815
  /**
7761
- * disallow usage of unstable nested components
7816
+ * disallow using unstable nested components
7762
7817
  * @see https://eslint-react.xyz/docs/rules/no-nested-components
7763
7818
  */
7764
7819
  'no-autofix/react-x/no-nested-components'?: Linter.RuleEntry<[]>
7765
7820
  /**
7766
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
7821
+ * disallow using 'propTypes' property in components
7822
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
7823
+ */
7824
+ 'no-autofix/react-x/no-prop-types'?: Linter.RuleEntry<[]>
7825
+ /**
7826
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
7767
7827
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
7768
7828
  */
7769
7829
  'no-autofix/react-x/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
7770
7830
  /**
7771
- * disallow 'setState' in 'componentDidMount'
7831
+ * disallow using 'setState' in 'componentDidMount'
7772
7832
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
7773
7833
  */
7774
7834
  'no-autofix/react-x/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
7775
7835
  /**
7776
- * disallow 'setState' in 'componentDidUpdate'
7836
+ * disallow using 'setState' in 'componentDidUpdate'
7777
7837
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
7778
7838
  */
7779
7839
  'no-autofix/react-x/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
7780
7840
  /**
7781
- * disallow 'setState' in 'componentWillUpdate'
7841
+ * disallow using 'setState' in 'componentWillUpdate'
7782
7842
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
7783
7843
  */
7784
7844
  'no-autofix/react-x/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
@@ -7788,17 +7848,17 @@ interface RuleOptions {
7788
7848
  */
7789
7849
  'no-autofix/react-x/no-string-refs'?: Linter.RuleEntry<[]>
7790
7850
  /**
7791
- * disallow usage of 'UNSAFE_componentWillMount'
7851
+ * disallow using 'UNSAFE_componentWillMount'
7792
7852
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
7793
7853
  */
7794
7854
  'no-autofix/react-x/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
7795
7855
  /**
7796
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
7856
+ * disallow using 'UNSAFE_componentWillReceiveProps'
7797
7857
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
7798
7858
  */
7799
7859
  'no-autofix/react-x/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
7800
7860
  /**
7801
- * disallow usage of 'UNSAFE_componentWillUpdate'
7861
+ * disallow using 'UNSAFE_componentWillUpdate'
7802
7862
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
7803
7863
  */
7804
7864
  'no-autofix/react-x/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
@@ -7808,7 +7868,7 @@ interface RuleOptions {
7808
7868
  */
7809
7869
  'no-autofix/react-x/no-unstable-context-value'?: Linter.RuleEntry<[]>
7810
7870
  /**
7811
- * disallow usage of unstable value as default param in function component
7871
+ * disallow using unstable value as default param in function component
7812
7872
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
7813
7873
  */
7814
7874
  'no-autofix/react-x/no-unstable-default-props'?: Linter.RuleEntry<[]>
@@ -7818,7 +7878,7 @@ interface RuleOptions {
7818
7878
  */
7819
7879
  'no-autofix/react-x/no-unused-class-component-members'?: Linter.RuleEntry<[]>
7820
7880
  /**
7821
- * Prevents unused state of class component
7881
+ * disallow unused state of class component
7822
7882
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
7823
7883
  */
7824
7884
  'no-autofix/react-x/no-unused-state'?: Linter.RuleEntry<[]>
@@ -7833,17 +7893,17 @@ interface RuleOptions {
7833
7893
  */
7834
7894
  'no-autofix/react-x/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
7835
7895
  /**
7836
- * enforce that component props are read-only
7896
+ * enforce read-only props in components
7837
7897
  * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
7838
7898
  */
7839
7899
  'no-autofix/react-x/prefer-read-only-props'?: Linter.RuleEntry<[]>
7840
7900
  /**
7841
- * enforce boolean attributes notation in JSX
7901
+ * enforce using shorthand boolean attributes
7842
7902
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
7843
7903
  */
7844
7904
  'no-autofix/react-x/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
7845
7905
  /**
7846
- * enforce using fragment syntax instead of Fragment component
7906
+ * enforce using fragment syntax instead of 'Fragment' component
7847
7907
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
7848
7908
  */
7849
7909
  'no-autofix/react-x/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -8770,682 +8830,687 @@ interface RuleOptions {
8770
8830
  'no-autofix/unicode-bom'?: Linter.RuleEntry<NoAutofixUnicodeBom>
8771
8831
  /**
8772
8832
  * Improve regexes by making them shorter, consistent, and safer.
8773
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/better-regex.md
8833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
8774
8834
  */
8775
8835
  'no-autofix/unicorn/better-regex'?: Linter.RuleEntry<NoAutofixUnicornBetterRegex>
8776
8836
  /**
8777
8837
  * Enforce a specific parameter name in catch clauses.
8778
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/catch-error-name.md
8838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
8779
8839
  */
8780
8840
  'no-autofix/unicorn/catch-error-name'?: Linter.RuleEntry<NoAutofixUnicornCatchErrorName>
8781
8841
  /**
8782
8842
  * Use destructured variables over properties.
8783
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-destructuring.md
8843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
8784
8844
  */
8785
8845
  'no-autofix/unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
8786
8846
  /**
8787
8847
  * Prefer consistent types when spreading a ternary in an array literal.
8788
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
8848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
8789
8849
  */
8790
8850
  'no-autofix/unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
8791
8851
  /**
8792
8852
  * Move function definitions to the highest possible scope.
8793
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-function-scoping.md
8853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
8794
8854
  */
8795
8855
  'no-autofix/unicorn/consistent-function-scoping'?: Linter.RuleEntry<NoAutofixUnicornConsistentFunctionScoping>
8796
8856
  /**
8797
8857
  * Enforce correct `Error` subclassing.
8798
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/custom-error-definition.md
8858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
8799
8859
  */
8800
8860
  'no-autofix/unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
8801
8861
  /**
8802
8862
  * Enforce no spaces between braces.
8803
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/empty-brace-spaces.md
8863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
8804
8864
  */
8805
8865
  'no-autofix/unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
8806
8866
  /**
8807
8867
  * Enforce passing a `message` value when creating a built-in error.
8808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/error-message.md
8868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
8809
8869
  */
8810
8870
  'no-autofix/unicorn/error-message'?: Linter.RuleEntry<[]>
8811
8871
  /**
8812
8872
  * Require escape sequences to use uppercase values.
8813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/escape-case.md
8873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
8814
8874
  */
8815
8875
  'no-autofix/unicorn/escape-case'?: Linter.RuleEntry<[]>
8816
8876
  /**
8817
8877
  * Add expiration conditions to TODO comments.
8818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/expiring-todo-comments.md
8878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
8819
8879
  */
8820
8880
  'no-autofix/unicorn/expiring-todo-comments'?: Linter.RuleEntry<NoAutofixUnicornExpiringTodoComments>
8821
8881
  /**
8822
8882
  * Enforce explicitly comparing the `length` or `size` property of a value.
8823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/explicit-length-check.md
8883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
8824
8884
  */
8825
8885
  'no-autofix/unicorn/explicit-length-check'?: Linter.RuleEntry<NoAutofixUnicornExplicitLengthCheck>
8826
8886
  /**
8827
8887
  * Enforce a case style for filenames.
8828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/filename-case.md
8888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
8829
8889
  */
8830
8890
  'no-autofix/unicorn/filename-case'?: Linter.RuleEntry<NoAutofixUnicornFilenameCase>
8831
8891
  /**
8832
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#import-index
8892
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
8833
8893
  * @deprecated
8834
8894
  */
8835
8895
  'no-autofix/unicorn/import-index'?: Linter.RuleEntry<[]>
8836
8896
  /**
8837
8897
  * Enforce specific import styles per module.
8838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/import-style.md
8898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
8839
8899
  */
8840
8900
  'no-autofix/unicorn/import-style'?: Linter.RuleEntry<NoAutofixUnicornImportStyle>
8841
8901
  /**
8842
8902
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
8843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/new-for-builtins.md
8903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
8844
8904
  */
8845
8905
  'no-autofix/unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
8846
8906
  /**
8847
8907
  * Enforce specifying rules to disable in `eslint-disable` comments.
8848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-abusive-eslint-disable.md
8908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
8849
8909
  */
8850
8910
  'no-autofix/unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
8851
8911
  /**
8852
8912
  * Disallow anonymous functions and classes as the default export.
8853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-anonymous-default-export.md
8913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
8854
8914
  */
8855
8915
  'no-autofix/unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
8856
8916
  /**
8857
8917
  * Prevent passing a function reference directly to iterator methods.
8858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-callback-reference.md
8918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
8859
8919
  */
8860
8920
  'no-autofix/unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
8861
8921
  /**
8862
8922
  * Prefer `for…of` over the `forEach` method.
8863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-for-each.md
8923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
8864
8924
  */
8865
8925
  'no-autofix/unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
8866
8926
  /**
8867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-array-instanceof
8927
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
8868
8928
  * @deprecated
8869
8929
  */
8870
8930
  'no-autofix/unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
8871
8931
  /**
8872
8932
  * Disallow using the `this` argument in array methods.
8873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-method-this-argument.md
8933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
8874
8934
  */
8875
8935
  'no-autofix/unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
8876
8936
  /**
8877
8937
  * Enforce combining multiple `Array#push()` into one call.
8878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-push-push.md
8938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
8879
8939
  */
8880
8940
  'no-autofix/unicorn/no-array-push-push'?: Linter.RuleEntry<NoAutofixUnicornNoArrayPushPush>
8881
8941
  /**
8882
8942
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
8883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-reduce.md
8943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
8884
8944
  */
8885
8945
  'no-autofix/unicorn/no-array-reduce'?: Linter.RuleEntry<NoAutofixUnicornNoArrayReduce>
8886
8946
  /**
8887
8947
  * Disallow member access from await expression.
8888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-expression-member.md
8948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
8889
8949
  */
8890
8950
  'no-autofix/unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
8891
8951
  /**
8892
8952
  * Disallow using `await` in `Promise` method parameters.
8893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-in-promise-methods.md
8953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
8894
8954
  */
8895
8955
  'no-autofix/unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
8896
8956
  /**
8897
8957
  * Do not use leading/trailing space between `console.log` parameters.
8898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-console-spaces.md
8958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
8899
8959
  */
8900
8960
  'no-autofix/unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
8901
8961
  /**
8902
8962
  * Do not use `document.cookie` directly.
8903
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-document-cookie.md
8963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
8904
8964
  */
8905
8965
  'no-autofix/unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
8906
8966
  /**
8907
8967
  * Disallow empty files.
8908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-empty-file.md
8968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
8909
8969
  */
8910
8970
  'no-autofix/unicorn/no-empty-file'?: Linter.RuleEntry<[]>
8911
8971
  /**
8912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
8972
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
8913
8973
  * @deprecated
8914
8974
  */
8915
8975
  'no-autofix/unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
8916
8976
  /**
8917
8977
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
8918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-for-loop.md
8978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
8919
8979
  */
8920
8980
  'no-autofix/unicorn/no-for-loop'?: Linter.RuleEntry<[]>
8921
8981
  /**
8922
8982
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
8923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-hex-escape.md
8983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
8924
8984
  */
8925
8985
  'no-autofix/unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
8926
8986
  /**
8927
8987
  * Require `Array.isArray()` instead of `instanceof Array`.
8928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-instanceof-array.md
8988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
8929
8989
  */
8930
8990
  'no-autofix/unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
8931
8991
  /**
8932
8992
  * Disallow invalid options in `fetch()` and `new Request()`.
8933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
8993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
8934
8994
  */
8935
8995
  'no-autofix/unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
8936
8996
  /**
8937
8997
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
8938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-remove-event-listener.md
8998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
8939
8999
  */
8940
9000
  'no-autofix/unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
8941
9001
  /**
8942
9002
  * Disallow identifiers starting with `new` or `class`.
8943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-keyword-prefix.md
9003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
8944
9004
  */
8945
9005
  'no-autofix/unicorn/no-keyword-prefix'?: Linter.RuleEntry<NoAutofixUnicornNoKeywordPrefix>
9006
+ /**
9007
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
9008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
9009
+ */
9010
+ 'no-autofix/unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
8946
9011
  /**
8947
9012
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
8948
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-lonely-if.md
9013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
8949
9014
  */
8950
9015
  'no-autofix/unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
8951
9016
  /**
8952
9017
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
8953
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
9018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
8954
9019
  */
8955
9020
  'no-autofix/unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
8956
9021
  /**
8957
9022
  * Disallow negated conditions.
8958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negated-condition.md
9023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
8959
9024
  */
8960
9025
  'no-autofix/unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
8961
9026
  /**
8962
9027
  * Disallow negated expression in equality check.
8963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
9028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
8964
9029
  */
8965
9030
  'no-autofix/unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
8966
9031
  /**
8967
9032
  * Disallow nested ternary expressions.
8968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-nested-ternary.md
9033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
8969
9034
  */
8970
9035
  'no-autofix/unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
8971
9036
  /**
8972
9037
  * Disallow `new Array()`.
8973
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-array.md
9038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
8974
9039
  */
8975
9040
  'no-autofix/unicorn/no-new-array'?: Linter.RuleEntry<[]>
8976
9041
  /**
8977
9042
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
8978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-buffer.md
9043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
8979
9044
  */
8980
9045
  'no-autofix/unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
8981
9046
  /**
8982
9047
  * Disallow the use of the `null` literal.
8983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-null.md
9048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
8984
9049
  */
8985
9050
  'no-autofix/unicorn/no-null'?: Linter.RuleEntry<NoAutofixUnicornNoNull>
8986
9051
  /**
8987
9052
  * Disallow the use of objects as default parameters.
8988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-object-as-default-parameter.md
9053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
8989
9054
  */
8990
9055
  'no-autofix/unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
8991
9056
  /**
8992
9057
  * Disallow `process.exit()`.
8993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-process-exit.md
9058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
8994
9059
  */
8995
9060
  'no-autofix/unicorn/no-process-exit'?: Linter.RuleEntry<[]>
8996
9061
  /**
8997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-reduce
9062
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
8998
9063
  * @deprecated
8999
9064
  */
9000
9065
  'no-autofix/unicorn/no-reduce'?: Linter.RuleEntry<[]>
9001
9066
  /**
9002
9067
  * Disallow passing single-element arrays to `Promise` methods.
9003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-single-promise-in-promise-methods.md
9068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
9004
9069
  */
9005
9070
  'no-autofix/unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
9006
9071
  /**
9007
9072
  * Disallow classes that only have static members.
9008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-static-only-class.md
9073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
9009
9074
  */
9010
9075
  'no-autofix/unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
9011
9076
  /**
9012
9077
  * Disallow `then` property.
9013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-thenable.md
9078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
9014
9079
  */
9015
9080
  'no-autofix/unicorn/no-thenable'?: Linter.RuleEntry<[]>
9016
9081
  /**
9017
9082
  * Disallow assigning `this` to a variable.
9018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-this-assignment.md
9083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
9019
9084
  */
9020
9085
  'no-autofix/unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
9021
9086
  /**
9022
9087
  * Disallow comparing `undefined` using `typeof`.
9023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-typeof-undefined.md
9088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
9024
9089
  */
9025
9090
  'no-autofix/unicorn/no-typeof-undefined'?: Linter.RuleEntry<NoAutofixUnicornNoTypeofUndefined>
9026
9091
  /**
9027
9092
  * Disallow awaiting non-promise values.
9028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-await.md
9093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
9029
9094
  */
9030
9095
  'no-autofix/unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
9031
9096
  /**
9032
9097
  * Enforce the use of built-in methods instead of unnecessary polyfills.
9033
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-polyfills.md
9098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
9034
9099
  */
9035
9100
  'no-autofix/unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<NoAutofixUnicornNoUnnecessaryPolyfills>
9036
9101
  /**
9037
9102
  * Disallow unreadable array destructuring.
9038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-array-destructuring.md
9103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
9039
9104
  */
9040
9105
  'no-autofix/unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
9041
9106
  /**
9042
9107
  * Disallow unreadable IIFEs.
9043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-iife.md
9108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
9044
9109
  */
9045
9110
  'no-autofix/unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
9046
9111
  /**
9047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-unsafe-regex
9112
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
9048
9113
  * @deprecated
9049
9114
  */
9050
9115
  'no-autofix/unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
9051
9116
  /**
9052
9117
  * Disallow unused object properties.
9053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unused-properties.md
9118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
9054
9119
  */
9055
9120
  'no-autofix/unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
9056
9121
  /**
9057
9122
  * Disallow useless fallback when spreading in object literals.
9058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-fallback-in-spread.md
9123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
9059
9124
  */
9060
9125
  'no-autofix/unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
9061
9126
  /**
9062
9127
  * Disallow useless array length check.
9063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-length-check.md
9128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
9064
9129
  */
9065
9130
  'no-autofix/unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
9066
9131
  /**
9067
9132
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
9068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-promise-resolve-reject.md
9133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
9069
9134
  */
9070
9135
  'no-autofix/unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
9071
9136
  /**
9072
9137
  * Disallow unnecessary spread.
9073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-spread.md
9138
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
9074
9139
  */
9075
9140
  'no-autofix/unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
9076
9141
  /**
9077
9142
  * Disallow useless case in switch statements.
9078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-switch-case.md
9143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
9079
9144
  */
9080
9145
  'no-autofix/unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
9081
9146
  /**
9082
9147
  * Disallow useless `undefined`.
9083
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-undefined.md
9148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
9084
9149
  */
9085
9150
  'no-autofix/unicorn/no-useless-undefined'?: Linter.RuleEntry<NoAutofixUnicornNoUselessUndefined>
9086
9151
  /**
9087
9152
  * Disallow number literals with zero fractions or dangling dots.
9088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-zero-fractions.md
9153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
9089
9154
  */
9090
9155
  'no-autofix/unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
9091
9156
  /**
9092
9157
  * Enforce proper case for numeric literals.
9093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/number-literal-case.md
9158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
9094
9159
  */
9095
9160
  'no-autofix/unicorn/number-literal-case'?: Linter.RuleEntry<[]>
9096
9161
  /**
9097
9162
  * Enforce the style of numeric separators by correctly grouping digits.
9098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/numeric-separators-style.md
9163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
9099
9164
  */
9100
9165
  'no-autofix/unicorn/numeric-separators-style'?: Linter.RuleEntry<NoAutofixUnicornNumericSeparatorsStyle>
9101
9166
  /**
9102
9167
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
9103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-add-event-listener.md
9168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
9104
9169
  */
9105
9170
  'no-autofix/unicorn/prefer-add-event-listener'?: Linter.RuleEntry<NoAutofixUnicornPreferAddEventListener>
9106
9171
  /**
9107
9172
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
9108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-find.md
9173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
9109
9174
  */
9110
9175
  'no-autofix/unicorn/prefer-array-find'?: Linter.RuleEntry<NoAutofixUnicornPreferArrayFind>
9111
9176
  /**
9112
9177
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
9113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat.md
9178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
9114
9179
  */
9115
9180
  'no-autofix/unicorn/prefer-array-flat'?: Linter.RuleEntry<NoAutofixUnicornPreferArrayFlat>
9116
9181
  /**
9117
9182
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
9118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat-map.md
9183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
9119
9184
  */
9120
9185
  'no-autofix/unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
9121
9186
  /**
9122
9187
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
9123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-index-of.md
9188
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
9124
9189
  */
9125
9190
  'no-autofix/unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
9126
9191
  /**
9127
9192
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
9128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
9193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
9129
9194
  */
9130
9195
  'no-autofix/unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
9131
9196
  /**
9132
9197
  * Prefer `.at()` method for index access and `String#charAt()`.
9133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-at.md
9198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
9134
9199
  */
9135
9200
  'no-autofix/unicorn/prefer-at'?: Linter.RuleEntry<NoAutofixUnicornPreferAt>
9136
9201
  /**
9137
9202
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
9138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-blob-reading-methods.md
9203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
9139
9204
  */
9140
9205
  'no-autofix/unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
9141
9206
  /**
9142
9207
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
9143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-code-point.md
9208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
9144
9209
  */
9145
9210
  'no-autofix/unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
9146
9211
  /**
9147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-dataset
9212
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
9148
9213
  * @deprecated
9149
9214
  */
9150
9215
  'no-autofix/unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
9151
9216
  /**
9152
9217
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
9153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-date-now.md
9218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
9154
9219
  */
9155
9220
  'no-autofix/unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
9156
9221
  /**
9157
9222
  * Prefer default parameters over reassignment.
9158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-default-parameters.md
9223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
9159
9224
  */
9160
9225
  'no-autofix/unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
9161
9226
  /**
9162
9227
  * Prefer `Node#append()` over `Node#appendChild()`.
9163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-append.md
9228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
9164
9229
  */
9165
9230
  'no-autofix/unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
9166
9231
  /**
9167
9232
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
9168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-dataset.md
9233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
9169
9234
  */
9170
9235
  'no-autofix/unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
9171
9236
  /**
9172
9237
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
9173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-remove.md
9238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
9174
9239
  */
9175
9240
  'no-autofix/unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
9176
9241
  /**
9177
9242
  * Prefer `.textContent` over `.innerText`.
9178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-text-content.md
9243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
9179
9244
  */
9180
9245
  'no-autofix/unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
9181
9246
  /**
9182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-event-key
9247
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
9183
9248
  * @deprecated
9184
9249
  */
9185
9250
  'no-autofix/unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
9186
9251
  /**
9187
9252
  * Prefer `EventTarget` over `EventEmitter`.
9188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-event-target.md
9253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
9189
9254
  */
9190
9255
  'no-autofix/unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
9191
9256
  /**
9192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
9257
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
9193
9258
  * @deprecated
9194
9259
  */
9195
9260
  'no-autofix/unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
9196
9261
  /**
9197
9262
  * Prefer `export…from` when re-exporting.
9198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-export-from.md
9263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
9199
9264
  */
9200
9265
  'no-autofix/unicorn/prefer-export-from'?: Linter.RuleEntry<NoAutofixUnicornPreferExportFrom>
9201
9266
  /**
9202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-flat-map
9267
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
9203
9268
  * @deprecated
9204
9269
  */
9205
9270
  'no-autofix/unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
9206
9271
  /**
9207
9272
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
9208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
9273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
9209
9274
  */
9210
9275
  'no-autofix/unicorn/prefer-includes'?: Linter.RuleEntry<[]>
9211
9276
  /**
9212
9277
  * Prefer reading a JSON file as a buffer.
9213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-json-parse-buffer.md
9278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
9214
9279
  */
9215
9280
  'no-autofix/unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
9216
9281
  /**
9217
9282
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
9218
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-keyboard-event-key.md
9283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
9219
9284
  */
9220
9285
  'no-autofix/unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
9221
9286
  /**
9222
9287
  * Prefer using a logical operator over a ternary.
9223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-logical-operator-over-ternary.md
9288
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
9224
9289
  */
9225
9290
  'no-autofix/unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
9226
9291
  /**
9227
9292
  * Enforce the use of `Math.trunc` instead of bitwise operators.
9228
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-math-trunc.md
9293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
9229
9294
  */
9230
9295
  'no-autofix/unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
9231
9296
  /**
9232
9297
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
9233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-dom-apis.md
9298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
9234
9299
  */
9235
9300
  'no-autofix/unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
9236
9301
  /**
9237
9302
  * Prefer modern `Math` APIs over legacy patterns.
9238
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-math-apis.md
9303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
9239
9304
  */
9240
9305
  'no-autofix/unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
9241
9306
  /**
9242
9307
  * Prefer JavaScript modules (ESM) over CommonJS.
9243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-module.md
9308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
9244
9309
  */
9245
9310
  'no-autofix/unicorn/prefer-module'?: Linter.RuleEntry<[]>
9246
9311
  /**
9247
9312
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
9248
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-native-coercion-functions.md
9313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
9249
9314
  */
9250
9315
  'no-autofix/unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
9251
9316
  /**
9252
9317
  * Prefer negative index over `.length - index` when possible.
9253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-negative-index.md
9318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
9254
9319
  */
9255
9320
  'no-autofix/unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
9256
9321
  /**
9257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-append
9322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
9258
9323
  * @deprecated
9259
9324
  */
9260
9325
  'no-autofix/unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
9261
9326
  /**
9262
9327
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
9263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-node-protocol.md
9328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
9264
9329
  */
9265
9330
  'no-autofix/unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
9266
9331
  /**
9267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-remove
9332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
9268
9333
  * @deprecated
9269
9334
  */
9270
9335
  'no-autofix/unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
9271
9336
  /**
9272
9337
  * Prefer `Number` static properties over global ones.
9273
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-number-properties.md
9338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
9274
9339
  */
9275
9340
  'no-autofix/unicorn/prefer-number-properties'?: Linter.RuleEntry<NoAutofixUnicornPreferNumberProperties>
9276
9341
  /**
9277
9342
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
9278
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-object-from-entries.md
9343
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
9279
9344
  */
9280
9345
  'no-autofix/unicorn/prefer-object-from-entries'?: Linter.RuleEntry<NoAutofixUnicornPreferObjectFromEntries>
9281
9346
  /**
9282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-object-has-own
9347
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
9283
9348
  * @deprecated
9284
9349
  */
9285
9350
  'no-autofix/unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
9286
9351
  /**
9287
9352
  * Prefer omitting the `catch` binding parameter.
9288
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-optional-catch-binding.md
9353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
9289
9354
  */
9290
9355
  'no-autofix/unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
9291
9356
  /**
9292
9357
  * Prefer borrowing methods from the prototype instead of the instance.
9293
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-prototype-methods.md
9358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
9294
9359
  */
9295
9360
  'no-autofix/unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
9296
9361
  /**
9297
9362
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
9298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-query-selector.md
9363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
9299
9364
  */
9300
9365
  'no-autofix/unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
9301
9366
  /**
9302
9367
  * Prefer `Reflect.apply()` over `Function#apply()`.
9303
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-reflect-apply.md
9368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
9304
9369
  */
9305
9370
  'no-autofix/unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
9306
9371
  /**
9307
9372
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
9308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-regexp-test.md
9373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
9309
9374
  */
9310
9375
  'no-autofix/unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
9311
9376
  /**
9312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-replace-all
9377
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
9313
9378
  * @deprecated
9314
9379
  */
9315
9380
  'no-autofix/unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
9316
9381
  /**
9317
9382
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
9318
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-has.md
9383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
9319
9384
  */
9320
9385
  'no-autofix/unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
9321
9386
  /**
9322
9387
  * Prefer using `Set#size` instead of `Array#length`.
9323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-size.md
9388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
9324
9389
  */
9325
9390
  'no-autofix/unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
9326
9391
  /**
9327
9392
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
9328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-spread.md
9393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
9329
9394
  */
9330
9395
  'no-autofix/unicorn/prefer-spread'?: Linter.RuleEntry<[]>
9331
9396
  /**
9332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
9397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
9333
9398
  * @deprecated
9334
9399
  */
9335
9400
  'no-autofix/unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
9336
9401
  /**
9337
9402
  * Prefer using the `String.raw` tag to avoid escaping `\`.
9338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
9403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
9339
9404
  */
9340
9405
  'no-autofix/unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
9341
9406
  /**
9342
9407
  * Prefer `String#replaceAll()` over regex searches with the global flag.
9343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-replace-all.md
9408
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
9344
9409
  */
9345
9410
  'no-autofix/unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
9346
9411
  /**
9347
9412
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
9348
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-slice.md
9413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
9349
9414
  */
9350
9415
  'no-autofix/unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
9351
9416
  /**
9352
9417
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
9353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-starts-ends-with.md
9418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
9354
9419
  */
9355
9420
  'no-autofix/unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
9356
9421
  /**
9357
9422
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
9358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-trim-start-end.md
9423
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
9359
9424
  */
9360
9425
  'no-autofix/unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
9361
9426
  /**
9362
9427
  * Prefer using `structuredClone` to create a deep clone.
9363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
9428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
9364
9429
  */
9365
9430
  'no-autofix/unicorn/prefer-structured-clone'?: Linter.RuleEntry<NoAutofixUnicornPreferStructuredClone>
9366
9431
  /**
9367
9432
  * Prefer `switch` over multiple `else-if`.
9368
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-switch.md
9433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
9369
9434
  */
9370
9435
  'no-autofix/unicorn/prefer-switch'?: Linter.RuleEntry<NoAutofixUnicornPreferSwitch>
9371
9436
  /**
9372
9437
  * Prefer ternary expressions over simple `if-else` statements.
9373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-ternary.md
9438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
9374
9439
  */
9375
9440
  'no-autofix/unicorn/prefer-ternary'?: Linter.RuleEntry<NoAutofixUnicornPreferTernary>
9376
9441
  /**
9377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-text-content
9442
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
9378
9443
  * @deprecated
9379
9444
  */
9380
9445
  'no-autofix/unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
9381
9446
  /**
9382
9447
  * Prefer top-level await over top-level promises and async function calls.
9383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-top-level-await.md
9448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
9384
9449
  */
9385
9450
  'no-autofix/unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
9386
9451
  /**
9387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-trim-start-end
9452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
9388
9453
  * @deprecated
9389
9454
  */
9390
9455
  'no-autofix/unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
9391
9456
  /**
9392
9457
  * Enforce throwing `TypeError` in type checking conditions.
9393
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-type-error.md
9458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
9394
9459
  */
9395
9460
  'no-autofix/unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
9396
9461
  /**
9397
9462
  * Prevent abbreviations.
9398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prevent-abbreviations.md
9463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
9399
9464
  */
9400
9465
  'no-autofix/unicorn/prevent-abbreviations'?: Linter.RuleEntry<NoAutofixUnicornPreventAbbreviations>
9401
9466
  /**
9402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#regex-shorthand
9467
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
9403
9468
  * @deprecated
9404
9469
  */
9405
9470
  'no-autofix/unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
9406
9471
  /**
9407
9472
  * Enforce consistent relative URL style.
9408
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/relative-url-style.md
9473
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
9409
9474
  */
9410
9475
  'no-autofix/unicorn/relative-url-style'?: Linter.RuleEntry<NoAutofixUnicornRelativeUrlStyle>
9411
9476
  /**
9412
9477
  * Enforce using the separator argument with `Array#join()`.
9413
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-array-join-separator.md
9478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
9414
9479
  */
9415
9480
  'no-autofix/unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
9416
9481
  /**
9417
9482
  * Enforce using the digits argument with `Number#toFixed()`.
9418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-number-to-fixed-digits-argument.md
9483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
9419
9484
  */
9420
9485
  'no-autofix/unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
9421
9486
  /**
9422
9487
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
9423
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-post-message-target-origin.md
9488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
9424
9489
  */
9425
9490
  'no-autofix/unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
9426
9491
  /**
9427
9492
  * Enforce better string content.
9428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/string-content.md
9493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
9429
9494
  */
9430
9495
  'no-autofix/unicorn/string-content'?: Linter.RuleEntry<NoAutofixUnicornStringContent>
9431
9496
  /**
9432
9497
  * Enforce consistent brace style for `case` clauses.
9433
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/switch-case-braces.md
9498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
9434
9499
  */
9435
9500
  'no-autofix/unicorn/switch-case-braces'?: Linter.RuleEntry<NoAutofixUnicornSwitchCaseBraces>
9436
9501
  /**
9437
9502
  * Fix whitespace-insensitive template indentation.
9438
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/template-indent.md
9503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
9439
9504
  */
9440
9505
  'no-autofix/unicorn/template-indent'?: Linter.RuleEntry<NoAutofixUnicornTemplateIndent>
9441
9506
  /**
9442
9507
  * Enforce consistent case for text encoding identifiers.
9443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/text-encoding-identifier-case.md
9508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
9444
9509
  */
9445
9510
  'no-autofix/unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
9446
9511
  /**
9447
9512
  * Require `new` when creating an error.
9448
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
9513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
9449
9514
  */
9450
9515
  'no-autofix/unicorn/throw-new-error'?: Linter.RuleEntry<[]>
9451
9516
  /**
@@ -10512,88 +10577,98 @@ interface RuleOptions {
10512
10577
  */
10513
10578
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
10514
10579
  /**
10515
- * enforce sorted arrays before include method
10516
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
10580
+ * Enforce sorted arrays before include method.
10581
+ * @see https://perfectionist.dev/rules/sort-array-includes
10517
10582
  */
10518
10583
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
10519
10584
  /**
10520
- * enforce sorted Astro attributes
10521
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
10585
+ * Enforce sorted Astro attributes.
10586
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
10522
10587
  */
10523
10588
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
10524
10589
  /**
10525
- * enforce sorted classes
10526
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
10590
+ * Enforce sorted classes.
10591
+ * @see https://perfectionist.dev/rules/sort-classes
10527
10592
  */
10528
10593
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
10529
10594
  /**
10530
- * enforce sorted TypeScript enums
10531
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
10595
+ * Enforce sorted TypeScript enums.
10596
+ * @see https://perfectionist.dev/rules/sort-enums
10532
10597
  */
10533
10598
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
10534
10599
  /**
10535
- * enforce sorted exports
10536
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
10600
+ * Enforce sorted exports.
10601
+ * @see https://perfectionist.dev/rules/sort-exports
10537
10602
  */
10538
10603
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
10539
10604
  /**
10540
- * enforce sorted imports
10541
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
10605
+ * Enforce sorted imports.
10606
+ * @see https://perfectionist.dev/rules/sort-imports
10542
10607
  */
10543
10608
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
10544
10609
  /**
10545
- * enforce sorted interface properties
10546
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
10610
+ * Enforce sorted interface properties.
10611
+ * @see https://perfectionist.dev/rules/sort-interfaces
10547
10612
  */
10548
10613
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
10549
10614
  /**
10550
- * enforce sorted intersection types
10551
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
10615
+ * Enforce sorted intersection types.
10616
+ * @see https://perfectionist.dev/rules/sort-intersection-types
10552
10617
  */
10553
10618
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
10554
10619
  /**
10555
- * enforce sorted JSX props
10556
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
10620
+ * Enforce sorted JSX props.
10621
+ * @see https://perfectionist.dev/rules/sort-jsx-props
10557
10622
  */
10558
10623
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
10559
10624
  /**
10560
- * enforce sorted Map elements
10561
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
10625
+ * Enforce sorted Map elements.
10626
+ * @see https://perfectionist.dev/rules/sort-maps
10562
10627
  */
10563
10628
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
10564
10629
  /**
10565
- * enforce sorted named exports
10566
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
10630
+ * Enforce sorted named exports.
10631
+ * @see https://perfectionist.dev/rules/sort-named-exports
10567
10632
  */
10568
10633
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
10569
10634
  /**
10570
- * enforce sorted named imports
10571
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
10635
+ * Enforce sorted named imports.
10636
+ * @see https://perfectionist.dev/rules/sort-named-imports
10572
10637
  */
10573
10638
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
10574
10639
  /**
10575
- * enforce sorted object types
10576
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
10640
+ * Enforce sorted object types.
10641
+ * @see https://perfectionist.dev/rules/sort-object-types
10577
10642
  */
10578
10643
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
10579
10644
  /**
10580
- * enforce sorted objects
10581
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
10645
+ * Enforce sorted objects.
10646
+ * @see https://perfectionist.dev/rules/sort-objects
10582
10647
  */
10583
10648
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
10584
10649
  /**
10585
- * enforce sorted Svelte attributes
10586
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
10650
+ * Enforce sorted Svelte attributes.
10651
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
10587
10652
  */
10588
10653
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
10589
10654
  /**
10590
- * enforce sorted union types
10591
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
10655
+ * Enforce sorted switch cases.
10656
+ * @see https://perfectionist.dev/rules/sort-switch-case
10657
+ */
10658
+ 'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
10659
+ /**
10660
+ * Enforce sorted union types.
10661
+ * @see https://perfectionist.dev/rules/sort-union-types
10592
10662
  */
10593
10663
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
10594
10664
  /**
10595
- * enforce sorted Vue attributes
10596
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
10665
+ * Enforce sorted variable declarations.
10666
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
10667
+ */
10668
+ 'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
10669
+ /**
10670
+ * Enforce sorted Vue attributes.
10671
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
10597
10672
  */
10598
10673
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
10599
10674
  /**
@@ -10673,7 +10748,7 @@ interface RuleOptions {
10673
10748
  */
10674
10749
  'promise/always-return'?: Linter.RuleEntry<PromiseAlwaysReturn>
10675
10750
  /**
10676
- * Disallow creating `new` promises outside of utility libs (use [pify][] instead).
10751
+ * Disallow creating `new` promises outside of utility libs (use [util.promisify][] instead).
10677
10752
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/avoid-new.md
10678
10753
  */
10679
10754
  'promise/avoid-new'?: Linter.RuleEntry<[]>
@@ -10683,7 +10758,7 @@ interface RuleOptions {
10683
10758
  */
10684
10759
  'promise/catch-or-return'?: Linter.RuleEntry<PromiseCatchOrReturn>
10685
10760
  /**
10686
- * Disallow calling `cb()` inside of a `then()` (use [nodeify][] instead).
10761
+ * Disallow calling `cb()` inside of a `then()` (use [util.callbackify][] instead).
10687
10762
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/no-callback-in-promise.md
10688
10763
  */
10689
10764
  'promise/no-callback-in-promise'?: Linter.RuleEntry<PromiseNoCallbackInPromise>
@@ -10728,7 +10803,7 @@ interface RuleOptions {
10728
10803
  */
10729
10804
  'promise/param-names'?: Linter.RuleEntry<PromiseParamNames>
10730
10805
  /**
10731
- * Prefer async/await to the callback pattern.
10806
+ * Prefer `async`/`await` to the callback pattern.
10732
10807
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-callbacks.md
10733
10808
  */
10734
10809
  'promise/prefer-await-to-callbacks'?: Linter.RuleEntry<[]>
@@ -10736,7 +10811,7 @@ interface RuleOptions {
10736
10811
  * Prefer `await` to `then()`/`catch()`/`finally()` for reading Promise values.
10737
10812
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/prefer-await-to-then.md
10738
10813
  */
10739
- 'promise/prefer-await-to-then'?: Linter.RuleEntry<[]>
10814
+ 'promise/prefer-await-to-then'?: Linter.RuleEntry<PromisePreferAwaitToThen>
10740
10815
  /**
10741
10816
  * Enforces the proper number of arguments are passed to Promise functions.
10742
10817
  * @see https://github.com/eslint-community/eslint-plugin-promise/blob/main/docs/rules/valid-params.md
@@ -10820,17 +10895,17 @@ interface RuleOptions {
10820
10895
  */
10821
10896
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
10822
10897
  /**
10823
- * enforce boolean attributes notation in JSX
10898
+ * avoid using shorthand boolean attribute
10824
10899
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
10825
10900
  */
10826
10901
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
10827
10902
  /**
10828
- * enforce using fragment component instead of shorthand fragment syntax
10903
+ * avoid using shorthand fragment syntax
10829
10904
  * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
10830
10905
  */
10831
10906
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
10832
10907
  /**
10833
- * require all 'forwardRef' components include a 'ref' parameter
10908
+ * require a 'ref' parameter to be set when using 'forwardRef'
10834
10909
  * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
10835
10910
  */
10836
10911
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
@@ -10840,47 +10915,47 @@ interface RuleOptions {
10840
10915
  */
10841
10916
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
10842
10917
  /**
10843
- * disallow using Array index as key
10918
+ * disallow using Array index as 'key'
10844
10919
  * @see https://eslint-react.xyz/docs/rules/no-array-index-key
10845
10920
  */
10846
10921
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
10847
10922
  /**
10848
- * disallow 'Children.count'
10923
+ * disallow using 'Children.count'
10849
10924
  * @see https://eslint-react.xyz/docs/rules/no-children-count
10850
10925
  */
10851
10926
  'react/no-children-count'?: Linter.RuleEntry<[]>
10852
10927
  /**
10853
- * disallow 'Children.forEach'
10928
+ * disallow using 'Children.forEach'
10854
10929
  * @see https://eslint-react.xyz/docs/rules/no-children-for-each
10855
10930
  */
10856
10931
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
10857
10932
  /**
10858
- * disallow 'Children.map'
10933
+ * disallow using 'Children.map'
10859
10934
  * @see https://eslint-react.xyz/docs/rules/no-children-map
10860
10935
  */
10861
10936
  'react/no-children-map'?: Linter.RuleEntry<[]>
10862
10937
  /**
10863
- * disallow 'Children.only'
10938
+ * disallow using 'Children.only'
10864
10939
  * @see https://eslint-react.xyz/docs/rules/no-children-only
10865
10940
  */
10866
10941
  'react/no-children-only'?: Linter.RuleEntry<[]>
10867
10942
  /**
10868
- * disallow passing of 'children' as props
10943
+ * disallow passing 'children' as props
10869
10944
  * @see https://eslint-react.xyz/docs/rules/no-children-prop
10870
10945
  */
10871
10946
  'react/no-children-prop'?: Linter.RuleEntry<[]>
10872
10947
  /**
10873
- * disallow 'Children.toArray'
10948
+ * disallow using 'Children.toArray'
10874
10949
  * @see https://eslint-react.xyz/docs/rules/no-children-to-array
10875
10950
  */
10876
10951
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
10877
10952
  /**
10878
- * disallow class component
10953
+ * disallow using class components
10879
10954
  * @see https://eslint-react.xyz/docs/rules/no-class-component
10880
10955
  */
10881
10956
  'react/no-class-component'?: Linter.RuleEntry<[]>
10882
10957
  /**
10883
- * disallow 'cloneElement'
10958
+ * disallow using 'cloneElement'
10884
10959
  * @see https://eslint-react.xyz/docs/rules/no-clone-element
10885
10960
  */
10886
10961
  'react/no-clone-element'?: Linter.RuleEntry<[]>
@@ -10890,31 +10965,42 @@ interface RuleOptions {
10890
10965
  */
10891
10966
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
10892
10967
  /**
10893
- * disallow complicated conditional rendering
10894
- * @see https://eslint-react.xyz/docs/rules/no-complicated-conditional-rendering
10968
+ * disallow complex conditional rendering
10969
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
10970
+ * @deprecated
10971
+ */
10972
+ 'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
10973
+ /**
10974
+ * disallow complex conditional rendering
10975
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
10895
10976
  * @deprecated
10896
10977
  */
10897
10978
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
10898
10979
  /**
10899
- * disallow usage of 'componentWillMount'
10980
+ * disallow using 'componentWillMount'
10900
10981
  * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
10901
10982
  */
10902
10983
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
10903
10984
  /**
10904
- * disallow usage of 'componentWillReceiveProps'
10985
+ * disallow using 'componentWillReceiveProps'
10905
10986
  * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
10906
10987
  */
10907
10988
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
10908
10989
  /**
10909
- * disallow usage of 'componentWillUpdate'
10990
+ * disallow using 'componentWillReceiveProps'
10910
10991
  * @see https://eslint-react.xyz/docs/rules/no-component-will-update
10911
10992
  */
10912
10993
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
10913
10994
  /**
10914
- * disallow 'createRef' in function components
10995
+ * disallow using 'createRef' in function components
10915
10996
  * @see https://eslint-react.xyz/docs/rules/no-create-ref
10916
10997
  */
10917
10998
  'react/no-create-ref'?: Linter.RuleEntry<[]>
10999
+ /**
11000
+ * disallow using 'defaultProps' property in components
11001
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
11002
+ */
11003
+ 'react/no-default-props'?: Linter.RuleEntry<[]>
10918
11004
  /**
10919
11005
  * disallow direct mutation of state
10920
11006
  * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
@@ -10926,9 +11012,8 @@ interface RuleOptions {
10926
11012
  */
10927
11013
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
10928
11014
  /**
10929
- * disallow spreading 'key' from objects.
11015
+ * disallow implicit 'key' props
10930
11016
  * @see https://eslint-react.xyz/docs/rules/no-implicit-key
10931
- * @deprecated
10932
11017
  */
10933
11018
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
10934
11019
  /**
@@ -10937,7 +11022,7 @@ interface RuleOptions {
10937
11022
  */
10938
11023
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
10939
11024
  /**
10940
- * require 'displayName' for memo and forwardRef components
11025
+ * require 'displayName' for 'memo' and 'forwardRef' components
10941
11026
  * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
10942
11027
  */
10943
11028
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
@@ -10947,27 +11032,32 @@ interface RuleOptions {
10947
11032
  */
10948
11033
  'react/no-missing-key'?: Linter.RuleEntry<[]>
10949
11034
  /**
10950
- * disallow usage of unstable nested components
11035
+ * disallow using unstable nested components
10951
11036
  * @see https://eslint-react.xyz/docs/rules/no-nested-components
10952
11037
  */
10953
11038
  'react/no-nested-components'?: Linter.RuleEntry<[]>
10954
11039
  /**
10955
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
11040
+ * disallow using 'propTypes' property in components
11041
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
11042
+ */
11043
+ 'react/no-prop-types'?: Linter.RuleEntry<[]>
11044
+ /**
11045
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
10956
11046
  * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
10957
11047
  */
10958
11048
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
10959
11049
  /**
10960
- * disallow 'setState' in 'componentDidMount'
11050
+ * disallow using 'setState' in 'componentDidMount'
10961
11051
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
10962
11052
  */
10963
11053
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
10964
11054
  /**
10965
- * disallow 'setState' in 'componentDidUpdate'
11055
+ * disallow using 'setState' in 'componentDidUpdate'
10966
11056
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
10967
11057
  */
10968
11058
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
10969
11059
  /**
10970
- * disallow 'setState' in 'componentWillUpdate'
11060
+ * disallow using 'setState' in 'componentWillUpdate'
10971
11061
  * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
10972
11062
  */
10973
11063
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
@@ -10977,17 +11067,17 @@ interface RuleOptions {
10977
11067
  */
10978
11068
  'react/no-string-refs'?: Linter.RuleEntry<[]>
10979
11069
  /**
10980
- * disallow usage of 'UNSAFE_componentWillMount'
11070
+ * disallow using 'UNSAFE_componentWillMount'
10981
11071
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
10982
11072
  */
10983
11073
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
10984
11074
  /**
10985
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
11075
+ * disallow using 'UNSAFE_componentWillReceiveProps'
10986
11076
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
10987
11077
  */
10988
11078
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
10989
11079
  /**
10990
- * disallow usage of 'UNSAFE_componentWillUpdate'
11080
+ * disallow using 'UNSAFE_componentWillUpdate'
10991
11081
  * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
10992
11082
  */
10993
11083
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
@@ -10997,7 +11087,7 @@ interface RuleOptions {
10997
11087
  */
10998
11088
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
10999
11089
  /**
11000
- * disallow usage of unstable value as default param in function component
11090
+ * disallow using unstable value as default param in function component
11001
11091
  * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
11002
11092
  */
11003
11093
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
@@ -11007,7 +11097,7 @@ interface RuleOptions {
11007
11097
  */
11008
11098
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
11009
11099
  /**
11010
- * Prevents unused state of class component
11100
+ * disallow unused state of class component
11011
11101
  * @see https://eslint-react.xyz/docs/rules/no-unused-state
11012
11102
  */
11013
11103
  'react/no-unused-state'?: Linter.RuleEntry<[]>
@@ -11022,17 +11112,17 @@ interface RuleOptions {
11022
11112
  */
11023
11113
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
11024
11114
  /**
11025
- * enforce that component props are read-only
11115
+ * enforce read-only props in components
11026
11116
  * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
11027
11117
  */
11028
11118
  'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
11029
11119
  /**
11030
- * enforce boolean attributes notation in JSX
11120
+ * enforce using shorthand boolean attributes
11031
11121
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
11032
11122
  */
11033
11123
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
11034
11124
  /**
11035
- * enforce using fragment syntax instead of Fragment component
11125
+ * enforce using fragment syntax instead of 'Fragment' component
11036
11126
  * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
11037
11127
  */
11038
11128
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
@@ -11195,11 +11285,11 @@ interface RuleOptions {
11195
11285
  /**
11196
11286
  * Disallows jest allMocks methods.
11197
11287
  */
11198
- 'shopify/jest/no-all-mocks-methods'?: Linter.RuleEntry<[]>
11288
+ 'shopify/jest-no-all-mocks-methods'?: Linter.RuleEntry<[]>
11199
11289
  /**
11200
11290
  * Disallows jest snapshots.
11201
11291
  */
11202
- 'shopify/jest/no-snapshots'?: Linter.RuleEntry<[]>
11292
+ 'shopify/jest-no-snapshots'?: Linter.RuleEntry<[]>
11203
11293
  /**
11204
11294
  * Disallow complex expressions embedded in in JSX.
11205
11295
  */
@@ -11299,19 +11389,19 @@ interface RuleOptions {
11299
11389
  /**
11300
11390
  * Prefer buildClientSchema for schema building
11301
11391
  */
11302
- 'shopify/typescript/prefer-build-client-schema'?: Linter.RuleEntry<[]>
11392
+ 'shopify/typescript-prefer-build-client-schema'?: Linter.RuleEntry<[]>
11303
11393
  /**
11304
11394
  * Enforce Pascal case when naming enums.
11305
11395
  */
11306
- 'shopify/typescript/prefer-pascal-case-enums'?: Linter.RuleEntry<[]>
11396
+ 'shopify/typescript-prefer-pascal-case-enums'?: Linter.RuleEntry<[]>
11307
11397
  /**
11308
11398
  * Prefer singular TypeScript enums.
11309
11399
  */
11310
- 'shopify/typescript/prefer-singular-enums'?: Linter.RuleEntry<[]>
11400
+ 'shopify/typescript-prefer-singular-enums'?: Linter.RuleEntry<[]>
11311
11401
  /**
11312
11402
  * Require that all dynamic imports contain a `webpackChunkName` comment.
11313
11403
  */
11314
- 'shopify/webpack/no-unnamed-dynamic-imports'?: Linter.RuleEntry<[]>
11404
+ 'shopify/webpack-no-unnamed-dynamic-imports'?: Linter.RuleEntry<[]>
11315
11405
  /**
11316
11406
  * Automatically sort exports.
11317
11407
  * @see https://github.com/lydell/eslint-plugin-simple-import-sort#sort-order
@@ -12517,6 +12607,11 @@ interface RuleOptions {
12517
12607
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
12518
12608
  */
12519
12609
  'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
12610
+ /**
12611
+ * Disallow using the unsafe built-in Function type
12612
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
12613
+ */
12614
+ 'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
12520
12615
  /**
12521
12616
  * Disallow member access on a value with type `any`
12522
12617
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -12568,6 +12663,11 @@ interface RuleOptions {
12568
12663
  * @see https://typescript-eslint.io/rules/no-var-requires
12569
12664
  */
12570
12665
  'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
12666
+ /**
12667
+ * Disallow using confusing built-in primitive class wrappers
12668
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
12669
+ */
12670
+ 'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
12571
12671
  /**
12572
12672
  * Enforce non-null assertions over explicit type casts
12573
12673
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
@@ -12805,682 +12905,687 @@ interface RuleOptions {
12805
12905
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
12806
12906
  /**
12807
12907
  * Improve regexes by making them shorter, consistent, and safer.
12808
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/better-regex.md
12908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
12809
12909
  */
12810
12910
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
12811
12911
  /**
12812
12912
  * Enforce a specific parameter name in catch clauses.
12813
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/catch-error-name.md
12913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
12814
12914
  */
12815
12915
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
12816
12916
  /**
12817
12917
  * Use destructured variables over properties.
12818
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-destructuring.md
12918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
12819
12919
  */
12820
12920
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
12821
12921
  /**
12822
12922
  * Prefer consistent types when spreading a ternary in an array literal.
12823
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
12923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
12824
12924
  */
12825
12925
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
12826
12926
  /**
12827
12927
  * Move function definitions to the highest possible scope.
12828
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-function-scoping.md
12928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
12829
12929
  */
12830
12930
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
12831
12931
  /**
12832
12932
  * Enforce correct `Error` subclassing.
12833
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/custom-error-definition.md
12933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
12834
12934
  */
12835
12935
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
12836
12936
  /**
12837
12937
  * Enforce no spaces between braces.
12838
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/empty-brace-spaces.md
12938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
12839
12939
  */
12840
12940
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
12841
12941
  /**
12842
12942
  * Enforce passing a `message` value when creating a built-in error.
12843
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/error-message.md
12943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
12844
12944
  */
12845
12945
  'unicorn/error-message'?: Linter.RuleEntry<[]>
12846
12946
  /**
12847
12947
  * Require escape sequences to use uppercase values.
12848
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/escape-case.md
12948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
12849
12949
  */
12850
12950
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
12851
12951
  /**
12852
12952
  * Add expiration conditions to TODO comments.
12853
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/expiring-todo-comments.md
12953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
12854
12954
  */
12855
12955
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
12856
12956
  /**
12857
12957
  * Enforce explicitly comparing the `length` or `size` property of a value.
12858
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/explicit-length-check.md
12958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
12859
12959
  */
12860
12960
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
12861
12961
  /**
12862
12962
  * Enforce a case style for filenames.
12863
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/filename-case.md
12963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
12864
12964
  */
12865
12965
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
12866
12966
  /**
12867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#import-index
12967
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
12868
12968
  * @deprecated
12869
12969
  */
12870
12970
  'unicorn/import-index'?: Linter.RuleEntry<[]>
12871
12971
  /**
12872
12972
  * Enforce specific import styles per module.
12873
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/import-style.md
12973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
12874
12974
  */
12875
12975
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
12876
12976
  /**
12877
12977
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
12878
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/new-for-builtins.md
12978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
12879
12979
  */
12880
12980
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
12881
12981
  /**
12882
12982
  * Enforce specifying rules to disable in `eslint-disable` comments.
12883
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-abusive-eslint-disable.md
12983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
12884
12984
  */
12885
12985
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
12886
12986
  /**
12887
12987
  * Disallow anonymous functions and classes as the default export.
12888
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-anonymous-default-export.md
12988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
12889
12989
  */
12890
12990
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
12891
12991
  /**
12892
12992
  * Prevent passing a function reference directly to iterator methods.
12893
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-callback-reference.md
12993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
12894
12994
  */
12895
12995
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
12896
12996
  /**
12897
12997
  * Prefer `for…of` over the `forEach` method.
12898
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-for-each.md
12998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
12899
12999
  */
12900
13000
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
12901
13001
  /**
12902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-array-instanceof
13002
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
12903
13003
  * @deprecated
12904
13004
  */
12905
13005
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
12906
13006
  /**
12907
13007
  * Disallow using the `this` argument in array methods.
12908
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-method-this-argument.md
13008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
12909
13009
  */
12910
13010
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
12911
13011
  /**
12912
13012
  * Enforce combining multiple `Array#push()` into one call.
12913
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-push-push.md
13013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
12914
13014
  */
12915
13015
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
12916
13016
  /**
12917
13017
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
12918
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-array-reduce.md
13018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
12919
13019
  */
12920
13020
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
12921
13021
  /**
12922
13022
  * Disallow member access from await expression.
12923
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-expression-member.md
13023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
12924
13024
  */
12925
13025
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
12926
13026
  /**
12927
13027
  * Disallow using `await` in `Promise` method parameters.
12928
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-await-in-promise-methods.md
13028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
12929
13029
  */
12930
13030
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
12931
13031
  /**
12932
13032
  * Do not use leading/trailing space between `console.log` parameters.
12933
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-console-spaces.md
13033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
12934
13034
  */
12935
13035
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
12936
13036
  /**
12937
13037
  * Do not use `document.cookie` directly.
12938
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-document-cookie.md
13038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
12939
13039
  */
12940
13040
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
12941
13041
  /**
12942
13042
  * Disallow empty files.
12943
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-empty-file.md
13043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
12944
13044
  */
12945
13045
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
12946
13046
  /**
12947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
13047
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
12948
13048
  * @deprecated
12949
13049
  */
12950
13050
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
12951
13051
  /**
12952
13052
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
12953
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-for-loop.md
13053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
12954
13054
  */
12955
13055
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
12956
13056
  /**
12957
13057
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
12958
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-hex-escape.md
13058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
12959
13059
  */
12960
13060
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
12961
13061
  /**
12962
13062
  * Require `Array.isArray()` instead of `instanceof Array`.
12963
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-instanceof-array.md
13063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
12964
13064
  */
12965
13065
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
12966
13066
  /**
12967
13067
  * Disallow invalid options in `fetch()` and `new Request()`.
12968
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
13068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
12969
13069
  */
12970
13070
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
12971
13071
  /**
12972
13072
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
12973
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-remove-event-listener.md
13073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
12974
13074
  */
12975
13075
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
12976
13076
  /**
12977
13077
  * Disallow identifiers starting with `new` or `class`.
12978
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-keyword-prefix.md
13078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
12979
13079
  */
12980
13080
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
13081
+ /**
13082
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
13083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
13084
+ */
13085
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
12981
13086
  /**
12982
13087
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
12983
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-lonely-if.md
13088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
12984
13089
  */
12985
13090
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
12986
13091
  /**
12987
13092
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
12988
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
13093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
12989
13094
  */
12990
13095
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
12991
13096
  /**
12992
13097
  * Disallow negated conditions.
12993
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negated-condition.md
13098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
12994
13099
  */
12995
13100
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
12996
13101
  /**
12997
13102
  * Disallow negated expression in equality check.
12998
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
13103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
12999
13104
  */
13000
13105
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
13001
13106
  /**
13002
13107
  * Disallow nested ternary expressions.
13003
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-nested-ternary.md
13108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
13004
13109
  */
13005
13110
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
13006
13111
  /**
13007
13112
  * Disallow `new Array()`.
13008
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-array.md
13113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
13009
13114
  */
13010
13115
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
13011
13116
  /**
13012
13117
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
13013
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-new-buffer.md
13118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
13014
13119
  */
13015
13120
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
13016
13121
  /**
13017
13122
  * Disallow the use of the `null` literal.
13018
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-null.md
13123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
13019
13124
  */
13020
13125
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
13021
13126
  /**
13022
13127
  * Disallow the use of objects as default parameters.
13023
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-object-as-default-parameter.md
13128
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
13024
13129
  */
13025
13130
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
13026
13131
  /**
13027
13132
  * Disallow `process.exit()`.
13028
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-process-exit.md
13133
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
13029
13134
  */
13030
13135
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
13031
13136
  /**
13032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-reduce
13137
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
13033
13138
  * @deprecated
13034
13139
  */
13035
13140
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
13036
13141
  /**
13037
13142
  * Disallow passing single-element arrays to `Promise` methods.
13038
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-single-promise-in-promise-methods.md
13143
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
13039
13144
  */
13040
13145
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
13041
13146
  /**
13042
13147
  * Disallow classes that only have static members.
13043
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-static-only-class.md
13148
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
13044
13149
  */
13045
13150
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
13046
13151
  /**
13047
13152
  * Disallow `then` property.
13048
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-thenable.md
13153
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
13049
13154
  */
13050
13155
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
13051
13156
  /**
13052
13157
  * Disallow assigning `this` to a variable.
13053
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-this-assignment.md
13158
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
13054
13159
  */
13055
13160
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
13056
13161
  /**
13057
13162
  * Disallow comparing `undefined` using `typeof`.
13058
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-typeof-undefined.md
13163
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
13059
13164
  */
13060
13165
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
13061
13166
  /**
13062
13167
  * Disallow awaiting non-promise values.
13063
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-await.md
13168
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
13064
13169
  */
13065
13170
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
13066
13171
  /**
13067
13172
  * Enforce the use of built-in methods instead of unnecessary polyfills.
13068
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unnecessary-polyfills.md
13173
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
13069
13174
  */
13070
13175
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
13071
13176
  /**
13072
13177
  * Disallow unreadable array destructuring.
13073
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-array-destructuring.md
13178
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
13074
13179
  */
13075
13180
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
13076
13181
  /**
13077
13182
  * Disallow unreadable IIFEs.
13078
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unreadable-iife.md
13183
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
13079
13184
  */
13080
13185
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
13081
13186
  /**
13082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#no-unsafe-regex
13187
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
13083
13188
  * @deprecated
13084
13189
  */
13085
13190
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
13086
13191
  /**
13087
13192
  * Disallow unused object properties.
13088
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-unused-properties.md
13193
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
13089
13194
  */
13090
13195
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
13091
13196
  /**
13092
13197
  * Disallow useless fallback when spreading in object literals.
13093
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-fallback-in-spread.md
13198
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
13094
13199
  */
13095
13200
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
13096
13201
  /**
13097
13202
  * Disallow useless array length check.
13098
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-length-check.md
13203
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
13099
13204
  */
13100
13205
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
13101
13206
  /**
13102
13207
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
13103
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-promise-resolve-reject.md
13208
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
13104
13209
  */
13105
13210
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
13106
13211
  /**
13107
13212
  * Disallow unnecessary spread.
13108
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-spread.md
13213
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
13109
13214
  */
13110
13215
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
13111
13216
  /**
13112
13217
  * Disallow useless case in switch statements.
13113
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-switch-case.md
13218
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
13114
13219
  */
13115
13220
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
13116
13221
  /**
13117
13222
  * Disallow useless `undefined`.
13118
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-useless-undefined.md
13223
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
13119
13224
  */
13120
13225
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
13121
13226
  /**
13122
13227
  * Disallow number literals with zero fractions or dangling dots.
13123
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-zero-fractions.md
13228
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
13124
13229
  */
13125
13230
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
13126
13231
  /**
13127
13232
  * Enforce proper case for numeric literals.
13128
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/number-literal-case.md
13233
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
13129
13234
  */
13130
13235
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
13131
13236
  /**
13132
13237
  * Enforce the style of numeric separators by correctly grouping digits.
13133
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/numeric-separators-style.md
13238
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
13134
13239
  */
13135
13240
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
13136
13241
  /**
13137
13242
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
13138
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-add-event-listener.md
13243
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
13139
13244
  */
13140
13245
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
13141
13246
  /**
13142
13247
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
13143
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-find.md
13248
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
13144
13249
  */
13145
13250
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
13146
13251
  /**
13147
13252
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
13148
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat.md
13253
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
13149
13254
  */
13150
13255
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
13151
13256
  /**
13152
13257
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
13153
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-flat-map.md
13258
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
13154
13259
  */
13155
13260
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
13156
13261
  /**
13157
13262
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
13158
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-index-of.md
13263
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
13159
13264
  */
13160
13265
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
13161
13266
  /**
13162
13267
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
13163
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
13268
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
13164
13269
  */
13165
13270
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
13166
13271
  /**
13167
13272
  * Prefer `.at()` method for index access and `String#charAt()`.
13168
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-at.md
13273
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
13169
13274
  */
13170
13275
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
13171
13276
  /**
13172
13277
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
13173
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-blob-reading-methods.md
13278
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
13174
13279
  */
13175
13280
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
13176
13281
  /**
13177
13282
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
13178
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-code-point.md
13283
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
13179
13284
  */
13180
13285
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
13181
13286
  /**
13182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-dataset
13287
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
13183
13288
  * @deprecated
13184
13289
  */
13185
13290
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
13186
13291
  /**
13187
13292
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
13188
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-date-now.md
13293
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
13189
13294
  */
13190
13295
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
13191
13296
  /**
13192
13297
  * Prefer default parameters over reassignment.
13193
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-default-parameters.md
13298
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
13194
13299
  */
13195
13300
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
13196
13301
  /**
13197
13302
  * Prefer `Node#append()` over `Node#appendChild()`.
13198
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-append.md
13303
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
13199
13304
  */
13200
13305
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
13201
13306
  /**
13202
13307
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
13203
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-dataset.md
13308
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
13204
13309
  */
13205
13310
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
13206
13311
  /**
13207
13312
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
13208
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-remove.md
13313
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
13209
13314
  */
13210
13315
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
13211
13316
  /**
13212
13317
  * Prefer `.textContent` over `.innerText`.
13213
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-dom-node-text-content.md
13318
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
13214
13319
  */
13215
13320
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
13216
13321
  /**
13217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-event-key
13322
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
13218
13323
  * @deprecated
13219
13324
  */
13220
13325
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
13221
13326
  /**
13222
13327
  * Prefer `EventTarget` over `EventEmitter`.
13223
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-event-target.md
13328
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
13224
13329
  */
13225
13330
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
13226
13331
  /**
13227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
13332
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
13228
13333
  * @deprecated
13229
13334
  */
13230
13335
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
13231
13336
  /**
13232
13337
  * Prefer `export…from` when re-exporting.
13233
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-export-from.md
13338
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
13234
13339
  */
13235
13340
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
13236
13341
  /**
13237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-flat-map
13342
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
13238
13343
  * @deprecated
13239
13344
  */
13240
13345
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
13241
13346
  /**
13242
13347
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
13243
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
13348
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
13244
13349
  */
13245
13350
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
13246
13351
  /**
13247
13352
  * Prefer reading a JSON file as a buffer.
13248
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-json-parse-buffer.md
13353
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
13249
13354
  */
13250
13355
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
13251
13356
  /**
13252
13357
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
13253
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-keyboard-event-key.md
13358
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
13254
13359
  */
13255
13360
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
13256
13361
  /**
13257
13362
  * Prefer using a logical operator over a ternary.
13258
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-logical-operator-over-ternary.md
13363
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
13259
13364
  */
13260
13365
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
13261
13366
  /**
13262
13367
  * Enforce the use of `Math.trunc` instead of bitwise operators.
13263
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-math-trunc.md
13368
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
13264
13369
  */
13265
13370
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
13266
13371
  /**
13267
13372
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
13268
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-dom-apis.md
13373
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
13269
13374
  */
13270
13375
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
13271
13376
  /**
13272
13377
  * Prefer modern `Math` APIs over legacy patterns.
13273
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-modern-math-apis.md
13378
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
13274
13379
  */
13275
13380
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
13276
13381
  /**
13277
13382
  * Prefer JavaScript modules (ESM) over CommonJS.
13278
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-module.md
13383
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
13279
13384
  */
13280
13385
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
13281
13386
  /**
13282
13387
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
13283
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-native-coercion-functions.md
13388
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
13284
13389
  */
13285
13390
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
13286
13391
  /**
13287
13392
  * Prefer negative index over `.length - index` when possible.
13288
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-negative-index.md
13393
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
13289
13394
  */
13290
13395
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
13291
13396
  /**
13292
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-append
13397
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
13293
13398
  * @deprecated
13294
13399
  */
13295
13400
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
13296
13401
  /**
13297
13402
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
13298
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-node-protocol.md
13403
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
13299
13404
  */
13300
13405
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
13301
13406
  /**
13302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-node-remove
13407
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
13303
13408
  * @deprecated
13304
13409
  */
13305
13410
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
13306
13411
  /**
13307
13412
  * Prefer `Number` static properties over global ones.
13308
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-number-properties.md
13413
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
13309
13414
  */
13310
13415
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
13311
13416
  /**
13312
13417
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
13313
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-object-from-entries.md
13418
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
13314
13419
  */
13315
13420
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
13316
13421
  /**
13317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-object-has-own
13422
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
13318
13423
  * @deprecated
13319
13424
  */
13320
13425
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
13321
13426
  /**
13322
13427
  * Prefer omitting the `catch` binding parameter.
13323
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-optional-catch-binding.md
13428
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
13324
13429
  */
13325
13430
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
13326
13431
  /**
13327
13432
  * Prefer borrowing methods from the prototype instead of the instance.
13328
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-prototype-methods.md
13433
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
13329
13434
  */
13330
13435
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
13331
13436
  /**
13332
13437
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
13333
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-query-selector.md
13438
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
13334
13439
  */
13335
13440
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
13336
13441
  /**
13337
13442
  * Prefer `Reflect.apply()` over `Function#apply()`.
13338
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-reflect-apply.md
13443
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
13339
13444
  */
13340
13445
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
13341
13446
  /**
13342
13447
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
13343
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-regexp-test.md
13448
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
13344
13449
  */
13345
13450
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
13346
13451
  /**
13347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-replace-all
13452
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
13348
13453
  * @deprecated
13349
13454
  */
13350
13455
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
13351
13456
  /**
13352
13457
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
13353
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-has.md
13458
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
13354
13459
  */
13355
13460
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
13356
13461
  /**
13357
13462
  * Prefer using `Set#size` instead of `Array#length`.
13358
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-set-size.md
13463
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
13359
13464
  */
13360
13465
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
13361
13466
  /**
13362
13467
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
13363
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-spread.md
13468
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
13364
13469
  */
13365
13470
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
13366
13471
  /**
13367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
13472
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
13368
13473
  * @deprecated
13369
13474
  */
13370
13475
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
13371
13476
  /**
13372
13477
  * Prefer using the `String.raw` tag to avoid escaping `\`.
13373
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
13478
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
13374
13479
  */
13375
13480
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
13376
13481
  /**
13377
13482
  * Prefer `String#replaceAll()` over regex searches with the global flag.
13378
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-replace-all.md
13483
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
13379
13484
  */
13380
13485
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
13381
13486
  /**
13382
13487
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
13383
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-slice.md
13488
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
13384
13489
  */
13385
13490
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
13386
13491
  /**
13387
13492
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
13388
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-starts-ends-with.md
13493
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
13389
13494
  */
13390
13495
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
13391
13496
  /**
13392
13497
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
13393
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-trim-start-end.md
13498
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
13394
13499
  */
13395
13500
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
13396
13501
  /**
13397
13502
  * Prefer using `structuredClone` to create a deep clone.
13398
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
13503
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
13399
13504
  */
13400
13505
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
13401
13506
  /**
13402
13507
  * Prefer `switch` over multiple `else-if`.
13403
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-switch.md
13508
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
13404
13509
  */
13405
13510
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
13406
13511
  /**
13407
13512
  * Prefer ternary expressions over simple `if-else` statements.
13408
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-ternary.md
13513
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
13409
13514
  */
13410
13515
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
13411
13516
  /**
13412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-text-content
13517
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
13413
13518
  * @deprecated
13414
13519
  */
13415
13520
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
13416
13521
  /**
13417
13522
  * Prefer top-level await over top-level promises and async function calls.
13418
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-top-level-await.md
13523
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
13419
13524
  */
13420
13525
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
13421
13526
  /**
13422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#prefer-trim-start-end
13527
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
13423
13528
  * @deprecated
13424
13529
  */
13425
13530
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
13426
13531
  /**
13427
13532
  * Enforce throwing `TypeError` in type checking conditions.
13428
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-type-error.md
13533
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
13429
13534
  */
13430
13535
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
13431
13536
  /**
13432
13537
  * Prevent abbreviations.
13433
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prevent-abbreviations.md
13538
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
13434
13539
  */
13435
13540
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
13436
13541
  /**
13437
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/deprecated-rules.md#regex-shorthand
13542
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
13438
13543
  * @deprecated
13439
13544
  */
13440
13545
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
13441
13546
  /**
13442
13547
  * Enforce consistent relative URL style.
13443
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/relative-url-style.md
13548
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
13444
13549
  */
13445
13550
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
13446
13551
  /**
13447
13552
  * Enforce using the separator argument with `Array#join()`.
13448
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-array-join-separator.md
13553
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
13449
13554
  */
13450
13555
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
13451
13556
  /**
13452
13557
  * Enforce using the digits argument with `Number#toFixed()`.
13453
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-number-to-fixed-digits-argument.md
13558
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
13454
13559
  */
13455
13560
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
13456
13561
  /**
13457
13562
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
13458
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/require-post-message-target-origin.md
13563
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
13459
13564
  */
13460
13565
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
13461
13566
  /**
13462
13567
  * Enforce better string content.
13463
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/string-content.md
13568
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
13464
13569
  */
13465
13570
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
13466
13571
  /**
13467
13572
  * Enforce consistent brace style for `case` clauses.
13468
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/switch-case-braces.md
13573
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
13469
13574
  */
13470
13575
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
13471
13576
  /**
13472
13577
  * Fix whitespace-insensitive template indentation.
13473
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/template-indent.md
13578
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
13474
13579
  */
13475
13580
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
13476
13581
  /**
13477
13582
  * Enforce consistent case for text encoding identifiers.
13478
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/text-encoding-identifier-case.md
13583
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
13479
13584
  */
13480
13585
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
13481
13586
  /**
13482
13587
  * Require `new` when creating an error.
13483
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
13588
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
13484
13589
  */
13485
13590
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
13486
13591
  /**
@@ -19748,7 +19853,7 @@ type NoAutofixTypescriptEslintRestrictTemplateExpressions = []|[{
19748
19853
  allowNever?: boolean
19749
19854
  }]
19750
19855
  // ----- no-autofix/@typescript-eslint/return-await -----
19751
- type NoAutofixTypescriptEslintReturnAwait = []|[("in-try-catch" | "always" | "never")]
19856
+ type NoAutofixTypescriptEslintReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
19752
19857
  // ----- no-autofix/@typescript-eslint/semi -----
19753
19858
  type NoAutofixTypescriptEslintSemi = ([]|["never"]|["never", {
19754
19859
  beforeStatementContinuationChars?: ("always" | "any" | "never")
@@ -22661,48 +22766,86 @@ type NoAutofixPaddingLineBetweenStatements = {
22661
22766
  }[]
22662
22767
  // ----- no-autofix/perfectionist/sort-array-includes -----
22663
22768
  type NoAutofixPerfectionistSortArrayIncludes = []|[{
22769
+
22664
22770
  type?: ("alphabetical" | "natural" | "line-length")
22771
+
22665
22772
  order?: ("asc" | "desc")
22666
- "ignore-case"?: boolean
22667
- "spread-last"?: boolean
22773
+
22774
+ ignoreCase?: boolean
22775
+
22776
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
22668
22777
  }]
22669
22778
  // ----- no-autofix/perfectionist/sort-astro-attributes -----
22670
22779
  type NoAutofixPerfectionistSortAstroAttributes = []|[{
22671
- "custom-groups"?: {
22672
- [k: string]: unknown | undefined
22673
- }
22780
+
22674
22781
  type?: ("alphabetical" | "natural" | "line-length")
22782
+
22675
22783
  order?: ("asc" | "desc")
22676
- "ignore-case"?: boolean
22677
- groups?: unknown[]
22784
+
22785
+ ignoreCase?: boolean
22786
+
22787
+ groups?: (string | string[])[]
22788
+
22789
+ customGroups?: {
22790
+ [k: string]: (string | string[]) | undefined
22791
+ }
22678
22792
  }]
22679
22793
  // ----- no-autofix/perfectionist/sort-classes -----
22680
22794
  type NoAutofixPerfectionistSortClasses = []|[{
22681
- "custom-groups"?: {
22682
- [k: string]: unknown | undefined
22683
- }
22795
+
22684
22796
  type?: ("alphabetical" | "natural" | "line-length")
22685
- "ignore-case"?: boolean
22797
+
22686
22798
  order?: ("asc" | "desc")
22687
- groups?: unknown[]
22799
+
22800
+ ignoreCase?: boolean
22801
+
22802
+ partitionByComment?: (string[] | boolean | string)
22803
+
22804
+ groups?: (string | string[])[]
22805
+
22806
+ customGroups?: {
22807
+ [k: string]: (string | string[]) | undefined
22808
+ }
22688
22809
  }]
22689
22810
  // ----- no-autofix/perfectionist/sort-enums -----
22690
22811
  type NoAutofixPerfectionistSortEnums = []|[{
22691
- "partition-by-comment"?: (boolean | string | unknown[])
22812
+
22692
22813
  type?: ("alphabetical" | "natural" | "line-length")
22693
- "ignore-case"?: boolean
22814
+
22694
22815
  order?: ("asc" | "desc")
22816
+
22817
+ ignoreCase?: boolean
22818
+
22819
+ partitionByComment?: (string[] | boolean | string)
22695
22820
  }]
22696
22821
  // ----- no-autofix/perfectionist/sort-exports -----
22697
22822
  type NoAutofixPerfectionistSortExports = []|[{
22823
+
22698
22824
  type?: ("alphabetical" | "natural" | "line-length")
22825
+
22699
22826
  order?: ("asc" | "desc")
22700
- "ignore-case"?: boolean
22827
+
22828
+ ignoreCase?: boolean
22701
22829
  }]
22702
22830
  // ----- no-autofix/perfectionist/sort-imports -----
22703
22831
  type NoAutofixPerfectionistSortImports = []|[_NoAutofixPerfectionistSortImportsSortImports]
22704
22832
  type _NoAutofixPerfectionistSortImportsSortImports = (_NoAutofixPerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
22705
- "custom-groups"?: {
22833
+
22834
+ type?: ("alphabetical" | "natural" | "line-length")
22835
+
22836
+ order?: ("asc" | "desc")
22837
+
22838
+ ignoreCase?: boolean
22839
+
22840
+ internalPattern?: string[]
22841
+
22842
+ newlinesBetween?: ("ignore" | "always" | "never")
22843
+
22844
+ maxLineLength?: number
22845
+
22846
+ groups?: (string | string[])[]
22847
+
22848
+ customGroups?: {
22706
22849
  type?: {
22707
22850
  [k: string]: unknown | undefined
22708
22851
  }
@@ -22710,13 +22853,8 @@ type _NoAutofixPerfectionistSortImportsSortImports = (_NoAutofixPerfectionistSor
22710
22853
  [k: string]: unknown | undefined
22711
22854
  }
22712
22855
  }
22713
- type?: ("alphabetical" | "natural" | "line-length")
22714
- order?: ("asc" | "desc")
22715
- "ignore-case"?: boolean
22716
- groups?: unknown[]
22717
- "internal-pattern"?: string[]
22718
- "newlines-between"?: ("ignore" | "always" | "never")
22719
- "max-line-length"?: number
22856
+
22857
+ environment?: ("node" | "bun")
22720
22858
  })
22721
22859
  type _NoAutofixPerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
22722
22860
  [k: string]: unknown | undefined
@@ -22727,105 +22865,188 @@ interface _NoAutofixPerfectionistSortImports_IsLineLength {
22727
22865
  }
22728
22866
  // ----- no-autofix/perfectionist/sort-interfaces -----
22729
22867
  type NoAutofixPerfectionistSortInterfaces = []|[{
22730
- "custom-groups"?: {
22731
- [k: string]: unknown | undefined
22732
- }
22733
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
22868
+
22734
22869
  type?: ("alphabetical" | "natural" | "line-length")
22870
+
22735
22871
  order?: ("asc" | "desc")
22736
- "ignore-case"?: boolean
22737
- "ignore-pattern"?: string[]
22738
- groups?: unknown[]
22739
- "partition-by-new-line"?: boolean
22872
+
22873
+ ignoreCase?: boolean
22874
+
22875
+ ignorePattern?: string[]
22876
+
22877
+ partitionByNewLine?: boolean
22878
+
22879
+ groupKind?: ("mixed" | "optional-first" | "required-first")
22880
+
22881
+ groups?: (string | string[])[]
22882
+
22883
+ customGroups?: {
22884
+ [k: string]: (string | string[]) | undefined
22885
+ }
22740
22886
  }]
22741
22887
  // ----- no-autofix/perfectionist/sort-intersection-types -----
22742
22888
  type NoAutofixPerfectionistSortIntersectionTypes = []|[{
22889
+
22743
22890
  type?: ("alphabetical" | "natural" | "line-length")
22891
+
22744
22892
  order?: ("asc" | "desc")
22745
- "ignore-case"?: boolean
22893
+
22894
+ ignoreCase?: boolean
22895
+
22896
+ groups?: (string | string[])[]
22746
22897
  }]
22747
22898
  // ----- no-autofix/perfectionist/sort-jsx-props -----
22748
22899
  type NoAutofixPerfectionistSortJsxProps = []|[{
22749
- "custom-groups"?: {
22750
- [k: string]: unknown | undefined
22751
- }
22900
+
22752
22901
  type?: ("alphabetical" | "natural" | "line-length")
22902
+
22753
22903
  order?: ("asc" | "desc")
22754
- groups?: unknown[]
22755
- "ignore-case"?: boolean
22904
+
22905
+ ignoreCase?: boolean
22906
+
22907
+ ignorePattern?: string[]
22908
+
22909
+ groups?: (string | string[])[]
22910
+
22911
+ customGroups?: {
22912
+ [k: string]: (string | string[]) | undefined
22913
+ }
22756
22914
  }]
22757
22915
  // ----- no-autofix/perfectionist/sort-maps -----
22758
22916
  type NoAutofixPerfectionistSortMaps = []|[{
22917
+
22759
22918
  type?: ("alphabetical" | "natural" | "line-length")
22919
+
22760
22920
  order?: ("asc" | "desc")
22761
- "ignore-case"?: boolean
22921
+
22922
+ ignoreCase?: boolean
22762
22923
  }]
22763
22924
  // ----- no-autofix/perfectionist/sort-named-exports -----
22764
22925
  type NoAutofixPerfectionistSortNamedExports = []|[{
22926
+
22765
22927
  type?: ("alphabetical" | "natural" | "line-length")
22928
+
22766
22929
  order?: ("asc" | "desc")
22767
- "ignore-case"?: boolean
22768
- "group-kind"?: ("mixed" | "values-first" | "types-first")
22930
+
22931
+ ignoreCase?: boolean
22932
+
22933
+ groupKind?: ("mixed" | "values-first" | "types-first")
22769
22934
  }]
22770
22935
  // ----- no-autofix/perfectionist/sort-named-imports -----
22771
22936
  type NoAutofixPerfectionistSortNamedImports = []|[{
22937
+
22772
22938
  type?: ("alphabetical" | "natural" | "line-length")
22939
+
22773
22940
  order?: ("asc" | "desc")
22774
- "ignore-case"?: boolean
22775
- "ignore-alias"?: boolean
22776
- "group-kind"?: ("mixed" | "values-first" | "types-first")
22941
+
22942
+ ignoreCase?: boolean
22943
+
22944
+ ignoreAlias?: boolean
22945
+
22946
+ groupKind?: ("mixed" | "values-first" | "types-first")
22777
22947
  }]
22778
22948
  // ----- no-autofix/perfectionist/sort-object-types -----
22779
22949
  type NoAutofixPerfectionistSortObjectTypes = []|[{
22780
- "custom-groups"?: {
22781
- [k: string]: unknown | undefined
22782
- }
22950
+
22783
22951
  type?: ("alphabetical" | "natural" | "line-length")
22952
+
22784
22953
  order?: ("asc" | "desc")
22785
- "ignore-case"?: boolean
22786
- groups?: unknown[]
22787
- "partition-by-new-line"?: boolean
22954
+
22955
+ ignoreCase?: boolean
22956
+
22957
+ partitionByNewLine?: boolean
22958
+
22959
+ groupKind?: ("mixed" | "required-first" | "optional-first")
22960
+
22961
+ groups?: (string | string[])[]
22962
+
22963
+ customGroups?: {
22964
+ [k: string]: (string | string[]) | undefined
22965
+ }
22788
22966
  }]
22789
22967
  // ----- no-autofix/perfectionist/sort-objects -----
22790
22968
  type NoAutofixPerfectionistSortObjects = []|[{
22791
- "custom-groups"?: {
22792
- [k: string]: unknown | undefined
22793
- }
22794
- "partition-by-comment"?: (boolean | string | unknown[])
22795
- "partition-by-new-line"?: boolean
22796
- "styled-components"?: boolean
22969
+
22797
22970
  type?: ("alphabetical" | "natural" | "line-length")
22971
+
22798
22972
  order?: ("asc" | "desc")
22799
- "ignore-case"?: boolean
22800
- "ignore-pattern"?: string[]
22801
- groups?: unknown[]
22973
+
22974
+ ignoreCase?: boolean
22975
+
22976
+ partitionByComment?: (string[] | boolean | string)
22977
+
22978
+ partitionByNewLine?: boolean
22979
+
22980
+ styledComponents?: boolean
22981
+
22982
+ ignorePattern?: string[]
22983
+
22984
+ customIgnore?: unknown[]
22985
+
22986
+ groups?: (string | string[])[]
22987
+
22988
+ customGroups?: {
22989
+ [k: string]: (string | string[]) | undefined
22990
+ }
22802
22991
  }]
22803
22992
  // ----- no-autofix/perfectionist/sort-svelte-attributes -----
22804
22993
  type NoAutofixPerfectionistSortSvelteAttributes = []|[{
22805
- "custom-groups"?: {
22806
- [k: string]: unknown | undefined
22994
+
22995
+ type?: ("alphabetical" | "natural" | "line-length")
22996
+
22997
+ order?: ("asc" | "desc")
22998
+
22999
+ ignoreCase?: boolean
23000
+
23001
+ groups?: (string | string[])[]
23002
+
23003
+ customGroups?: {
23004
+ [k: string]: (string | string[]) | undefined
22807
23005
  }
23006
+ }]
23007
+ // ----- no-autofix/perfectionist/sort-switch-case -----
23008
+ type NoAutofixPerfectionistSortSwitchCase = []|[{
23009
+
22808
23010
  type?: ("alphabetical" | "natural" | "line-length")
23011
+
22809
23012
  order?: ("asc" | "desc")
22810
- "ignore-case"?: boolean
22811
- groups?: unknown[]
23013
+
23014
+ ignoreCase?: boolean
22812
23015
  }]
22813
23016
  // ----- no-autofix/perfectionist/sort-union-types -----
22814
23017
  type NoAutofixPerfectionistSortUnionTypes = []|[{
23018
+
23019
+ type?: ("alphabetical" | "natural" | "line-length")
23020
+
23021
+ order?: ("asc" | "desc")
23022
+
23023
+ ignoreCase?: boolean
23024
+
23025
+ groups?: (string | string[])[]
23026
+ }]
23027
+ // ----- no-autofix/perfectionist/sort-variable-declarations -----
23028
+ type NoAutofixPerfectionistSortVariableDeclarations = []|[{
23029
+
22815
23030
  type?: ("alphabetical" | "natural" | "line-length")
23031
+
22816
23032
  order?: ("asc" | "desc")
22817
- "ignore-case"?: boolean
22818
- "nullable-last"?: boolean
23033
+
23034
+ ignoreCase?: boolean
22819
23035
  }]
22820
23036
  // ----- no-autofix/perfectionist/sort-vue-attributes -----
22821
23037
  type NoAutofixPerfectionistSortVueAttributes = []|[{
22822
- "custom-groups"?: {
22823
- [k: string]: unknown | undefined
22824
- }
23038
+
22825
23039
  type?: ("alphabetical" | "natural" | "line-length")
23040
+
22826
23041
  order?: ("asc" | "desc")
22827
- "ignore-case"?: boolean
22828
- groups?: unknown[]
23042
+
23043
+ ignoreCase?: boolean
23044
+
23045
+ groups?: (string | string[])[]
23046
+
23047
+ customGroups?: {
23048
+ [k: string]: (string | string[]) | undefined
23049
+ }
22829
23050
  }]
22830
23051
  // ----- no-autofix/prefer-arrow-callback -----
22831
23052
  type NoAutofixPreferArrowCallback = []|[{
@@ -22912,6 +23133,11 @@ type NoAutofixPromiseParamNames = []|[{
22912
23133
  resolvePattern?: string
22913
23134
  rejectPattern?: string
22914
23135
  }]
23136
+ // ----- no-autofix/promise/prefer-await-to-then -----
23137
+ type NoAutofixPromisePreferAwaitToThen = []|[{
23138
+ strict?: boolean
23139
+ [k: string]: unknown | undefined
23140
+ }]
22915
23141
  // ----- no-autofix/quote-props -----
22916
23142
  type NoAutofixQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
22917
23143
  keywords?: boolean
@@ -24551,48 +24777,86 @@ type PaddingLineBetweenStatements = {
24551
24777
  }[]
24552
24778
  // ----- perfectionist/sort-array-includes -----
24553
24779
  type PerfectionistSortArrayIncludes = []|[{
24780
+
24554
24781
  type?: ("alphabetical" | "natural" | "line-length")
24782
+
24555
24783
  order?: ("asc" | "desc")
24556
- "ignore-case"?: boolean
24557
- "spread-last"?: boolean
24784
+
24785
+ ignoreCase?: boolean
24786
+
24787
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
24558
24788
  }]
24559
24789
  // ----- perfectionist/sort-astro-attributes -----
24560
24790
  type PerfectionistSortAstroAttributes = []|[{
24561
- "custom-groups"?: {
24562
- [k: string]: unknown | undefined
24563
- }
24791
+
24564
24792
  type?: ("alphabetical" | "natural" | "line-length")
24793
+
24565
24794
  order?: ("asc" | "desc")
24566
- "ignore-case"?: boolean
24567
- groups?: unknown[]
24795
+
24796
+ ignoreCase?: boolean
24797
+
24798
+ groups?: (string | string[])[]
24799
+
24800
+ customGroups?: {
24801
+ [k: string]: (string | string[]) | undefined
24802
+ }
24568
24803
  }]
24569
24804
  // ----- perfectionist/sort-classes -----
24570
24805
  type PerfectionistSortClasses = []|[{
24571
- "custom-groups"?: {
24572
- [k: string]: unknown | undefined
24573
- }
24806
+
24574
24807
  type?: ("alphabetical" | "natural" | "line-length")
24575
- "ignore-case"?: boolean
24808
+
24576
24809
  order?: ("asc" | "desc")
24577
- groups?: unknown[]
24810
+
24811
+ ignoreCase?: boolean
24812
+
24813
+ partitionByComment?: (string[] | boolean | string)
24814
+
24815
+ groups?: (string | string[])[]
24816
+
24817
+ customGroups?: {
24818
+ [k: string]: (string | string[]) | undefined
24819
+ }
24578
24820
  }]
24579
24821
  // ----- perfectionist/sort-enums -----
24580
24822
  type PerfectionistSortEnums = []|[{
24581
- "partition-by-comment"?: (boolean | string | unknown[])
24823
+
24582
24824
  type?: ("alphabetical" | "natural" | "line-length")
24583
- "ignore-case"?: boolean
24825
+
24584
24826
  order?: ("asc" | "desc")
24827
+
24828
+ ignoreCase?: boolean
24829
+
24830
+ partitionByComment?: (string[] | boolean | string)
24585
24831
  }]
24586
24832
  // ----- perfectionist/sort-exports -----
24587
24833
  type PerfectionistSortExports = []|[{
24834
+
24588
24835
  type?: ("alphabetical" | "natural" | "line-length")
24836
+
24589
24837
  order?: ("asc" | "desc")
24590
- "ignore-case"?: boolean
24838
+
24839
+ ignoreCase?: boolean
24591
24840
  }]
24592
24841
  // ----- perfectionist/sort-imports -----
24593
24842
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
24594
24843
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
24595
- "custom-groups"?: {
24844
+
24845
+ type?: ("alphabetical" | "natural" | "line-length")
24846
+
24847
+ order?: ("asc" | "desc")
24848
+
24849
+ ignoreCase?: boolean
24850
+
24851
+ internalPattern?: string[]
24852
+
24853
+ newlinesBetween?: ("ignore" | "always" | "never")
24854
+
24855
+ maxLineLength?: number
24856
+
24857
+ groups?: (string | string[])[]
24858
+
24859
+ customGroups?: {
24596
24860
  type?: {
24597
24861
  [k: string]: unknown | undefined
24598
24862
  }
@@ -24600,13 +24864,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
24600
24864
  [k: string]: unknown | undefined
24601
24865
  }
24602
24866
  }
24603
- type?: ("alphabetical" | "natural" | "line-length")
24604
- order?: ("asc" | "desc")
24605
- "ignore-case"?: boolean
24606
- groups?: unknown[]
24607
- "internal-pattern"?: string[]
24608
- "newlines-between"?: ("ignore" | "always" | "never")
24609
- "max-line-length"?: number
24867
+
24868
+ environment?: ("node" | "bun")
24610
24869
  })
24611
24870
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
24612
24871
  [k: string]: unknown | undefined
@@ -24617,105 +24876,188 @@ interface _PerfectionistSortImports_IsLineLength {
24617
24876
  }
24618
24877
  // ----- perfectionist/sort-interfaces -----
24619
24878
  type PerfectionistSortInterfaces = []|[{
24620
- "custom-groups"?: {
24621
- [k: string]: unknown | undefined
24622
- }
24623
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
24879
+
24624
24880
  type?: ("alphabetical" | "natural" | "line-length")
24881
+
24625
24882
  order?: ("asc" | "desc")
24626
- "ignore-case"?: boolean
24627
- "ignore-pattern"?: string[]
24628
- groups?: unknown[]
24629
- "partition-by-new-line"?: boolean
24883
+
24884
+ ignoreCase?: boolean
24885
+
24886
+ ignorePattern?: string[]
24887
+
24888
+ partitionByNewLine?: boolean
24889
+
24890
+ groupKind?: ("mixed" | "optional-first" | "required-first")
24891
+
24892
+ groups?: (string | string[])[]
24893
+
24894
+ customGroups?: {
24895
+ [k: string]: (string | string[]) | undefined
24896
+ }
24630
24897
  }]
24631
24898
  // ----- perfectionist/sort-intersection-types -----
24632
24899
  type PerfectionistSortIntersectionTypes = []|[{
24900
+
24633
24901
  type?: ("alphabetical" | "natural" | "line-length")
24902
+
24634
24903
  order?: ("asc" | "desc")
24635
- "ignore-case"?: boolean
24904
+
24905
+ ignoreCase?: boolean
24906
+
24907
+ groups?: (string | string[])[]
24636
24908
  }]
24637
24909
  // ----- perfectionist/sort-jsx-props -----
24638
24910
  type PerfectionistSortJsxProps = []|[{
24639
- "custom-groups"?: {
24640
- [k: string]: unknown | undefined
24641
- }
24911
+
24642
24912
  type?: ("alphabetical" | "natural" | "line-length")
24913
+
24643
24914
  order?: ("asc" | "desc")
24644
- groups?: unknown[]
24645
- "ignore-case"?: boolean
24915
+
24916
+ ignoreCase?: boolean
24917
+
24918
+ ignorePattern?: string[]
24919
+
24920
+ groups?: (string | string[])[]
24921
+
24922
+ customGroups?: {
24923
+ [k: string]: (string | string[]) | undefined
24924
+ }
24646
24925
  }]
24647
24926
  // ----- perfectionist/sort-maps -----
24648
24927
  type PerfectionistSortMaps = []|[{
24928
+
24649
24929
  type?: ("alphabetical" | "natural" | "line-length")
24930
+
24650
24931
  order?: ("asc" | "desc")
24651
- "ignore-case"?: boolean
24932
+
24933
+ ignoreCase?: boolean
24652
24934
  }]
24653
24935
  // ----- perfectionist/sort-named-exports -----
24654
24936
  type PerfectionistSortNamedExports = []|[{
24937
+
24655
24938
  type?: ("alphabetical" | "natural" | "line-length")
24939
+
24656
24940
  order?: ("asc" | "desc")
24657
- "ignore-case"?: boolean
24658
- "group-kind"?: ("mixed" | "values-first" | "types-first")
24941
+
24942
+ ignoreCase?: boolean
24943
+
24944
+ groupKind?: ("mixed" | "values-first" | "types-first")
24659
24945
  }]
24660
24946
  // ----- perfectionist/sort-named-imports -----
24661
24947
  type PerfectionistSortNamedImports = []|[{
24948
+
24662
24949
  type?: ("alphabetical" | "natural" | "line-length")
24950
+
24663
24951
  order?: ("asc" | "desc")
24664
- "ignore-case"?: boolean
24665
- "ignore-alias"?: boolean
24666
- "group-kind"?: ("mixed" | "values-first" | "types-first")
24952
+
24953
+ ignoreCase?: boolean
24954
+
24955
+ ignoreAlias?: boolean
24956
+
24957
+ groupKind?: ("mixed" | "values-first" | "types-first")
24667
24958
  }]
24668
24959
  // ----- perfectionist/sort-object-types -----
24669
24960
  type PerfectionistSortObjectTypes = []|[{
24670
- "custom-groups"?: {
24671
- [k: string]: unknown | undefined
24672
- }
24961
+
24673
24962
  type?: ("alphabetical" | "natural" | "line-length")
24963
+
24674
24964
  order?: ("asc" | "desc")
24675
- "ignore-case"?: boolean
24676
- groups?: unknown[]
24677
- "partition-by-new-line"?: boolean
24965
+
24966
+ ignoreCase?: boolean
24967
+
24968
+ partitionByNewLine?: boolean
24969
+
24970
+ groupKind?: ("mixed" | "required-first" | "optional-first")
24971
+
24972
+ groups?: (string | string[])[]
24973
+
24974
+ customGroups?: {
24975
+ [k: string]: (string | string[]) | undefined
24976
+ }
24678
24977
  }]
24679
24978
  // ----- perfectionist/sort-objects -----
24680
24979
  type PerfectionistSortObjects = []|[{
24681
- "custom-groups"?: {
24682
- [k: string]: unknown | undefined
24683
- }
24684
- "partition-by-comment"?: (boolean | string | unknown[])
24685
- "partition-by-new-line"?: boolean
24686
- "styled-components"?: boolean
24980
+
24687
24981
  type?: ("alphabetical" | "natural" | "line-length")
24982
+
24688
24983
  order?: ("asc" | "desc")
24689
- "ignore-case"?: boolean
24690
- "ignore-pattern"?: string[]
24691
- groups?: unknown[]
24984
+
24985
+ ignoreCase?: boolean
24986
+
24987
+ partitionByComment?: (string[] | boolean | string)
24988
+
24989
+ partitionByNewLine?: boolean
24990
+
24991
+ styledComponents?: boolean
24992
+
24993
+ ignorePattern?: string[]
24994
+
24995
+ customIgnore?: unknown[]
24996
+
24997
+ groups?: (string | string[])[]
24998
+
24999
+ customGroups?: {
25000
+ [k: string]: (string | string[]) | undefined
25001
+ }
24692
25002
  }]
24693
25003
  // ----- perfectionist/sort-svelte-attributes -----
24694
25004
  type PerfectionistSortSvelteAttributes = []|[{
24695
- "custom-groups"?: {
24696
- [k: string]: unknown | undefined
25005
+
25006
+ type?: ("alphabetical" | "natural" | "line-length")
25007
+
25008
+ order?: ("asc" | "desc")
25009
+
25010
+ ignoreCase?: boolean
25011
+
25012
+ groups?: (string | string[])[]
25013
+
25014
+ customGroups?: {
25015
+ [k: string]: (string | string[]) | undefined
24697
25016
  }
25017
+ }]
25018
+ // ----- perfectionist/sort-switch-case -----
25019
+ type PerfectionistSortSwitchCase = []|[{
25020
+
24698
25021
  type?: ("alphabetical" | "natural" | "line-length")
25022
+
24699
25023
  order?: ("asc" | "desc")
24700
- "ignore-case"?: boolean
24701
- groups?: unknown[]
25024
+
25025
+ ignoreCase?: boolean
24702
25026
  }]
24703
25027
  // ----- perfectionist/sort-union-types -----
24704
25028
  type PerfectionistSortUnionTypes = []|[{
25029
+
24705
25030
  type?: ("alphabetical" | "natural" | "line-length")
25031
+
25032
+ order?: ("asc" | "desc")
25033
+
25034
+ ignoreCase?: boolean
25035
+
25036
+ groups?: (string | string[])[]
25037
+ }]
25038
+ // ----- perfectionist/sort-variable-declarations -----
25039
+ type PerfectionistSortVariableDeclarations = []|[{
25040
+
25041
+ type?: ("alphabetical" | "natural" | "line-length")
25042
+
24706
25043
  order?: ("asc" | "desc")
24707
- "ignore-case"?: boolean
24708
- "nullable-last"?: boolean
25044
+
25045
+ ignoreCase?: boolean
24709
25046
  }]
24710
25047
  // ----- perfectionist/sort-vue-attributes -----
24711
25048
  type PerfectionistSortVueAttributes = []|[{
24712
- "custom-groups"?: {
24713
- [k: string]: unknown | undefined
24714
- }
25049
+
24715
25050
  type?: ("alphabetical" | "natural" | "line-length")
25051
+
24716
25052
  order?: ("asc" | "desc")
24717
- "ignore-case"?: boolean
24718
- groups?: unknown[]
25053
+
25054
+ ignoreCase?: boolean
25055
+
25056
+ groups?: (string | string[])[]
25057
+
25058
+ customGroups?: {
25059
+ [k: string]: (string | string[]) | undefined
25060
+ }
24719
25061
  }]
24720
25062
  // ----- prefer-arrow-callback -----
24721
25063
  type PreferArrowCallback = []|[{
@@ -24790,6 +25132,11 @@ type PromiseParamNames = []|[{
24790
25132
  resolvePattern?: string
24791
25133
  rejectPattern?: string
24792
25134
  }]
25135
+ // ----- promise/prefer-await-to-then -----
25136
+ type PromisePreferAwaitToThen = []|[{
25137
+ strict?: boolean
25138
+ [k: string]: unknown | undefined
25139
+ }]
24793
25140
  // ----- quote-props -----
24794
25141
  type QuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent-as-needed")] | []|[("always" | "as-needed" | "consistent" | "consistent-as-needed")]|[("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
24795
25142
  keywords?: boolean
@@ -27406,7 +27753,7 @@ type TsRestrictTemplateExpressions = []|[{
27406
27753
  allowNever?: boolean
27407
27754
  }]
27408
27755
  // ----- ts/return-await -----
27409
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
27756
+ type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
27410
27757
  // ----- ts/semi -----
27411
27758
  type TsSemi = ([]|["never"]|["never", {
27412
27759
  beforeStatementContinuationChars?: ("always" | "any" | "never")
@@ -27932,7 +28279,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
27932
28279
  onlyEquality?: boolean
27933
28280
  }]
27934
28281
  // Names of all the configs
27935
- type ConfigNames = 'style:eslint-comments' | 'style:formatters:setup' | 'style:imports' | 'style:import-sort' | 'antfu/imports/disables/bin' | 'style:jsdoc' | 'style:jsonc:setup' | 'style:jsonc:rules' | 'style:markdown:setup' | 'style:markdown:processor' | 'style:markdown:parser' | 'style:markdown:disables' | 'style:package-json' | 'style:perfectionist' | 'style:promise' | 'style:react:setup' | 'style:react:rules' | 'style:roblox' | 'style:shopify' | 'style:sonarjs' | 'style:sort-tsconfig' | 'style:spelling' | 'style:stylistic' | 'style:typescript:setup' | 'style:typescript:rules' | 'style:typescript:dts-overrides' | 'style:unicorn' | 'style:yaml:setup' | 'style:yaml:rules'
28282
+ type ConfigNames = 'style/eslint/comments' | 'style/formatters/setup' | 'style/ignores' | 'style/imports' | 'style/import-sort' | 'antfu/imports/disables/bin' | 'style/jsdoc' | 'style/jsonc/setup' | 'style/jsonc/rules' | 'style/markdown/setup' | 'style/markdown/processor' | 'style/markdown/parser' | 'style/markdown/disables' | 'style/package-json' | 'style/perfectionist' | 'style/prettier' | 'style/promise' | 'style/react:setup' | 'style/react:rules' | 'style/roblox' | 'style/shopify' | 'style/sonarjs' | 'style/sort-tsconfig' | 'style/spelling' | 'style/stylistic' | 'style/typescript:setup' | 'style/typescript:rules' | 'style/typescript:dts-overrides' | 'style/unicorn' | 'style/yaml:setup' | 'style/yaml:rules'
27936
28283
 
27937
28284
  type Awaitable<T> = Promise<T> | T;
27938
28285
  type Rules = RuleOptions;
@@ -28020,7 +28367,7 @@ interface OptionsHasTypeScript {
28020
28367
  typescript?: boolean;
28021
28368
  }
28022
28369
  interface OptionsStylistic {
28023
- stylistic?: StylisticConfig | boolean;
28370
+ stylistic?: boolean | StylisticConfig;
28024
28371
  }
28025
28372
  type StylisticConfig = Pick<StylisticCustomizeOptions, "indent" | "jsx" | "quotes" | "semi">;
28026
28373
  type ReactConfig = {
@@ -28047,7 +28394,7 @@ interface OptionsConfig extends OptionsComponentExtensions {
28047
28394
  *
28048
28395
  * @default true
28049
28396
  */
28050
- formatters?: OptionsFormatters | boolean;
28397
+ formatters?: boolean | OptionsFormatters;
28051
28398
  /**
28052
28399
  * Enable gitignore support.
28053
28400
  *
@@ -28056,13 +28403,13 @@ interface OptionsConfig extends OptionsComponentExtensions {
28056
28403
  * @default true
28057
28404
  * @see https://github.com/antfu/eslint-config-flat-gitignore
28058
28405
  */
28059
- gitignore?: FlatGitignoreOptions | boolean;
28406
+ gitignore?: boolean | FlatGitignoreOptions;
28060
28407
  /**
28061
28408
  * Enable JSONC support.
28062
28409
  *
28063
28410
  * @default true
28064
28411
  */
28065
- jsonc?: OptionsOverrides | boolean;
28412
+ jsonc?: boolean | OptionsOverrides;
28066
28413
  /**
28067
28414
  * Enable JSX related rules.
28068
28415
  *
@@ -28078,7 +28425,7 @@ interface OptionsConfig extends OptionsComponentExtensions {
28078
28425
  *
28079
28426
  * @default true
28080
28427
  */
28081
- markdown?: OptionsOverrides | boolean;
28428
+ markdown?: boolean | OptionsOverrides;
28082
28429
  /**
28083
28430
  * Enable react rules.
28084
28431
  *
@@ -28089,7 +28436,7 @@ interface OptionsConfig extends OptionsComponentExtensions {
28089
28436
  *
28090
28437
  * @default false
28091
28438
  */
28092
- react?: ReactConfig | boolean;
28439
+ react?: boolean | ReactConfig;
28093
28440
  /**
28094
28441
  * Enable Roblox-TS support.
28095
28442
  *
@@ -28103,19 +28450,19 @@ interface OptionsConfig extends OptionsComponentExtensions {
28103
28450
  *
28104
28451
  * @default true
28105
28452
  */
28106
- spellCheck?: SpellCheckConfig | boolean;
28453
+ spellCheck?: boolean | SpellCheckConfig;
28107
28454
  /**
28108
28455
  * Enable stylistic rules.
28109
28456
  *
28110
28457
  * @default true
28111
28458
  */
28112
- stylistic?: StylisticConfig | boolean;
28459
+ stylistic?: boolean | StylisticConfig;
28113
28460
  /**
28114
28461
  * Enable TOML support.
28115
28462
  *
28116
28463
  * @default true
28117
28464
  */
28118
- toml?: OptionsOverrides | boolean;
28465
+ toml?: boolean | OptionsOverrides;
28119
28466
  /**
28120
28467
  * Enable TypeScript support.
28121
28468
  *
@@ -28129,7 +28476,7 @@ interface OptionsConfig extends OptionsComponentExtensions {
28129
28476
  *
28130
28477
  * @default true
28131
28478
  */
28132
- yaml?: OptionsOverrides | boolean;
28479
+ yaml?: boolean | OptionsOverrides;
28133
28480
  }
28134
28481
 
28135
28482
  declare function comments(): Promise<Array<TypedFlatConfigItem>>;