@so1ve/eslint-config 3.8.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -325,7 +325,7 @@ interface RuleOptions {
325
325
  */
326
326
  'html/element-newline'?: Linter.RuleEntry<HtmlElementNewline>;
327
327
  /**
328
- * Enforce consistent naming id attributes
328
+ * Enforce consistent naming of id attributes
329
329
  * @see https://html-eslint.org/docs/rules/id-naming-convention
330
330
  */
331
331
  'html/id-naming-convention'?: Linter.RuleEntry<HtmlIdNamingConvention>;
@@ -334,27 +334,27 @@ interface RuleOptions {
334
334
  */
335
335
  'html/indent'?: Linter.RuleEntry<HtmlIndent>;
336
336
  /**
337
- * Enforce to use lowercase for tag and attribute names.
337
+ * Enforce use of lowercase for tag and attribute names.
338
338
  * @see https://html-eslint.org/docs/rules/lowercase
339
339
  */
340
340
  'html/lowercase'?: Linter.RuleEntry<[]>;
341
341
  /**
342
- * Enforce element maximum depth
342
+ * Enforce maximum element depth
343
343
  * @see https://html-eslint.org/docs/rules/max-element-depth
344
344
  */
345
345
  'html/max-element-depth'?: Linter.RuleEntry<HtmlMaxElementDepth>;
346
346
  /**
347
- * Disallow to use of abstract roles
347
+ * Disallow use of abstract roles
348
348
  * @see https://html-eslint.org/docs/rules/no-abstract-roles
349
349
  */
350
350
  'html/no-abstract-roles'?: Linter.RuleEntry<[]>;
351
351
  /**
352
- * Disallow to use of accesskey attribute
352
+ * Disallow use of accesskey attribute
353
353
  * @see https://html-eslint.org/docs/rules/no-accesskey-attrs
354
354
  */
355
355
  'html/no-accesskey-attrs'?: Linter.RuleEntry<[]>;
356
356
  /**
357
- * Disallow to use aria-hidden attributes on the `body` element.
357
+ * Disallow use of aria-hidden attributes on the `body` element.
358
358
  * @see https://html-eslint.org/docs/rules/no-aria-hidden-body
359
359
  */
360
360
  'html/no-aria-hidden-body'?: Linter.RuleEntry<[]>;
@@ -364,17 +364,17 @@ interface RuleOptions {
364
364
  */
365
365
  'html/no-aria-hidden-on-focusable'?: Linter.RuleEntry<[]>;
366
366
  /**
367
- * Disallow to use duplicate attributes
367
+ * Disallow duplicate attributes
368
368
  * @see https://html-eslint.org/docs/rules/no-duplicate-attrs
369
369
  */
370
370
  'html/no-duplicate-attrs'?: Linter.RuleEntry<[]>;
371
371
  /**
372
- * Disallow to use duplicate class
372
+ * Disallow duplicate class names
373
373
  * @see https://html-eslint.org/docs/rules/no-duplicate-class
374
374
  */
375
375
  'html/no-duplicate-class'?: Linter.RuleEntry<[]>;
376
376
  /**
377
- * Disallow to use duplicate id
377
+ * Disallow duplicate id attributes
378
378
  * @see https://html-eslint.org/docs/rules/no-duplicate-id
379
379
  */
380
380
  'html/no-duplicate-id'?: Linter.RuleEntry<[]>;
@@ -389,7 +389,7 @@ interface RuleOptions {
389
389
  */
390
390
  'html/no-empty-headings'?: Linter.RuleEntry<[]>;
391
391
  /**
392
- * Disallow an extra spacing around attributes
392
+ * Disallow extra spacing around attributes
393
393
  * @see https://html-eslint.org/docs/rules/no-extra-spacing-attrs
394
394
  */
395
395
  'html/no-extra-spacing-attrs'?: Linter.RuleEntry<HtmlNoExtraSpacingAttrs>;
@@ -403,6 +403,10 @@ interface RuleOptions {
403
403
  * @see https://html-eslint.org/docs/rules/no-heading-inside-button
404
404
  */
405
405
  'html/no-heading-inside-button'?: Linter.RuleEntry<[]>;
406
+ /**
407
+ * Disallow HTML attributes that have no effect in their context
408
+ */
409
+ 'html/no-ineffective-attrs'?: Linter.RuleEntry<[]>;
406
410
  /**
407
411
  * Disallow using inline style
408
412
  * @see https://html-eslint.org/docs/rules/no-inline-styles
@@ -439,7 +443,7 @@ interface RuleOptions {
439
443
  */
440
444
  'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>;
441
445
  /**
442
- * Disallow to use obsolete elements in HTML5
446
+ * Disallow use of obsolete elements in HTML5
443
447
  * @see https://html-eslint.org/docs/rules/no-obsolete-tags
444
448
  */
445
449
  'html/no-obsolete-tags'?: Linter.RuleEntry<[]>;
@@ -494,7 +498,7 @@ interface RuleOptions {
494
498
  */
495
499
  'html/require-attrs'?: Linter.RuleEntry<HtmlRequireAttrs>;
496
500
  /**
497
- * Require use of button element with a valid type attribute.
501
+ * Require use of the button element with a valid type attribute.
498
502
  * @see https://html-eslint.org/docs/rules/require-button-type
499
503
  */
500
504
  'html/require-button-type'?: Linter.RuleEntry<[]>;
@@ -504,7 +508,7 @@ interface RuleOptions {
504
508
  */
505
509
  'html/require-closing-tags'?: Linter.RuleEntry<HtmlRequireClosingTags>;
506
510
  /**
507
- * Require `<!DOCTYPE HTML>` in html,
511
+ * Require `<!DOCTYPE HTML>` in HTML
508
512
  * @see https://html-eslint.org/docs/rules/require-doctype
509
513
  */
510
514
  'html/require-doctype'?: Linter.RuleEntry<[]>;
@@ -524,7 +528,7 @@ interface RuleOptions {
524
528
  */
525
529
  'html/require-frame-title'?: Linter.RuleEntry<[]>;
526
530
  /**
527
- * Require `alt` attribute at `<img>` tag
531
+ * Require `alt` attribute on `<img>` tag
528
532
  * @see https://html-eslint.org/docs/rules/require-img-alt
529
533
  */
530
534
  'html/require-img-alt'?: Linter.RuleEntry<HtmlRequireImgAlt>;
@@ -534,17 +538,17 @@ interface RuleOptions {
534
538
  */
535
539
  'html/require-input-label'?: Linter.RuleEntry<[]>;
536
540
  /**
537
- * Require `lang` attribute at `<html>` tag
541
+ * Require `lang` attribute on `<html>` tag
538
542
  * @see https://html-eslint.org/docs/rules/require-lang
539
543
  */
540
544
  'html/require-lang'?: Linter.RuleEntry<[]>;
541
545
  /**
542
- * Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
546
+ * Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
543
547
  * @see https://html-eslint.org/docs/rules/require-li-container
544
548
  */
545
549
  'html/require-li-container'?: Linter.RuleEntry<[]>;
546
550
  /**
547
- * Enforce to use `<meta charset="...">` in `<head>`
551
+ * Enforce use of `<meta charset="...">` in `<head>`
548
552
  * @see https://html-eslint.org/docs/rules/require-meta-charset
549
553
  */
550
554
  'html/require-meta-charset'?: Linter.RuleEntry<[]>;
@@ -554,17 +558,17 @@ interface RuleOptions {
554
558
  */
555
559
  'html/require-meta-description'?: Linter.RuleEntry<[]>;
556
560
  /**
557
- * Enforce to use `<meta name="viewport">` in `<head>`
561
+ * Enforce use of `<meta name="viewport">` in `<head>`
558
562
  * @see https://html-eslint.org/docs/rules/require-meta-viewport
559
563
  */
560
564
  'html/require-meta-viewport'?: Linter.RuleEntry<[]>;
561
565
  /**
562
- * Enforce to use specified meta tags for open graph protocol.
566
+ * Enforce use of specified meta tags for open graph protocol.
563
567
  * @see https://html-eslint.org/docs/rules/require-open-graph-protocol
564
568
  */
565
569
  'html/require-open-graph-protocol'?: Linter.RuleEntry<HtmlRequireOpenGraphProtocol>;
566
570
  /**
567
- * Require `<title><title/>` in the `<head><head/>`
571
+ * Require `<title>` in the `<head>`
568
572
  * @see https://html-eslint.org/docs/rules/require-title
569
573
  */
570
574
  'html/require-title'?: Linter.RuleEntry<[]>;
@@ -607,233 +611,238 @@ interface RuleOptions {
607
611
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>;
608
612
  /**
609
613
  * Enforce or ban the use of inline type-only markers for named imports.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/consistent-type-specifier-style.md
614
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/consistent-type-specifier-style.md
611
615
  */
612
616
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
613
617
  /**
614
618
  * Ensure a default export is present, given a default import.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/default.md
619
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/default.md
616
620
  */
617
621
  'import/default'?: Linter.RuleEntry<[]>;
618
622
  /**
619
623
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/dynamic-import-chunkname.md
624
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/dynamic-import-chunkname.md
621
625
  */
622
626
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
623
627
  /**
624
628
  * Forbid any invalid exports, i.e. re-export of the same name.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/export.md
629
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/export.md
626
630
  */
627
631
  'import/export'?: Linter.RuleEntry<[]>;
628
632
  /**
629
633
  * Ensure all exports appear after other statements.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/exports-last.md
634
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/exports-last.md
631
635
  */
632
636
  'import/exports-last'?: Linter.RuleEntry<[]>;
633
637
  /**
634
638
  * Ensure consistent use of file extension within the import path.
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/extensions.md
639
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/extensions.md
636
640
  */
637
641
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
638
642
  /**
639
643
  * Ensure all imports appear before other statements.
640
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/first.md
644
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/first.md
641
645
  */
642
646
  'import/first'?: Linter.RuleEntry<ImportFirst>;
643
647
  /**
644
648
  * Prefer named exports to be grouped together in a single export declaration.
645
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/group-exports.md
649
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/group-exports.md
646
650
  */
647
651
  'import/group-exports'?: Linter.RuleEntry<[]>;
648
652
  /**
649
653
  * Replaced by `import-x/first`.
650
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/imports-first.md
654
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/imports-first.md
651
655
  * @deprecated
652
656
  */
653
657
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
654
658
  /**
655
659
  * Enforce the maximum number of dependencies a module can have.
656
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/max-dependencies.md
660
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/max-dependencies.md
657
661
  */
658
662
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
659
663
  /**
660
664
  * Ensure named imports correspond to a named export in the remote file.
661
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/named.md
665
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/named.md
662
666
  */
663
667
  'import/named'?: Linter.RuleEntry<ImportNamed>;
664
668
  /**
665
669
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
666
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/namespace.md
670
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/namespace.md
667
671
  */
668
672
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
669
673
  /**
670
674
  * Enforce a newline after import statements.
671
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/newline-after-import.md
675
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/newline-after-import.md
672
676
  */
673
677
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
674
678
  /**
675
679
  * Forbid import of modules using absolute paths.
676
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-absolute-path.md
680
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-absolute-path.md
677
681
  */
678
682
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
679
683
  /**
680
684
  * Forbid AMD `require` and `define` calls.
681
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-amd.md
685
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-amd.md
682
686
  */
683
687
  'import/no-amd'?: Linter.RuleEntry<[]>;
684
688
  /**
685
689
  * Forbid anonymous values as default exports.
686
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-anonymous-default-export.md
690
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-anonymous-default-export.md
687
691
  */
688
692
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
689
693
  /**
690
694
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
691
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-commonjs.md
695
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-commonjs.md
692
696
  */
693
697
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
694
698
  /**
695
699
  * Forbid a module from importing a module with a dependency path back to itself.
696
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-cycle.md
700
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-cycle.md
697
701
  */
698
702
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
699
703
  /**
700
704
  * Forbid default exports.
701
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-default-export.md
705
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-default-export.md
702
706
  */
703
707
  'import/no-default-export'?: Linter.RuleEntry<[]>;
704
708
  /**
705
709
  * Forbid imported names marked with `@deprecated` documentation tag.
706
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-deprecated.md
710
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-deprecated.md
707
711
  */
708
712
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
709
713
  /**
710
714
  * Forbid repeated import of the same module in multiple places.
711
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-duplicates.md
715
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-duplicates.md
712
716
  */
713
717
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
714
718
  /**
715
719
  * Forbid `require()` calls with expressions.
716
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-dynamic-require.md
720
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-dynamic-require.md
717
721
  */
718
722
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
719
723
  /**
720
724
  * Forbid empty named import blocks.
721
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-empty-named-blocks.md
725
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-empty-named-blocks.md
722
726
  */
723
727
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
724
728
  /**
725
729
  * Forbid the use of extraneous packages.
726
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-extraneous-dependencies.md
730
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-extraneous-dependencies.md
727
731
  */
728
732
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
729
733
  /**
730
734
  * Forbid import statements with CommonJS module.exports.
731
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-import-module-exports.md
735
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-import-module-exports.md
732
736
  */
733
737
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
734
738
  /**
735
739
  * Forbid importing the submodules of other modules.
736
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-internal-modules.md
740
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-internal-modules.md
737
741
  */
738
742
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
739
743
  /**
740
744
  * Forbid the use of mutable exports with `var` or `let`.
741
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-mutable-exports.md
745
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-mutable-exports.md
742
746
  */
743
747
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
744
748
  /**
745
749
  * Forbid use of exported name as identifier of default export.
746
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default.md
750
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default.md
747
751
  */
748
752
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
749
753
  /**
750
754
  * Forbid use of exported name as property of default export.
751
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-as-default-member.md
755
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-as-default-member.md
752
756
  */
753
757
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
754
758
  /**
755
759
  * Forbid named default exports.
756
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-default.md
760
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-default.md
757
761
  */
758
762
  'import/no-named-default'?: Linter.RuleEntry<[]>;
759
763
  /**
760
764
  * Forbid named exports.
761
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-named-export.md
765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-named-export.md
762
766
  */
763
767
  'import/no-named-export'?: Linter.RuleEntry<[]>;
764
768
  /**
765
769
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
766
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-namespace.md
770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-namespace.md
767
771
  */
768
772
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
769
773
  /**
770
774
  * Forbid Node.js builtin modules.
771
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-nodejs-modules.md
775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-nodejs-modules.md
772
776
  */
773
777
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
774
778
  /**
775
779
  * Forbid importing packages through relative paths.
776
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-packages.md
780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-packages.md
777
781
  */
778
782
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
779
783
  /**
780
784
  * Forbid importing modules from parent directories.
781
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-relative-parent-imports.md
785
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-relative-parent-imports.md
782
786
  */
783
787
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
784
788
  /**
785
789
  * Forbid importing a default export by a different name.
786
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-rename-default.md
790
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-rename-default.md
787
791
  */
788
792
  'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
789
793
  /**
790
794
  * Enforce which files can be imported in a given folder.
791
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-restricted-paths.md
795
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-restricted-paths.md
792
796
  */
793
797
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
794
798
  /**
795
799
  * Forbid a module from importing itself.
796
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-self-import.md
800
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-self-import.md
797
801
  */
798
802
  'import/no-self-import'?: Linter.RuleEntry<[]>;
799
803
  /**
800
804
  * Forbid unassigned imports.
801
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unassigned-import.md
805
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unassigned-import.md
802
806
  */
803
807
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
804
808
  /**
805
809
  * Ensure imports point to a file/module that can be resolved.
806
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unresolved.md
810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unresolved.md
807
811
  */
808
812
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
809
813
  /**
810
814
  * Forbid modules without exports, or exports without matching import in another module.
811
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-unused-modules.md
815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-unused-modules.md
812
816
  */
813
817
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
814
818
  /**
815
819
  * Forbid unnecessary path segments in import and require statements.
816
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-useless-path-segments.md
820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-useless-path-segments.md
817
821
  */
818
822
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
819
823
  /**
820
824
  * Forbid webpack loader syntax in imports.
821
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/no-webpack-loader-syntax.md
825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/no-webpack-loader-syntax.md
822
826
  */
823
827
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
824
828
  /**
825
829
  * Enforce a convention in module import order.
826
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/order.md
830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/order.md
827
831
  */
828
832
  'import/order'?: Linter.RuleEntry<ImportOrder>;
829
833
  /**
830
834
  * Prefer a default export if module exports a single name or multiple names.
831
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/prefer-default-export.md
835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-default-export.md
832
836
  */
833
837
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
838
+ /**
839
+ * Enforce using namespace imports for specific modules, like `react`/`react-dom`, etc.
840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/prefer-namespace-import.md
841
+ */
842
+ 'import/prefer-namespace-import'?: Linter.RuleEntry<ImportPreferNamespaceImport>;
834
843
  /**
835
844
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
836
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.2/docs/rules/unambiguous.md
845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.16.1/docs/rules/unambiguous.md
837
846
  */
838
847
  'import/unambiguous'?: Linter.RuleEntry<[]>;
839
848
  /**
@@ -4428,670 +4437,690 @@ interface RuleOptions {
4428
4437
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>;
4429
4438
  /**
4430
4439
  * Improve regexes by making them shorter, consistent, and safer.
4431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
4440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/better-regex.md
4432
4441
  */
4433
4442
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>;
4434
4443
  /**
4435
4444
  * Enforce a specific parameter name in catch clauses.
4436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
4445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/catch-error-name.md
4437
4446
  */
4438
4447
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>;
4439
4448
  /**
4440
4449
  * Enforce consistent assertion style with `node:assert`.
4441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
4450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-assert.md
4442
4451
  */
4443
4452
  'unicorn/consistent-assert'?: Linter.RuleEntry<[]>;
4444
4453
  /**
4445
4454
  * Prefer passing `Date` directly to the constructor when cloning.
4446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
4455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-date-clone.md
4447
4456
  */
4448
4457
  'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>;
4449
4458
  /**
4450
4459
  * Use destructured variables over properties.
4451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
4460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-destructuring.md
4452
4461
  */
4453
4462
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>;
4454
4463
  /**
4455
4464
  * Prefer consistent types when spreading a ternary in an array literal.
4456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
4465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-empty-array-spread.md
4457
4466
  */
4458
4467
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>;
4459
4468
  /**
4460
4469
  * Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
4461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
4470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-existence-index-check.md
4462
4471
  */
4463
4472
  'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>;
4464
4473
  /**
4465
4474
  * Move function definitions to the highest possible scope.
4466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
4475
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/consistent-function-scoping.md
4467
4476
  */
4468
4477
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>;
4469
4478
  /**
4470
4479
  * Enforce correct `Error` subclassing.
4471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
4480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/custom-error-definition.md
4472
4481
  */
4473
4482
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>;
4474
4483
  /**
4475
4484
  * Enforce no spaces between braces.
4476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
4485
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/empty-brace-spaces.md
4477
4486
  */
4478
4487
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>;
4479
4488
  /**
4480
4489
  * Enforce passing a `message` value when creating a built-in error.
4481
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
4490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/error-message.md
4482
4491
  */
4483
4492
  'unicorn/error-message'?: Linter.RuleEntry<[]>;
4484
4493
  /**
4485
4494
  * Require escape sequences to use uppercase or lowercase values.
4486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
4495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/escape-case.md
4487
4496
  */
4488
4497
  'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>;
4489
4498
  /**
4490
4499
  * Add expiration conditions to TODO comments.
4491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
4500
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/expiring-todo-comments.md
4492
4501
  */
4493
4502
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>;
4494
4503
  /**
4495
4504
  * Enforce explicitly comparing the `length` or `size` property of a value.
4496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
4505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/explicit-length-check.md
4497
4506
  */
4498
4507
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>;
4499
4508
  /**
4500
4509
  * Enforce a case style for filenames.
4501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
4510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/filename-case.md
4502
4511
  */
4503
4512
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>;
4504
4513
  /**
4505
4514
  * Enforce specific import styles per module.
4506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
4515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/import-style.md
4507
4516
  */
4508
4517
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>;
4509
4518
  /**
4510
4519
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
4511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
4520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/new-for-builtins.md
4512
4521
  */
4513
4522
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>;
4514
4523
  /**
4515
4524
  * Enforce specifying rules to disable in `eslint-disable` comments.
4516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
4525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-abusive-eslint-disable.md
4517
4526
  */
4518
4527
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>;
4519
4528
  /**
4520
4529
  * Disallow recursive access to `this` within getters and setters.
4521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
4530
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-accessor-recursion.md
4522
4531
  */
4523
4532
  'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>;
4524
4533
  /**
4525
4534
  * Disallow anonymous functions and classes as the default export.
4526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
4535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-anonymous-default-export.md
4527
4536
  */
4528
4537
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>;
4529
4538
  /**
4530
4539
  * Prevent passing a function reference directly to iterator methods.
4531
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
4540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-callback-reference.md
4532
4541
  */
4533
4542
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>;
4534
4543
  /**
4535
4544
  * Prefer `for…of` over the `forEach` method.
4536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
4545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-for-each.md
4537
4546
  */
4538
4547
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>;
4539
4548
  /**
4540
4549
  * Disallow using the `this` argument in array methods.
4541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
4550
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-method-this-argument.md
4542
4551
  */
4543
4552
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>;
4544
4553
  /**
4545
4554
  * Replaced by `unicorn/prefer-single-call` which covers more cases.
4546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
4555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-array-push-push
4547
4556
  * @deprecated
4548
4557
  */
4549
4558
  'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>;
4550
4559
  /**
4551
4560
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
4552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
4561
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reduce.md
4553
4562
  */
4554
4563
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>;
4564
+ /**
4565
+ * Prefer `Array#toReversed()` over `Array#reverse()`.
4566
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-array-reverse.md
4567
+ */
4568
+ 'unicorn/no-array-reverse'?: Linter.RuleEntry<UnicornNoArrayReverse>;
4555
4569
  /**
4556
4570
  * Disallow member access from await expression.
4557
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
4571
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-expression-member.md
4558
4572
  */
4559
4573
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>;
4560
4574
  /**
4561
4575
  * Disallow using `await` in `Promise` method parameters.
4562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
4576
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-await-in-promise-methods.md
4563
4577
  */
4564
4578
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>;
4565
4579
  /**
4566
4580
  * Do not use leading/trailing space between `console.log` parameters.
4567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
4581
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-console-spaces.md
4568
4582
  */
4569
4583
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>;
4570
4584
  /**
4571
4585
  * Do not use `document.cookie` directly.
4572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
4586
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-document-cookie.md
4573
4587
  */
4574
4588
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>;
4575
4589
  /**
4576
4590
  * Disallow empty files.
4577
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
4591
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-empty-file.md
4578
4592
  */
4579
4593
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>;
4580
4594
  /**
4581
4595
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
4582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
4596
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-for-loop.md
4583
4597
  */
4584
4598
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>;
4585
4599
  /**
4586
4600
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
4587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
4601
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-hex-escape.md
4588
4602
  */
4589
4603
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>;
4590
4604
  /**
4591
4605
  * Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
4592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
4606
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-instanceof-array
4593
4607
  * @deprecated
4594
4608
  */
4595
4609
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>;
4596
4610
  /**
4597
4611
  * Disallow `instanceof` with built-in objects
4598
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
4612
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-instanceof-builtins.md
4599
4613
  */
4600
4614
  'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>;
4601
4615
  /**
4602
4616
  * Disallow invalid options in `fetch()` and `new Request()`.
4603
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
4617
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-fetch-options.md
4604
4618
  */
4605
4619
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>;
4606
4620
  /**
4607
4621
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
4608
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
4622
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-invalid-remove-event-listener.md
4609
4623
  */
4610
4624
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>;
4611
4625
  /**
4612
4626
  * Disallow identifiers starting with `new` or `class`.
4613
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
4627
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-keyword-prefix.md
4614
4628
  */
4615
4629
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>;
4616
4630
  /**
4617
4631
  * Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
4618
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
4632
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/deprecated-rules.md#no-length-as-slice-end
4619
4633
  * @deprecated
4620
4634
  */
4621
4635
  'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>;
4622
4636
  /**
4623
4637
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
4624
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
4638
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-lonely-if.md
4625
4639
  */
4626
4640
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>;
4627
4641
  /**
4628
4642
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
4629
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
4643
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-magic-array-flat-depth.md
4630
4644
  */
4631
4645
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>;
4632
4646
  /**
4633
4647
  * Disallow named usage of default import and export.
4634
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
4648
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-named-default.md
4635
4649
  */
4636
4650
  'unicorn/no-named-default'?: Linter.RuleEntry<[]>;
4637
4651
  /**
4638
4652
  * Disallow negated conditions.
4639
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
4653
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negated-condition.md
4640
4654
  */
4641
4655
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>;
4642
4656
  /**
4643
4657
  * Disallow negated expression in equality check.
4644
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
4658
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-negation-in-equality-check.md
4645
4659
  */
4646
4660
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>;
4647
4661
  /**
4648
4662
  * Disallow nested ternary expressions.
4649
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
4663
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-nested-ternary.md
4650
4664
  */
4651
4665
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>;
4652
4666
  /**
4653
4667
  * Disallow `new Array()`.
4654
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
4668
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-array.md
4655
4669
  */
4656
4670
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>;
4657
4671
  /**
4658
4672
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
4659
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
4673
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-new-buffer.md
4660
4674
  */
4661
4675
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>;
4662
4676
  /**
4663
4677
  * Disallow the use of the `null` literal.
4664
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
4678
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-null.md
4665
4679
  */
4666
4680
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>;
4667
4681
  /**
4668
4682
  * Disallow the use of objects as default parameters.
4669
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
4683
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-object-as-default-parameter.md
4670
4684
  */
4671
4685
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>;
4672
4686
  /**
4673
4687
  * Disallow `process.exit()`.
4674
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
4688
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-process-exit.md
4675
4689
  */
4676
4690
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>;
4677
4691
  /**
4678
4692
  * Disallow passing single-element arrays to `Promise` methods.
4679
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
4693
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-single-promise-in-promise-methods.md
4680
4694
  */
4681
4695
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>;
4682
4696
  /**
4683
4697
  * Disallow classes that only have static members.
4684
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
4698
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-static-only-class.md
4685
4699
  */
4686
4700
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>;
4687
4701
  /**
4688
4702
  * Disallow `then` property.
4689
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
4703
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-thenable.md
4690
4704
  */
4691
4705
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>;
4692
4706
  /**
4693
4707
  * Disallow assigning `this` to a variable.
4694
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
4708
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-this-assignment.md
4695
4709
  */
4696
4710
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>;
4697
4711
  /**
4698
4712
  * Disallow comparing `undefined` using `typeof`.
4699
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
4713
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-typeof-undefined.md
4700
4714
  */
4701
4715
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>;
4702
4716
  /**
4703
4717
  * Disallow using `1` as the `depth` argument of `Array#flat()`.
4704
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
4718
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-flat-depth.md
4705
4719
  */
4706
4720
  'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>;
4707
4721
  /**
4708
4722
  * Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
4709
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
4723
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-array-splice-count.md
4710
4724
  */
4711
4725
  'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>;
4712
4726
  /**
4713
4727
  * Disallow awaiting non-promise values.
4714
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
4728
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-await.md
4715
4729
  */
4716
4730
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>;
4717
4731
  /**
4718
4732
  * Enforce the use of built-in methods instead of unnecessary polyfills.
4719
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
4733
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-polyfills.md
4720
4734
  */
4721
4735
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>;
4722
4736
  /**
4723
4737
  * Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
4724
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
4738
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unnecessary-slice-end.md
4725
4739
  */
4726
4740
  'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>;
4727
4741
  /**
4728
4742
  * Disallow unreadable array destructuring.
4729
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
4743
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-array-destructuring.md
4730
4744
  */
4731
4745
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>;
4732
4746
  /**
4733
4747
  * Disallow unreadable IIFEs.
4734
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
4748
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unreadable-iife.md
4735
4749
  */
4736
4750
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>;
4737
4751
  /**
4738
4752
  * Disallow unused object properties.
4739
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
4753
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-unused-properties.md
4740
4754
  */
4741
4755
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>;
4756
+ /**
4757
+ * Disallow unnecessary `Error.captureStackTrace(…)`.
4758
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-error-capture-stack-trace.md
4759
+ */
4760
+ 'unicorn/no-useless-error-capture-stack-trace'?: Linter.RuleEntry<[]>;
4742
4761
  /**
4743
4762
  * Disallow useless fallback when spreading in object literals.
4744
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
4763
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-fallback-in-spread.md
4745
4764
  */
4746
4765
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>;
4747
4766
  /**
4748
4767
  * Disallow useless array length check.
4749
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
4768
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-length-check.md
4750
4769
  */
4751
4770
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>;
4752
4771
  /**
4753
4772
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
4754
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
4773
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-promise-resolve-reject.md
4755
4774
  */
4756
4775
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>;
4757
4776
  /**
4758
4777
  * Disallow unnecessary spread.
4759
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
4778
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-spread.md
4760
4779
  */
4761
4780
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>;
4762
4781
  /**
4763
4782
  * Disallow useless case in switch statements.
4764
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
4783
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-switch-case.md
4765
4784
  */
4766
4785
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>;
4767
4786
  /**
4768
4787
  * Disallow useless `undefined`.
4769
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
4788
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-useless-undefined.md
4770
4789
  */
4771
4790
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>;
4772
4791
  /**
4773
4792
  * Disallow number literals with zero fractions or dangling dots.
4774
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
4793
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/no-zero-fractions.md
4775
4794
  */
4776
4795
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>;
4777
4796
  /**
4778
4797
  * Enforce proper case for numeric literals.
4779
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
4798
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/number-literal-case.md
4780
4799
  */
4781
4800
  'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>;
4782
4801
  /**
4783
4802
  * Enforce the style of numeric separators by correctly grouping digits.
4784
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
4803
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/numeric-separators-style.md
4785
4804
  */
4786
4805
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>;
4787
4806
  /**
4788
4807
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
4789
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
4808
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-add-event-listener.md
4790
4809
  */
4791
4810
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>;
4792
4811
  /**
4793
4812
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
4794
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
4813
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-find.md
4795
4814
  */
4796
4815
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>;
4797
4816
  /**
4798
4817
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
4799
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
4818
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat.md
4800
4819
  */
4801
4820
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>;
4802
4821
  /**
4803
4822
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
4804
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
4823
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-flat-map.md
4805
4824
  */
4806
4825
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>;
4807
4826
  /**
4808
4827
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
4809
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
4828
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-index-of.md
4810
4829
  */
4811
4830
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>;
4812
4831
  /**
4813
4832
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
4814
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
4833
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-array-some.md
4815
4834
  */
4816
4835
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>;
4817
4836
  /**
4818
4837
  * Prefer `.at()` method for index access and `String#charAt()`.
4819
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
4838
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-at.md
4820
4839
  */
4821
4840
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>;
4822
4841
  /**
4823
4842
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
4824
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
4843
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-blob-reading-methods.md
4825
4844
  */
4826
4845
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>;
4846
+ /**
4847
+ * Prefer class field declarations over `this` assignments in constructors.
4848
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-class-fields.md
4849
+ */
4850
+ 'unicorn/prefer-class-fields'?: Linter.RuleEntry<[]>;
4827
4851
  /**
4828
4852
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
4829
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
4853
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-code-point.md
4830
4854
  */
4831
4855
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>;
4832
4856
  /**
4833
4857
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
4834
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
4858
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-date-now.md
4835
4859
  */
4836
4860
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>;
4837
4861
  /**
4838
4862
  * Prefer default parameters over reassignment.
4839
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
4863
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-default-parameters.md
4840
4864
  */
4841
4865
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>;
4842
4866
  /**
4843
4867
  * Prefer `Node#append()` over `Node#appendChild()`.
4844
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
4868
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-append.md
4845
4869
  */
4846
4870
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>;
4847
4871
  /**
4848
4872
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
4849
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
4873
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-dataset.md
4850
4874
  */
4851
4875
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>;
4852
4876
  /**
4853
4877
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
4854
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
4878
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-remove.md
4855
4879
  */
4856
4880
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>;
4857
4881
  /**
4858
4882
  * Prefer `.textContent` over `.innerText`.
4859
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
4883
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-dom-node-text-content.md
4860
4884
  */
4861
4885
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>;
4862
4886
  /**
4863
4887
  * Prefer `EventTarget` over `EventEmitter`.
4864
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
4888
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-event-target.md
4865
4889
  */
4866
4890
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>;
4867
4891
  /**
4868
4892
  * Prefer `export…from` when re-exporting.
4869
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
4893
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-export-from.md
4870
4894
  */
4871
4895
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>;
4872
4896
  /**
4873
4897
  * Prefer `globalThis` over `window`, `self`, and `global`.
4874
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
4898
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-global-this.md
4875
4899
  */
4876
4900
  'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>;
4877
4901
  /**
4878
4902
  * Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
4879
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
4903
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-import-meta-properties.md
4880
4904
  */
4881
4905
  'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>;
4882
4906
  /**
4883
4907
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
4884
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
4908
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-includes.md
4885
4909
  */
4886
4910
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>;
4887
4911
  /**
4888
4912
  * Prefer reading a JSON file as a buffer.
4889
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
4913
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-json-parse-buffer.md
4890
4914
  */
4891
4915
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>;
4892
4916
  /**
4893
4917
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
4894
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
4918
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-keyboard-event-key.md
4895
4919
  */
4896
4920
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>;
4897
4921
  /**
4898
4922
  * Prefer using a logical operator over a ternary.
4899
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
4923
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-logical-operator-over-ternary.md
4900
4924
  */
4901
4925
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>;
4902
4926
  /**
4903
4927
  * Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
4904
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
4928
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-min-max.md
4905
4929
  */
4906
4930
  'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>;
4907
4931
  /**
4908
4932
  * Enforce the use of `Math.trunc` instead of bitwise operators.
4909
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
4933
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-math-trunc.md
4910
4934
  */
4911
4935
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>;
4912
4936
  /**
4913
4937
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
4914
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
4938
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-dom-apis.md
4915
4939
  */
4916
4940
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>;
4917
4941
  /**
4918
4942
  * Prefer modern `Math` APIs over legacy patterns.
4919
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
4943
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-modern-math-apis.md
4920
4944
  */
4921
4945
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>;
4922
4946
  /**
4923
4947
  * Prefer JavaScript modules (ESM) over CommonJS.
4924
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
4948
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-module.md
4925
4949
  */
4926
4950
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>;
4927
4951
  /**
4928
4952
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
4929
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
4953
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-native-coercion-functions.md
4930
4954
  */
4931
4955
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>;
4932
4956
  /**
4933
4957
  * Prefer negative index over `.length - index` when possible.
4934
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
4958
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-negative-index.md
4935
4959
  */
4936
4960
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>;
4937
4961
  /**
4938
4962
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
4939
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
4963
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-node-protocol.md
4940
4964
  */
4941
4965
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>;
4942
4966
  /**
4943
4967
  * Prefer `Number` static properties over global ones.
4944
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
4968
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-number-properties.md
4945
4969
  */
4946
4970
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>;
4947
4971
  /**
4948
4972
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
4949
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
4973
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-object-from-entries.md
4950
4974
  */
4951
4975
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>;
4952
4976
  /**
4953
4977
  * Prefer omitting the `catch` binding parameter.
4954
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
4978
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-optional-catch-binding.md
4955
4979
  */
4956
4980
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>;
4957
4981
  /**
4958
4982
  * Prefer borrowing methods from the prototype instead of the instance.
4959
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
4983
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-prototype-methods.md
4960
4984
  */
4961
4985
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>;
4962
4986
  /**
4963
4987
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
4964
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
4988
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-query-selector.md
4965
4989
  */
4966
4990
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>;
4967
4991
  /**
4968
4992
  * Prefer `Reflect.apply()` over `Function#apply()`.
4969
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
4993
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-reflect-apply.md
4970
4994
  */
4971
4995
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>;
4972
4996
  /**
4973
4997
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
4974
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
4998
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-regexp-test.md
4975
4999
  */
4976
5000
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>;
4977
5001
  /**
4978
5002
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
4979
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
5003
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-has.md
4980
5004
  */
4981
5005
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>;
4982
5006
  /**
4983
5007
  * Prefer using `Set#size` instead of `Array#length`.
4984
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
5008
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-set-size.md
4985
5009
  */
4986
5010
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>;
4987
5011
  /**
4988
5012
  * Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
4989
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
5013
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-single-call.md
4990
5014
  */
4991
5015
  'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>;
4992
5016
  /**
4993
5017
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
4994
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
5018
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-spread.md
4995
5019
  */
4996
5020
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>;
4997
5021
  /**
4998
5022
  * Prefer using the `String.raw` tag to avoid escaping `\`.
4999
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
5023
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-raw.md
5000
5024
  */
5001
5025
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>;
5002
5026
  /**
5003
5027
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5004
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
5028
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-replace-all.md
5005
5029
  */
5006
5030
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>;
5007
5031
  /**
5008
5032
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5009
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
5033
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-slice.md
5010
5034
  */
5011
5035
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>;
5012
5036
  /**
5013
5037
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5014
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
5038
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-starts-ends-with.md
5015
5039
  */
5016
5040
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>;
5017
5041
  /**
5018
5042
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5019
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
5043
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-string-trim-start-end.md
5020
5044
  */
5021
5045
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>;
5022
5046
  /**
5023
5047
  * Prefer using `structuredClone` to create a deep clone.
5024
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
5048
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-structured-clone.md
5025
5049
  */
5026
5050
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>;
5027
5051
  /**
5028
5052
  * Prefer `switch` over multiple `else-if`.
5029
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
5053
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-switch.md
5030
5054
  */
5031
5055
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>;
5032
5056
  /**
5033
5057
  * Prefer ternary expressions over simple `if-else` statements.
5034
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
5058
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-ternary.md
5035
5059
  */
5036
5060
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>;
5037
5061
  /**
5038
5062
  * Prefer top-level await over top-level promises and async function calls.
5039
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
5063
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-top-level-await.md
5040
5064
  */
5041
5065
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>;
5042
5066
  /**
5043
5067
  * Enforce throwing `TypeError` in type checking conditions.
5044
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
5068
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prefer-type-error.md
5045
5069
  */
5046
5070
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>;
5047
5071
  /**
5048
5072
  * Prevent abbreviations.
5049
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
5073
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/prevent-abbreviations.md
5050
5074
  */
5051
5075
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>;
5052
5076
  /**
5053
5077
  * Enforce consistent relative URL style.
5054
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
5078
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/relative-url-style.md
5055
5079
  */
5056
5080
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>;
5057
5081
  /**
5058
5082
  * Enforce using the separator argument with `Array#join()`.
5059
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
5083
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-array-join-separator.md
5060
5084
  */
5061
5085
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>;
5086
+ /**
5087
+ * Require non-empty specifier list in import and export statements.
5088
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-module-specifiers.md
5089
+ */
5090
+ 'unicorn/require-module-specifiers'?: Linter.RuleEntry<[]>;
5062
5091
  /**
5063
5092
  * Enforce using the digits argument with `Number#toFixed()`.
5064
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
5093
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5065
5094
  */
5066
5095
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>;
5067
5096
  /**
5068
5097
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5069
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
5098
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/require-post-message-target-origin.md
5070
5099
  */
5071
5100
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>;
5072
5101
  /**
5073
5102
  * Enforce better string content.
5074
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
5103
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/string-content.md
5075
5104
  */
5076
5105
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>;
5077
5106
  /**
5078
5107
  * Enforce consistent brace style for `case` clauses.
5079
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
5108
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/switch-case-braces.md
5080
5109
  */
5081
5110
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>;
5082
5111
  /**
5083
5112
  * Fix whitespace-insensitive template indentation.
5084
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
5113
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/template-indent.md
5085
5114
  */
5086
5115
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>;
5087
5116
  /**
5088
5117
  * Enforce consistent case for text encoding identifiers.
5089
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
5118
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/text-encoding-identifier-case.md
5090
5119
  */
5091
5120
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>;
5092
5121
  /**
5093
5122
  * Require `new` when creating an error.
5094
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
5123
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v60.0.0/docs/rules/throw-new-error.md
5095
5124
  */
5096
5125
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>;
5097
5126
  /**
@@ -5295,6 +5324,16 @@ interface RuleOptions {
5295
5324
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
5296
5325
  */
5297
5326
  'vitest/padding-around-test-blocks'?: Linter.RuleEntry<[]>;
5327
+ /**
5328
+ * enforce using `toBeCalledOnce()` or `toHaveBeenCalledOnce()`
5329
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-once.md
5330
+ */
5331
+ 'vitest/prefer-called-once'?: Linter.RuleEntry<[]>;
5332
+ /**
5333
+ * enforce using `toBeCalledTimes(1)` or `toHaveBeenCalledTimes(1)`
5334
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-times.md
5335
+ */
5336
+ 'vitest/prefer-called-times'?: Linter.RuleEntry<[]>;
5298
5337
  /**
5299
5338
  * enforce using `toBeCalledWith()` or `toHaveBeenCalledWith()`
5300
5339
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-called-with.md
@@ -5460,6 +5499,11 @@ interface RuleOptions {
5460
5499
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
5461
5500
  */
5462
5501
  'vitest/valid-title'?: Linter.RuleEntry<VitestValidTitle>;
5502
+ /**
5503
+ * disallow `.todo` usage
5504
+ * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/warn-todo.md
5505
+ */
5506
+ 'vitest/warn-todo'?: Linter.RuleEntry<[]>;
5463
5507
  /**
5464
5508
  * Enforce linebreaks after opening and before closing array brackets in `<template>`
5465
5509
  * @see https://eslint.vuejs.org/rules/array-bracket-newline.html
@@ -5995,6 +6039,16 @@ interface RuleOptions {
5995
6039
  * @see https://eslint.vuejs.org/rules/no-mutating-props.html
5996
6040
  */
5997
6041
  'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
6042
+ /**
6043
+ * Disallow negated conditions in `<template>`
6044
+ * @see https://eslint.vuejs.org/rules/no-negated-condition.html
6045
+ */
6046
+ 'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
6047
+ /**
6048
+ * disallow negated conditions in v-if/v-else
6049
+ * @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
6050
+ */
6051
+ 'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
5998
6052
  /**
5999
6053
  * disallow parsing errors in `<template>`
6000
6054
  * @see https://eslint.vuejs.org/rules/no-parsing-error.html
@@ -6066,7 +6120,7 @@ interface RuleOptions {
6066
6120
  */
6067
6121
  'vue/no-restricted-custom-event'?: Linter.RuleEntry<VueNoRestrictedCustomEvent>;
6068
6122
  /**
6069
- * disallow specific HTML elements
6123
+ * disallow specific elements
6070
6124
  * @see https://eslint.vuejs.org/rules/no-restricted-html-elements.html
6071
6125
  */
6072
6126
  'vue/no-restricted-html-elements'?: Linter.RuleEntry<VueNoRestrictedHtmlElements>;
@@ -7070,13 +7124,11 @@ type HandleCallbackErr = [] | [string];
7070
7124
  type HtmlAttrsNewline = [] | [{
7071
7125
  closeStyle?: ("newline" | "sameline");
7072
7126
  ifAttrsMoreThan?: number;
7073
- [k: string]: unknown | undefined;
7074
7127
  }];
7075
7128
  // ----- html/element-newline -----
7076
7129
  type HtmlElementNewline = [] | [{
7077
7130
  inline?: string[];
7078
7131
  skip?: string[];
7079
- [k: string]: unknown | undefined;
7080
7132
  }];
7081
7133
  // ----- html/id-naming-convention -----
7082
7134
  type HtmlIdNamingConvention = [] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex")] | [("camelCase" | "snake_case" | "PascalCase" | "kebab-case" | "regex"), {
@@ -7089,7 +7141,6 @@ type HtmlIndent = [] | [("tab" | number)] | [("tab" | number), {
7089
7141
  tagChildrenIndent?: {
7090
7142
  [k: string]: number;
7091
7143
  };
7092
- [k: string]: unknown | undefined;
7093
7144
  }];
7094
7145
  // ----- html/max-element-depth -----
7095
7146
  type HtmlMaxElementDepth = [] | [{
@@ -7101,7 +7152,6 @@ type HtmlNoExtraSpacingAttrs = [] | [{
7101
7152
  disallowMissing?: boolean;
7102
7153
  disallowTabs?: boolean;
7103
7154
  enforceBeforeSelfClose?: boolean;
7104
- [k: string]: unknown | undefined;
7105
7155
  }];
7106
7156
  // ----- html/no-extra-spacing-text -----
7107
7157
  type HtmlNoExtraSpacingText = [] | [{
@@ -7116,22 +7166,23 @@ type HtmlNoRestrictedAttrValues = {
7116
7166
  attrPatterns: string[];
7117
7167
  attrValuePatterns: string[];
7118
7168
  message?: string;
7119
- [k: string]: unknown | undefined;
7120
7169
  }[];
7121
7170
  // ----- html/no-restricted-attrs -----
7122
7171
  type HtmlNoRestrictedAttrs = {
7123
7172
  tagPatterns: string[];
7124
7173
  attrPatterns: string[];
7125
7174
  message?: string;
7126
- [k: string]: unknown | undefined;
7127
7175
  }[];
7128
7176
  // ----- html/quotes -----
7129
- type HtmlQuotes = [] | [("single" | "double")];
7177
+ type HtmlQuotes = [] | [("single" | "double")] | [("single" | "double"), {
7178
+ enforceTemplatedAttrValue?: boolean;
7179
+ }];
7130
7180
  // ----- html/require-attrs -----
7131
7181
  type HtmlRequireAttrs = {
7132
7182
  tag: string;
7133
7183
  attr: string;
7134
7184
  value?: string;
7185
+ message?: string;
7135
7186
  }[];
7136
7187
  // ----- html/require-closing-tags -----
7137
7188
  type HtmlRequireClosingTags = [] | [{
@@ -7146,14 +7197,14 @@ type HtmlRequireExplicitSize = [] | [{
7146
7197
  // ----- html/require-img-alt -----
7147
7198
  type HtmlRequireImgAlt = [] | [{
7148
7199
  substitute?: string[];
7149
- [k: string]: unknown | undefined;
7150
7200
  }];
7151
7201
  // ----- html/require-open-graph-protocol -----
7152
7202
  type HtmlRequireOpenGraphProtocol = [] | [string[]];
7153
7203
  // ----- html/sort-attrs -----
7154
7204
  type HtmlSortAttrs = [] | [{
7155
- priority?: string[];
7156
- [k: string]: unknown | undefined;
7205
+ priority?: (string | {
7206
+ pattern: string;
7207
+ })[];
7157
7208
  }];
7158
7209
  // ----- html/use-baseline -----
7159
7210
  type HtmlUseBaseline = [] | [{
@@ -7421,6 +7472,10 @@ type ImportOrder = [] | [{
7421
7472
  type ImportPreferDefaultExport = [] | [{
7422
7473
  target?: ("single" | "any");
7423
7474
  }];
7475
+ // ----- import/prefer-namespace-import -----
7476
+ type ImportPreferNamespaceImport = [] | [{
7477
+ patterns?: string[];
7478
+ }];
7424
7479
  // ----- indent -----
7425
7480
  type Indent = [] | [("tab" | number)] | [("tab" | number), {
7426
7481
  SwitchCase?: number;
@@ -9609,10 +9664,12 @@ type StyleIndent = [] | [("tab" | number)] | [("tab" | number), {
9609
9664
  FunctionDeclaration?: {
9610
9665
  parameters?: (number | ("first" | "off"));
9611
9666
  body?: number;
9667
+ returnType?: number;
9612
9668
  };
9613
9669
  FunctionExpression?: {
9614
9670
  parameters?: (number | ("first" | "off"));
9615
9671
  body?: number;
9672
+ returnType?: number;
9616
9673
  };
9617
9674
  StaticBlock?: {
9618
9675
  body?: number;
@@ -9653,31 +9710,52 @@ type StyleJsxCurlyNewline = [] | [(("consistent" | "never") | {
9653
9710
  multiline?: ("consistent" | "require" | "forbid");
9654
9711
  })];
9655
9712
  // ----- style/jsx-curly-spacing -----
9656
- type StyleJsxCurlySpacing = [] | [((_StyleJsxCurlySpacing_BasicConfig & {
9657
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
9658
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
9659
- [k: string]: unknown | undefined;
9660
- }) | ("always" | "never"))] | [((_StyleJsxCurlySpacing_BasicConfig & {
9661
- attributes?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
9662
- children?: _StyleJsxCurlySpacingBasicConfigOrBoolean;
9663
- [k: string]: unknown | undefined;
9664
- }) | ("always" | "never")), {
9713
+ type StyleJsxCurlySpacing = [] | [({
9714
+ when?: ("always" | "never");
9665
9715
  allowMultiline?: boolean;
9666
9716
  spacing?: {
9667
9717
  objectLiterals?: ("always" | "never");
9668
- [k: string]: unknown | undefined;
9669
9718
  };
9670
- }];
9671
- type _StyleJsxCurlySpacingBasicConfigOrBoolean = (_StyleJsxCurlySpacing_BasicConfig | boolean);
9672
- interface _StyleJsxCurlySpacing_BasicConfig {
9719
+ attributes?: ({
9720
+ when?: ("always" | "never");
9721
+ allowMultiline?: boolean;
9722
+ spacing?: {
9723
+ objectLiterals?: ("always" | "never");
9724
+ };
9725
+ } | boolean);
9726
+ children?: ({
9727
+ when?: ("always" | "never");
9728
+ allowMultiline?: boolean;
9729
+ spacing?: {
9730
+ objectLiterals?: ("always" | "never");
9731
+ };
9732
+ } | boolean);
9733
+ } | ("always" | "never"))] | [({
9673
9734
  when?: ("always" | "never");
9674
9735
  allowMultiline?: boolean;
9675
9736
  spacing?: {
9676
9737
  objectLiterals?: ("always" | "never");
9677
- [k: string]: unknown | undefined;
9678
9738
  };
9679
- [k: string]: unknown | undefined;
9680
- }
9739
+ attributes?: ({
9740
+ when?: ("always" | "never");
9741
+ allowMultiline?: boolean;
9742
+ spacing?: {
9743
+ objectLiterals?: ("always" | "never");
9744
+ };
9745
+ } | boolean);
9746
+ children?: ({
9747
+ when?: ("always" | "never");
9748
+ allowMultiline?: boolean;
9749
+ spacing?: {
9750
+ objectLiterals?: ("always" | "never");
9751
+ };
9752
+ } | boolean);
9753
+ } | ("always" | "never")), {
9754
+ allowMultiline?: boolean;
9755
+ spacing?: {
9756
+ objectLiterals?: ("always" | "never");
9757
+ };
9758
+ }];
9681
9759
  // ----- style/jsx-equals-spacing -----
9682
9760
  type StyleJsxEqualsSpacing = [] | [("always" | "never")];
9683
9761
  // ----- style/jsx-first-prop-new-line -----
@@ -9693,14 +9771,12 @@ type StyleJsxIndent = [] | [("tab" | number)] | [("tab" | number), {
9693
9771
  type StyleJsxIndentProps = [] | [(("tab" | "first") | number | {
9694
9772
  indentMode?: (("tab" | "first") | number);
9695
9773
  ignoreTernaryOperator?: boolean;
9696
- [k: string]: unknown | undefined;
9697
9774
  })];
9698
9775
  // ----- style/jsx-max-props-per-line -----
9699
9776
  type StyleJsxMaxPropsPerLine = [] | [({
9700
9777
  maximum?: {
9701
9778
  single?: number;
9702
9779
  multi?: number;
9703
- [k: string]: unknown | undefined;
9704
9780
  };
9705
9781
  } | {
9706
9782
  maximum?: number;
@@ -10047,6 +10123,10 @@ type StyleKeywordSpacing = [] | [{
10047
10123
  before?: boolean;
10048
10124
  after?: boolean;
10049
10125
  };
10126
+ accessor?: {
10127
+ before?: boolean;
10128
+ after?: boolean;
10129
+ };
10050
10130
  as?: {
10051
10131
  before?: boolean;
10052
10132
  after?: boolean;
@@ -10259,11 +10339,11 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
10259
10339
  // ----- style/multiline-comment-style -----
10260
10340
  type StyleMultilineCommentStyle = ([] | [("starred-block" | "bare-block")] | [] | ["separate-lines"] | ["separate-lines", {
10261
10341
  checkJSDoc?: boolean;
10342
+ checkExclamation?: boolean;
10262
10343
  }]);
10263
10344
  // ----- style/multiline-ternary -----
10264
10345
  type StyleMultilineTernary = [] | [("always" | "always-multiline" | "never")] | [("always" | "always-multiline" | "never"), {
10265
10346
  ignoreJSX?: boolean;
10266
- [k: string]: unknown | undefined;
10267
10347
  }];
10268
10348
  // ----- style/new-parens -----
10269
10349
  type StyleNewParens = [] | [("always" | "never")];
@@ -10408,11 +10488,12 @@ type StylePaddedBlocks = [] | [(("always" | "never" | "start" | "end") | {
10408
10488
  }];
10409
10489
  // ----- style/padding-line-between-statements -----
10410
10490
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always");
10411
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-using" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-using" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "using" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]]);
10491
+ type _StylePaddingLineBetweenStatementsStatementOption = (_StylePaddingLineBetweenStatementsStatementType | [_StylePaddingLineBetweenStatementsStatementType, ...(_StylePaddingLineBetweenStatementsStatementType)[]]);
10492
+ type _StylePaddingLineBetweenStatementsStatementType = ("*" | "exports" | "require" | "directive" | "iife" | "block" | "empty" | "function" | "ts-method" | "break" | "case" | "class" | "continue" | "debugger" | "default" | "do" | "for" | "if" | "import" | "return" | "switch" | "throw" | "try" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload" | "block-like" | "singleline-block-like" | "multiline-block-like" | "expression" | "singleline-expression" | "multiline-expression" | "export" | "singleline-export" | "multiline-export" | "var" | "singleline-var" | "multiline-var" | "let" | "singleline-let" | "multiline-let" | "const" | "singleline-const" | "multiline-const" | "using" | "singleline-using" | "multiline-using");
10412
10493
  type StylePaddingLineBetweenStatements = {
10413
10494
  blankLine: _StylePaddingLineBetweenStatementsPaddingType;
10414
- prev: _StylePaddingLineBetweenStatementsStatementType;
10415
- next: _StylePaddingLineBetweenStatementsStatementType;
10495
+ prev: _StylePaddingLineBetweenStatementsStatementOption;
10496
+ next: _StylePaddingLineBetweenStatementsStatementOption;
10416
10497
  }[];
10417
10498
  // ----- style/quote-props -----
10418
10499
  type StyleQuoteProps = ([] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [] | [("always" | "as-needed" | "consistent" | "consistent-as-needed")] | [("always" | "as-needed" | "consistent" | "consistent-as-needed"), {
@@ -11114,6 +11195,7 @@ interface _TsNamingConvention_MatchRegexConfig {
11114
11195
  }
11115
11196
  // ----- ts/no-base-to-string -----
11116
11197
  type TsNoBaseToString = [] | [{
11198
+ checkUnknown?: boolean;
11117
11199
  ignoredTypeNames?: string[];
11118
11200
  }];
11119
11201
  // ----- ts/no-confusing-void-expression -----
@@ -11437,7 +11519,6 @@ type TsPreferDestructuring = [] | [({
11437
11519
  }), {
11438
11520
  enforceForDeclarationWithTypeAnnotation?: boolean;
11439
11521
  enforceForRenamedProperties?: boolean;
11440
- [k: string]: unknown | undefined;
11441
11522
  }];
11442
11523
  // ----- ts/prefer-literal-enum-member -----
11443
11524
  type TsPreferLiteralEnumMember = [] | [{
@@ -11455,7 +11536,6 @@ type TsPreferNullishCoalescing = [] | [{
11455
11536
  boolean?: boolean;
11456
11537
  number?: boolean;
11457
11538
  string?: boolean;
11458
- [k: string]: unknown | undefined;
11459
11539
  } | true);
11460
11540
  ignoreTernaryTests?: boolean;
11461
11541
  }];
@@ -11664,6 +11744,10 @@ interface _UnicornImportStyle_BooleanObject {
11664
11744
  type UnicornNoArrayReduce = [] | [{
11665
11745
  allowSimpleOperations?: boolean;
11666
11746
  }];
11747
+ // ----- unicorn/no-array-reverse -----
11748
+ type UnicornNoArrayReverse = [] | [{
11749
+ allowExpressionStatement?: boolean;
11750
+ }];
11667
11751
  // ----- unicorn/no-instanceof-builtins -----
11668
11752
  type UnicornNoInstanceofBuiltins = [] | [{
11669
11753
  useErrorIsError?: boolean;
@@ -12662,6 +12746,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
12662
12746
  // ----- vue/no-deprecated-slot-attribute -----
12663
12747
  type VueNoDeprecatedSlotAttribute = [] | [{
12664
12748
  ignore?: string[];
12749
+ ignoreParents?: string[];
12665
12750
  }];
12666
12751
  // ----- vue/no-dupe-keys -----
12667
12752
  type VueNoDupeKeys = [] | [{
@@ -13416,6 +13501,12 @@ interface Options extends OptionsComponentExts {
13416
13501
  * @default true
13417
13502
  */
13418
13503
  test?: boolean | OptionsOverrides;
13504
+ /**
13505
+ * Enable Astro support.
13506
+ *
13507
+ * @default auto-detect based on the dependencies
13508
+ */
13509
+ astro?: boolean | OptionsOverrides;
13419
13510
  /**
13420
13511
  * Enable Vue support.
13421
13512
  *
@@ -13537,11 +13628,11 @@ declare function toml({
13537
13628
  }?: OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13538
13629
  //#endregion
13539
13630
  //#region src/configs/typescript.d.ts
13540
- declare function typescript$1({
13631
+ declare const typescript$1: ({
13541
13632
  componentExts,
13542
13633
  parserOptions,
13543
13634
  overrides
13544
- }?: OptionsTypeScriptParserOptions & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
13635
+ }?: OptionsTypeScriptParserOptions & OptionsComponentExts & OptionsOverrides) => Promise<TypedFlatConfigItem[]>;
13545
13636
  //#endregion
13546
13637
  //#region src/configs/unicorn.d.ts
13547
13638
  declare const unicorn: () => TypedFlatConfigItem[];
@@ -13591,6 +13682,8 @@ declare const GLOB_JSON5 = "**/*.json5";
13591
13682
  declare const GLOB_JSONC = "**/*.jsonc";
13592
13683
  declare const GLOB_ESLINTRC = "**/.eslintrc";
13593
13684
  declare const GLOB_MARKDOWN = "**/*.md?(x)";
13685
+ declare const GLOB_ASTRO = "**/*.astro";
13686
+ declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
13594
13687
  declare const GLOB_VUE = "**/*.vue";
13595
13688
  declare const GLOB_YAML = "**/*.y?(a)ml";
13596
13689
  declare const GLOB_TOML = "**/*.toml";
@@ -13630,4 +13723,4 @@ declare function interopDefault<T>(m: MaybePromise<T>): Promise<T extends {
13630
13723
  default: infer U;
13631
13724
  } ? U : T>;
13632
13725
  //#endregion
13633
- export { GLOB_ALL_SRC, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };
13726
+ export { GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_DTS, GLOB_ESLINTRC, GLOB_EXCLUDE, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_PACKAGEJSON, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSCONFIG, GLOB_TSX, GLOB_VUE, GLOB_YAML, MaybeArray, MaybePromise, Options, OptionsComponentExts, OptionsHasTypeScript, OptionsOverrides, OptionsTypeScriptParserOptions, ResolvedOptions, Rules, TypedFlatConfigItem, comments, defaultPluginRenaming, formatting, getOverrides, html, ignores, imports, interopDefault, javascript, jsonc, mdx, node, onlyError, pnpm, promise, renameRules, resolveSubOptions, so1ve, solid, sortImports, test, toml, typescript$1 as typescript, unicorn, vue, yaml };