@lincy/eslint-config 4.6.2 → 4.7.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.cts CHANGED
@@ -398,7 +398,7 @@ interface RuleOptions {
398
398
  */
399
399
  'func-names'?: Linter.RuleEntry<FuncNames>
400
400
  /**
401
- * Enforce the consistent use of either `function` declarations or expressions
401
+ * Enforce the consistent use of either `function` declarations or expressions assigned to variables
402
402
  * @see https://eslint.org/docs/latest/rules/func-style
403
403
  */
404
404
  'func-style'?: Linter.RuleEntry<FuncStyle>
@@ -476,42 +476,42 @@ interface RuleOptions {
476
476
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
477
477
  /**
478
478
  * Enforce or ban the use of inline type-only markers for named imports.
479
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
479
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
480
480
  */
481
481
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
482
482
  /**
483
483
  * Ensure a default export is present, given a default import.
484
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
484
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
485
485
  */
486
486
  'import/default'?: Linter.RuleEntry<[]>
487
487
  /**
488
488
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
489
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
489
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
490
490
  */
491
491
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
492
492
  /**
493
493
  * Forbid any invalid exports, i.e. re-export of the same name.
494
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
494
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
495
495
  */
496
496
  'import/export'?: Linter.RuleEntry<[]>
497
497
  /**
498
498
  * Ensure all exports appear after other statements.
499
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
499
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
500
500
  */
501
501
  'import/exports-last'?: Linter.RuleEntry<[]>
502
502
  /**
503
503
  * Ensure consistent use of file extension within the import path.
504
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
504
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
505
505
  */
506
506
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
507
507
  /**
508
508
  * Ensure all imports appear before other statements.
509
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
509
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
510
510
  */
511
511
  'import/first'?: Linter.RuleEntry<ImportFirst>
512
512
  /**
513
513
  * Prefer named exports to be grouped together in a single export declaration.
514
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
514
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
515
515
  */
516
516
  'import/group-exports'?: Linter.RuleEntry<[]>
517
517
  /**
@@ -522,182 +522,182 @@ interface RuleOptions {
522
522
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
523
523
  /**
524
524
  * Enforce the maximum number of dependencies a module can have.
525
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
525
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
526
526
  */
527
527
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
528
528
  /**
529
529
  * Ensure named imports correspond to a named export in the remote file.
530
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
530
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
531
531
  */
532
532
  'import/named'?: Linter.RuleEntry<ImportNamed>
533
533
  /**
534
534
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
535
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
535
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
536
536
  */
537
537
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
538
538
  /**
539
539
  * Enforce a newline after import statements.
540
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
540
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
541
541
  */
542
542
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
543
543
  /**
544
544
  * Forbid import of modules using absolute paths.
545
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
545
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
546
546
  */
547
547
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
548
548
  /**
549
549
  * Forbid AMD `require` and `define` calls.
550
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
550
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
551
551
  */
552
552
  'import/no-amd'?: Linter.RuleEntry<[]>
553
553
  /**
554
554
  * Forbid anonymous values as default exports.
555
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
555
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
556
556
  */
557
557
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
558
558
  /**
559
559
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
560
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
560
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
561
561
  */
562
562
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
563
563
  /**
564
564
  * Forbid a module from importing a module with a dependency path back to itself.
565
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
565
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
566
566
  */
567
567
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
568
568
  /**
569
569
  * Forbid default exports.
570
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
570
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
571
571
  */
572
572
  'import/no-default-export'?: Linter.RuleEntry<[]>
573
573
  /**
574
574
  * Forbid imported names marked with `@deprecated` documentation tag.
575
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
575
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
576
576
  */
577
577
  'import/no-deprecated'?: Linter.RuleEntry<[]>
578
578
  /**
579
579
  * Forbid repeated import of the same module in multiple places.
580
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
580
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
581
581
  */
582
582
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
583
583
  /**
584
584
  * Forbid `require()` calls with expressions.
585
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
585
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
586
586
  */
587
587
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
588
588
  /**
589
589
  * Forbid empty named import blocks.
590
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
590
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
591
591
  */
592
592
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
593
593
  /**
594
594
  * Forbid the use of extraneous packages.
595
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
595
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
596
596
  */
597
597
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
598
598
  /**
599
599
  * Forbid import statements with CommonJS module.exports.
600
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
600
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
601
601
  */
602
602
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
603
603
  /**
604
604
  * Forbid importing the submodules of other modules.
605
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
605
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
606
606
  */
607
607
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
608
608
  /**
609
609
  * Forbid the use of mutable exports with `var` or `let`.
610
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
610
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
611
611
  */
612
612
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
613
613
  /**
614
614
  * Forbid use of exported name as identifier of default export.
615
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
615
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
616
616
  */
617
617
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
618
618
  /**
619
619
  * Forbid use of exported name as property of default export.
620
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
620
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
621
621
  */
622
622
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
623
623
  /**
624
624
  * Forbid named default exports.
625
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
625
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
626
626
  */
627
627
  'import/no-named-default'?: Linter.RuleEntry<[]>
628
628
  /**
629
629
  * Forbid named exports.
630
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
630
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
631
631
  */
632
632
  'import/no-named-export'?: Linter.RuleEntry<[]>
633
633
  /**
634
634
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
635
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
635
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
636
636
  */
637
637
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
638
638
  /**
639
639
  * Forbid Node.js builtin modules.
640
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
640
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
641
641
  */
642
642
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
643
643
  /**
644
644
  * Forbid importing packages through relative paths.
645
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
645
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
646
646
  */
647
647
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
648
648
  /**
649
649
  * Forbid importing modules from parent directories.
650
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
650
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
651
651
  */
652
652
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
653
653
  /**
654
654
  * Enforce which files can be imported in a given folder.
655
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
655
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
656
656
  */
657
657
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
658
658
  /**
659
659
  * Forbid a module from importing itself.
660
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
660
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
661
661
  */
662
662
  'import/no-self-import'?: Linter.RuleEntry<[]>
663
663
  /**
664
664
  * Forbid unassigned imports.
665
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
665
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
666
666
  */
667
667
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
668
668
  /**
669
669
  * Ensure imports point to a file/module that can be resolved.
670
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
670
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
671
671
  */
672
672
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
673
673
  /**
674
674
  * Forbid modules without exports, or exports without matching import in another module.
675
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
675
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
676
676
  */
677
677
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
678
678
  /**
679
679
  * Forbid unnecessary path segments in import and require statements.
680
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
680
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
681
681
  */
682
682
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
683
683
  /**
684
684
  * Forbid webpack loader syntax in imports.
685
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
685
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
686
686
  */
687
687
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
688
688
  /**
689
689
  * Enforce a convention in module import order.
690
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
690
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
691
691
  */
692
692
  'import/order'?: Linter.RuleEntry<ImportOrder>
693
693
  /**
694
694
  * Prefer a default export if module exports a single name or multiple names.
695
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
695
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
696
696
  */
697
697
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
698
698
  /**
699
699
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
700
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
700
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
701
701
  */
702
702
  'import/unambiguous'?: Linter.RuleEntry<[]>
703
703
  /**
@@ -762,6 +762,11 @@ interface RuleOptions {
762
762
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
763
763
  */
764
764
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
765
+ /**
766
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
767
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
768
+ */
769
+ 'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
765
770
  /**
766
771
  * Reports invalid types.
767
772
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -772,6 +777,11 @@ interface RuleOptions {
772
777
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
773
778
  */
774
779
  'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
780
+ /**
781
+ * Converts non-JSDoc comments preceding or following nodes into JSDoc ones
782
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
783
+ */
784
+ 'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
775
785
  /**
776
786
  * Expects specific tags to be empty of any content.
777
787
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
@@ -946,6 +956,11 @@ interface RuleOptions {
946
956
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
947
957
  */
948
958
  'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
959
+ /**
960
+ * Requires template tags for each generic type parameter
961
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
962
+ */
963
+ 'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
949
964
  /**
950
965
  * Requires that throw statements are documented.
951
966
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -2408,88 +2423,98 @@ interface RuleOptions {
2408
2423
  */
2409
2424
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
2410
2425
  /**
2411
- * enforce sorted arrays before include method
2412
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
2426
+ * Enforce sorted arrays before include method.
2427
+ * @see https://perfectionist.dev/rules/sort-array-includes
2413
2428
  */
2414
2429
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2415
2430
  /**
2416
- * enforce sorted Astro attributes
2417
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
2431
+ * Enforce sorted Astro attributes.
2432
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
2418
2433
  */
2419
2434
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2420
2435
  /**
2421
- * enforce sorted classes
2422
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
2436
+ * Enforce sorted classes.
2437
+ * @see https://perfectionist.dev/rules/sort-classes
2423
2438
  */
2424
2439
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2425
2440
  /**
2426
- * enforce sorted TypeScript enums
2427
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
2441
+ * Enforce sorted TypeScript enums.
2442
+ * @see https://perfectionist.dev/rules/sort-enums
2428
2443
  */
2429
2444
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
2430
2445
  /**
2431
- * enforce sorted exports
2432
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
2446
+ * Enforce sorted exports.
2447
+ * @see https://perfectionist.dev/rules/sort-exports
2433
2448
  */
2434
2449
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2435
2450
  /**
2436
- * enforce sorted imports
2437
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
2451
+ * Enforce sorted imports.
2452
+ * @see https://perfectionist.dev/rules/sort-imports
2438
2453
  */
2439
2454
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
2440
2455
  /**
2441
- * enforce sorted interface properties
2442
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
2456
+ * Enforce sorted interface properties.
2457
+ * @see https://perfectionist.dev/rules/sort-interfaces
2443
2458
  */
2444
2459
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
2445
2460
  /**
2446
- * enforce sorted intersection types
2447
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
2461
+ * Enforce sorted intersection types.
2462
+ * @see https://perfectionist.dev/rules/sort-intersection-types
2448
2463
  */
2449
2464
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
2450
2465
  /**
2451
- * enforce sorted JSX props
2452
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
2466
+ * Enforce sorted JSX props.
2467
+ * @see https://perfectionist.dev/rules/sort-jsx-props
2453
2468
  */
2454
2469
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
2455
2470
  /**
2456
- * enforce sorted Map elements
2457
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
2471
+ * Enforce sorted Map elements.
2472
+ * @see https://perfectionist.dev/rules/sort-maps
2458
2473
  */
2459
2474
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2460
2475
  /**
2461
- * enforce sorted named exports
2462
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
2476
+ * Enforce sorted named exports.
2477
+ * @see https://perfectionist.dev/rules/sort-named-exports
2463
2478
  */
2464
2479
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
2465
2480
  /**
2466
- * enforce sorted named imports
2467
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
2481
+ * Enforce sorted named imports.
2482
+ * @see https://perfectionist.dev/rules/sort-named-imports
2468
2483
  */
2469
2484
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
2470
2485
  /**
2471
- * enforce sorted object types
2472
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
2486
+ * Enforce sorted object types.
2487
+ * @see https://perfectionist.dev/rules/sort-object-types
2473
2488
  */
2474
2489
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
2475
2490
  /**
2476
- * enforce sorted objects
2477
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
2491
+ * Enforce sorted objects.
2492
+ * @see https://perfectionist.dev/rules/sort-objects
2478
2493
  */
2479
2494
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2480
2495
  /**
2481
- * enforce sorted Svelte attributes
2482
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
2496
+ * Enforce sorted Svelte attributes.
2497
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
2483
2498
  */
2484
2499
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2485
2500
  /**
2486
- * enforce sorted union types
2487
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
2501
+ * Enforce sorted switch cases.
2502
+ * @see https://perfectionist.dev/rules/sort-switch-case
2503
+ */
2504
+ 'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
2505
+ /**
2506
+ * Enforce sorted union types.
2507
+ * @see https://perfectionist.dev/rules/sort-union-types
2488
2508
  */
2489
2509
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
2490
2510
  /**
2491
- * enforce sorted Vue attributes
2492
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
2511
+ * Enforce sorted variable declarations.
2512
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
2513
+ */
2514
+ 'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2515
+ /**
2516
+ * Enforce sorted Vue attributes.
2517
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
2493
2518
  */
2494
2519
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2495
2520
  /**
@@ -2582,77 +2607,87 @@ interface RuleOptions {
2582
2607
  'radix'?: Linter.RuleEntry<Radix>
2583
2608
  /**
2584
2609
  * disallow passing 'children' to void DOM elements
2585
- * @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
2610
+ * @see https://eslint-react.xyz/docs/rules/dom-no-children-in-void-dom-elements
2586
2611
  */
2587
2612
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2588
2613
  /**
2589
2614
  * disallow when a DOM component is using 'dangerouslySetInnerHTML'
2590
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
2615
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2591
2616
  */
2592
2617
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
2593
2618
  /**
2594
2619
  * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
2595
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml-with-children
2620
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2596
2621
  */
2597
2622
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
2598
2623
  /**
2599
2624
  * disallow 'findDOMNode'
2600
- * @see https://eslint-react.xyz/rules/dom-no-find-dom-node
2625
+ * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2601
2626
  */
2602
2627
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2603
2628
  /**
2604
2629
  * enforce that button component have an explicit 'type' attribute
2605
- * @see https://eslint-react.xyz/rules/dom-no-missing-button-type
2630
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2606
2631
  */
2607
2632
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
2608
2633
  /**
2609
2634
  * enforce that 'iframe' component have an explicit 'sandbox' attribute
2610
- * @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
2635
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2611
2636
  */
2612
2637
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
2613
2638
  /**
2614
2639
  * enforce that namespaces are not used in React elements
2615
- * @see https://eslint-react.xyz/rules/dom-no-namespace
2640
+ * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2616
2641
  */
2617
2642
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
2618
2643
  /**
2619
2644
  * disallow usage of the return value of 'ReactDOM.render'
2620
- * @see https://eslint-react.xyz/rules/dom-no-render-return-value
2645
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2621
2646
  */
2622
2647
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
2623
2648
  /**
2624
2649
  * disallow 'javascript:' URLs as JSX event handler prop's value
2625
- * @see https://eslint-react.xyz/rules/dom-no-script-url
2650
+ * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2626
2651
  */
2627
2652
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
2628
2653
  /**
2629
2654
  * disallow unsafe iframe 'sandbox' attribute combinations
2630
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
2655
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2631
2656
  */
2632
2657
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
2633
2658
  /**
2634
- * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
2635
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-target-blank
2659
+ * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
2660
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
2636
2661
  */
2637
2662
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2638
2663
  /**
2639
2664
  * enforce custom hooks using other hooks
2640
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2665
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2641
2666
  */
2642
2667
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2643
2668
  /**
2644
2669
  * enforce 'useCallback' has non-empty dependencies array
2645
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2670
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2646
2671
  */
2647
2672
  'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2648
2673
  /**
2649
2674
  * enforce 'useMemo' has non-empty dependencies array
2650
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2675
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2651
2676
  */
2652
2677
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2678
+ /**
2679
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2680
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2681
+ */
2682
+ 'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2683
+ /**
2684
+ * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2685
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2686
+ */
2687
+ 'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2653
2688
  /**
2654
2689
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2655
- * @see https://eslint-react.xyz/rules/hooks-extra-prefer-use-state-lazy-initialization
2690
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
2656
2691
  */
2657
2692
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
2658
2693
  /**
@@ -2667,225 +2702,255 @@ interface RuleOptions {
2667
2702
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2668
2703
  /**
2669
2704
  * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
2670
- * @see https://eslint-react.xyz/rules/naming-convention-component-name
2705
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
2671
2706
  */
2672
2707
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
2673
2708
  /**
2674
2709
  * enforce naming convention for JSX filenames
2675
- * @see https://eslint-react.xyz/rules/naming-convention-filename
2710
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
2676
2711
  */
2677
2712
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
2678
2713
  /**
2679
2714
  * enforce naming convention for JSX file extensions
2680
- * @see https://eslint-react.xyz/rules/naming-convention-filename-extension
2715
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
2681
2716
  */
2682
2717
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
2683
2718
  /**
2684
2719
  * enforce destructuring and symmetric naming of 'useState' hook value and setter variables
2685
- * @see https://eslint-react.xyz/rules/naming-convention-use-state
2720
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
2686
2721
  */
2687
2722
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2688
2723
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2689
2724
  /**
2690
- * require all 'forwardRef' components include a 'ref' parameter
2691
- * @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
2725
+ * avoid using shorthand boolean attribute
2726
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2727
+ */
2728
+ 'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2729
+ /**
2730
+ * avoid using shorthand fragment syntax
2731
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2732
+ */
2733
+ 'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
2734
+ /**
2735
+ * require a 'ref' parameter to be set when using 'forwardRef'
2736
+ * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2692
2737
  */
2693
2738
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2694
2739
  /**
2695
2740
  * disallow accessing 'this.state' within 'setState'
2696
- * @see https://eslint-react.xyz/rules/no-access-state-in-setstate
2741
+ * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
2697
2742
  */
2698
2743
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2699
2744
  /**
2700
- * disallow using Array index as key
2701
- * @see https://eslint-react.xyz/rules/no-array-index-key
2745
+ * disallow using Array index as 'key'
2746
+ * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2702
2747
  */
2703
2748
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
2704
2749
  /**
2705
- * disallow 'Children.count'
2706
- * @see https://eslint-react.xyz/rules/no-children-count
2750
+ * disallow using 'Children.count'
2751
+ * @see https://eslint-react.xyz/docs/rules/no-children-count
2707
2752
  */
2708
2753
  'react/no-children-count'?: Linter.RuleEntry<[]>
2709
2754
  /**
2710
- * disallow 'Children.forEach'
2711
- * @see https://eslint-react.xyz/rules/no-children-for-each
2755
+ * disallow using 'Children.forEach'
2756
+ * @see https://eslint-react.xyz/docs/rules/no-children-for-each
2712
2757
  */
2713
2758
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
2714
2759
  /**
2715
- * disallow 'Children.map'
2716
- * @see https://eslint-react.xyz/rules/no-children-map
2760
+ * disallow using 'Children.map'
2761
+ * @see https://eslint-react.xyz/docs/rules/no-children-map
2717
2762
  */
2718
2763
  'react/no-children-map'?: Linter.RuleEntry<[]>
2719
2764
  /**
2720
- * disallow 'Children.only'
2721
- * @see https://eslint-react.xyz/rules/no-children-only
2765
+ * disallow using 'Children.only'
2766
+ * @see https://eslint-react.xyz/docs/rules/no-children-only
2722
2767
  */
2723
2768
  'react/no-children-only'?: Linter.RuleEntry<[]>
2724
2769
  /**
2725
- * disallow passing of 'children' as props
2726
- * @see https://eslint-react.xyz/rules/no-children-prop
2770
+ * disallow passing 'children' as props
2771
+ * @see https://eslint-react.xyz/docs/rules/no-children-prop
2727
2772
  */
2728
2773
  'react/no-children-prop'?: Linter.RuleEntry<[]>
2729
2774
  /**
2730
- * disallow 'Children.toArray'
2731
- * @see https://eslint-react.xyz/rules/no-children-to-array
2775
+ * disallow using 'Children.toArray'
2776
+ * @see https://eslint-react.xyz/docs/rules/no-children-to-array
2732
2777
  */
2733
2778
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
2734
2779
  /**
2735
- * disallow class component
2736
- * @see https://eslint-react.xyz/rules/no-class-component
2780
+ * disallow using class components
2781
+ * @see https://eslint-react.xyz/docs/rules/no-class-component
2737
2782
  */
2738
2783
  'react/no-class-component'?: Linter.RuleEntry<[]>
2739
2784
  /**
2740
- * disallow 'cloneElement'
2741
- * @see https://eslint-react.xyz/rules/no-clone-element
2785
+ * disallow using 'cloneElement'
2786
+ * @see https://eslint-react.xyz/docs/rules/no-clone-element
2742
2787
  */
2743
2788
  'react/no-clone-element'?: Linter.RuleEntry<[]>
2744
2789
  /**
2745
2790
  * disallow comments from being inserted as text nodes
2746
- * @see https://eslint-react.xyz/rules/no-comment-textnodes
2791
+ * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
2747
2792
  */
2748
2793
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
2749
2794
  /**
2750
- * disallow complicated conditional rendering
2751
- * @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
2795
+ * disallow complex conditional rendering
2796
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2797
+ * @deprecated
2798
+ */
2799
+ 'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
2800
+ /**
2801
+ * disallow complex conditional rendering
2802
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
2752
2803
  * @deprecated
2753
2804
  */
2754
2805
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
2755
2806
  /**
2756
- * disallow usage of 'componentWillMount'
2757
- * @see https://eslint-react.xyz/rules/no-component-will-mount
2807
+ * disallow using 'componentWillMount'
2808
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
2758
2809
  */
2759
2810
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
2760
2811
  /**
2761
- * disallow usage of 'componentWillReceiveProps'
2762
- * @see https://eslint-react.xyz/rules/no-component-will-receive-props
2812
+ * disallow using 'componentWillReceiveProps'
2813
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
2763
2814
  */
2764
2815
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
2765
2816
  /**
2766
- * disallow usage of 'componentWillUpdate'
2767
- * @see https://eslint-react.xyz/rules/no-component-will-update
2817
+ * disallow using 'componentWillReceiveProps'
2818
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-update
2768
2819
  */
2769
2820
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
2770
2821
  /**
2771
- * disallow 'createRef' in function components
2772
- * @see https://eslint-react.xyz/rules/no-create-ref
2822
+ * disallow using 'createRef' in function components
2823
+ * @see https://eslint-react.xyz/docs/rules/no-create-ref
2773
2824
  */
2774
2825
  'react/no-create-ref'?: Linter.RuleEntry<[]>
2826
+ /**
2827
+ * disallow using 'defaultProps' property in components
2828
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
2829
+ */
2830
+ 'react/no-default-props'?: Linter.RuleEntry<[]>
2775
2831
  /**
2776
2832
  * disallow direct mutation of state
2777
- * @see https://eslint-react.xyz/rules/no-direct-mutation-state
2833
+ * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
2778
2834
  */
2779
2835
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
2780
2836
  /**
2781
2837
  * disallow duplicate keys in 'key' prop when rendering list
2782
- * @see https://eslint-react.xyz/rules/no-duplicate-key
2838
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
2783
2839
  */
2784
2840
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
2785
2841
  /**
2786
- * disallow spreading 'key' from objects.
2787
- * @see https://eslint-react.xyz/rules/no-implicit-key
2788
- * @deprecated
2842
+ * disallow implicit 'key' props
2843
+ * @see https://eslint-react.xyz/docs/rules/no-implicit-key
2789
2844
  */
2790
2845
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
2791
2846
  /**
2792
2847
  * disallow problematic leaked values from being rendered
2793
- * @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
2848
+ * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
2794
2849
  */
2795
2850
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
2796
2851
  /**
2797
- * require 'displayName' for memo and forwardRef components
2798
- * @see https://eslint-react.xyz/rules/no-missing-component-display-name
2852
+ * require 'displayName' for 'memo' and 'forwardRef' components
2853
+ * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
2799
2854
  */
2800
2855
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
2801
2856
  /**
2802
2857
  * require 'key' prop when rendering list
2803
- * @see https://eslint-react.xyz/rules/no-missing-key
2858
+ * @see https://eslint-react.xyz/docs/rules/no-missing-key
2804
2859
  */
2805
2860
  'react/no-missing-key'?: Linter.RuleEntry<[]>
2806
2861
  /**
2807
- * disallow usage of unstable nested components
2808
- * @see https://eslint-react.xyz/rules/no-nested-components
2862
+ * disallow using unstable nested components
2863
+ * @see https://eslint-react.xyz/docs/rules/no-nested-components
2809
2864
  */
2810
2865
  'react/no-nested-components'?: Linter.RuleEntry<[]>
2811
2866
  /**
2812
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2813
- * @see https://eslint-react.xyz/rules/no-redundant-should-component-update
2867
+ * disallow using 'propTypes' property in components
2868
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
2869
+ */
2870
+ 'react/no-prop-types'?: Linter.RuleEntry<[]>
2871
+ /**
2872
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
2873
+ * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
2814
2874
  */
2815
2875
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
2816
2876
  /**
2817
- * disallow 'setState' in 'componentDidMount'
2818
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-mount
2877
+ * disallow using 'setState' in 'componentDidMount'
2878
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
2819
2879
  */
2820
2880
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
2821
2881
  /**
2822
- * disallow 'setState' in 'componentDidUpdate'
2823
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-update
2882
+ * disallow using 'setState' in 'componentDidUpdate'
2883
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
2824
2884
  */
2825
2885
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
2826
2886
  /**
2827
- * disallow 'setState' in 'componentWillUpdate'
2828
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-will-update
2887
+ * disallow using 'setState' in 'componentWillUpdate'
2888
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
2829
2889
  */
2830
2890
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
2831
2891
  /**
2832
2892
  * disallow using deprecated string refs
2833
- * @see https://eslint-react.xyz/rules/no-string-refs
2893
+ * @see https://eslint-react.xyz/docs/rules/no-string-refs
2834
2894
  */
2835
2895
  'react/no-string-refs'?: Linter.RuleEntry<[]>
2836
2896
  /**
2837
- * disallow usage of 'UNSAFE_componentWillMount'
2838
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-mount
2897
+ * disallow using 'UNSAFE_componentWillMount'
2898
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
2839
2899
  */
2840
2900
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
2841
2901
  /**
2842
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
2843
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-receive-props
2902
+ * disallow using 'UNSAFE_componentWillReceiveProps'
2903
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
2844
2904
  */
2845
2905
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
2846
2906
  /**
2847
- * disallow usage of 'UNSAFE_componentWillUpdate'
2848
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-update
2907
+ * disallow using 'UNSAFE_componentWillUpdate'
2908
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
2849
2909
  */
2850
2910
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
2851
2911
  /**
2852
2912
  * disallow passing constructed values to context providers
2853
- * @see https://eslint-react.xyz/rules/no-unstable-context-value
2913
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
2854
2914
  */
2855
2915
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
2856
2916
  /**
2857
- * disallow usage of unstable value as default param in function component
2858
- * @see https://eslint-react.xyz/rules/no-unstable-default-props
2917
+ * disallow using unstable value as default param in function component
2918
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
2859
2919
  */
2860
2920
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
2861
2921
  /**
2862
2922
  * disallow unused class component members
2863
- * @see https://eslint-react.xyz/rules/no-unused-class-component-members
2923
+ * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
2864
2924
  */
2865
2925
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
2866
2926
  /**
2867
- * Prevents unused state of class component.
2868
- * @see https://eslint-react.xyz/rules/no-unused-state
2927
+ * disallow unused state of class component
2928
+ * @see https://eslint-react.xyz/docs/rules/no-unused-state
2869
2929
  */
2870
2930
  'react/no-unused-state'?: Linter.RuleEntry<[]>
2871
2931
  /**
2872
2932
  * disallow unnecessary fragments
2873
- * @see https://eslint-react.xyz/rules/no-useless-fragment
2933
+ * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
2874
2934
  */
2875
2935
  'react/no-useless-fragment'?: Linter.RuleEntry<[]>
2876
2936
  /**
2877
2937
  * enforce using destructuring assignment in component props and context
2878
- * @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
2938
+ * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
2879
2939
  */
2880
2940
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
2881
2941
  /**
2882
- * enforce boolean attributes notation in JSX
2883
- * @see https://eslint-react.xyz/rules/prefer-shorthand-boolean
2942
+ * enforce read-only props in components
2943
+ * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
2944
+ */
2945
+ 'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
2946
+ /**
2947
+ * enforce using shorthand boolean attributes
2948
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
2884
2949
  */
2885
2950
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
2886
2951
  /**
2887
- * enforce using fragment syntax instead of Fragment component
2888
- * @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
2952
+ * enforce using fragment syntax instead of 'Fragment' component
2953
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
2889
2954
  */
2890
2955
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
2891
2956
  /**
@@ -3549,8 +3614,9 @@ interface RuleOptions {
3549
3614
  */
3550
3615
  'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
3551
3616
  /**
3552
- * Enforce JSX indentation
3617
+ * Enforce JSX indentation. Deprecated, use `indent` rule instead.
3553
3618
  * @see https://eslint.style/rules/jsx/jsx-indent
3619
+ * @deprecated
3554
3620
  */
3555
3621
  'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>
3556
3622
  /**
@@ -3735,7 +3801,7 @@ interface RuleOptions {
3735
3801
  'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>
3736
3802
  /**
3737
3803
  * Enforce consistent line breaks after opening and before closing braces
3738
- * @see https://eslint.style/rules/js/object-curly-newline
3804
+ * @see https://eslint.style/rules/ts/object-curly-newline
3739
3805
  */
3740
3806
  'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>
3741
3807
  /**
@@ -3745,7 +3811,7 @@ interface RuleOptions {
3745
3811
  'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>
3746
3812
  /**
3747
3813
  * Enforce placing object properties on separate lines
3748
- * @see https://eslint.style/rules/js/object-property-newline
3814
+ * @see https://eslint.style/rules/ts/object-property-newline
3749
3815
  */
3750
3816
  'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>
3751
3817
  /**
@@ -4298,23 +4364,6 @@ interface RuleOptions {
4298
4364
  * @see https://typescript-eslint.io/rules/ban-tslint-comment
4299
4365
  */
4300
4366
  'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
4301
- /**
4302
- * Disallow certain types
4303
- * @see https://typescript-eslint.io/rules/ban-types
4304
- */
4305
- 'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
4306
- /**
4307
- * Disallow or enforce spaces inside of blocks after opening block and before closing block
4308
- * @see https://typescript-eslint.io/rules/block-spacing
4309
- * @deprecated
4310
- */
4311
- 'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
4312
- /**
4313
- * Enforce consistent brace style for blocks
4314
- * @see https://typescript-eslint.io/rules/brace-style
4315
- * @deprecated
4316
- */
4317
- 'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
4318
4367
  /**
4319
4368
  * Enforce that literals on classes are exposed in a consistent style
4320
4369
  * @see https://typescript-eslint.io/rules/class-literal-property-style
@@ -4325,18 +4374,6 @@ interface RuleOptions {
4325
4374
  * @see https://typescript-eslint.io/rules/class-methods-use-this
4326
4375
  */
4327
4376
  'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
4328
- /**
4329
- * Require or disallow trailing commas
4330
- * @see https://typescript-eslint.io/rules/comma-dangle
4331
- * @deprecated
4332
- */
4333
- 'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
4334
- /**
4335
- * Enforce consistent spacing before and after commas
4336
- * @see https://typescript-eslint.io/rules/comma-spacing
4337
- * @deprecated
4338
- */
4339
- 'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
4340
4377
  /**
4341
4378
  * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
4342
4379
  * @see https://typescript-eslint.io/rules/consistent-generic-constructors
@@ -4397,58 +4434,16 @@ interface RuleOptions {
4397
4434
  * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
4398
4435
  */
4399
4436
  'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
4400
- /**
4401
- * Require or disallow spacing between function identifiers and their invocations
4402
- * @see https://typescript-eslint.io/rules/func-call-spacing
4403
- * @deprecated
4404
- */
4405
- 'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
4406
- /**
4407
- * Enforce consistent indentation
4408
- * @see https://typescript-eslint.io/rules/indent
4409
- * @deprecated
4410
- */
4411
- 'ts/indent'?: Linter.RuleEntry<TsIndent>
4412
4437
  /**
4413
4438
  * Require or disallow initialization in variable declarations
4414
4439
  * @see https://typescript-eslint.io/rules/init-declarations
4415
4440
  */
4416
4441
  'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
4417
- /**
4418
- * Enforce consistent spacing between property names and type annotations in types and interfaces
4419
- * @see https://typescript-eslint.io/rules/key-spacing
4420
- * @deprecated
4421
- */
4422
- 'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
4423
- /**
4424
- * Enforce consistent spacing before and after keywords
4425
- * @see https://typescript-eslint.io/rules/keyword-spacing
4426
- * @deprecated
4427
- */
4428
- 'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
4429
- /**
4430
- * Require empty lines around comments
4431
- * @see https://typescript-eslint.io/rules/lines-around-comment
4432
- * @deprecated
4433
- */
4434
- 'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
4435
- /**
4436
- * Require or disallow an empty line between class members
4437
- * @see https://typescript-eslint.io/rules/lines-between-class-members
4438
- * @deprecated
4439
- */
4440
- 'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
4441
4442
  /**
4442
4443
  * Enforce a maximum number of parameters in function definitions
4443
4444
  * @see https://typescript-eslint.io/rules/max-params
4444
4445
  */
4445
4446
  'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
4446
- /**
4447
- * Require a specific member delimiter style for interfaces and type literals
4448
- * @see https://typescript-eslint.io/rules/member-delimiter-style
4449
- * @deprecated
4450
- */
4451
- 'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
4452
4447
  /**
4453
4448
  * Require a consistent member declaration order
4454
4449
  * @see https://typescript-eslint.io/rules/member-ordering
@@ -4517,8 +4512,14 @@ interface RuleOptions {
4517
4512
  /**
4518
4513
  * Disallow the declaration of empty interfaces
4519
4514
  * @see https://typescript-eslint.io/rules/no-empty-interface
4515
+ * @deprecated
4520
4516
  */
4521
4517
  'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
4518
+ /**
4519
+ * Disallow accidentally using the "empty object" type
4520
+ * @see https://typescript-eslint.io/rules/no-empty-object-type
4521
+ */
4522
+ 'ts/no-empty-object-type'?: Linter.RuleEntry<TsNoEmptyObjectType>
4522
4523
  /**
4523
4524
  * Disallow the `any` type
4524
4525
  * @see https://typescript-eslint.io/rules/no-explicit-any
@@ -4529,18 +4530,6 @@ interface RuleOptions {
4529
4530
  * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
4530
4531
  */
4531
4532
  'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
4532
- /**
4533
- * Disallow unnecessary parentheses
4534
- * @see https://typescript-eslint.io/rules/no-extra-parens
4535
- * @deprecated
4536
- */
4537
- 'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
4538
- /**
4539
- * Disallow unnecessary semicolons
4540
- * @see https://typescript-eslint.io/rules/no-extra-semi
4541
- * @deprecated
4542
- */
4543
- 'ts/no-extra-semi'?: Linter.RuleEntry<[]>
4544
4533
  /**
4545
4534
  * Disallow classes used as namespaces
4546
4535
  * @see https://typescript-eslint.io/rules/no-extraneous-class
@@ -4589,6 +4578,7 @@ interface RuleOptions {
4589
4578
  /**
4590
4579
  * Disallow literal numbers that lose precision
4591
4580
  * @see https://typescript-eslint.io/rules/no-loss-of-precision
4581
+ * @deprecated
4592
4582
  */
4593
4583
  'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
4594
4584
  /**
@@ -4656,6 +4646,11 @@ interface RuleOptions {
4656
4646
  * @see https://typescript-eslint.io/rules/no-restricted-imports
4657
4647
  */
4658
4648
  'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
4649
+ /**
4650
+ * Disallow certain types
4651
+ * @see https://typescript-eslint.io/rules/no-restricted-types
4652
+ */
4653
+ 'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
4659
4654
  /**
4660
4655
  * Disallow variable declarations from shadowing variables declared in the outer scope
4661
4656
  * @see https://typescript-eslint.io/rules/no-shadow
@@ -4666,12 +4661,6 @@ interface RuleOptions {
4666
4661
  * @see https://typescript-eslint.io/rules/no-this-alias
4667
4662
  */
4668
4663
  'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
4669
- /**
4670
- * Disallow throwing literals as exceptions
4671
- * @see https://typescript-eslint.io/rules/no-throw-literal
4672
- * @deprecated
4673
- */
4674
- 'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
4675
4664
  /**
4676
4665
  * Disallow type aliases
4677
4666
  * @see https://typescript-eslint.io/rules/no-type-alias
@@ -4688,11 +4677,21 @@ interface RuleOptions {
4688
4677
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
4689
4678
  */
4690
4679
  'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
4680
+ /**
4681
+ * Disallow unnecessary assignment of constructor property parameter
4682
+ * @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
4683
+ */
4684
+ 'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
4691
4685
  /**
4692
4686
  * Disallow unnecessary namespace qualifiers
4693
4687
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
4694
4688
  */
4695
4689
  'ts/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
4690
+ /**
4691
+ * Disallow unnecessary template expressions
4692
+ * @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
4693
+ */
4694
+ 'ts/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
4696
4695
  /**
4697
4696
  * Disallow type arguments that are equal to the default
4698
4697
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
@@ -4708,6 +4707,11 @@ interface RuleOptions {
4708
4707
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
4709
4708
  */
4710
4709
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
4710
+ /**
4711
+ * Disallow type parameters that only appear once
4712
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
4713
+ */
4714
+ 'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
4711
4715
  /**
4712
4716
  * Disallow calling a function with a value with type `any`
4713
4717
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -4733,6 +4737,11 @@ interface RuleOptions {
4733
4737
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
4734
4738
  */
4735
4739
  'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
4740
+ /**
4741
+ * Disallow using the unsafe built-in Function type
4742
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
4743
+ */
4744
+ 'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
4736
4745
  /**
4737
4746
  * Disallow member access on a value with type `any`
4738
4747
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -4773,38 +4782,27 @@ interface RuleOptions {
4773
4782
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
4774
4783
  */
4775
4784
  'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
4776
- /**
4777
- * Disallow unnecessary template literals
4778
- * @see https://typescript-eslint.io/rules/no-useless-template-literals
4779
- */
4780
- 'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
4781
4785
  /**
4782
4786
  * Disallow `require` statements except in import statements
4783
4787
  * @see https://typescript-eslint.io/rules/no-var-requires
4788
+ * @deprecated
4784
4789
  */
4785
4790
  'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
4791
+ /**
4792
+ * Disallow using confusing built-in primitive class wrappers
4793
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
4794
+ */
4795
+ 'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
4786
4796
  /**
4787
4797
  * Enforce non-null assertions over explicit type casts
4788
4798
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
4789
4799
  */
4790
4800
  'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
4791
- /**
4792
- * Enforce consistent spacing inside braces
4793
- * @see https://typescript-eslint.io/rules/object-curly-spacing
4794
- * @deprecated
4795
- */
4796
- 'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
4797
4801
  /**
4798
4802
  * Disallow throwing non-`Error` values as exceptions
4799
4803
  * @see https://typescript-eslint.io/rules/only-throw-error
4800
4804
  */
4801
4805
  'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
4802
- /**
4803
- * Require or disallow padding lines between statements
4804
- * @see https://typescript-eslint.io/rules/padding-line-between-statements
4805
- * @deprecated
4806
- */
4807
- 'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
4808
4806
  /**
4809
4807
  * Require or disallow parameter properties in class constructors
4810
4808
  * @see https://typescript-eslint.io/rules/parameter-properties
@@ -4911,19 +4909,13 @@ interface RuleOptions {
4911
4909
  * @see https://typescript-eslint.io/rules/promise-function-async
4912
4910
  */
4913
4911
  'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
4914
- /**
4915
- * Enforce the consistent use of either backticks, double, or single quotes
4916
- * @see https://typescript-eslint.io/rules/quotes
4917
- * @deprecated
4918
- */
4919
- 'ts/quotes'?: Linter.RuleEntry<TsQuotes>
4920
4912
  /**
4921
4913
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
4922
4914
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
4923
4915
  */
4924
4916
  'ts/require-array-sort-compare'?: Linter.RuleEntry<TsRequireArraySortCompare>
4925
4917
  /**
4926
- * Disallow async functions which have no `await` expression
4918
+ * Disallow async functions which do not return promises and have no `await` expression
4927
4919
  * @see https://typescript-eslint.io/rules/require-await
4928
4920
  */
4929
4921
  'ts/require-await'?: Linter.RuleEntry<[]>
@@ -4938,39 +4930,16 @@ interface RuleOptions {
4938
4930
  */
4939
4931
  'ts/restrict-template-expressions'?: Linter.RuleEntry<TsRestrictTemplateExpressions>
4940
4932
  /**
4941
- * Enforce consistent returning of awaited values
4933
+ * Enforce consistent awaiting of returned promises
4942
4934
  * @see https://typescript-eslint.io/rules/return-await
4943
4935
  */
4944
4936
  'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
4945
- /**
4946
- * Require or disallow semicolons instead of ASI
4947
- * @see https://typescript-eslint.io/rules/semi
4948
- * @deprecated
4949
- */
4950
- 'ts/semi'?: Linter.RuleEntry<TsSemi>
4951
4937
  /**
4952
4938
  * Enforce constituents of a type union/intersection to be sorted alphabetically
4953
4939
  * @see https://typescript-eslint.io/rules/sort-type-constituents
4954
- */
4955
- 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
4956
- /**
4957
- * Enforce consistent spacing before blocks
4958
- * @see https://typescript-eslint.io/rules/space-before-blocks
4959
- * @deprecated
4960
- */
4961
- 'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
4962
- /**
4963
- * Enforce consistent spacing before function parenthesis
4964
- * @see https://typescript-eslint.io/rules/space-before-function-paren
4965
- * @deprecated
4966
- */
4967
- 'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
4968
- /**
4969
- * Require spacing around infix operators
4970
- * @see https://typescript-eslint.io/rules/space-infix-ops
4971
4940
  * @deprecated
4972
4941
  */
4973
- 'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
4942
+ 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
4974
4943
  /**
4975
4944
  * Disallow certain types in boolean expressions
4976
4945
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
@@ -4986,12 +4955,6 @@ interface RuleOptions {
4986
4955
  * @see https://typescript-eslint.io/rules/triple-slash-reference
4987
4956
  */
4988
4957
  'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
4989
- /**
4990
- * Require consistent spacing around type annotations
4991
- * @see https://typescript-eslint.io/rules/type-annotation-spacing
4992
- * @deprecated
4993
- */
4994
- 'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
4995
4958
  /**
4996
4959
  * Require type annotations in certain places
4997
4960
  * @see https://typescript-eslint.io/rules/typedef
@@ -5019,677 +4982,687 @@ interface RuleOptions {
5019
4982
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5020
4983
  /**
5021
4984
  * Improve regexes by making them shorter, consistent, and safer.
5022
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
4985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
5023
4986
  */
5024
4987
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5025
4988
  /**
5026
4989
  * Enforce a specific parameter name in catch clauses.
5027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
4990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
5028
4991
  */
5029
4992
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5030
4993
  /**
5031
4994
  * Use destructured variables over properties.
5032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
4995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
5033
4996
  */
5034
4997
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5035
4998
  /**
5036
4999
  * Prefer consistent types when spreading a ternary in an array literal.
5037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
5000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
5038
5001
  */
5039
5002
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5040
5003
  /**
5041
5004
  * Move function definitions to the highest possible scope.
5042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
5005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
5043
5006
  */
5044
5007
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5045
5008
  /**
5046
5009
  * Enforce correct `Error` subclassing.
5047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
5010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
5048
5011
  */
5049
5012
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5050
5013
  /**
5051
5014
  * Enforce no spaces between braces.
5052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
5015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
5053
5016
  */
5054
5017
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5055
5018
  /**
5056
5019
  * Enforce passing a `message` value when creating a built-in error.
5057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
5020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
5058
5021
  */
5059
5022
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5060
5023
  /**
5061
5024
  * Require escape sequences to use uppercase values.
5062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
5025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
5063
5026
  */
5064
5027
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
5065
5028
  /**
5066
5029
  * Add expiration conditions to TODO comments.
5067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
5030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
5068
5031
  */
5069
5032
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5070
5033
  /**
5071
5034
  * Enforce explicitly comparing the `length` or `size` property of a value.
5072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
5035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
5073
5036
  */
5074
5037
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5075
5038
  /**
5076
5039
  * Enforce a case style for filenames.
5077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
5040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
5078
5041
  */
5079
5042
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5080
5043
  /**
5081
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
5044
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
5082
5045
  * @deprecated
5083
5046
  */
5084
5047
  'unicorn/import-index'?: Linter.RuleEntry<[]>
5085
5048
  /**
5086
5049
  * Enforce specific import styles per module.
5087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
5050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
5088
5051
  */
5089
5052
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5090
5053
  /**
5091
5054
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
5055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
5093
5056
  */
5094
5057
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5095
5058
  /**
5096
5059
  * Enforce specifying rules to disable in `eslint-disable` comments.
5097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
5060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
5098
5061
  */
5099
5062
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5100
5063
  /**
5101
5064
  * Disallow anonymous functions and classes as the default export.
5102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
5065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
5103
5066
  */
5104
5067
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5105
5068
  /**
5106
5069
  * Prevent passing a function reference directly to iterator methods.
5107
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
5070
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
5108
5071
  */
5109
5072
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5110
5073
  /**
5111
5074
  * Prefer `for…of` over the `forEach` method.
5112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
5075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
5113
5076
  */
5114
5077
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5115
5078
  /**
5116
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
5079
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
5117
5080
  * @deprecated
5118
5081
  */
5119
5082
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
5120
5083
  /**
5121
5084
  * Disallow using the `this` argument in array methods.
5122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
5085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
5123
5086
  */
5124
5087
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5125
5088
  /**
5126
5089
  * Enforce combining multiple `Array#push()` into one call.
5127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
5090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
5128
5091
  */
5129
5092
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
5130
5093
  /**
5131
5094
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
5095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
5133
5096
  */
5134
5097
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5135
5098
  /**
5136
5099
  * Disallow member access from await expression.
5137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
5100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
5138
5101
  */
5139
5102
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5140
5103
  /**
5141
5104
  * Disallow using `await` in `Promise` method parameters.
5142
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
5105
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
5143
5106
  */
5144
5107
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5145
5108
  /**
5146
5109
  * Do not use leading/trailing space between `console.log` parameters.
5147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
5110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
5148
5111
  */
5149
5112
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5150
5113
  /**
5151
5114
  * Do not use `document.cookie` directly.
5152
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
5115
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
5153
5116
  */
5154
5117
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5155
5118
  /**
5156
5119
  * Disallow empty files.
5157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
5120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
5158
5121
  */
5159
5122
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5160
5123
  /**
5161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5162
5125
  * @deprecated
5163
5126
  */
5164
5127
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
5165
5128
  /**
5166
5129
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
5130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
5168
5131
  */
5169
5132
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5170
5133
  /**
5171
5134
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
5135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
5173
5136
  */
5174
5137
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5175
5138
  /**
5176
5139
  * Require `Array.isArray()` instead of `instanceof Array`.
5177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
5140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
5178
5141
  */
5179
5142
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5180
5143
  /**
5181
5144
  * Disallow invalid options in `fetch()` and `new Request()`.
5182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
5145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
5183
5146
  */
5184
5147
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
5185
5148
  /**
5186
5149
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
5150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
5188
5151
  */
5189
5152
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
5190
5153
  /**
5191
5154
  * Disallow identifiers starting with `new` or `class`.
5192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
5155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
5193
5156
  */
5194
5157
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
5158
+ /**
5159
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
5161
+ */
5162
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
5195
5163
  /**
5196
5164
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
5165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
5198
5166
  */
5199
5167
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5200
5168
  /**
5201
5169
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
5170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
5203
5171
  */
5204
5172
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
5205
5173
  /**
5206
5174
  * Disallow negated conditions.
5207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
5175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
5208
5176
  */
5209
5177
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
5178
+ /**
5179
+ * Disallow negated expression in equality check.
5180
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
5181
+ */
5182
+ 'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
5210
5183
  /**
5211
5184
  * Disallow nested ternary expressions.
5212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
5185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
5213
5186
  */
5214
5187
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
5215
5188
  /**
5216
5189
  * Disallow `new Array()`.
5217
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
5190
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
5218
5191
  */
5219
5192
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
5220
5193
  /**
5221
5194
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
5195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
5223
5196
  */
5224
5197
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
5225
5198
  /**
5226
5199
  * Disallow the use of the `null` literal.
5227
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
5200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
5228
5201
  */
5229
5202
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
5230
5203
  /**
5231
5204
  * Disallow the use of objects as default parameters.
5232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
5205
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
5233
5206
  */
5234
5207
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
5235
5208
  /**
5236
5209
  * Disallow `process.exit()`.
5237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
5210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
5238
5211
  */
5239
5212
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
5240
5213
  /**
5241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
5214
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
5242
5215
  * @deprecated
5243
5216
  */
5244
5217
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
5245
5218
  /**
5246
5219
  * Disallow passing single-element arrays to `Promise` methods.
5247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
5220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
5248
5221
  */
5249
5222
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
5250
5223
  /**
5251
5224
  * Disallow classes that only have static members.
5252
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
5225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
5253
5226
  */
5254
5227
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
5255
5228
  /**
5256
5229
  * Disallow `then` property.
5257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
5230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
5258
5231
  */
5259
5232
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
5260
5233
  /**
5261
5234
  * Disallow assigning `this` to a variable.
5262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
5235
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
5263
5236
  */
5264
5237
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
5265
5238
  /**
5266
5239
  * Disallow comparing `undefined` using `typeof`.
5267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
5240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
5268
5241
  */
5269
5242
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
5270
5243
  /**
5271
5244
  * Disallow awaiting non-promise values.
5272
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
5245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
5273
5246
  */
5274
5247
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
5275
5248
  /**
5276
5249
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
5250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
5278
5251
  */
5279
5252
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
5280
5253
  /**
5281
5254
  * Disallow unreadable array destructuring.
5282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
5255
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
5283
5256
  */
5284
5257
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
5285
5258
  /**
5286
5259
  * Disallow unreadable IIFEs.
5287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
5260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
5288
5261
  */
5289
5262
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
5290
5263
  /**
5291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
5264
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
5292
5265
  * @deprecated
5293
5266
  */
5294
5267
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
5295
5268
  /**
5296
5269
  * Disallow unused object properties.
5297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
5270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
5298
5271
  */
5299
5272
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
5300
5273
  /**
5301
5274
  * Disallow useless fallback when spreading in object literals.
5302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
5275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
5303
5276
  */
5304
5277
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
5305
5278
  /**
5306
5279
  * Disallow useless array length check.
5307
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
5280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
5308
5281
  */
5309
5282
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
5310
5283
  /**
5311
5284
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
5285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
5313
5286
  */
5314
5287
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
5315
5288
  /**
5316
5289
  * Disallow unnecessary spread.
5317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
5290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
5318
5291
  */
5319
5292
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
5320
5293
  /**
5321
5294
  * Disallow useless case in switch statements.
5322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
5295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
5323
5296
  */
5324
5297
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
5325
5298
  /**
5326
5299
  * Disallow useless `undefined`.
5327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
5300
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
5328
5301
  */
5329
5302
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
5330
5303
  /**
5331
5304
  * Disallow number literals with zero fractions or dangling dots.
5332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
5305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
5333
5306
  */
5334
5307
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
5335
5308
  /**
5336
5309
  * Enforce proper case for numeric literals.
5337
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
5310
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
5338
5311
  */
5339
5312
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
5340
5313
  /**
5341
5314
  * Enforce the style of numeric separators by correctly grouping digits.
5342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
5315
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
5343
5316
  */
5344
5317
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
5345
5318
  /**
5346
5319
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5347
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
5320
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
5348
5321
  */
5349
5322
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
5350
5323
  /**
5351
5324
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
5325
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
5353
5326
  */
5354
5327
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
5355
5328
  /**
5356
5329
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
5330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
5358
5331
  */
5359
5332
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
5360
5333
  /**
5361
5334
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5362
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
5335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
5363
5336
  */
5364
5337
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
5365
5338
  /**
5366
5339
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
5340
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
5368
5341
  */
5369
5342
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
5370
5343
  /**
5371
- * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
5372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
5344
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
5345
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
5373
5346
  */
5374
5347
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
5375
5348
  /**
5376
5349
  * Prefer `.at()` method for index access and `String#charAt()`.
5377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
5350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
5378
5351
  */
5379
5352
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
5380
5353
  /**
5381
5354
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
5355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
5383
5356
  */
5384
5357
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
5385
5358
  /**
5386
5359
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
5360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
5388
5361
  */
5389
5362
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
5390
5363
  /**
5391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
5364
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
5392
5365
  * @deprecated
5393
5366
  */
5394
5367
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
5395
5368
  /**
5396
5369
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
5370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
5398
5371
  */
5399
5372
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
5400
5373
  /**
5401
5374
  * Prefer default parameters over reassignment.
5402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
5375
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
5403
5376
  */
5404
5377
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
5405
5378
  /**
5406
5379
  * Prefer `Node#append()` over `Node#appendChild()`.
5407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
5380
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
5408
5381
  */
5409
5382
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
5410
5383
  /**
5411
5384
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5412
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
5385
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
5413
5386
  */
5414
5387
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
5415
5388
  /**
5416
5389
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5417
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
5390
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
5418
5391
  */
5419
5392
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
5420
5393
  /**
5421
5394
  * Prefer `.textContent` over `.innerText`.
5422
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
5395
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
5423
5396
  */
5424
5397
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
5425
5398
  /**
5426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
5399
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
5427
5400
  * @deprecated
5428
5401
  */
5429
5402
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
5430
5403
  /**
5431
5404
  * Prefer `EventTarget` over `EventEmitter`.
5432
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
5405
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
5433
5406
  */
5434
5407
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
5435
5408
  /**
5436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5409
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5437
5410
  * @deprecated
5438
5411
  */
5439
5412
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
5440
5413
  /**
5441
5414
  * Prefer `export…from` when re-exporting.
5442
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
5415
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
5443
5416
  */
5444
5417
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
5445
5418
  /**
5446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
5419
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
5447
5420
  * @deprecated
5448
5421
  */
5449
5422
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
5450
5423
  /**
5451
- * Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
5452
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
5424
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
5425
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
5453
5426
  */
5454
5427
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
5455
5428
  /**
5456
5429
  * Prefer reading a JSON file as a buffer.
5457
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
5430
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
5458
5431
  */
5459
5432
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
5460
5433
  /**
5461
5434
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5462
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
5435
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
5463
5436
  */
5464
5437
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
5465
5438
  /**
5466
5439
  * Prefer using a logical operator over a ternary.
5467
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5440
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5468
5441
  */
5469
5442
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5470
5443
  /**
5471
5444
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5472
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
5445
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
5473
5446
  */
5474
5447
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5475
5448
  /**
5476
5449
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5477
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
5450
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
5478
5451
  */
5479
5452
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5480
5453
  /**
5481
5454
  * Prefer modern `Math` APIs over legacy patterns.
5482
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
5455
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
5483
5456
  */
5484
5457
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5485
5458
  /**
5486
5459
  * Prefer JavaScript modules (ESM) over CommonJS.
5487
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
5460
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
5488
5461
  */
5489
5462
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5490
5463
  /**
5491
5464
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5492
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
5465
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
5493
5466
  */
5494
5467
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5495
5468
  /**
5496
5469
  * Prefer negative index over `.length - index` when possible.
5497
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
5470
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
5498
5471
  */
5499
5472
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5500
5473
  /**
5501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
5474
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
5502
5475
  * @deprecated
5503
5476
  */
5504
5477
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
5505
5478
  /**
5506
5479
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5507
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
5480
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
5508
5481
  */
5509
5482
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5510
5483
  /**
5511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
5484
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
5512
5485
  * @deprecated
5513
5486
  */
5514
5487
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
5515
5488
  /**
5516
5489
  * Prefer `Number` static properties over global ones.
5517
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
5490
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
5518
5491
  */
5519
5492
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5520
5493
  /**
5521
5494
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5522
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
5495
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
5523
5496
  */
5524
5497
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5525
5498
  /**
5526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
5499
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
5527
5500
  * @deprecated
5528
5501
  */
5529
5502
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
5530
5503
  /**
5531
5504
  * Prefer omitting the `catch` binding parameter.
5532
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
5505
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
5533
5506
  */
5534
5507
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5535
5508
  /**
5536
5509
  * Prefer borrowing methods from the prototype instead of the instance.
5537
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
5510
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
5538
5511
  */
5539
5512
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5540
5513
  /**
5541
5514
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
5542
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
5515
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
5543
5516
  */
5544
5517
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5545
5518
  /**
5546
5519
  * Prefer `Reflect.apply()` over `Function#apply()`.
5547
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
5520
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
5548
5521
  */
5549
5522
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5550
5523
  /**
5551
5524
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5552
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
5525
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
5553
5526
  */
5554
5527
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5555
5528
  /**
5556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
5529
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
5557
5530
  * @deprecated
5558
5531
  */
5559
5532
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
5560
5533
  /**
5561
5534
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5562
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
5535
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
5563
5536
  */
5564
5537
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5565
5538
  /**
5566
5539
  * Prefer using `Set#size` instead of `Array#length`.
5567
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
5540
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
5568
5541
  */
5569
5542
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5570
5543
  /**
5571
5544
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5572
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
5545
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
5573
5546
  */
5574
5547
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5575
5548
  /**
5576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5549
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5577
5550
  * @deprecated
5578
5551
  */
5579
5552
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
5580
5553
  /**
5581
5554
  * Prefer using the `String.raw` tag to avoid escaping `\`.
5582
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
5555
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
5583
5556
  */
5584
5557
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5585
5558
  /**
5586
5559
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5587
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
5560
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
5588
5561
  */
5589
5562
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5590
5563
  /**
5591
5564
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5592
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
5565
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
5593
5566
  */
5594
5567
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5595
5568
  /**
5596
5569
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5597
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
5570
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
5598
5571
  */
5599
5572
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5600
5573
  /**
5601
5574
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5602
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
5575
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
5603
5576
  */
5604
5577
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
5605
5578
  /**
5606
5579
  * Prefer using `structuredClone` to create a deep clone.
5607
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
5580
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
5608
5581
  */
5609
5582
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5610
5583
  /**
5611
5584
  * Prefer `switch` over multiple `else-if`.
5612
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
5585
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
5613
5586
  */
5614
5587
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5615
5588
  /**
5616
5589
  * Prefer ternary expressions over simple `if-else` statements.
5617
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
5590
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
5618
5591
  */
5619
5592
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5620
5593
  /**
5621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
5594
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
5622
5595
  * @deprecated
5623
5596
  */
5624
5597
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5625
5598
  /**
5626
5599
  * Prefer top-level await over top-level promises and async function calls.
5627
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
5600
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
5628
5601
  */
5629
5602
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5630
5603
  /**
5631
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5604
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5632
5605
  * @deprecated
5633
5606
  */
5634
5607
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5635
5608
  /**
5636
5609
  * Enforce throwing `TypeError` in type checking conditions.
5637
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
5610
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
5638
5611
  */
5639
5612
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5640
5613
  /**
5641
5614
  * Prevent abbreviations.
5642
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
5615
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
5643
5616
  */
5644
5617
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5645
5618
  /**
5646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
5619
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
5647
5620
  * @deprecated
5648
5621
  */
5649
5622
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5650
5623
  /**
5651
5624
  * Enforce consistent relative URL style.
5652
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
5625
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
5653
5626
  */
5654
5627
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5655
5628
  /**
5656
5629
  * Enforce using the separator argument with `Array#join()`.
5657
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
5630
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
5658
5631
  */
5659
5632
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5660
5633
  /**
5661
5634
  * Enforce using the digits argument with `Number#toFixed()`.
5662
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5635
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5663
5636
  */
5664
5637
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5665
5638
  /**
5666
5639
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5667
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
5640
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
5668
5641
  */
5669
5642
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5670
5643
  /**
5671
5644
  * Enforce better string content.
5672
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
5645
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
5673
5646
  */
5674
5647
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5675
5648
  /**
5676
5649
  * Enforce consistent brace style for `case` clauses.
5677
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
5650
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
5678
5651
  */
5679
5652
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5680
5653
  /**
5681
5654
  * Fix whitespace-insensitive template indentation.
5682
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
5655
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
5683
5656
  */
5684
5657
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5685
5658
  /**
5686
5659
  * Enforce consistent case for text encoding identifiers.
5687
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
5660
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
5688
5661
  */
5689
5662
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5690
5663
  /**
5691
5664
  * Require `new` when creating an error.
5692
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
5665
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
5693
5666
  */
5694
5667
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5695
5668
  /**
@@ -7749,6 +7722,25 @@ type JsdocCheckValues = []|[{
7749
7722
  licensePattern?: string
7750
7723
  numericOnlyVariation?: boolean
7751
7724
  }]
7725
+ // ----- jsdoc/convert-to-jsdoc-comments -----
7726
+ type JsdocConvertToJsdocComments = []|[{
7727
+ allowedPrefixes?: string[]
7728
+ contexts?: (string | {
7729
+ context?: string
7730
+ inlineCommentBlock?: boolean
7731
+ })[]
7732
+ contextsAfter?: (string | {
7733
+ context?: string
7734
+ inlineCommentBlock?: boolean
7735
+ })[]
7736
+ contextsBeforeAndAfter?: (string | {
7737
+ context?: string
7738
+ inlineCommentBlock?: boolean
7739
+ })[]
7740
+ enableFixer?: boolean
7741
+ enforceJsdocLineStyle?: ("multi" | "single")
7742
+ lineOrBlockStyle?: ("block" | "line" | "both")
7743
+ }]
7752
7744
  // ----- jsdoc/empty-tags -----
7753
7745
  type JsdocEmptyTags = []|[{
7754
7746
  tags?: string[]
@@ -8036,6 +8028,10 @@ type JsdocRequireReturnsType = []|[{
8036
8028
  context?: string
8037
8029
  })[]
8038
8030
  }]
8031
+ // ----- jsdoc/require-template -----
8032
+ type JsdocRequireTemplate = []|[{
8033
+ requireSeparateTemplates?: boolean
8034
+ }]
8039
8035
  // ----- jsdoc/require-throws -----
8040
8036
  type JsdocRequireThrows = []|[{
8041
8037
  contexts?: (string | {
@@ -9107,18 +9103,11 @@ type NoRestrictedImports = ((string | {
9107
9103
  importNames?: string[]
9108
9104
  allowImportNames?: string[]
9109
9105
  })[]
9110
- patterns?: (string[] | {
9111
-
9112
- importNames?: [string, ...(string)[]]
9113
-
9114
- allowImportNames?: [string, ...(string)[]]
9115
-
9116
- group: [string, ...(string)[]]
9117
- importNamePattern?: string
9118
- allowImportNamePattern?: string
9119
- message?: string
9120
- caseSensitive?: boolean
9121
- }[])
9106
+ patterns?: (string[] | ({
9107
+ [k: string]: unknown | undefined
9108
+ } | {
9109
+ [k: string]: unknown | undefined
9110
+ })[])
9122
9111
  }])
9123
9112
  // ----- no-restricted-modules -----
9124
9113
  type NoRestrictedModules = ((string | {
@@ -9424,6 +9413,7 @@ type NodeNoUnpublishedImport = []|[{
9424
9413
  })[]])
9425
9414
  resolvePaths?: string[]
9426
9415
  ignoreTypeImport?: boolean
9416
+ ignorePrivate?: boolean
9427
9417
  }]
9428
9418
  // ----- node/no-unpublished-require -----
9429
9419
  type NodeNoUnpublishedRequire = []|[{
@@ -9446,6 +9436,7 @@ type NodeNoUnpublishedRequire = []|[{
9446
9436
  })[]])
9447
9437
  resolvePaths?: string[]
9448
9438
  tryExtensions?: string[]
9439
+ ignorePrivate?: boolean
9449
9440
  }]
9450
9441
  // ----- node/no-unsupported-features/es-builtins -----
9451
9442
  type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
@@ -9461,7 +9452,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
9461
9452
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
9462
9453
  version?: string
9463
9454
  allowExperimental?: boolean
9464
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9455
+ ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
9465
9456
  }]
9466
9457
  // ----- node/prefer-global/buffer -----
9467
9458
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -9603,45 +9594,86 @@ type PaddingLineBetweenStatements = {
9603
9594
  }[]
9604
9595
  // ----- perfectionist/sort-array-includes -----
9605
9596
  type PerfectionistSortArrayIncludes = []|[{
9597
+
9606
9598
  type?: ("alphabetical" | "natural" | "line-length")
9599
+
9607
9600
  order?: ("asc" | "desc")
9608
- "ignore-case"?: boolean
9609
- "spread-last"?: boolean
9601
+
9602
+ ignoreCase?: boolean
9603
+
9604
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
9610
9605
  }]
9611
9606
  // ----- perfectionist/sort-astro-attributes -----
9612
9607
  type PerfectionistSortAstroAttributes = []|[{
9613
- "custom-groups"?: {
9614
- [k: string]: unknown | undefined
9615
- }
9608
+
9616
9609
  type?: ("alphabetical" | "natural" | "line-length")
9610
+
9617
9611
  order?: ("asc" | "desc")
9618
- "ignore-case"?: boolean
9619
- groups?: unknown[]
9612
+
9613
+ ignoreCase?: boolean
9614
+
9615
+ groups?: (string | string[])[]
9616
+
9617
+ customGroups?: {
9618
+ [k: string]: (string | string[]) | undefined
9619
+ }
9620
9620
  }]
9621
9621
  // ----- perfectionist/sort-classes -----
9622
9622
  type PerfectionistSortClasses = []|[{
9623
+
9623
9624
  type?: ("alphabetical" | "natural" | "line-length")
9624
- "ignore-case"?: boolean
9625
+
9625
9626
  order?: ("asc" | "desc")
9626
- groups?: unknown[]
9627
+
9628
+ ignoreCase?: boolean
9629
+
9630
+ partitionByComment?: (string[] | boolean | string)
9631
+
9632
+ groups?: (string | string[])[]
9633
+
9634
+ customGroups?: {
9635
+ [k: string]: (string | string[]) | undefined
9636
+ }
9627
9637
  }]
9628
9638
  // ----- perfectionist/sort-enums -----
9629
9639
  type PerfectionistSortEnums = []|[{
9630
- "partition-by-comment"?: (boolean | string | unknown[])
9640
+
9631
9641
  type?: ("alphabetical" | "natural" | "line-length")
9632
- "ignore-case"?: boolean
9642
+
9633
9643
  order?: ("asc" | "desc")
9644
+
9645
+ ignoreCase?: boolean
9646
+
9647
+ partitionByComment?: (string[] | boolean | string)
9634
9648
  }]
9635
9649
  // ----- perfectionist/sort-exports -----
9636
9650
  type PerfectionistSortExports = []|[{
9651
+
9637
9652
  type?: ("alphabetical" | "natural" | "line-length")
9653
+
9638
9654
  order?: ("asc" | "desc")
9639
- "ignore-case"?: boolean
9655
+
9656
+ ignoreCase?: boolean
9640
9657
  }]
9641
9658
  // ----- perfectionist/sort-imports -----
9642
9659
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9643
9660
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9644
- "custom-groups"?: {
9661
+
9662
+ type?: ("alphabetical" | "natural" | "line-length")
9663
+
9664
+ order?: ("asc" | "desc")
9665
+
9666
+ ignoreCase?: boolean
9667
+
9668
+ internalPattern?: string[]
9669
+
9670
+ newlinesBetween?: ("ignore" | "always" | "never")
9671
+
9672
+ maxLineLength?: number
9673
+
9674
+ groups?: (string | string[])[]
9675
+
9676
+ customGroups?: {
9645
9677
  type?: {
9646
9678
  [k: string]: unknown | undefined
9647
9679
  }
@@ -9649,13 +9681,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9649
9681
  [k: string]: unknown | undefined
9650
9682
  }
9651
9683
  }
9652
- type?: ("alphabetical" | "natural" | "line-length")
9653
- order?: ("asc" | "desc")
9654
- "ignore-case"?: boolean
9655
- groups?: unknown[]
9656
- "internal-pattern"?: string[]
9657
- "newlines-between"?: ("ignore" | "always" | "never")
9658
- "max-line-length"?: number
9684
+
9685
+ environment?: ("node" | "bun")
9659
9686
  })
9660
9687
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9661
9688
  [k: string]: unknown | undefined
@@ -9666,105 +9693,188 @@ interface _PerfectionistSortImports_IsLineLength {
9666
9693
  }
9667
9694
  // ----- perfectionist/sort-interfaces -----
9668
9695
  type PerfectionistSortInterfaces = []|[{
9669
- "custom-groups"?: {
9670
- [k: string]: unknown | undefined
9671
- }
9672
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
9696
+
9673
9697
  type?: ("alphabetical" | "natural" | "line-length")
9698
+
9674
9699
  order?: ("asc" | "desc")
9675
- "ignore-case"?: boolean
9676
- "ignore-pattern"?: string[]
9677
- groups?: unknown[]
9678
- "partition-by-new-line"?: boolean
9700
+
9701
+ ignoreCase?: boolean
9702
+
9703
+ ignorePattern?: string[]
9704
+
9705
+ partitionByNewLine?: boolean
9706
+
9707
+ groupKind?: ("mixed" | "optional-first" | "required-first")
9708
+
9709
+ groups?: (string | string[])[]
9710
+
9711
+ customGroups?: {
9712
+ [k: string]: (string | string[]) | undefined
9713
+ }
9679
9714
  }]
9680
9715
  // ----- perfectionist/sort-intersection-types -----
9681
9716
  type PerfectionistSortIntersectionTypes = []|[{
9717
+
9682
9718
  type?: ("alphabetical" | "natural" | "line-length")
9719
+
9683
9720
  order?: ("asc" | "desc")
9684
- "ignore-case"?: boolean
9721
+
9722
+ ignoreCase?: boolean
9723
+
9724
+ groups?: (string | string[])[]
9685
9725
  }]
9686
9726
  // ----- perfectionist/sort-jsx-props -----
9687
9727
  type PerfectionistSortJsxProps = []|[{
9688
- "custom-groups"?: {
9689
- [k: string]: unknown | undefined
9690
- }
9728
+
9691
9729
  type?: ("alphabetical" | "natural" | "line-length")
9730
+
9692
9731
  order?: ("asc" | "desc")
9693
- groups?: unknown[]
9694
- "ignore-case"?: boolean
9732
+
9733
+ ignoreCase?: boolean
9734
+
9735
+ ignorePattern?: string[]
9736
+
9737
+ groups?: (string | string[])[]
9738
+
9739
+ customGroups?: {
9740
+ [k: string]: (string | string[]) | undefined
9741
+ }
9695
9742
  }]
9696
9743
  // ----- perfectionist/sort-maps -----
9697
9744
  type PerfectionistSortMaps = []|[{
9745
+
9698
9746
  type?: ("alphabetical" | "natural" | "line-length")
9747
+
9699
9748
  order?: ("asc" | "desc")
9700
- "ignore-case"?: boolean
9749
+
9750
+ ignoreCase?: boolean
9701
9751
  }]
9702
9752
  // ----- perfectionist/sort-named-exports -----
9703
9753
  type PerfectionistSortNamedExports = []|[{
9754
+
9704
9755
  type?: ("alphabetical" | "natural" | "line-length")
9756
+
9705
9757
  order?: ("asc" | "desc")
9706
- "ignore-case"?: boolean
9707
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9758
+
9759
+ ignoreCase?: boolean
9760
+
9761
+ groupKind?: ("mixed" | "values-first" | "types-first")
9708
9762
  }]
9709
9763
  // ----- perfectionist/sort-named-imports -----
9710
9764
  type PerfectionistSortNamedImports = []|[{
9765
+
9711
9766
  type?: ("alphabetical" | "natural" | "line-length")
9767
+
9712
9768
  order?: ("asc" | "desc")
9713
- "ignore-case"?: boolean
9714
- "ignore-alias"?: boolean
9715
- "group-kind"?: ("mixed" | "values-first" | "types-first")
9769
+
9770
+ ignoreCase?: boolean
9771
+
9772
+ ignoreAlias?: boolean
9773
+
9774
+ groupKind?: ("mixed" | "values-first" | "types-first")
9716
9775
  }]
9717
9776
  // ----- perfectionist/sort-object-types -----
9718
9777
  type PerfectionistSortObjectTypes = []|[{
9719
- "custom-groups"?: {
9720
- [k: string]: unknown | undefined
9721
- }
9778
+
9722
9779
  type?: ("alphabetical" | "natural" | "line-length")
9780
+
9723
9781
  order?: ("asc" | "desc")
9724
- "ignore-case"?: boolean
9725
- groups?: unknown[]
9726
- "partition-by-new-line"?: boolean
9782
+
9783
+ ignoreCase?: boolean
9784
+
9785
+ partitionByNewLine?: boolean
9786
+
9787
+ groupKind?: ("mixed" | "required-first" | "optional-first")
9788
+
9789
+ groups?: (string | string[])[]
9790
+
9791
+ customGroups?: {
9792
+ [k: string]: (string | string[]) | undefined
9793
+ }
9727
9794
  }]
9728
9795
  // ----- perfectionist/sort-objects -----
9729
9796
  type PerfectionistSortObjects = []|[{
9730
- "custom-groups"?: {
9731
- [k: string]: unknown | undefined
9732
- }
9733
- "partition-by-comment"?: (boolean | string | unknown[])
9734
- "partition-by-new-line"?: boolean
9735
- "styled-components"?: boolean
9797
+
9736
9798
  type?: ("alphabetical" | "natural" | "line-length")
9799
+
9737
9800
  order?: ("asc" | "desc")
9738
- "ignore-case"?: boolean
9739
- "ignore-pattern"?: string[]
9740
- groups?: unknown[]
9801
+
9802
+ ignoreCase?: boolean
9803
+
9804
+ partitionByComment?: (string[] | boolean | string)
9805
+
9806
+ partitionByNewLine?: boolean
9807
+
9808
+ styledComponents?: boolean
9809
+
9810
+ ignorePattern?: string[]
9811
+
9812
+ customIgnore?: unknown[]
9813
+
9814
+ groups?: (string | string[])[]
9815
+
9816
+ customGroups?: {
9817
+ [k: string]: (string | string[]) | undefined
9818
+ }
9741
9819
  }]
9742
9820
  // ----- perfectionist/sort-svelte-attributes -----
9743
9821
  type PerfectionistSortSvelteAttributes = []|[{
9744
- "custom-groups"?: {
9745
- [k: string]: unknown | undefined
9822
+
9823
+ type?: ("alphabetical" | "natural" | "line-length")
9824
+
9825
+ order?: ("asc" | "desc")
9826
+
9827
+ ignoreCase?: boolean
9828
+
9829
+ groups?: (string | string[])[]
9830
+
9831
+ customGroups?: {
9832
+ [k: string]: (string | string[]) | undefined
9746
9833
  }
9834
+ }]
9835
+ // ----- perfectionist/sort-switch-case -----
9836
+ type PerfectionistSortSwitchCase = []|[{
9837
+
9747
9838
  type?: ("alphabetical" | "natural" | "line-length")
9839
+
9748
9840
  order?: ("asc" | "desc")
9749
- "ignore-case"?: boolean
9750
- groups?: unknown[]
9841
+
9842
+ ignoreCase?: boolean
9751
9843
  }]
9752
9844
  // ----- perfectionist/sort-union-types -----
9753
9845
  type PerfectionistSortUnionTypes = []|[{
9846
+
9847
+ type?: ("alphabetical" | "natural" | "line-length")
9848
+
9849
+ order?: ("asc" | "desc")
9850
+
9851
+ ignoreCase?: boolean
9852
+
9853
+ groups?: (string | string[])[]
9854
+ }]
9855
+ // ----- perfectionist/sort-variable-declarations -----
9856
+ type PerfectionistSortVariableDeclarations = []|[{
9857
+
9754
9858
  type?: ("alphabetical" | "natural" | "line-length")
9859
+
9755
9860
  order?: ("asc" | "desc")
9756
- "ignore-case"?: boolean
9757
- "nullable-last"?: boolean
9861
+
9862
+ ignoreCase?: boolean
9758
9863
  }]
9759
9864
  // ----- perfectionist/sort-vue-attributes -----
9760
9865
  type PerfectionistSortVueAttributes = []|[{
9761
- "custom-groups"?: {
9762
- [k: string]: unknown | undefined
9763
- }
9866
+
9764
9867
  type?: ("alphabetical" | "natural" | "line-length")
9868
+
9765
9869
  order?: ("asc" | "desc")
9766
- "ignore-case"?: boolean
9767
- groups?: unknown[]
9870
+
9871
+ ignoreCase?: boolean
9872
+
9873
+ groups?: (string | string[])[]
9874
+
9875
+ customGroups?: {
9876
+ [k: string]: (string | string[]) | undefined
9877
+ }
9768
9878
  }]
9769
9879
  // ----- prefer-arrow-callback -----
9770
9880
  type PreferArrowCallback = []|[{
@@ -10075,6 +10185,7 @@ type StyleArrayElementNewline = []|[(_StyleArrayElementNewlineBasicConfig | {
10075
10185
  ArrayPattern?: _StyleArrayElementNewlineBasicConfig
10076
10186
  })]
10077
10187
  type _StyleArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
10188
+ consistent?: boolean
10078
10189
  multiline?: boolean
10079
10190
  minItems?: (number | null)
10080
10191
  })
@@ -10271,7 +10382,7 @@ type StyleJsxNewline = []|[{
10271
10382
  }]
10272
10383
  // ----- style/jsx-one-expression-per-line -----
10273
10384
  type StyleJsxOneExpressionPerLine = []|[{
10274
- allow?: ("none" | "literal" | "single-child" | "single-line")
10385
+ allow?: ("none" | "literal" | "single-child" | "single-line" | "non-jsx")
10275
10386
  }]
10276
10387
  // ----- style/jsx-pascal-case -----
10277
10388
  type StyleJsxPascalCase = []|[{
@@ -10904,6 +11015,16 @@ type StyleObjectCurlyNewline = []|[((("always" | "never") | {
10904
11015
  minProperties?: number
10905
11016
  consistent?: boolean
10906
11017
  })
11018
+ TSTypeLiteral?: (("always" | "never") | {
11019
+ multiline?: boolean
11020
+ minProperties?: number
11021
+ consistent?: boolean
11022
+ })
11023
+ TSInterfaceBody?: (("always" | "never") | {
11024
+ multiline?: boolean
11025
+ minProperties?: number
11026
+ consistent?: boolean
11027
+ })
10907
11028
  })]
10908
11029
  // ----- style/object-curly-spacing -----
10909
11030
  type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -10937,7 +11058,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
10937
11058
  }]
10938
11059
  // ----- style/padding-line-between-statements -----
10939
11060
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
10940
- type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"))[]])
11061
+ type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "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-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "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-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
10941
11062
  type StylePaddingLineBetweenStatements = {
10942
11063
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
10943
11064
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -10953,6 +11074,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
10953
11074
  type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
10954
11075
  avoidEscape?: boolean
10955
11076
  allowTemplateLiterals?: boolean
11077
+ ignoreStringLiterals?: boolean
10956
11078
  })]
10957
11079
  // ----- style/rest-spread-spacing -----
10958
11080
  type StyleRestSpreadSpacing = []|[("always" | "never")]
@@ -11299,589 +11421,108 @@ type TsBanTsComment = []|[{
11299
11421
  })
11300
11422
  minimumDescriptionLength?: number
11301
11423
  }]
11302
- // ----- ts/ban-types -----
11303
- type TsBanTypes = []|[{
11304
- types?: {
11305
- [k: string]: (null | false | true | string | {
11306
-
11307
- message?: string
11308
-
11309
- fixWith?: string
11310
-
11311
- suggest?: string[]
11312
- }) | undefined
11313
- }
11314
- extendDefaults?: boolean
11315
- }]
11316
- // ----- ts/block-spacing -----
11317
- type TsBlockSpacing = []|[("always" | "never")]
11318
- // ----- ts/brace-style -----
11319
- type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
11320
- allowSingleLine?: boolean
11321
- }]
11322
11424
  // ----- ts/class-literal-property-style -----
11323
11425
  type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
11324
11426
  // ----- ts/class-methods-use-this -----
11325
11427
  type TsClassMethodsUseThis = []|[{
11326
-
11327
- exceptMethods?: string[]
11328
-
11329
- enforceForClassFields?: boolean
11330
-
11331
- ignoreOverrideMethods?: boolean
11332
-
11333
- ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
11334
- }]
11335
- // ----- ts/comma-dangle -----
11336
- type TsCommaDangle = []|[(_TsCommaDangleValue | {
11337
- arrays?: _TsCommaDangleValueWithIgnore
11338
- objects?: _TsCommaDangleValueWithIgnore
11339
- imports?: _TsCommaDangleValueWithIgnore
11340
- exports?: _TsCommaDangleValueWithIgnore
11341
- functions?: _TsCommaDangleValueWithIgnore
11342
- enums?: _TsCommaDangleValueWithIgnore
11343
- generics?: _TsCommaDangleValueWithIgnore
11344
- tuples?: _TsCommaDangleValueWithIgnore
11345
- })]
11346
- type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
11347
- type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
11348
- // ----- ts/comma-spacing -----
11349
- type TsCommaSpacing = []|[{
11350
- before?: boolean
11351
- after?: boolean
11352
- }]
11353
- // ----- ts/consistent-generic-constructors -----
11354
- type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
11355
- // ----- ts/consistent-indexed-object-style -----
11356
- type TsConsistentIndexedObjectStyle = []|[("record" | "index-signature")]
11357
- // ----- ts/consistent-return -----
11358
- type TsConsistentReturn = []|[{
11359
- treatUndefinedAsUnspecified?: boolean
11360
- }]
11361
- // ----- ts/consistent-type-assertions -----
11362
- type TsConsistentTypeAssertions = []|[({
11363
- assertionStyle: "never"
11364
- } | {
11365
- assertionStyle: ("as" | "angle-bracket")
11366
- objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11367
- })]
11368
- // ----- ts/consistent-type-definitions -----
11369
- type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11370
- // ----- ts/consistent-type-exports -----
11371
- type TsConsistentTypeExports = []|[{
11372
- fixMixedExportsWithInlineTypeSpecifier?: boolean
11373
- }]
11374
- // ----- ts/consistent-type-imports -----
11375
- type TsConsistentTypeImports = []|[{
11376
- disallowTypeAnnotations?: boolean
11377
- fixStyle?: ("separate-type-imports" | "inline-type-imports")
11378
- prefer?: ("type-imports" | "no-type-imports")
11379
- }]
11380
- // ----- ts/dot-notation -----
11381
- type TsDotNotation = []|[{
11382
- allowKeywords?: boolean
11383
- allowPattern?: string
11384
- allowPrivateClassPropertyAccess?: boolean
11385
- allowProtectedClassPropertyAccess?: boolean
11386
- allowIndexSignaturePropertyAccess?: boolean
11387
- }]
11388
- // ----- ts/explicit-function-return-type -----
11389
- type TsExplicitFunctionReturnType = []|[{
11390
-
11391
- allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
11392
-
11393
- allowExpressions?: boolean
11394
-
11395
- allowHigherOrderFunctions?: boolean
11396
-
11397
- allowTypedFunctionExpressions?: boolean
11398
-
11399
- allowDirectConstAssertionInArrowFunctions?: boolean
11400
-
11401
- allowFunctionsWithoutTypeParameters?: boolean
11402
-
11403
- allowedNames?: string[]
11404
-
11405
- allowIIFEs?: boolean
11406
- }]
11407
- // ----- ts/explicit-member-accessibility -----
11408
- type TsExplicitMemberAccessibility = []|[{
11409
- accessibility?: ("explicit" | "no-public" | "off")
11410
- overrides?: {
11411
- accessors?: ("explicit" | "no-public" | "off")
11412
- constructors?: ("explicit" | "no-public" | "off")
11413
- methods?: ("explicit" | "no-public" | "off")
11414
- properties?: ("explicit" | "no-public" | "off")
11415
- parameterProperties?: ("explicit" | "no-public" | "off")
11416
- }
11417
- ignoredMethodNames?: string[]
11418
- }]
11419
- // ----- ts/explicit-module-boundary-types -----
11420
- type TsExplicitModuleBoundaryTypes = []|[{
11421
-
11422
- allowArgumentsExplicitlyTypedAsAny?: boolean
11423
-
11424
- allowDirectConstAssertionInArrowFunctions?: boolean
11425
-
11426
- allowedNames?: string[]
11427
-
11428
- allowHigherOrderFunctions?: boolean
11429
-
11430
- allowTypedFunctionExpressions?: boolean
11431
- }]
11432
- // ----- ts/func-call-spacing -----
11433
- type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
11434
- allowNewlines?: boolean
11435
- }])
11436
- // ----- ts/indent -----
11437
- type TsIndent = []|[("tab" | number)]|[("tab" | number), {
11438
- SwitchCase?: number
11439
- VariableDeclarator?: ((number | ("first" | "off")) | {
11440
- var?: (number | ("first" | "off"))
11441
- let?: (number | ("first" | "off"))
11442
- const?: (number | ("first" | "off"))
11443
- })
11444
- outerIIFEBody?: (number | "off")
11445
- MemberExpression?: (number | "off")
11446
- FunctionDeclaration?: {
11447
- parameters?: (number | ("first" | "off"))
11448
- body?: number
11449
- }
11450
- FunctionExpression?: {
11451
- parameters?: (number | ("first" | "off"))
11452
- body?: number
11453
- }
11454
- StaticBlock?: {
11455
- body?: number
11456
- }
11457
- CallExpression?: {
11458
- arguments?: (number | ("first" | "off"))
11459
- }
11460
- ArrayExpression?: (number | ("first" | "off"))
11461
- ObjectExpression?: (number | ("first" | "off"))
11462
- ImportDeclaration?: (number | ("first" | "off"))
11463
- flatTernaryExpressions?: boolean
11464
- offsetTernaryExpressions?: boolean
11465
- ignoredNodes?: string[]
11466
- ignoreComments?: boolean
11467
- }]
11468
- // ----- ts/init-declarations -----
11469
- type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11470
- ignoreForLoopInit?: boolean
11471
- }])
11472
- // ----- ts/key-spacing -----
11473
- type TsKeySpacing = []|[({
11474
- align?: (("colon" | "value") | {
11475
- mode?: ("strict" | "minimum")
11476
- on?: ("colon" | "value")
11477
- beforeColon?: boolean
11478
- afterColon?: boolean
11479
- })
11480
- mode?: ("strict" | "minimum")
11481
- beforeColon?: boolean
11482
- afterColon?: boolean
11483
- } | {
11484
- singleLine?: {
11485
- mode?: ("strict" | "minimum")
11486
- beforeColon?: boolean
11487
- afterColon?: boolean
11488
- }
11489
- multiLine?: {
11490
- align?: (("colon" | "value") | {
11491
- mode?: ("strict" | "minimum")
11492
- on?: ("colon" | "value")
11493
- beforeColon?: boolean
11494
- afterColon?: boolean
11495
- })
11496
- mode?: ("strict" | "minimum")
11497
- beforeColon?: boolean
11498
- afterColon?: boolean
11499
- }
11500
- } | {
11501
- singleLine?: {
11502
- mode?: ("strict" | "minimum")
11503
- beforeColon?: boolean
11504
- afterColon?: boolean
11505
- }
11506
- multiLine?: {
11507
- mode?: ("strict" | "minimum")
11508
- beforeColon?: boolean
11509
- afterColon?: boolean
11510
- }
11511
- align?: {
11512
- mode?: ("strict" | "minimum")
11513
- on?: ("colon" | "value")
11514
- beforeColon?: boolean
11515
- afterColon?: boolean
11516
- }
11517
- })]
11518
- // ----- ts/keyword-spacing -----
11519
- type TsKeywordSpacing = []|[{
11520
- before?: boolean
11521
- after?: boolean
11522
- overrides?: {
11523
- abstract?: {
11524
- before?: boolean
11525
- after?: boolean
11526
- }
11527
- as?: {
11528
- before?: boolean
11529
- after?: boolean
11530
- }
11531
- async?: {
11532
- before?: boolean
11533
- after?: boolean
11534
- }
11535
- await?: {
11536
- before?: boolean
11537
- after?: boolean
11538
- }
11539
- boolean?: {
11540
- before?: boolean
11541
- after?: boolean
11542
- }
11543
- break?: {
11544
- before?: boolean
11545
- after?: boolean
11546
- }
11547
- byte?: {
11548
- before?: boolean
11549
- after?: boolean
11550
- }
11551
- case?: {
11552
- before?: boolean
11553
- after?: boolean
11554
- }
11555
- catch?: {
11556
- before?: boolean
11557
- after?: boolean
11558
- }
11559
- char?: {
11560
- before?: boolean
11561
- after?: boolean
11562
- }
11563
- class?: {
11564
- before?: boolean
11565
- after?: boolean
11566
- }
11567
- const?: {
11568
- before?: boolean
11569
- after?: boolean
11570
- }
11571
- continue?: {
11572
- before?: boolean
11573
- after?: boolean
11574
- }
11575
- debugger?: {
11576
- before?: boolean
11577
- after?: boolean
11578
- }
11579
- default?: {
11580
- before?: boolean
11581
- after?: boolean
11582
- }
11583
- delete?: {
11584
- before?: boolean
11585
- after?: boolean
11586
- }
11587
- do?: {
11588
- before?: boolean
11589
- after?: boolean
11590
- }
11591
- double?: {
11592
- before?: boolean
11593
- after?: boolean
11594
- }
11595
- else?: {
11596
- before?: boolean
11597
- after?: boolean
11598
- }
11599
- enum?: {
11600
- before?: boolean
11601
- after?: boolean
11602
- }
11603
- export?: {
11604
- before?: boolean
11605
- after?: boolean
11606
- }
11607
- extends?: {
11608
- before?: boolean
11609
- after?: boolean
11610
- }
11611
- false?: {
11612
- before?: boolean
11613
- after?: boolean
11614
- }
11615
- final?: {
11616
- before?: boolean
11617
- after?: boolean
11618
- }
11619
- finally?: {
11620
- before?: boolean
11621
- after?: boolean
11622
- }
11623
- float?: {
11624
- before?: boolean
11625
- after?: boolean
11626
- }
11627
- for?: {
11628
- before?: boolean
11629
- after?: boolean
11630
- }
11631
- from?: {
11632
- before?: boolean
11633
- after?: boolean
11634
- }
11635
- function?: {
11636
- before?: boolean
11637
- after?: boolean
11638
- }
11639
- get?: {
11640
- before?: boolean
11641
- after?: boolean
11642
- }
11643
- goto?: {
11644
- before?: boolean
11645
- after?: boolean
11646
- }
11647
- if?: {
11648
- before?: boolean
11649
- after?: boolean
11650
- }
11651
- implements?: {
11652
- before?: boolean
11653
- after?: boolean
11654
- }
11655
- import?: {
11656
- before?: boolean
11657
- after?: boolean
11658
- }
11659
- in?: {
11660
- before?: boolean
11661
- after?: boolean
11662
- }
11663
- instanceof?: {
11664
- before?: boolean
11665
- after?: boolean
11666
- }
11667
- int?: {
11668
- before?: boolean
11669
- after?: boolean
11670
- }
11671
- interface?: {
11672
- before?: boolean
11673
- after?: boolean
11674
- }
11675
- let?: {
11676
- before?: boolean
11677
- after?: boolean
11678
- }
11679
- long?: {
11680
- before?: boolean
11681
- after?: boolean
11682
- }
11683
- native?: {
11684
- before?: boolean
11685
- after?: boolean
11686
- }
11687
- new?: {
11688
- before?: boolean
11689
- after?: boolean
11690
- }
11691
- null?: {
11692
- before?: boolean
11693
- after?: boolean
11694
- }
11695
- of?: {
11696
- before?: boolean
11697
- after?: boolean
11698
- }
11699
- package?: {
11700
- before?: boolean
11701
- after?: boolean
11702
- }
11703
- private?: {
11704
- before?: boolean
11705
- after?: boolean
11706
- }
11707
- protected?: {
11708
- before?: boolean
11709
- after?: boolean
11710
- }
11711
- public?: {
11712
- before?: boolean
11713
- after?: boolean
11714
- }
11715
- return?: {
11716
- before?: boolean
11717
- after?: boolean
11718
- }
11719
- set?: {
11720
- before?: boolean
11721
- after?: boolean
11722
- }
11723
- short?: {
11724
- before?: boolean
11725
- after?: boolean
11726
- }
11727
- static?: {
11728
- before?: boolean
11729
- after?: boolean
11730
- }
11731
- super?: {
11732
- before?: boolean
11733
- after?: boolean
11734
- }
11735
- switch?: {
11736
- before?: boolean
11737
- after?: boolean
11738
- }
11739
- synchronized?: {
11740
- before?: boolean
11741
- after?: boolean
11742
- }
11743
- this?: {
11744
- before?: boolean
11745
- after?: boolean
11746
- }
11747
- throw?: {
11748
- before?: boolean
11749
- after?: boolean
11750
- }
11751
- throws?: {
11752
- before?: boolean
11753
- after?: boolean
11754
- }
11755
- transient?: {
11756
- before?: boolean
11757
- after?: boolean
11758
- }
11759
- true?: {
11760
- before?: boolean
11761
- after?: boolean
11762
- }
11763
- try?: {
11764
- before?: boolean
11765
- after?: boolean
11766
- }
11767
- typeof?: {
11768
- before?: boolean
11769
- after?: boolean
11770
- }
11771
- var?: {
11772
- before?: boolean
11773
- after?: boolean
11774
- }
11775
- void?: {
11776
- before?: boolean
11777
- after?: boolean
11778
- }
11779
- volatile?: {
11780
- before?: boolean
11781
- after?: boolean
11782
- }
11783
- while?: {
11784
- before?: boolean
11785
- after?: boolean
11786
- }
11787
- with?: {
11788
- before?: boolean
11789
- after?: boolean
11790
- }
11791
- yield?: {
11792
- before?: boolean
11793
- after?: boolean
11794
- }
11795
- type?: {
11796
- before?: boolean
11797
- after?: boolean
11798
- }
11799
- }
11428
+
11429
+ exceptMethods?: string[]
11430
+
11431
+ enforceForClassFields?: boolean
11432
+
11433
+ ignoreOverrideMethods?: boolean
11434
+
11435
+ ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
11800
11436
  }]
11801
- // ----- ts/lines-around-comment -----
11802
- type TsLinesAroundComment = []|[{
11803
- beforeBlockComment?: boolean
11804
- afterBlockComment?: boolean
11805
- beforeLineComment?: boolean
11806
- afterLineComment?: boolean
11807
- allowBlockStart?: boolean
11808
- allowBlockEnd?: boolean
11809
- allowClassStart?: boolean
11810
- allowClassEnd?: boolean
11811
- allowObjectStart?: boolean
11812
- allowObjectEnd?: boolean
11813
- allowArrayStart?: boolean
11814
- allowArrayEnd?: boolean
11815
- allowInterfaceStart?: boolean
11816
- allowInterfaceEnd?: boolean
11817
- allowTypeStart?: boolean
11818
- allowTypeEnd?: boolean
11819
- allowEnumStart?: boolean
11820
- allowEnumEnd?: boolean
11821
- allowModuleStart?: boolean
11822
- allowModuleEnd?: boolean
11823
- ignorePattern?: string
11824
- applyDefaultIgnorePatterns?: boolean
11437
+ // ----- ts/consistent-generic-constructors -----
11438
+ type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
11439
+ // ----- ts/consistent-indexed-object-style -----
11440
+ type TsConsistentIndexedObjectStyle = []|[("record" | "index-signature")]
11441
+ // ----- ts/consistent-return -----
11442
+ type TsConsistentReturn = []|[{
11443
+ treatUndefinedAsUnspecified?: boolean
11444
+ }]
11445
+ // ----- ts/consistent-type-assertions -----
11446
+ type TsConsistentTypeAssertions = []|[({
11447
+ assertionStyle: "never"
11448
+ } | {
11449
+ assertionStyle: ("as" | "angle-bracket")
11450
+ objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
11451
+ })]
11452
+ // ----- ts/consistent-type-definitions -----
11453
+ type TsConsistentTypeDefinitions = []|[("interface" | "type")]
11454
+ // ----- ts/consistent-type-exports -----
11455
+ type TsConsistentTypeExports = []|[{
11456
+ fixMixedExportsWithInlineTypeSpecifier?: boolean
11457
+ }]
11458
+ // ----- ts/consistent-type-imports -----
11459
+ type TsConsistentTypeImports = []|[{
11460
+ disallowTypeAnnotations?: boolean
11461
+ fixStyle?: ("separate-type-imports" | "inline-type-imports")
11462
+ prefer?: ("type-imports" | "no-type-imports")
11463
+ }]
11464
+ // ----- ts/dot-notation -----
11465
+ type TsDotNotation = []|[{
11466
+ allowKeywords?: boolean
11467
+ allowPattern?: string
11468
+ allowPrivateClassPropertyAccess?: boolean
11469
+ allowProtectedClassPropertyAccess?: boolean
11470
+ allowIndexSignaturePropertyAccess?: boolean
11825
11471
  }]
11826
- // ----- ts/lines-between-class-members -----
11827
- type TsLinesBetweenClassMembers = []|[({
11472
+ // ----- ts/explicit-function-return-type -----
11473
+ type TsExplicitFunctionReturnType = []|[{
11828
11474
 
11829
- enforce: [{
11830
- blankLine: ("always" | "never")
11831
- prev: ("method" | "field" | "*")
11832
- next: ("method" | "field" | "*")
11833
- }, ...({
11834
- blankLine: ("always" | "never")
11835
- prev: ("method" | "field" | "*")
11836
- next: ("method" | "field" | "*")
11837
- })[]]
11838
- } | ("always" | "never"))]|[({
11475
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
11839
11476
 
11840
- enforce: [{
11841
- blankLine: ("always" | "never")
11842
- prev: ("method" | "field" | "*")
11843
- next: ("method" | "field" | "*")
11844
- }, ...({
11845
- blankLine: ("always" | "never")
11846
- prev: ("method" | "field" | "*")
11847
- next: ("method" | "field" | "*")
11848
- })[]]
11849
- } | ("always" | "never")), {
11850
- exceptAfterSingleLine?: boolean
11851
- exceptAfterOverload?: boolean
11477
+ allowExpressions?: boolean
11478
+
11479
+ allowHigherOrderFunctions?: boolean
11480
+
11481
+ allowTypedFunctionExpressions?: boolean
11482
+
11483
+ allowDirectConstAssertionInArrowFunctions?: boolean
11484
+
11485
+ allowFunctionsWithoutTypeParameters?: boolean
11486
+
11487
+ allowedNames?: string[]
11488
+
11489
+ allowIIFEs?: boolean
11490
+ }]
11491
+ // ----- ts/explicit-member-accessibility -----
11492
+ type TsExplicitMemberAccessibility = []|[{
11493
+ accessibility?: ("explicit" | "no-public" | "off")
11494
+ overrides?: {
11495
+ accessors?: ("explicit" | "no-public" | "off")
11496
+ constructors?: ("explicit" | "no-public" | "off")
11497
+ methods?: ("explicit" | "no-public" | "off")
11498
+ properties?: ("explicit" | "no-public" | "off")
11499
+ parameterProperties?: ("explicit" | "no-public" | "off")
11500
+ }
11501
+ ignoredMethodNames?: string[]
11502
+ }]
11503
+ // ----- ts/explicit-module-boundary-types -----
11504
+ type TsExplicitModuleBoundaryTypes = []|[{
11505
+
11506
+ allowArgumentsExplicitlyTypedAsAny?: boolean
11507
+
11508
+ allowDirectConstAssertionInArrowFunctions?: boolean
11509
+
11510
+ allowedNames?: string[]
11511
+
11512
+ allowHigherOrderFunctions?: boolean
11513
+
11514
+ allowTypedFunctionExpressions?: boolean
11852
11515
  }]
11516
+ // ----- ts/init-declarations -----
11517
+ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11518
+ ignoreForLoopInit?: boolean
11519
+ }])
11853
11520
  // ----- ts/max-params -----
11854
11521
  type TsMaxParams = []|[{
11855
11522
  maximum?: number
11856
11523
  max?: number
11857
11524
  countVoidThis?: boolean
11858
11525
  }]
11859
- // ----- ts/member-delimiter-style -----
11860
- type TsMemberDelimiterStyle = []|[{
11861
- multiline?: {
11862
- delimiter?: ("none" | "semi" | "comma")
11863
- requireLast?: boolean
11864
- }
11865
- singleline?: {
11866
- delimiter?: ("semi" | "comma")
11867
- requireLast?: boolean
11868
- }
11869
- overrides?: {
11870
- interface?: _TsMemberDelimiterStyle_DelimiterConfig
11871
- typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
11872
- }
11873
- multilineDetection?: ("brackets" | "last-member")
11874
- }]
11875
- interface _TsMemberDelimiterStyle_DelimiterConfig {
11876
- multiline?: {
11877
- delimiter?: ("none" | "semi" | "comma")
11878
- requireLast?: boolean
11879
- }
11880
- singleline?: {
11881
- delimiter?: ("semi" | "comma")
11882
- requireLast?: boolean
11883
- }
11884
- }
11885
11526
  // ----- ts/member-ordering -----
11886
11527
  type TsMemberOrdering = []|[{
11887
11528
  default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
@@ -12253,6 +11894,12 @@ type TsNoEmptyFunction = []|[{
12253
11894
  type TsNoEmptyInterface = []|[{
12254
11895
  allowSingleExtends?: boolean
12255
11896
  }]
11897
+ // ----- ts/no-empty-object-type -----
11898
+ type TsNoEmptyObjectType = []|[{
11899
+ allowInterfaces?: ("always" | "never" | "with-single-extends")
11900
+ allowObjectTypes?: ("always" | "never")
11901
+ allowWithName?: string
11902
+ }]
12256
11903
  // ----- ts/no-explicit-any -----
12257
11904
  type TsNoExplicitAny = []|[{
12258
11905
 
@@ -12260,19 +11907,6 @@ type TsNoExplicitAny = []|[{
12260
11907
 
12261
11908
  ignoreRestArgs?: boolean
12262
11909
  }]
12263
- // ----- ts/no-extra-parens -----
12264
- type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
12265
- conditionalAssign?: boolean
12266
- ternaryOperandBinaryExpressions?: boolean
12267
- nestedBinaryExpressions?: boolean
12268
- returnAssign?: boolean
12269
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
12270
- enforceForArrowConditionals?: boolean
12271
- enforceForSequenceExpressions?: boolean
12272
- enforceForNewInMemberExpressions?: boolean
12273
- enforceForFunctionPrototypeMethods?: boolean
12274
- allowParensAfterCommentPattern?: string
12275
- }])
12276
11910
  // ----- ts/no-extraneous-class -----
12277
11911
  type TsNoExtraneousClass = []|[{
12278
11912
 
@@ -12286,6 +11920,32 @@ type TsNoExtraneousClass = []|[{
12286
11920
  }]
12287
11921
  // ----- ts/no-floating-promises -----
12288
11922
  type TsNoFloatingPromises = []|[{
11923
+ allowForKnownSafePromises?: (string | {
11924
+ from: "file"
11925
+ name: (string | [string, ...(string)[]])
11926
+ path?: string
11927
+ } | {
11928
+ from: "lib"
11929
+ name: (string | [string, ...(string)[]])
11930
+ } | {
11931
+ from: "package"
11932
+ name: (string | [string, ...(string)[]])
11933
+ package: string
11934
+ })[]
11935
+ allowForKnownSafeCalls?: (string | {
11936
+ from: "file"
11937
+ name: (string | [string, ...(string)[]])
11938
+ path?: string
11939
+ } | {
11940
+ from: "lib"
11941
+ name: (string | [string, ...(string)[]])
11942
+ } | {
11943
+ from: "package"
11944
+ name: (string | [string, ...(string)[]])
11945
+ package: string
11946
+ })[]
11947
+
11948
+ checkThenables?: boolean
12289
11949
 
12290
11950
  ignoreVoid?: boolean
12291
11951
 
@@ -12350,6 +12010,8 @@ type TsNoRedeclare = []|[{
12350
12010
  type TsNoRequireImports = []|[{
12351
12011
 
12352
12012
  allow?: string[]
12013
+
12014
+ allowAsImport?: boolean
12353
12015
  }]
12354
12016
  // ----- ts/no-restricted-imports -----
12355
12017
  type TsNoRestrictedImports = ((string | {
@@ -12374,7 +12036,8 @@ type TsNoRestrictedImports = ((string | {
12374
12036
 
12375
12037
  allowImportNames?: [string, ...(string)[]]
12376
12038
 
12377
- group: [string, ...(string)[]]
12039
+ group?: [string, ...(string)[]]
12040
+ regex?: string
12378
12041
  importNamePattern?: string
12379
12042
  allowImportNamePattern?: string
12380
12043
  message?: string
@@ -12383,6 +12046,19 @@ type TsNoRestrictedImports = ((string | {
12383
12046
  allowTypeImports?: boolean
12384
12047
  }[])
12385
12048
  }])
12049
+ // ----- ts/no-restricted-types -----
12050
+ type TsNoRestrictedTypes = []|[{
12051
+ types?: {
12052
+ [k: string]: (true | string | {
12053
+
12054
+ message?: string
12055
+
12056
+ fixWith?: string
12057
+
12058
+ suggest?: string[]
12059
+ }) | undefined
12060
+ }
12061
+ }]
12386
12062
  // ----- ts/no-shadow -----
12387
12063
  type TsNoShadow = []|[{
12388
12064
  builtinGlobals?: boolean
@@ -12399,11 +12075,6 @@ type TsNoThisAlias = []|[{
12399
12075
 
12400
12076
  allowedNames?: string[]
12401
12077
  }]
12402
- // ----- ts/no-throw-literal -----
12403
- type TsNoThrowLiteral = []|[{
12404
- allowThrowingAny?: boolean
12405
- allowThrowingUnknown?: boolean
12406
- }]
12407
12078
  // ----- ts/no-type-alias -----
12408
12079
  type TsNoTypeAlias = []|[{
12409
12080
 
@@ -12459,6 +12130,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
12459
12130
  caughtErrors?: ("all" | "none")
12460
12131
  caughtErrorsIgnorePattern?: string
12461
12132
  destructuredArrayIgnorePattern?: string
12133
+ ignoreClassWithStaticInitBlock?: boolean
12134
+ reportUsedIgnorePattern?: boolean
12462
12135
  })]
12463
12136
  // ----- ts/no-use-before-define -----
12464
12137
  type TsNoUseBeforeDefine = []|[("nofunc" | {
@@ -12475,24 +12148,11 @@ type TsNoVarRequires = []|[{
12475
12148
 
12476
12149
  allow?: string[]
12477
12150
  }]
12478
- // ----- ts/object-curly-spacing -----
12479
- type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
12480
- arraysInObjects?: boolean
12481
- objectsInObjects?: boolean
12482
- }]
12483
12151
  // ----- ts/only-throw-error -----
12484
12152
  type TsOnlyThrowError = []|[{
12485
12153
  allowThrowingAny?: boolean
12486
12154
  allowThrowingUnknown?: boolean
12487
12155
  }]
12488
- // ----- ts/padding-line-between-statements -----
12489
- type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
12490
- type _TsPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
12491
- type TsPaddingLineBetweenStatements = {
12492
- blankLine: _TsPaddingLineBetweenStatementsPaddingType
12493
- prev: _TsPaddingLineBetweenStatementsStatementType
12494
- next: _TsPaddingLineBetweenStatementsStatementType
12495
- }[]
12496
12156
  // ----- ts/parameter-properties -----
12497
12157
  type TsParameterProperties = []|[{
12498
12158
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
@@ -12607,11 +12267,6 @@ type TsPromiseFunctionAsync = []|[{
12607
12267
  checkFunctionExpressions?: boolean
12608
12268
  checkMethodDeclarations?: boolean
12609
12269
  }]
12610
- // ----- ts/quotes -----
12611
- type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
12612
- avoidEscape?: boolean
12613
- allowTemplateLiterals?: boolean
12614
- })]
12615
12270
  // ----- ts/require-array-sort-compare -----
12616
12271
  type TsRequireArraySortCompare = []|[{
12617
12272
 
@@ -12650,14 +12305,7 @@ type TsRestrictTemplateExpressions = []|[{
12650
12305
  allowNever?: boolean
12651
12306
  }]
12652
12307
  // ----- ts/return-await -----
12653
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
12654
- // ----- ts/semi -----
12655
- type TsSemi = ([]|["never"]|["never", {
12656
- beforeStatementContinuationChars?: ("always" | "any" | "never")
12657
- }] | []|["always"]|["always", {
12658
- omitLastInOneLineBlock?: boolean
12659
- omitLastInOneLineClassBody?: boolean
12660
- }])
12308
+ type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
12661
12309
  // ----- ts/sort-type-constituents -----
12662
12310
  type TsSortTypeConstituents = []|[{
12663
12311
 
@@ -12669,22 +12317,6 @@ type TsSortTypeConstituents = []|[{
12669
12317
 
12670
12318
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
12671
12319
  }]
12672
- // ----- ts/space-before-blocks -----
12673
- type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
12674
- keywords?: ("always" | "never" | "off")
12675
- functions?: ("always" | "never" | "off")
12676
- classes?: ("always" | "never" | "off")
12677
- })]
12678
- // ----- ts/space-before-function-paren -----
12679
- type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
12680
- anonymous?: ("always" | "never" | "ignore")
12681
- named?: ("always" | "never" | "ignore")
12682
- asyncArrow?: ("always" | "never" | "ignore")
12683
- })]
12684
- // ----- ts/space-infix-ops -----
12685
- type TsSpaceInfixOps = []|[{
12686
- int32Hint?: boolean
12687
- }]
12688
12320
  // ----- ts/strict-boolean-expressions -----
12689
12321
  type TsStrictBooleanExpressions = []|[{
12690
12322
  allowString?: boolean
@@ -12710,23 +12342,6 @@ type TsTripleSlashReference = []|[{
12710
12342
  path?: ("always" | "never")
12711
12343
  types?: ("always" | "never" | "prefer-import")
12712
12344
  }]
12713
- // ----- ts/type-annotation-spacing -----
12714
- type TsTypeAnnotationSpacing = []|[{
12715
- before?: boolean
12716
- after?: boolean
12717
- overrides?: {
12718
- colon?: _TsTypeAnnotationSpacing_SpacingConfig
12719
- arrow?: _TsTypeAnnotationSpacing_SpacingConfig
12720
- variable?: _TsTypeAnnotationSpacing_SpacingConfig
12721
- parameter?: _TsTypeAnnotationSpacing_SpacingConfig
12722
- property?: _TsTypeAnnotationSpacing_SpacingConfig
12723
- returnType?: _TsTypeAnnotationSpacing_SpacingConfig
12724
- }
12725
- }]
12726
- interface _TsTypeAnnotationSpacing_SpacingConfig {
12727
- before?: boolean
12728
- after?: boolean
12729
- }
12730
12345
  // ----- ts/typedef -----
12731
12346
  type TsTypedef = []|[{
12732
12347
  arrayDestructuring?: boolean
@@ -12963,6 +12578,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
12963
12578
  caughtErrors?: ("all" | "none")
12964
12579
  caughtErrorsIgnorePattern?: string
12965
12580
  destructuredArrayIgnorePattern?: string
12581
+ ignoreClassWithStaticInitBlock?: boolean
12582
+ reportUsedIgnorePattern?: boolean
12966
12583
  })]
12967
12584
  // ----- unused-imports/no-unused-vars -----
12968
12585
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
@@ -12974,6 +12591,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
12974
12591
  caughtErrors?: ("all" | "none")
12975
12592
  caughtErrorsIgnorePattern?: string
12976
12593
  destructuredArrayIgnorePattern?: string
12594
+ ignoreClassWithStaticInitBlock?: boolean
12595
+ reportUsedIgnorePattern?: boolean
12977
12596
  })]
12978
12597
  // ----- use-isnan -----
12979
12598
  type UseIsnan = []|[{
@@ -13001,6 +12620,7 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
13001
12620
  ArrayPattern?: _VueArrayElementNewlineBasicConfig
13002
12621
  })]
13003
12622
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
12623
+ consistent?: boolean
13004
12624
  multiline?: boolean
13005
12625
  minItems?: (number | null)
13006
12626
  })
@@ -13975,6 +13595,16 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
13975
13595
  minProperties?: number
13976
13596
  consistent?: boolean
13977
13597
  })
13598
+ TSTypeLiteral?: (("always" | "never") | {
13599
+ multiline?: boolean
13600
+ minProperties?: number
13601
+ consistent?: boolean
13602
+ })
13603
+ TSInterfaceBody?: (("always" | "never") | {
13604
+ multiline?: boolean
13605
+ minProperties?: number
13606
+ consistent?: boolean
13607
+ })
13978
13608
  })]
13979
13609
  // ----- vue/object-curly-spacing -----
13980
13610
  type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -14458,7 +14088,7 @@ interface OptionsTypeScriptWithTypes {
14458
14088
  * 提供此选项后,将启用类型感知规则。
14459
14089
  * @see https://typescript-eslint.io/linting/typed-linting/
14460
14090
  */
14461
- tsconfigPath?: string | string[];
14091
+ tsconfigPath?: string;
14462
14092
  }
14463
14093
  interface OptionsHasTypeScript {
14464
14094
  typescript?: boolean;
@@ -14482,6 +14112,14 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, 'indent' | 'qu
14482
14112
  interface OptionsOverrides {
14483
14113
  overrides?: TypedFlatConfigItem['rules'];
14484
14114
  }
14115
+ interface OptionsProjectType {
14116
+ /**
14117
+ * Type of the project. `lib` will enable more strict rules for libraries.
14118
+ *
14119
+ * @default 'app'
14120
+ */
14121
+ type?: 'app' | 'lib';
14122
+ }
14485
14123
  interface OptionsRegExp {
14486
14124
  /**
14487
14125
  * Override rulelevels
@@ -14495,8 +14133,7 @@ interface OptionsIsInEditor {
14495
14133
  isInEditor?: boolean;
14496
14134
  }
14497
14135
  interface OptionsReact {
14498
- tsconfigPath?: string;
14499
- typescript?: boolean;
14136
+ tsconfigPath?: string | string[];
14500
14137
  jsx?: boolean;
14501
14138
  /** react 版本 */
14502
14139
  version?: string;
@@ -14513,7 +14150,7 @@ interface OptionsUnoCSS {
14513
14150
  */
14514
14151
  strict?: boolean;
14515
14152
  }
14516
- interface OptionsConfig extends OptionsComponentExts {
14153
+ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14517
14154
  /**
14518
14155
  * 启用 gitignore 支持.
14519
14156
  *
@@ -14688,6 +14325,8 @@ declare function jsdoc(options?: OptionsStylistic): Promise<TypedFlatConfigItem[
14688
14325
 
14689
14326
  declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14690
14327
 
14328
+ declare function jsx(): Promise<TypedFlatConfigItem[]>;
14329
+
14691
14330
  declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14692
14331
 
14693
14332
  /**
@@ -14723,7 +14362,7 @@ declare function stylistic(options?: OptionsStylistic & OptionsOverrides): Promi
14723
14362
 
14724
14363
  declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
14725
14364
 
14726
- declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<TypedFlatConfigItem[]>;
14365
+ declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
14727
14366
 
14728
14367
  declare function unicorn(): Promise<TypedFlatConfigItem[]>;
14729
14368
 
@@ -14748,6 +14387,7 @@ declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
14748
14387
  default: infer U;
14749
14388
  } ? U : T>;
14750
14389
  declare function ensurePackages(packages: string[]): Promise<void>;
14390
+ declare function isInEditorEnv(): boolean;
14751
14391
 
14752
14392
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
14753
14393
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
@@ -14776,4 +14416,4 @@ declare const GLOB_TESTS: string[];
14776
14416
  declare const GLOB_ALL_SRC: string[];
14777
14417
  declare const GLOB_EXCLUDE: string[];
14778
14418
 
14779
- export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, javascript, jsdoc, jsonc, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
14419
+ export { type Awaitable, GLOB_ALL_SRC, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsReact, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsUnoCSS, type OptionsVue, type Rules, type StylisticConfig, StylisticConfigDefaults, type TypedFlatConfigItem, combine, comments, lincy as default, defaultPluginRenaming, ensurePackages, formatters, ignores, imports, interopDefault, isInEditorEnv, javascript, jsdoc, jsonc, jsx, lincy, markdown, node, perfectionist, react, regexp, renamePluginInConfigs, renameRules, sortPackageJson, sortTsconfig, stylistic, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };