@kirklin/eslint-config 2.4.0 → 2.6.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
@@ -44,7 +44,7 @@ interface VendoredPrettierOptionsRequired {
44
44
  */
45
45
  bracketSpacing: boolean;
46
46
  /**
47
- * Put the `>` of a multi-line HTML (HTML, JSX, Vue, Angular) element at the end of the last line instead of being
47
+ * Put the `>` of a multi-line HTML (HTML, XML, JSX, Vue, Angular) element at the end of the last line instead of being
48
48
  * alone on the next line (does not apply to self closing elements).
49
49
  */
50
50
  bracketSameLine: boolean;
@@ -98,10 +98,30 @@ interface VendoredPrettierOptionsRequired {
98
98
  */
99
99
  vueIndentScriptAndStyle: boolean;
100
100
  /**
101
- * Enforce single attribute per line in HTML, Vue and JSX.
101
+ * Enforce single attribute per line in HTML, XML, Vue and JSX.
102
102
  * @default false
103
103
  */
104
104
  singleAttributePerLine: boolean;
105
+ /**
106
+ * How to handle whitespaces in XML.
107
+ * @default "preserve"
108
+ */
109
+ xmlQuoteAttributes: "single" | "double" | "preserve";
110
+ /**
111
+ * Whether to put a space inside the brackets of self-closing XML elements.
112
+ * @default true
113
+ */
114
+ xmlSelfClosingSpace: boolean;
115
+ /**
116
+ * Whether to sort attributes by key in XML elements.
117
+ * @default false
118
+ */
119
+ xmlSortAttributesByKey: boolean;
120
+ /**
121
+ * How to handle whitespaces in XML.
122
+ * @default "ignore"
123
+ */
124
+ xmlWhitespaceSensitivity: "ignore" | "strict" | "preserve";
105
125
  }
106
126
 
107
127
  /* eslint-disable */
@@ -540,47 +560,47 @@ interface RuleOptions {
540
560
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
541
561
  /**
542
562
  * require a `eslint-enable` comment for every `eslint-disable` comment
543
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
563
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/disable-enable-pair.html
544
564
  */
545
565
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
546
566
  /**
547
567
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
548
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
568
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-aggregating-enable.html
549
569
  */
550
570
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
551
571
  /**
552
572
  * disallow duplicate `eslint-disable` comments
553
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
573
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-duplicate-disable.html
554
574
  */
555
575
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
556
576
  /**
557
577
  * disallow `eslint-disable` comments about specific rules
558
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
578
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-restricted-disable.html
559
579
  */
560
580
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
561
581
  /**
562
582
  * disallow `eslint-disable` comments without rule names
563
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
583
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unlimited-disable.html
564
584
  */
565
585
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
566
586
  /**
567
587
  * disallow unused `eslint-disable` comments
568
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
588
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-disable.html
569
589
  */
570
590
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
571
591
  /**
572
592
  * disallow unused `eslint-enable` comments
573
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
593
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-unused-enable.html
574
594
  */
575
595
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
576
596
  /**
577
597
  * disallow ESLint directive-comments
578
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/no-use.html
598
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/no-use.html
579
599
  */
580
600
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
581
601
  /**
582
602
  * require include descriptions in ESLint directive-comments
583
- * @see https://mysticatea.github.io/eslint-plugin-eslint-comments/rules/require-description.html
603
+ * @see https://eslint-community.github.io/eslint-plugin-eslint-comments/rules/require-description.html
584
604
  */
585
605
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
586
606
  /**
@@ -613,7 +633,7 @@ interface RuleOptions {
613
633
  */
614
634
  'func-names'?: Linter.RuleEntry<FuncNames>
615
635
  /**
616
- * Enforce the consistent use of either `function` declarations or expressions
636
+ * Enforce the consistent use of either `function` declarations or expressions assigned to variables
617
637
  * @see https://eslint.org/docs/latest/rules/func-style
618
638
  */
619
639
  'func-style'?: Linter.RuleEntry<FuncStyle>
@@ -691,228 +711,228 @@ interface RuleOptions {
691
711
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
692
712
  /**
693
713
  * Enforce or ban the use of inline type-only markers for named imports.
694
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/consistent-type-specifier-style.md
714
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/consistent-type-specifier-style.md
695
715
  */
696
716
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
697
717
  /**
698
718
  * Ensure a default export is present, given a default import.
699
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/default.md
719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/default.md
700
720
  */
701
721
  'import/default'?: Linter.RuleEntry<[]>
702
722
  /**
703
723
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
704
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/dynamic-import-chunkname.md
724
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/dynamic-import-chunkname.md
705
725
  */
706
726
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
707
727
  /**
708
728
  * Forbid any invalid exports, i.e. re-export of the same name.
709
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/export.md
729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/export.md
710
730
  */
711
731
  'import/export'?: Linter.RuleEntry<[]>
712
732
  /**
713
733
  * Ensure all exports appear after other statements.
714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/exports-last.md
734
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/exports-last.md
715
735
  */
716
736
  'import/exports-last'?: Linter.RuleEntry<[]>
717
737
  /**
718
738
  * Ensure consistent use of file extension within the import path.
719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/extensions.md
739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/extensions.md
720
740
  */
721
741
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
722
742
  /**
723
743
  * Ensure all imports appear before other statements.
724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/first.md
744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/first.md
725
745
  */
726
746
  'import/first'?: Linter.RuleEntry<ImportFirst>
727
747
  /**
728
748
  * Prefer named exports to be grouped together in a single export declaration.
729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/group-exports.md
749
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/group-exports.md
730
750
  */
731
751
  'import/group-exports'?: Linter.RuleEntry<[]>
732
752
  /**
733
753
  * Replaced by `import-x/first`.
734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
754
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/imports-first.md
735
755
  * @deprecated
736
756
  */
737
757
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
738
758
  /**
739
759
  * Enforce the maximum number of dependencies a module can have.
740
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/max-dependencies.md
760
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/max-dependencies.md
741
761
  */
742
762
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
743
763
  /**
744
764
  * Ensure named imports correspond to a named export in the remote file.
745
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/named.md
765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/named.md
746
766
  */
747
767
  'import/named'?: Linter.RuleEntry<ImportNamed>
748
768
  /**
749
769
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
750
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/namespace.md
770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/namespace.md
751
771
  */
752
772
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
753
773
  /**
754
774
  * Enforce a newline after import statements.
755
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/newline-after-import.md
775
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/newline-after-import.md
756
776
  */
757
777
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
758
778
  /**
759
779
  * Forbid import of modules using absolute paths.
760
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-absolute-path.md
780
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-absolute-path.md
761
781
  */
762
782
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
763
783
  /**
764
784
  * Forbid AMD `require` and `define` calls.
765
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-amd.md
785
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-amd.md
766
786
  */
767
787
  'import/no-amd'?: Linter.RuleEntry<[]>
768
788
  /**
769
789
  * Forbid anonymous values as default exports.
770
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-anonymous-default-export.md
790
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-anonymous-default-export.md
771
791
  */
772
792
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
773
793
  /**
774
794
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
775
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-commonjs.md
795
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-commonjs.md
776
796
  */
777
797
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
778
798
  /**
779
799
  * Forbid a module from importing a module with a dependency path back to itself.
780
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-cycle.md
800
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-cycle.md
781
801
  */
782
802
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
783
803
  /**
784
804
  * Forbid default exports.
785
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-default-export.md
805
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-default-export.md
786
806
  */
787
807
  'import/no-default-export'?: Linter.RuleEntry<[]>
788
808
  /**
789
809
  * Forbid imported names marked with `@deprecated` documentation tag.
790
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-deprecated.md
810
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-deprecated.md
791
811
  */
792
812
  'import/no-deprecated'?: Linter.RuleEntry<[]>
793
813
  /**
794
814
  * Forbid repeated import of the same module in multiple places.
795
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-duplicates.md
815
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-duplicates.md
796
816
  */
797
817
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
798
818
  /**
799
819
  * Forbid `require()` calls with expressions.
800
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-dynamic-require.md
820
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-dynamic-require.md
801
821
  */
802
822
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
803
823
  /**
804
824
  * Forbid empty named import blocks.
805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-empty-named-blocks.md
825
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-empty-named-blocks.md
806
826
  */
807
827
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
808
828
  /**
809
829
  * Forbid the use of extraneous packages.
810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-extraneous-dependencies.md
830
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-extraneous-dependencies.md
811
831
  */
812
832
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
813
833
  /**
814
834
  * Forbid import statements with CommonJS module.exports.
815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-import-module-exports.md
835
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-import-module-exports.md
816
836
  */
817
837
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
818
838
  /**
819
839
  * Forbid importing the submodules of other modules.
820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-internal-modules.md
840
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-internal-modules.md
821
841
  */
822
842
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
823
843
  /**
824
844
  * Forbid the use of mutable exports with `var` or `let`.
825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-mutable-exports.md
845
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-mutable-exports.md
826
846
  */
827
847
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
828
848
  /**
829
849
  * Forbid use of exported name as identifier of default export.
830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default.md
850
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-named-as-default.md
831
851
  */
832
852
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
833
853
  /**
834
854
  * Forbid use of exported name as property of default export.
835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-as-default-member.md
855
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-named-as-default-member.md
836
856
  */
837
857
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
838
858
  /**
839
859
  * Forbid named default exports.
840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-default.md
860
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-named-default.md
841
861
  */
842
862
  'import/no-named-default'?: Linter.RuleEntry<[]>
843
863
  /**
844
864
  * Forbid named exports.
845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-named-export.md
865
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-named-export.md
846
866
  */
847
867
  'import/no-named-export'?: Linter.RuleEntry<[]>
848
868
  /**
849
869
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-namespace.md
870
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-namespace.md
851
871
  */
852
872
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
853
873
  /**
854
874
  * Forbid Node.js builtin modules.
855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-nodejs-modules.md
875
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-nodejs-modules.md
856
876
  */
857
877
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
858
878
  /**
859
879
  * Forbid importing packages through relative paths.
860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-packages.md
880
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-relative-packages.md
861
881
  */
862
882
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
863
883
  /**
864
884
  * Forbid importing modules from parent directories.
865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-relative-parent-imports.md
885
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-relative-parent-imports.md
866
886
  */
867
887
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
868
888
  /**
869
889
  * Enforce which files can be imported in a given folder.
870
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-restricted-paths.md
890
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-restricted-paths.md
871
891
  */
872
892
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
873
893
  /**
874
894
  * Forbid a module from importing itself.
875
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-self-import.md
895
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-self-import.md
876
896
  */
877
897
  'import/no-self-import'?: Linter.RuleEntry<[]>
878
898
  /**
879
899
  * Forbid unassigned imports.
880
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unassigned-import.md
900
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-unassigned-import.md
881
901
  */
882
902
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
883
903
  /**
884
904
  * Ensure imports point to a file/module that can be resolved.
885
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unresolved.md
905
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-unresolved.md
886
906
  */
887
907
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
888
908
  /**
889
909
  * Forbid modules without exports, or exports without matching import in another module.
890
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-unused-modules.md
910
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-unused-modules.md
891
911
  */
892
912
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
893
913
  /**
894
914
  * Forbid unnecessary path segments in import and require statements.
895
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-useless-path-segments.md
915
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-useless-path-segments.md
896
916
  */
897
917
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
898
918
  /**
899
919
  * Forbid webpack loader syntax in imports.
900
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/no-webpack-loader-syntax.md
920
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/no-webpack-loader-syntax.md
901
921
  */
902
922
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
903
923
  /**
904
924
  * Enforce a convention in module import order.
905
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/order.md
925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/order.md
906
926
  */
907
927
  'import/order'?: Linter.RuleEntry<ImportOrder>
908
928
  /**
909
929
  * Prefer a default export if module exports a single name or multiple names.
910
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/prefer-default-export.md
930
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/prefer-default-export.md
911
931
  */
912
932
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
913
933
  /**
914
934
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
915
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.0/docs/rules/unambiguous.md
935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/unambiguous.md
916
936
  */
917
937
  'import/unambiguous'?: Linter.RuleEntry<[]>
918
938
  /**
@@ -977,6 +997,11 @@ interface RuleOptions {
977
997
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
978
998
  */
979
999
  'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
1000
+ /**
1001
+ * Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
1002
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-template-names.md#repos-sticky-header
1003
+ */
1004
+ 'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
980
1005
  /**
981
1006
  * Reports invalid types.
982
1007
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -987,6 +1012,11 @@ interface RuleOptions {
987
1012
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
988
1013
  */
989
1014
  'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
1015
+ /**
1016
+ * Converts non-JSDoc comments preceding or following nodes into JSDoc ones
1017
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
1018
+ */
1019
+ 'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
990
1020
  /**
991
1021
  * Expects specific tags to be empty of any content.
992
1022
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
@@ -1007,6 +1037,11 @@ interface RuleOptions {
1007
1037
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header
1008
1038
  */
1009
1039
  'jsdoc/informative-docs'?: Linter.RuleEntry<JsdocInformativeDocs>
1040
+ /**
1041
+ * Enforces minimum number of newlines before JSDoc comment blocks
1042
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/lines-before-block.md#repos-sticky-header
1043
+ */
1044
+ 'jsdoc/lines-before-block'?: Linter.RuleEntry<JsdocLinesBeforeBlock>
1010
1045
  /**
1011
1046
  * Enforces a regular expression pattern on descriptions.
1012
1047
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header
@@ -1161,6 +1196,11 @@ interface RuleOptions {
1161
1196
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
1162
1197
  */
1163
1198
  'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
1199
+ /**
1200
+ * Requires template tags for each generic type parameter
1201
+ * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
1202
+ */
1203
+ 'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
1164
1204
  /**
1165
1205
  * Requires that throw statements are documented.
1166
1206
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -1476,6 +1516,7 @@ interface RuleOptions {
1476
1516
  /**
1477
1517
  * Enforce position of line comments
1478
1518
  * @see https://eslint.org/docs/latest/rules/line-comment-position
1519
+ * @deprecated
1479
1520
  */
1480
1521
  'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
1481
1522
  /**
@@ -1557,6 +1598,7 @@ interface RuleOptions {
1557
1598
  /**
1558
1599
  * Enforce a particular style for multiline comments
1559
1600
  * @see https://eslint.org/docs/latest/rules/multiline-comment-style
1601
+ * @deprecated
1560
1602
  */
1561
1603
  'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
1562
1604
  /**
@@ -1929,7 +1971,7 @@ interface RuleOptions {
1929
1971
  * Disallow characters which are made with multiple code points in character class syntax
1930
1972
  * @see https://eslint.org/docs/latest/rules/no-misleading-character-class
1931
1973
  */
1932
- 'no-misleading-character-class'?: Linter.RuleEntry<[]>
1974
+ 'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
1933
1975
  /**
1934
1976
  * Disallow mixed binary operators
1935
1977
  * @see https://eslint.org/docs/latest/rules/no-mixed-operators
@@ -2661,88 +2703,98 @@ interface RuleOptions {
2661
2703
  */
2662
2704
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
2663
2705
  /**
2664
- * enforce sorted arrays before include method
2665
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-array-includes
2706
+ * Enforce sorted arrays before include method.
2707
+ * @see https://perfectionist.dev/rules/sort-array-includes
2666
2708
  */
2667
2709
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2668
2710
  /**
2669
- * enforce sorted Astro attributes
2670
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-astro-attributes
2711
+ * Enforce sorted Astro attributes.
2712
+ * @see https://perfectionist.dev/rules/sort-astro-attributes
2671
2713
  */
2672
2714
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2673
2715
  /**
2674
- * enforce sorted classes
2675
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
2716
+ * Enforce sorted classes.
2717
+ * @see https://perfectionist.dev/rules/sort-classes
2676
2718
  */
2677
2719
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2678
2720
  /**
2679
- * enforce sorted TypeScript enums
2680
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
2721
+ * Enforce sorted TypeScript enums.
2722
+ * @see https://perfectionist.dev/rules/sort-enums
2681
2723
  */
2682
2724
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
2683
2725
  /**
2684
- * enforce sorted exports
2685
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
2726
+ * Enforce sorted exports.
2727
+ * @see https://perfectionist.dev/rules/sort-exports
2686
2728
  */
2687
2729
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2688
2730
  /**
2689
- * enforce sorted imports
2690
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
2731
+ * Enforce sorted imports.
2732
+ * @see https://perfectionist.dev/rules/sort-imports
2691
2733
  */
2692
2734
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
2693
2735
  /**
2694
- * enforce sorted interface properties
2695
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
2736
+ * Enforce sorted interface properties.
2737
+ * @see https://perfectionist.dev/rules/sort-interfaces
2696
2738
  */
2697
2739
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
2698
2740
  /**
2699
- * enforce sorted intersection types
2700
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-intersection-types
2741
+ * Enforce sorted intersection types.
2742
+ * @see https://perfectionist.dev/rules/sort-intersection-types
2701
2743
  */
2702
2744
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
2703
2745
  /**
2704
- * enforce sorted JSX props
2705
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-jsx-props
2746
+ * Enforce sorted JSX props.
2747
+ * @see https://perfectionist.dev/rules/sort-jsx-props
2706
2748
  */
2707
2749
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
2708
2750
  /**
2709
- * enforce sorted Map elements
2710
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
2751
+ * Enforce sorted Map elements.
2752
+ * @see https://perfectionist.dev/rules/sort-maps
2711
2753
  */
2712
2754
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2713
2755
  /**
2714
- * enforce sorted named exports
2715
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-exports
2756
+ * Enforce sorted named exports.
2757
+ * @see https://perfectionist.dev/rules/sort-named-exports
2716
2758
  */
2717
2759
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
2718
2760
  /**
2719
- * enforce sorted named imports
2720
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-named-imports
2761
+ * Enforce sorted named imports.
2762
+ * @see https://perfectionist.dev/rules/sort-named-imports
2721
2763
  */
2722
2764
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
2723
2765
  /**
2724
- * enforce sorted object types
2725
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-object-types
2766
+ * Enforce sorted object types.
2767
+ * @see https://perfectionist.dev/rules/sort-object-types
2726
2768
  */
2727
2769
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
2728
2770
  /**
2729
- * enforce sorted objects
2730
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
2771
+ * Enforce sorted objects.
2772
+ * @see https://perfectionist.dev/rules/sort-objects
2731
2773
  */
2732
2774
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2733
2775
  /**
2734
- * enforce sorted Svelte attributes
2735
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-svelte-attributes
2776
+ * Enforce sorted Svelte attributes.
2777
+ * @see https://perfectionist.dev/rules/sort-svelte-attributes
2736
2778
  */
2737
2779
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2738
2780
  /**
2739
- * enforce sorted union types
2740
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-union-types
2781
+ * Enforce sorted switch cases.
2782
+ * @see https://perfectionist.dev/rules/sort-switch-case
2783
+ */
2784
+ 'perfectionist/sort-switch-case'?: Linter.RuleEntry<PerfectionistSortSwitchCase>
2785
+ /**
2786
+ * Enforce sorted union types.
2787
+ * @see https://perfectionist.dev/rules/sort-union-types
2741
2788
  */
2742
2789
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
2743
2790
  /**
2744
- * enforce sorted Vue attributes
2745
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-vue-attributes
2791
+ * Enforce sorted variable declarations.
2792
+ * @see https://perfectionist.dev/rules/sort-variable-declarations
2793
+ */
2794
+ 'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
2795
+ /**
2796
+ * Enforce sorted Vue attributes.
2797
+ * @see https://perfectionist.dev/rules/sort-vue-attributes
2746
2798
  */
2747
2799
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2748
2800
  /**
@@ -2835,77 +2887,87 @@ interface RuleOptions {
2835
2887
  'radix'?: Linter.RuleEntry<Radix>
2836
2888
  /**
2837
2889
  * disallow passing 'children' to void DOM elements
2838
- * @see https://eslint-react.xyz/rules/dom-no-children-in-void-dom-elements
2890
+ * @see https://eslint-react.xyz/docs/rules/dom-no-children-in-void-dom-elements
2839
2891
  */
2840
2892
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2841
2893
  /**
2842
2894
  * disallow when a DOM component is using 'dangerouslySetInnerHTML'
2843
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
2895
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2844
2896
  */
2845
2897
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
2846
2898
  /**
2847
2899
  * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
2848
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml-with-children
2900
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml-with-children
2849
2901
  */
2850
2902
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
2851
2903
  /**
2852
2904
  * disallow 'findDOMNode'
2853
- * @see https://eslint-react.xyz/rules/dom-no-find-dom-node
2905
+ * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2854
2906
  */
2855
2907
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2856
2908
  /**
2857
2909
  * enforce that button component have an explicit 'type' attribute
2858
- * @see https://eslint-react.xyz/rules/dom-no-missing-button-type
2910
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2859
2911
  */
2860
2912
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
2861
2913
  /**
2862
2914
  * enforce that 'iframe' component have an explicit 'sandbox' attribute
2863
- * @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
2915
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2864
2916
  */
2865
2917
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
2866
2918
  /**
2867
2919
  * enforce that namespaces are not used in React elements
2868
- * @see https://eslint-react.xyz/rules/dom-no-namespace
2920
+ * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2869
2921
  */
2870
2922
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
2871
2923
  /**
2872
2924
  * disallow usage of the return value of 'ReactDOM.render'
2873
- * @see https://eslint-react.xyz/rules/dom-no-render-return-value
2925
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2874
2926
  */
2875
2927
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
2876
2928
  /**
2877
2929
  * disallow 'javascript:' URLs as JSX event handler prop's value
2878
- * @see https://eslint-react.xyz/rules/dom-no-script-url
2930
+ * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2879
2931
  */
2880
2932
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
2881
2933
  /**
2882
2934
  * disallow unsafe iframe 'sandbox' attribute combinations
2883
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
2935
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2884
2936
  */
2885
2937
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
2886
2938
  /**
2887
- * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
2888
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-target-blank
2939
+ * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'
2940
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-target-blank
2889
2941
  */
2890
2942
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2891
2943
  /**
2892
2944
  * enforce custom hooks using other hooks
2893
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2945
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-custom-hooks-using-other-hooks
2894
2946
  */
2895
2947
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2896
2948
  /**
2897
2949
  * enforce 'useCallback' has non-empty dependencies array
2898
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2950
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-callback-has-non-empty-deps
2899
2951
  */
2900
2952
  'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2901
2953
  /**
2902
2954
  * enforce 'useMemo' has non-empty dependencies array
2903
- * @see https://eslint-react.xyz/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2955
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
2904
2956
  */
2905
2957
  'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
2958
+ /**
2959
+ * disallow direct calls to the 'set' function of 'useState' in 'useEffect'
2960
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
2961
+ */
2962
+ 'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
2963
+ /**
2964
+ * disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
2965
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
2966
+ */
2967
+ 'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
2906
2968
  /**
2907
2969
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2908
- * @see https://eslint-react.xyz/rules/hooks-extra-prefer-use-state-lazy-initialization
2970
+ * @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
2909
2971
  */
2910
2972
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
2911
2973
  /**
@@ -2920,227 +2982,665 @@ interface RuleOptions {
2920
2982
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2921
2983
  /**
2922
2984
  * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
2923
- * @see https://eslint-react.xyz/rules/naming-convention-component-name
2985
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
2924
2986
  */
2925
2987
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
2926
2988
  /**
2927
2989
  * enforce naming convention for JSX filenames
2928
- * @see https://eslint-react.xyz/rules/naming-convention-filename
2990
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
2929
2991
  */
2930
2992
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
2931
2993
  /**
2932
2994
  * enforce naming convention for JSX file extensions
2933
- * @see https://eslint-react.xyz/rules/naming-convention-filename-extension
2995
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
2934
2996
  */
2935
2997
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
2936
2998
  /**
2937
2999
  * enforce destructuring and symmetric naming of 'useState' hook value and setter variables
2938
- * @see https://eslint-react.xyz/rules/naming-convention-use-state
3000
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
2939
3001
  */
2940
3002
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2941
3003
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2942
3004
  /**
2943
- * require all 'forwardRef' components include a 'ref' parameter
2944
- * @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
3005
+ * disallow using shorthand boolean attributes
3006
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
3007
+ */
3008
+ 'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
3009
+ /**
3010
+ * disallow using shorthand fragment syntax
3011
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
3012
+ */
3013
+ 'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
3014
+ /**
3015
+ * require a 'ref' parameter to be set when using 'forwardRef'
3016
+ * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2945
3017
  */
2946
3018
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2947
3019
  /**
2948
3020
  * disallow accessing 'this.state' within 'setState'
2949
- * @see https://eslint-react.xyz/rules/no-access-state-in-setstate
3021
+ * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
2950
3022
  */
2951
3023
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2952
3024
  /**
2953
- * disallow using Array index as key
2954
- * @see https://eslint-react.xyz/rules/no-array-index-key
3025
+ * disallow using Array index as 'key'
3026
+ * @see https://eslint-react.xyz/docs/rules/no-array-index-key
2955
3027
  */
2956
3028
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
2957
3029
  /**
2958
- * disallow 'Children.count'
2959
- * @see https://eslint-react.xyz/rules/no-children-count
3030
+ * disallow using 'Children.count'
3031
+ * @see https://eslint-react.xyz/docs/rules/no-children-count
2960
3032
  */
2961
3033
  'react/no-children-count'?: Linter.RuleEntry<[]>
2962
3034
  /**
2963
- * disallow 'Children.forEach'
2964
- * @see https://eslint-react.xyz/rules/no-children-for-each
3035
+ * disallow using 'Children.forEach'
3036
+ * @see https://eslint-react.xyz/docs/rules/no-children-for-each
2965
3037
  */
2966
3038
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
2967
3039
  /**
2968
- * disallow 'Children.map'
2969
- * @see https://eslint-react.xyz/rules/no-children-map
3040
+ * disallow using 'Children.map'
3041
+ * @see https://eslint-react.xyz/docs/rules/no-children-map
2970
3042
  */
2971
3043
  'react/no-children-map'?: Linter.RuleEntry<[]>
2972
3044
  /**
2973
- * disallow 'Children.only'
2974
- * @see https://eslint-react.xyz/rules/no-children-only
3045
+ * disallow using 'Children.only'
3046
+ * @see https://eslint-react.xyz/docs/rules/no-children-only
2975
3047
  */
2976
3048
  'react/no-children-only'?: Linter.RuleEntry<[]>
2977
3049
  /**
2978
- * disallow passing of 'children' as props
2979
- * @see https://eslint-react.xyz/rules/no-children-prop
3050
+ * disallow passing 'children' as props
3051
+ * @see https://eslint-react.xyz/docs/rules/no-children-prop
2980
3052
  */
2981
3053
  'react/no-children-prop'?: Linter.RuleEntry<[]>
2982
3054
  /**
2983
- * disallow 'Children.toArray'
2984
- * @see https://eslint-react.xyz/rules/no-children-to-array
3055
+ * disallow using 'Children.toArray'
3056
+ * @see https://eslint-react.xyz/docs/rules/no-children-to-array
2985
3057
  */
2986
3058
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
2987
3059
  /**
2988
- * disallow class component
2989
- * @see https://eslint-react.xyz/rules/no-class-component
3060
+ * disallow using class components
3061
+ * @see https://eslint-react.xyz/docs/rules/no-class-component
2990
3062
  */
2991
3063
  'react/no-class-component'?: Linter.RuleEntry<[]>
2992
3064
  /**
2993
- * disallow 'cloneElement'
2994
- * @see https://eslint-react.xyz/rules/no-clone-element
3065
+ * disallow using 'cloneElement'
3066
+ * @see https://eslint-react.xyz/docs/rules/no-clone-element
2995
3067
  */
2996
3068
  'react/no-clone-element'?: Linter.RuleEntry<[]>
2997
3069
  /**
2998
3070
  * disallow comments from being inserted as text nodes
2999
- * @see https://eslint-react.xyz/rules/no-comment-textnodes
3071
+ * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
3000
3072
  */
3001
3073
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
3002
3074
  /**
3003
- * disallow complicated conditional rendering
3004
- * @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
3005
- * @deprecated
3075
+ * disallow complex conditional rendering
3076
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
3077
+ */
3078
+ 'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
3079
+ /**
3080
+ * disallow complex conditional rendering
3081
+ * @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
3006
3082
  */
3007
3083
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
3008
3084
  /**
3009
- * disallow usage of 'componentWillMount'
3010
- * @see https://eslint-react.xyz/rules/no-component-will-mount
3085
+ * disallow using 'componentWillMount'
3086
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-mount
3011
3087
  */
3012
3088
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
3013
3089
  /**
3014
- * disallow usage of 'componentWillReceiveProps'
3015
- * @see https://eslint-react.xyz/rules/no-component-will-receive-props
3090
+ * disallow using 'componentWillReceiveProps'
3091
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
3016
3092
  */
3017
3093
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
3018
3094
  /**
3019
- * disallow usage of 'componentWillUpdate'
3020
- * @see https://eslint-react.xyz/rules/no-component-will-update
3095
+ * disallow using 'componentWillReceiveProps'
3096
+ * @see https://eslint-react.xyz/docs/rules/no-component-will-update
3021
3097
  */
3022
3098
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
3023
3099
  /**
3024
- * disallow 'createRef' in function components
3025
- * @see https://eslint-react.xyz/rules/no-create-ref
3100
+ * disallow using 'createRef' in function components
3101
+ * @see https://eslint-react.xyz/docs/rules/no-create-ref
3026
3102
  */
3027
3103
  'react/no-create-ref'?: Linter.RuleEntry<[]>
3104
+ /**
3105
+ * disallow using 'defaultProps' property in components
3106
+ * @see https://eslint-react.xyz/docs/rules/no-default-props
3107
+ */
3108
+ 'react/no-default-props'?: Linter.RuleEntry<[]>
3028
3109
  /**
3029
3110
  * disallow direct mutation of state
3030
- * @see https://eslint-react.xyz/rules/no-direct-mutation-state
3111
+ * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
3031
3112
  */
3032
3113
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
3033
3114
  /**
3034
- * disallow duplicate keys in 'key' prop when rendering list
3035
- * @see https://eslint-react.xyz/rules/no-duplicate-key
3115
+ * disallow duplicate keys when rendering list
3116
+ * @see https://eslint-react.xyz/docs/rules/no-duplicate-key
3036
3117
  */
3037
3118
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
3038
3119
  /**
3039
- * disallow spreading 'key' from objects.
3040
- * @see https://eslint-react.xyz/rules/no-implicit-key
3041
- * @deprecated
3120
+ * disallow implicit 'key' props
3121
+ * @see https://eslint-react.xyz/docs/rules/no-implicit-key
3042
3122
  */
3043
3123
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
3044
3124
  /**
3045
3125
  * disallow problematic leaked values from being rendered
3046
- * @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
3126
+ * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
3047
3127
  */
3048
3128
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
3049
3129
  /**
3050
- * require 'displayName' for memo and forwardRef components
3051
- * @see https://eslint-react.xyz/rules/no-missing-component-display-name
3130
+ * require 'displayName' for 'memo' and 'forwardRef' components
3131
+ * @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
3052
3132
  */
3053
3133
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
3054
3134
  /**
3055
- * require 'key' prop when rendering list
3056
- * @see https://eslint-react.xyz/rules/no-missing-key
3135
+ * require 'key' when rendering list
3136
+ * @see https://eslint-react.xyz/docs/rules/no-missing-key
3057
3137
  */
3058
3138
  'react/no-missing-key'?: Linter.RuleEntry<[]>
3059
3139
  /**
3060
- * disallow usage of unstable nested components
3061
- * @see https://eslint-react.xyz/rules/no-nested-components
3140
+ * disallow using unstable nested components
3141
+ * @see https://eslint-react.xyz/docs/rules/no-nested-components
3062
3142
  */
3063
3143
  'react/no-nested-components'?: Linter.RuleEntry<[]>
3064
3144
  /**
3065
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
3066
- * @see https://eslint-react.xyz/rules/no-redundant-should-component-update
3145
+ * disallow using 'propTypes' property in components
3146
+ * @see https://eslint-react.xyz/docs/rules/no-prop-types
3147
+ */
3148
+ 'react/no-prop-types'?: Linter.RuleEntry<[]>
3149
+ /**
3150
+ * disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
3151
+ * @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
3067
3152
  */
3068
3153
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
3069
3154
  /**
3070
- * disallow 'setState' in 'componentDidMount'
3071
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-mount
3155
+ * disallow using 'setState' in 'componentDidMount'
3156
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
3072
3157
  */
3073
3158
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
3074
3159
  /**
3075
- * disallow 'setState' in 'componentDidUpdate'
3076
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-did-update
3160
+ * disallow using 'setState' in 'componentDidUpdate'
3161
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
3077
3162
  */
3078
3163
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
3079
3164
  /**
3080
- * disallow 'setState' in 'componentWillUpdate'
3081
- * @see https://eslint-react.xyz/rules/no-set-state-in-component-will-update
3165
+ * disallow using 'setState' in 'componentWillUpdate'
3166
+ * @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
3082
3167
  */
3083
3168
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
3084
3169
  /**
3085
3170
  * disallow using deprecated string refs
3086
- * @see https://eslint-react.xyz/rules/no-string-refs
3171
+ * @see https://eslint-react.xyz/docs/rules/no-string-refs
3087
3172
  */
3088
3173
  'react/no-string-refs'?: Linter.RuleEntry<[]>
3089
3174
  /**
3090
- * disallow usage of 'UNSAFE_componentWillMount'
3091
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-mount
3175
+ * disallow using 'UNSAFE_componentWillMount'
3176
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
3092
3177
  */
3093
3178
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
3094
3179
  /**
3095
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
3096
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-receive-props
3180
+ * disallow using 'UNSAFE_componentWillReceiveProps'
3181
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
3097
3182
  */
3098
3183
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
3099
3184
  /**
3100
- * disallow usage of 'UNSAFE_componentWillUpdate'
3101
- * @see https://eslint-react.xyz/rules/no-unsafe-component-will-update
3185
+ * disallow using 'UNSAFE_componentWillUpdate'
3186
+ * @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
3102
3187
  */
3103
3188
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
3104
3189
  /**
3105
3190
  * disallow passing constructed values to context providers
3106
- * @see https://eslint-react.xyz/rules/no-unstable-context-value
3191
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
3107
3192
  */
3108
3193
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
3109
3194
  /**
3110
- * disallow usage of unstable value as default param in function component
3111
- * @see https://eslint-react.xyz/rules/no-unstable-default-props
3195
+ * disallow using unstable value as default param in function component
3196
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
3112
3197
  */
3113
3198
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
3114
3199
  /**
3115
3200
  * disallow unused class component members
3116
- * @see https://eslint-react.xyz/rules/no-unused-class-component-members
3201
+ * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
3117
3202
  */
3118
3203
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
3119
3204
  /**
3120
- * Prevents unused state of class component.
3121
- * @see https://eslint-react.xyz/rules/no-unused-state
3205
+ * disallow unused state of class component
3206
+ * @see https://eslint-react.xyz/docs/rules/no-unused-state
3122
3207
  */
3123
3208
  'react/no-unused-state'?: Linter.RuleEntry<[]>
3124
3209
  /**
3125
3210
  * disallow unnecessary fragments
3126
- * @see https://eslint-react.xyz/rules/no-useless-fragment
3211
+ * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3127
3212
  */
3128
3213
  'react/no-useless-fragment'?: Linter.RuleEntry<[]>
3129
3214
  /**
3130
3215
  * enforce using destructuring assignment in component props and context
3131
- * @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
3216
+ * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
3132
3217
  */
3133
3218
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
3134
3219
  /**
3135
- * enforce boolean attributes notation in JSX
3136
- * @see https://eslint-react.xyz/rules/prefer-shorthand-boolean
3220
+ * enforce read-only props in components
3221
+ * @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
3222
+ */
3223
+ 'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
3224
+ /**
3225
+ * enforce using shorthand boolean attributes
3226
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
3137
3227
  */
3138
3228
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
3139
3229
  /**
3140
- * enforce using fragment syntax instead of Fragment component
3141
- * @see https://eslint-react.xyz/rules/prefer-shorthand-fragment
3230
+ * enforce using fragment syntax instead of 'Fragment' component
3231
+ * @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
3142
3232
  */
3143
3233
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
3234
+ /**
3235
+ * disallow confusing quantifiers
3236
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
3237
+ */
3238
+ 'regexp/confusing-quantifier'?: Linter.RuleEntry<[]>
3239
+ /**
3240
+ * enforce consistent escaping of control characters
3241
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/control-character-escape.html
3242
+ */
3243
+ 'regexp/control-character-escape'?: Linter.RuleEntry<[]>
3244
+ /**
3245
+ * enforce single grapheme in string literal
3246
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/grapheme-string-literal.html
3247
+ */
3248
+ 'regexp/grapheme-string-literal'?: Linter.RuleEntry<[]>
3249
+ /**
3250
+ * enforce consistent usage of hexadecimal escape
3251
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/hexadecimal-escape.html
3252
+ */
3253
+ 'regexp/hexadecimal-escape'?: Linter.RuleEntry<RegexpHexadecimalEscape>
3254
+ /**
3255
+ * enforce into your favorite case
3256
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/letter-case.html
3257
+ */
3258
+ 'regexp/letter-case'?: Linter.RuleEntry<RegexpLetterCase>
3259
+ /**
3260
+ * enforce match any character style
3261
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html
3262
+ */
3263
+ 'regexp/match-any'?: Linter.RuleEntry<RegexpMatchAny>
3264
+ /**
3265
+ * enforce use of escapes on negation
3266
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/negation.html
3267
+ */
3268
+ 'regexp/negation'?: Linter.RuleEntry<[]>
3269
+ /**
3270
+ * disallow elements that contradict assertions
3271
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-contradiction-with-assertion.html
3272
+ */
3273
+ 'regexp/no-contradiction-with-assertion'?: Linter.RuleEntry<[]>
3274
+ /**
3275
+ * disallow control characters
3276
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-control-character.html
3277
+ */
3278
+ 'regexp/no-control-character'?: Linter.RuleEntry<[]>
3279
+ /**
3280
+ * disallow duplicate characters in the RegExp character class
3281
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-characters-character-class.html
3282
+ */
3283
+ 'regexp/no-dupe-characters-character-class'?: Linter.RuleEntry<[]>
3284
+ /**
3285
+ * disallow duplicate disjunctions
3286
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-dupe-disjunctions.html
3287
+ */
3288
+ 'regexp/no-dupe-disjunctions'?: Linter.RuleEntry<RegexpNoDupeDisjunctions>
3289
+ /**
3290
+ * disallow alternatives without elements
3291
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-alternative.html
3292
+ */
3293
+ 'regexp/no-empty-alternative'?: Linter.RuleEntry<[]>
3294
+ /**
3295
+ * disallow capturing group that captures empty.
3296
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-capturing-group.html
3297
+ */
3298
+ 'regexp/no-empty-capturing-group'?: Linter.RuleEntry<[]>
3299
+ /**
3300
+ * disallow character classes that match no characters
3301
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-character-class.html
3302
+ */
3303
+ 'regexp/no-empty-character-class'?: Linter.RuleEntry<[]>
3304
+ /**
3305
+ * disallow empty group
3306
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-group.html
3307
+ */
3308
+ 'regexp/no-empty-group'?: Linter.RuleEntry<[]>
3309
+ /**
3310
+ * disallow empty lookahead assertion or empty lookbehind assertion
3311
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-lookarounds-assertion.html
3312
+ */
3313
+ 'regexp/no-empty-lookarounds-assertion'?: Linter.RuleEntry<[]>
3314
+ /**
3315
+ * disallow empty string literals in character classes
3316
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-empty-string-literal.html
3317
+ */
3318
+ 'regexp/no-empty-string-literal'?: Linter.RuleEntry<[]>
3319
+ /**
3320
+ * disallow escape backspace (`[\b]`)
3321
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-escape-backspace.html
3322
+ */
3323
+ 'regexp/no-escape-backspace'?: Linter.RuleEntry<[]>
3324
+ /**
3325
+ * disallow unnecessary nested lookaround assertions
3326
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-extra-lookaround-assertions.html
3327
+ */
3328
+ 'regexp/no-extra-lookaround-assertions'?: Linter.RuleEntry<[]>
3329
+ /**
3330
+ * disallow invalid regular expression strings in `RegExp` constructors
3331
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invalid-regexp.html
3332
+ */
3333
+ 'regexp/no-invalid-regexp'?: Linter.RuleEntry<[]>
3334
+ /**
3335
+ * disallow invisible raw character
3336
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-invisible-character.html
3337
+ */
3338
+ 'regexp/no-invisible-character'?: Linter.RuleEntry<[]>
3339
+ /**
3340
+ * disallow lazy quantifiers at the end of an expression
3341
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-lazy-ends.html
3342
+ */
3343
+ 'regexp/no-lazy-ends'?: Linter.RuleEntry<RegexpNoLazyEnds>
3344
+ /**
3345
+ * disallow legacy RegExp features
3346
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-legacy-features.html
3347
+ */
3348
+ 'regexp/no-legacy-features'?: Linter.RuleEntry<RegexpNoLegacyFeatures>
3349
+ /**
3350
+ * disallow capturing groups that do not behave as one would expect
3351
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-capturing-group.html
3352
+ */
3353
+ 'regexp/no-misleading-capturing-group'?: Linter.RuleEntry<RegexpNoMisleadingCapturingGroup>
3354
+ /**
3355
+ * disallow multi-code-point characters in character classes and quantifiers
3356
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-misleading-unicode-character.html
3357
+ */
3358
+ 'regexp/no-misleading-unicode-character'?: Linter.RuleEntry<RegexpNoMisleadingUnicodeCharacter>
3359
+ /**
3360
+ * disallow missing `g` flag in patterns used in `String#matchAll` and `String#replaceAll`
3361
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-missing-g-flag.html
3362
+ */
3363
+ 'regexp/no-missing-g-flag'?: Linter.RuleEntry<RegexpNoMissingGFlag>
3364
+ /**
3365
+ * disallow non-standard flags
3366
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-non-standard-flag.html
3367
+ */
3368
+ 'regexp/no-non-standard-flag'?: Linter.RuleEntry<[]>
3369
+ /**
3370
+ * disallow obscure character ranges
3371
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-obscure-range.html
3372
+ */
3373
+ 'regexp/no-obscure-range'?: Linter.RuleEntry<RegexpNoObscureRange>
3374
+ /**
3375
+ * disallow octal escape sequence
3376
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-octal.html
3377
+ */
3378
+ 'regexp/no-octal'?: Linter.RuleEntry<[]>
3379
+ /**
3380
+ * disallow optional assertions
3381
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-optional-assertion.html
3382
+ */
3383
+ 'regexp/no-optional-assertion'?: Linter.RuleEntry<[]>
3384
+ /**
3385
+ * disallow backreferences that reference a group that might not be matched
3386
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-potentially-useless-backreference.html
3387
+ */
3388
+ 'regexp/no-potentially-useless-backreference'?: Linter.RuleEntry<[]>
3389
+ /**
3390
+ * disallow standalone backslashes (`\`)
3391
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-standalone-backslash.html
3392
+ */
3393
+ 'regexp/no-standalone-backslash'?: Linter.RuleEntry<[]>
3394
+ /**
3395
+ * disallow exponential and polynomial backtracking
3396
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-backtracking.html
3397
+ */
3398
+ 'regexp/no-super-linear-backtracking'?: Linter.RuleEntry<RegexpNoSuperLinearBacktracking>
3399
+ /**
3400
+ * disallow quantifiers that cause quadratic moves
3401
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-super-linear-move.html
3402
+ */
3403
+ 'regexp/no-super-linear-move'?: Linter.RuleEntry<RegexpNoSuperLinearMove>
3404
+ /**
3405
+ * disallow trivially nested assertions
3406
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-assertion.html
3407
+ */
3408
+ 'regexp/no-trivially-nested-assertion'?: Linter.RuleEntry<[]>
3409
+ /**
3410
+ * disallow nested quantifiers that can be rewritten as one quantifier
3411
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-trivially-nested-quantifier.html
3412
+ */
3413
+ 'regexp/no-trivially-nested-quantifier'?: Linter.RuleEntry<[]>
3414
+ /**
3415
+ * disallow unused capturing group
3416
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-unused-capturing-group.html
3417
+ */
3418
+ 'regexp/no-unused-capturing-group'?: Linter.RuleEntry<RegexpNoUnusedCapturingGroup>
3419
+ /**
3420
+ * disallow assertions that are known to always accept (or reject)
3421
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-assertions.html
3422
+ */
3423
+ 'regexp/no-useless-assertions'?: Linter.RuleEntry<[]>
3424
+ /**
3425
+ * disallow useless backreferences in regular expressions
3426
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-backreference.html
3427
+ */
3428
+ 'regexp/no-useless-backreference'?: Linter.RuleEntry<[]>
3429
+ /**
3430
+ * disallow character class with one character
3431
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-character-class.html
3432
+ */
3433
+ 'regexp/no-useless-character-class'?: Linter.RuleEntry<RegexpNoUselessCharacterClass>
3434
+ /**
3435
+ * disallow useless `$` replacements in replacement string
3436
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-dollar-replacements.html
3437
+ */
3438
+ 'regexp/no-useless-dollar-replacements'?: Linter.RuleEntry<[]>
3439
+ /**
3440
+ * disallow unnecessary escape characters in RegExp
3441
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-escape.html
3442
+ */
3443
+ 'regexp/no-useless-escape'?: Linter.RuleEntry<[]>
3444
+ /**
3445
+ * disallow unnecessary regex flags
3446
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-flag.html
3447
+ */
3448
+ 'regexp/no-useless-flag'?: Linter.RuleEntry<RegexpNoUselessFlag>
3449
+ /**
3450
+ * disallow unnecessarily non-greedy quantifiers
3451
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-lazy.html
3452
+ */
3453
+ 'regexp/no-useless-lazy'?: Linter.RuleEntry<[]>
3454
+ /**
3455
+ * disallow unnecessary non-capturing group
3456
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-non-capturing-group.html
3457
+ */
3458
+ 'regexp/no-useless-non-capturing-group'?: Linter.RuleEntry<RegexpNoUselessNonCapturingGroup>
3459
+ /**
3460
+ * disallow quantifiers that can be removed
3461
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-quantifier.html
3462
+ */
3463
+ 'regexp/no-useless-quantifier'?: Linter.RuleEntry<[]>
3464
+ /**
3465
+ * disallow unnecessary character ranges
3466
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-range.html
3467
+ */
3468
+ 'regexp/no-useless-range'?: Linter.RuleEntry<[]>
3469
+ /**
3470
+ * disallow unnecessary elements in expression character classes
3471
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-set-operand.html
3472
+ */
3473
+ 'regexp/no-useless-set-operand'?: Linter.RuleEntry<[]>
3474
+ /**
3475
+ * disallow string disjunction of single characters in `\q{...}`
3476
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-string-literal.html
3477
+ */
3478
+ 'regexp/no-useless-string-literal'?: Linter.RuleEntry<[]>
3479
+ /**
3480
+ * disallow unnecessary `{n,m}` quantifier
3481
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-useless-two-nums-quantifier.html
3482
+ */
3483
+ 'regexp/no-useless-two-nums-quantifier'?: Linter.RuleEntry<[]>
3484
+ /**
3485
+ * disallow quantifiers with a maximum of zero
3486
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/no-zero-quantifier.html
3487
+ */
3488
+ 'regexp/no-zero-quantifier'?: Linter.RuleEntry<[]>
3489
+ /**
3490
+ * disallow the alternatives of lookarounds that end with a non-constant quantifier
3491
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-lookaround-quantifier.html
3492
+ */
3493
+ 'regexp/optimal-lookaround-quantifier'?: Linter.RuleEntry<[]>
3494
+ /**
3495
+ * require optimal quantifiers for concatenated quantifiers
3496
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/optimal-quantifier-concatenation.html
3497
+ */
3498
+ 'regexp/optimal-quantifier-concatenation'?: Linter.RuleEntry<RegexpOptimalQuantifierConcatenation>
3499
+ /**
3500
+ * enforce using character class
3501
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-character-class.html
3502
+ */
3503
+ 'regexp/prefer-character-class'?: Linter.RuleEntry<RegexpPreferCharacterClass>
3504
+ /**
3505
+ * enforce using `\d`
3506
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-d.html
3507
+ */
3508
+ 'regexp/prefer-d'?: Linter.RuleEntry<RegexpPreferD>
3509
+ /**
3510
+ * enforces escape of replacement `$` character (`$$`).
3511
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-escape-replacement-dollar-char.html
3512
+ */
3513
+ 'regexp/prefer-escape-replacement-dollar-char'?: Linter.RuleEntry<[]>
3514
+ /**
3515
+ * prefer lookarounds over capturing group that do not replace
3516
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-lookaround.html
3517
+ */
3518
+ 'regexp/prefer-lookaround'?: Linter.RuleEntry<RegexpPreferLookaround>
3519
+ /**
3520
+ * enforce using named backreferences
3521
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-backreference.html
3522
+ */
3523
+ 'regexp/prefer-named-backreference'?: Linter.RuleEntry<[]>
3524
+ /**
3525
+ * enforce using named capture groups
3526
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-capture-group.html
3527
+ */
3528
+ 'regexp/prefer-named-capture-group'?: Linter.RuleEntry<[]>
3529
+ /**
3530
+ * enforce using named replacement
3531
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-named-replacement.html
3532
+ */
3533
+ 'regexp/prefer-named-replacement'?: Linter.RuleEntry<RegexpPreferNamedReplacement>
3534
+ /**
3535
+ * enforce using `+` quantifier
3536
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-plus-quantifier.html
3537
+ */
3538
+ 'regexp/prefer-plus-quantifier'?: Linter.RuleEntry<[]>
3539
+ /**
3540
+ * prefer predefined assertion over equivalent lookarounds
3541
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-predefined-assertion.html
3542
+ */
3543
+ 'regexp/prefer-predefined-assertion'?: Linter.RuleEntry<[]>
3544
+ /**
3545
+ * enforce using quantifier
3546
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
3547
+ */
3548
+ 'regexp/prefer-quantifier'?: Linter.RuleEntry<[]>
3549
+ /**
3550
+ * enforce using `?` quantifier
3551
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
3552
+ */
3553
+ 'regexp/prefer-question-quantifier'?: Linter.RuleEntry<[]>
3554
+ /**
3555
+ * enforce using character class range
3556
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-range.html
3557
+ */
3558
+ 'regexp/prefer-range'?: Linter.RuleEntry<RegexpPreferRange>
3559
+ /**
3560
+ * enforce that `RegExp#exec` is used instead of `String#match` if no global flag is provided
3561
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-exec.html
3562
+ */
3563
+ 'regexp/prefer-regexp-exec'?: Linter.RuleEntry<[]>
3564
+ /**
3565
+ * enforce that `RegExp#test` is used instead of `String#match` and `RegExp#exec`
3566
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-regexp-test.html
3567
+ */
3568
+ 'regexp/prefer-regexp-test'?: Linter.RuleEntry<[]>
3569
+ /**
3570
+ * enforce using result array `groups`
3571
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-result-array-groups.html
3572
+ */
3573
+ 'regexp/prefer-result-array-groups'?: Linter.RuleEntry<RegexpPreferResultArrayGroups>
3574
+ /**
3575
+ * prefer character class set operations instead of lookarounds
3576
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-set-operation.html
3577
+ */
3578
+ 'regexp/prefer-set-operation'?: Linter.RuleEntry<[]>
3579
+ /**
3580
+ * enforce using `*` quantifier
3581
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-star-quantifier.html
3582
+ */
3583
+ 'regexp/prefer-star-quantifier'?: Linter.RuleEntry<[]>
3584
+ /**
3585
+ * enforce use of unicode codepoint escapes
3586
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-unicode-codepoint-escapes.html
3587
+ */
3588
+ 'regexp/prefer-unicode-codepoint-escapes'?: Linter.RuleEntry<[]>
3589
+ /**
3590
+ * enforce using `\w`
3591
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-w.html
3592
+ */
3593
+ 'regexp/prefer-w'?: Linter.RuleEntry<[]>
3594
+ /**
3595
+ * enforce the use of the `u` flag
3596
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-regexp.html
3597
+ */
3598
+ 'regexp/require-unicode-regexp'?: Linter.RuleEntry<[]>
3599
+ /**
3600
+ * enforce the use of the `v` flag
3601
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/require-unicode-sets-regexp.html
3602
+ */
3603
+ 'regexp/require-unicode-sets-regexp'?: Linter.RuleEntry<[]>
3604
+ /**
3605
+ * require simplify set operations
3606
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/simplify-set-operations.html
3607
+ */
3608
+ 'regexp/simplify-set-operations'?: Linter.RuleEntry<[]>
3609
+ /**
3610
+ * sort alternatives if order doesn't matter
3611
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-alternatives.html
3612
+ */
3613
+ 'regexp/sort-alternatives'?: Linter.RuleEntry<[]>
3614
+ /**
3615
+ * enforces elements order in character class
3616
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-character-class-elements.html
3617
+ */
3618
+ 'regexp/sort-character-class-elements'?: Linter.RuleEntry<RegexpSortCharacterClassElements>
3619
+ /**
3620
+ * require regex flags to be sorted
3621
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/sort-flags.html
3622
+ */
3623
+ 'regexp/sort-flags'?: Linter.RuleEntry<[]>
3624
+ /**
3625
+ * disallow not strictly valid regular expressions
3626
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html
3627
+ */
3628
+ 'regexp/strict'?: Linter.RuleEntry<[]>
3629
+ /**
3630
+ * enforce consistent usage of unicode escape or unicode codepoint escape
3631
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-escape.html
3632
+ */
3633
+ 'regexp/unicode-escape'?: Linter.RuleEntry<RegexpUnicodeEscape>
3634
+ /**
3635
+ * enforce consistent naming of unicode properties
3636
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/unicode-property.html
3637
+ */
3638
+ 'regexp/unicode-property'?: Linter.RuleEntry<RegexpUnicodeProperty>
3639
+ /**
3640
+ * use the `i` flag if it simplifies the pattern
3641
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/use-ignore-case.html
3642
+ */
3643
+ 'regexp/use-ignore-case'?: Linter.RuleEntry<[]>
3144
3644
  /**
3145
3645
  * Disallow assignments that can lead to race conditions due to usage of `await` or `yield`
3146
3646
  * @see https://eslint.org/docs/latest/rules/require-atomic-updates
@@ -3493,8 +3993,9 @@ interface RuleOptions {
3493
3993
  */
3494
3994
  'style/jsx-function-call-newline'?: Linter.RuleEntry<StyleJsxFunctionCallNewline>
3495
3995
  /**
3496
- * Enforce JSX indentation
3996
+ * Enforce JSX indentation. Deprecated, use `indent` rule instead.
3497
3997
  * @see https://eslint.style/rules/jsx/jsx-indent
3998
+ * @deprecated
3498
3999
  */
3499
4000
  'style/jsx-indent'?: Linter.RuleEntry<StyleJsxIndent>
3500
4001
  /**
@@ -3679,7 +4180,7 @@ interface RuleOptions {
3679
4180
  'style/nonblock-statement-body-position'?: Linter.RuleEntry<StyleNonblockStatementBodyPosition>
3680
4181
  /**
3681
4182
  * Enforce consistent line breaks after opening and before closing braces
3682
- * @see https://eslint.style/rules/js/object-curly-newline
4183
+ * @see https://eslint.style/rules/ts/object-curly-newline
3683
4184
  */
3684
4185
  'style/object-curly-newline'?: Linter.RuleEntry<StyleObjectCurlyNewline>
3685
4186
  /**
@@ -3689,7 +4190,7 @@ interface RuleOptions {
3689
4190
  'style/object-curly-spacing'?: Linter.RuleEntry<StyleObjectCurlySpacing>
3690
4191
  /**
3691
4192
  * Enforce placing object properties on separate lines
3692
- * @see https://eslint.style/rules/js/object-property-newline
4193
+ * @see https://eslint.style/rules/ts/object-property-newline
3693
4194
  */
3694
4195
  'style/object-property-newline'?: Linter.RuleEntry<StyleObjectPropertyNewline>
3695
4196
  /**
@@ -4013,6 +4514,11 @@ interface RuleOptions {
4013
4514
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
4014
4515
  */
4015
4516
  'svelte/no-store-async'?: Linter.RuleEntry<[]>
4517
+ /**
4518
+ * svelte/internal will be removed in Svelte 6.
4519
+ * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/
4520
+ */
4521
+ 'svelte/no-svelte-internal'?: Linter.RuleEntry<[]>
4016
4522
  /**
4017
4523
  * disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
4018
4524
  * @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
@@ -4166,6 +4672,11 @@ interface RuleOptions {
4166
4672
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4167
4673
  */
4168
4674
  'test/expect-expect'?: Linter.RuleEntry<TestExpectExpect>
4675
+ /**
4676
+ * Enforce padding around afterAll blocks
4677
+ * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/index.md
4678
+ */
4679
+ 'test/index'?: Linter.RuleEntry<[]>
4169
4680
  /**
4170
4681
  * enforce a maximum number of expect per test
4171
4682
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
@@ -4553,23 +5064,6 @@ interface RuleOptions {
4553
5064
  * @see https://typescript-eslint.io/rules/ban-tslint-comment
4554
5065
  */
4555
5066
  'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
4556
- /**
4557
- * Disallow certain types
4558
- * @see https://typescript-eslint.io/rules/ban-types
4559
- */
4560
- 'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
4561
- /**
4562
- * Disallow or enforce spaces inside of blocks after opening block and before closing block
4563
- * @see https://typescript-eslint.io/rules/block-spacing
4564
- * @deprecated
4565
- */
4566
- 'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
4567
- /**
4568
- * Enforce consistent brace style for blocks
4569
- * @see https://typescript-eslint.io/rules/brace-style
4570
- * @deprecated
4571
- */
4572
- 'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
4573
5067
  /**
4574
5068
  * Enforce that literals on classes are exposed in a consistent style
4575
5069
  * @see https://typescript-eslint.io/rules/class-literal-property-style
@@ -4580,18 +5074,6 @@ interface RuleOptions {
4580
5074
  * @see https://typescript-eslint.io/rules/class-methods-use-this
4581
5075
  */
4582
5076
  'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
4583
- /**
4584
- * Require or disallow trailing commas
4585
- * @see https://typescript-eslint.io/rules/comma-dangle
4586
- * @deprecated
4587
- */
4588
- 'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
4589
- /**
4590
- * Enforce consistent spacing before and after commas
4591
- * @see https://typescript-eslint.io/rules/comma-spacing
4592
- * @deprecated
4593
- */
4594
- 'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
4595
5077
  /**
4596
5078
  * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
4597
5079
  * @see https://typescript-eslint.io/rules/consistent-generic-constructors
@@ -4652,68 +5134,26 @@ interface RuleOptions {
4652
5134
  * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
4653
5135
  */
4654
5136
  'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
4655
- /**
4656
- * Require or disallow spacing between function identifiers and their invocations
4657
- * @see https://typescript-eslint.io/rules/func-call-spacing
4658
- * @deprecated
4659
- */
4660
- 'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
4661
- /**
4662
- * Enforce consistent indentation
4663
- * @see https://typescript-eslint.io/rules/indent
4664
- * @deprecated
4665
- */
4666
- 'ts/indent'?: Linter.RuleEntry<TsIndent>
4667
5137
  /**
4668
5138
  * Require or disallow initialization in variable declarations
4669
5139
  * @see https://typescript-eslint.io/rules/init-declarations
4670
5140
  */
4671
5141
  'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
4672
5142
  /**
4673
- * Enforce consistent spacing between property names and type annotations in types and interfaces
4674
- * @see https://typescript-eslint.io/rules/key-spacing
4675
- * @deprecated
5143
+ * Enforce a maximum number of parameters in function definitions
5144
+ * @see https://typescript-eslint.io/rules/max-params
4676
5145
  */
4677
- 'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
5146
+ 'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
4678
5147
  /**
4679
- * Enforce consistent spacing before and after keywords
4680
- * @see https://typescript-eslint.io/rules/keyword-spacing
4681
- * @deprecated
5148
+ * Require a consistent member declaration order
5149
+ * @see https://typescript-eslint.io/rules/member-ordering
4682
5150
  */
4683
- 'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
5151
+ 'ts/member-ordering'?: Linter.RuleEntry<TsMemberOrdering>
4684
5152
  /**
4685
- * Require empty lines around comments
4686
- * @see https://typescript-eslint.io/rules/lines-around-comment
4687
- * @deprecated
5153
+ * Enforce using a particular method signature syntax
5154
+ * @see https://typescript-eslint.io/rules/method-signature-style
4688
5155
  */
4689
- 'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
4690
- /**
4691
- * Require or disallow an empty line between class members
4692
- * @see https://typescript-eslint.io/rules/lines-between-class-members
4693
- * @deprecated
4694
- */
4695
- 'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
4696
- /**
4697
- * Enforce a maximum number of parameters in function definitions
4698
- * @see https://typescript-eslint.io/rules/max-params
4699
- */
4700
- 'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
4701
- /**
4702
- * Require a specific member delimiter style for interfaces and type literals
4703
- * @see https://typescript-eslint.io/rules/member-delimiter-style
4704
- * @deprecated
4705
- */
4706
- 'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
4707
- /**
4708
- * Require a consistent member declaration order
4709
- * @see https://typescript-eslint.io/rules/member-ordering
4710
- */
4711
- 'ts/member-ordering'?: Linter.RuleEntry<TsMemberOrdering>
4712
- /**
4713
- * Enforce using a particular method signature syntax
4714
- * @see https://typescript-eslint.io/rules/method-signature-style
4715
- */
4716
- 'ts/method-signature-style'?: Linter.RuleEntry<TsMethodSignatureStyle>
5156
+ 'ts/method-signature-style'?: Linter.RuleEntry<TsMethodSignatureStyle>
4717
5157
  /**
4718
5158
  * Enforce naming conventions for everything across a codebase
4719
5159
  * @see https://typescript-eslint.io/rules/naming-convention
@@ -4744,6 +5184,11 @@ interface RuleOptions {
4744
5184
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
4745
5185
  */
4746
5186
  'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
5187
+ /**
5188
+ * Disallow using code marked as `@deprecated`
5189
+ * @see https://typescript-eslint.io/rules/no-deprecated
5190
+ */
5191
+ 'ts/no-deprecated'?: Linter.RuleEntry<[]>
4747
5192
  /**
4748
5193
  * Disallow duplicate class members
4749
5194
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -4772,8 +5217,14 @@ interface RuleOptions {
4772
5217
  /**
4773
5218
  * Disallow the declaration of empty interfaces
4774
5219
  * @see https://typescript-eslint.io/rules/no-empty-interface
5220
+ * @deprecated
4775
5221
  */
4776
5222
  'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
5223
+ /**
5224
+ * Disallow accidentally using the "empty object" type
5225
+ * @see https://typescript-eslint.io/rules/no-empty-object-type
5226
+ */
5227
+ 'ts/no-empty-object-type'?: Linter.RuleEntry<TsNoEmptyObjectType>
4777
5228
  /**
4778
5229
  * Disallow the `any` type
4779
5230
  * @see https://typescript-eslint.io/rules/no-explicit-any
@@ -4784,18 +5235,6 @@ interface RuleOptions {
4784
5235
  * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
4785
5236
  */
4786
5237
  'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
4787
- /**
4788
- * Disallow unnecessary parentheses
4789
- * @see https://typescript-eslint.io/rules/no-extra-parens
4790
- * @deprecated
4791
- */
4792
- 'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
4793
- /**
4794
- * Disallow unnecessary semicolons
4795
- * @see https://typescript-eslint.io/rules/no-extra-semi
4796
- * @deprecated
4797
- */
4798
- 'ts/no-extra-semi'?: Linter.RuleEntry<[]>
4799
5238
  /**
4800
5239
  * Disallow classes used as namespaces
4801
5240
  * @see https://typescript-eslint.io/rules/no-extraneous-class
@@ -4844,6 +5283,7 @@ interface RuleOptions {
4844
5283
  /**
4845
5284
  * Disallow literal numbers that lose precision
4846
5285
  * @see https://typescript-eslint.io/rules/no-loss-of-precision
5286
+ * @deprecated
4847
5287
  */
4848
5288
  'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
4849
5289
  /**
@@ -4911,6 +5351,11 @@ interface RuleOptions {
4911
5351
  * @see https://typescript-eslint.io/rules/no-restricted-imports
4912
5352
  */
4913
5353
  'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
5354
+ /**
5355
+ * Disallow certain types
5356
+ * @see https://typescript-eslint.io/rules/no-restricted-types
5357
+ */
5358
+ 'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
4914
5359
  /**
4915
5360
  * Disallow variable declarations from shadowing variables declared in the outer scope
4916
5361
  * @see https://typescript-eslint.io/rules/no-shadow
@@ -4921,12 +5366,6 @@ interface RuleOptions {
4921
5366
  * @see https://typescript-eslint.io/rules/no-this-alias
4922
5367
  */
4923
5368
  'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
4924
- /**
4925
- * Disallow throwing literals as exceptions
4926
- * @see https://typescript-eslint.io/rules/no-throw-literal
4927
- * @deprecated
4928
- */
4929
- 'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
4930
5369
  /**
4931
5370
  * Disallow type aliases
4932
5371
  * @see https://typescript-eslint.io/rules/no-type-alias
@@ -4943,11 +5382,21 @@ interface RuleOptions {
4943
5382
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
4944
5383
  */
4945
5384
  'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
5385
+ /**
5386
+ * Disallow unnecessary assignment of constructor property parameter
5387
+ * @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
5388
+ */
5389
+ 'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
4946
5390
  /**
4947
5391
  * Disallow unnecessary namespace qualifiers
4948
5392
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
4949
5393
  */
4950
5394
  'ts/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
5395
+ /**
5396
+ * Disallow unnecessary template expressions
5397
+ * @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
5398
+ */
5399
+ 'ts/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
4951
5400
  /**
4952
5401
  * Disallow type arguments that are equal to the default
4953
5402
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
@@ -4963,6 +5412,11 @@ interface RuleOptions {
4963
5412
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
4964
5413
  */
4965
5414
  'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
5415
+ /**
5416
+ * Disallow type parameters that aren't used multiple times
5417
+ * @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
5418
+ */
5419
+ 'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
4966
5420
  /**
4967
5421
  * Disallow calling a function with a value with type `any`
4968
5422
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -4988,6 +5442,11 @@ interface RuleOptions {
4988
5442
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
4989
5443
  */
4990
5444
  'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
5445
+ /**
5446
+ * Disallow using the unsafe built-in Function type
5447
+ * @see https://typescript-eslint.io/rules/no-unsafe-function-type
5448
+ */
5449
+ 'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
4991
5450
  /**
4992
5451
  * Disallow member access on a value with type `any`
4993
5452
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -5010,7 +5469,7 @@ interface RuleOptions {
5010
5469
  'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>
5011
5470
  /**
5012
5471
  * Disallow unused variables
5013
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
5472
+ * @see https://typescript-eslint.io/rules/no-unused-vars
5014
5473
  */
5015
5474
  'ts/no-unused-vars'?: Linter.RuleEntry<TsNoUnusedVars>
5016
5475
  /**
@@ -5028,38 +5487,27 @@ interface RuleOptions {
5028
5487
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
5029
5488
  */
5030
5489
  'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
5031
- /**
5032
- * Disallow unnecessary template literals
5033
- * @see https://typescript-eslint.io/rules/no-useless-template-literals
5034
- */
5035
- 'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
5036
5490
  /**
5037
5491
  * Disallow `require` statements except in import statements
5038
5492
  * @see https://typescript-eslint.io/rules/no-var-requires
5493
+ * @deprecated
5039
5494
  */
5040
5495
  'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
5496
+ /**
5497
+ * Disallow using confusing built-in primitive class wrappers
5498
+ * @see https://typescript-eslint.io/rules/no-wrapper-object-types
5499
+ */
5500
+ 'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
5041
5501
  /**
5042
5502
  * Enforce non-null assertions over explicit type casts
5043
5503
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
5044
5504
  */
5045
5505
  'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
5046
- /**
5047
- * Enforce consistent spacing inside braces
5048
- * @see https://typescript-eslint.io/rules/object-curly-spacing
5049
- * @deprecated
5050
- */
5051
- 'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
5052
5506
  /**
5053
5507
  * Disallow throwing non-`Error` values as exceptions
5054
5508
  * @see https://typescript-eslint.io/rules/only-throw-error
5055
5509
  */
5056
5510
  'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
5057
- /**
5058
- * Require or disallow padding lines between statements
5059
- * @see https://typescript-eslint.io/rules/padding-line-between-statements
5060
- * @deprecated
5061
- */
5062
- 'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
5063
5511
  /**
5064
5512
  * Require or disallow parameter properties in class constructors
5065
5513
  * @see https://typescript-eslint.io/rules/parameter-properties
@@ -5158,6 +5606,7 @@ interface RuleOptions {
5158
5606
  /**
5159
5607
  * Enforce using `@ts-expect-error` over `@ts-ignore`
5160
5608
  * @see https://typescript-eslint.io/rules/prefer-ts-expect-error
5609
+ * @deprecated
5161
5610
  */
5162
5611
  'ts/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
5163
5612
  /**
@@ -5165,19 +5614,13 @@ interface RuleOptions {
5165
5614
  * @see https://typescript-eslint.io/rules/promise-function-async
5166
5615
  */
5167
5616
  'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
5168
- /**
5169
- * Enforce the consistent use of either backticks, double, or single quotes
5170
- * @see https://typescript-eslint.io/rules/quotes
5171
- * @deprecated
5172
- */
5173
- 'ts/quotes'?: Linter.RuleEntry<TsQuotes>
5174
5617
  /**
5175
5618
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
5176
5619
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
5177
5620
  */
5178
5621
  'ts/require-array-sort-compare'?: Linter.RuleEntry<TsRequireArraySortCompare>
5179
5622
  /**
5180
- * Disallow async functions which have no `await` expression
5623
+ * Disallow async functions which do not return promises and have no `await` expression
5181
5624
  * @see https://typescript-eslint.io/rules/require-await
5182
5625
  */
5183
5626
  'ts/require-await'?: Linter.RuleEntry<[]>
@@ -5192,39 +5635,16 @@ interface RuleOptions {
5192
5635
  */
5193
5636
  'ts/restrict-template-expressions'?: Linter.RuleEntry<TsRestrictTemplateExpressions>
5194
5637
  /**
5195
- * Enforce consistent returning of awaited values
5638
+ * Enforce consistent awaiting of returned promises
5196
5639
  * @see https://typescript-eslint.io/rules/return-await
5197
5640
  */
5198
5641
  'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
5199
- /**
5200
- * Require or disallow semicolons instead of ASI
5201
- * @see https://typescript-eslint.io/rules/semi
5202
- * @deprecated
5203
- */
5204
- 'ts/semi'?: Linter.RuleEntry<TsSemi>
5205
5642
  /**
5206
5643
  * Enforce constituents of a type union/intersection to be sorted alphabetically
5207
5644
  * @see https://typescript-eslint.io/rules/sort-type-constituents
5208
- */
5209
- 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
5210
- /**
5211
- * Enforce consistent spacing before blocks
5212
- * @see https://typescript-eslint.io/rules/space-before-blocks
5213
- * @deprecated
5214
- */
5215
- 'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
5216
- /**
5217
- * Enforce consistent spacing before function parenthesis
5218
- * @see https://typescript-eslint.io/rules/space-before-function-paren
5219
- * @deprecated
5220
- */
5221
- 'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
5222
- /**
5223
- * Require spacing around infix operators
5224
- * @see https://typescript-eslint.io/rules/space-infix-ops
5225
5645
  * @deprecated
5226
5646
  */
5227
- 'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
5647
+ 'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
5228
5648
  /**
5229
5649
  * Disallow certain types in boolean expressions
5230
5650
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
@@ -5240,12 +5660,6 @@ interface RuleOptions {
5240
5660
  * @see https://typescript-eslint.io/rules/triple-slash-reference
5241
5661
  */
5242
5662
  'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
5243
- /**
5244
- * Require consistent spacing around type annotations
5245
- * @see https://typescript-eslint.io/rules/type-annotation-spacing
5246
- * @deprecated
5247
- */
5248
- 'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
5249
5663
  /**
5250
5664
  * Require type annotations in certain places
5251
5665
  * @see https://typescript-eslint.io/rules/typedef
@@ -5262,7 +5676,7 @@ interface RuleOptions {
5262
5676
  */
5263
5677
  'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
5264
5678
  /**
5265
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
5679
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
5266
5680
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
5267
5681
  */
5268
5682
  'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -5273,652 +5687,687 @@ interface RuleOptions {
5273
5687
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5274
5688
  /**
5275
5689
  * Improve regexes by making them shorter, consistent, and safer.
5276
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/better-regex.md
5690
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
5277
5691
  */
5278
5692
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5279
5693
  /**
5280
5694
  * Enforce a specific parameter name in catch clauses.
5281
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/catch-error-name.md
5695
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
5282
5696
  */
5283
5697
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5284
5698
  /**
5285
5699
  * Use destructured variables over properties.
5286
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/consistent-destructuring.md
5700
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
5287
5701
  */
5288
5702
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5703
+ /**
5704
+ * Prefer consistent types when spreading a ternary in an array literal.
5705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
5706
+ */
5707
+ 'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5289
5708
  /**
5290
5709
  * Move function definitions to the highest possible scope.
5291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/consistent-function-scoping.md
5710
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
5292
5711
  */
5293
5712
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5294
5713
  /**
5295
5714
  * Enforce correct `Error` subclassing.
5296
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/custom-error-definition.md
5715
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
5297
5716
  */
5298
5717
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5299
5718
  /**
5300
5719
  * Enforce no spaces between braces.
5301
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/empty-brace-spaces.md
5720
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
5302
5721
  */
5303
5722
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5304
5723
  /**
5305
5724
  * Enforce passing a `message` value when creating a built-in error.
5306
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/error-message.md
5725
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
5307
5726
  */
5308
5727
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5309
5728
  /**
5310
5729
  * Require escape sequences to use uppercase values.
5311
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/escape-case.md
5730
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
5312
5731
  */
5313
5732
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
5314
5733
  /**
5315
5734
  * Add expiration conditions to TODO comments.
5316
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/expiring-todo-comments.md
5735
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
5317
5736
  */
5318
5737
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5319
5738
  /**
5320
5739
  * Enforce explicitly comparing the `length` or `size` property of a value.
5321
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/explicit-length-check.md
5740
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
5322
5741
  */
5323
5742
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5324
5743
  /**
5325
5744
  * Enforce a case style for filenames.
5326
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/filename-case.md
5745
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
5327
5746
  */
5328
5747
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5329
5748
  /**
5330
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#import-index
5749
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
5331
5750
  * @deprecated
5332
5751
  */
5333
5752
  'unicorn/import-index'?: Linter.RuleEntry<[]>
5334
5753
  /**
5335
5754
  * Enforce specific import styles per module.
5336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/import-style.md
5755
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
5337
5756
  */
5338
5757
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5339
5758
  /**
5340
5759
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5341
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/new-for-builtins.md
5760
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
5342
5761
  */
5343
5762
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5344
5763
  /**
5345
5764
  * Enforce specifying rules to disable in `eslint-disable` comments.
5346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-abusive-eslint-disable.md
5765
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
5347
5766
  */
5348
5767
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5349
5768
  /**
5350
5769
  * Disallow anonymous functions and classes as the default export.
5351
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-anonymous-default-export.md
5770
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
5352
5771
  */
5353
5772
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5354
5773
  /**
5355
5774
  * Prevent passing a function reference directly to iterator methods.
5356
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-callback-reference.md
5775
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
5357
5776
  */
5358
5777
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5359
5778
  /**
5360
5779
  * Prefer `for…of` over the `forEach` method.
5361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-for-each.md
5780
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
5362
5781
  */
5363
5782
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5364
5783
  /**
5365
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-array-instanceof
5784
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
5366
5785
  * @deprecated
5367
5786
  */
5368
5787
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
5369
5788
  /**
5370
5789
  * Disallow using the `this` argument in array methods.
5371
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-method-this-argument.md
5790
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
5372
5791
  */
5373
5792
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5374
5793
  /**
5375
5794
  * Enforce combining multiple `Array#push()` into one call.
5376
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-push-push.md
5795
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
5377
5796
  */
5378
5797
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
5379
5798
  /**
5380
5799
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5381
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-array-reduce.md
5800
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
5382
5801
  */
5383
5802
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5384
5803
  /**
5385
5804
  * Disallow member access from await expression.
5386
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-await-expression-member.md
5805
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
5387
5806
  */
5388
5807
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5389
5808
  /**
5390
5809
  * Disallow using `await` in `Promise` method parameters.
5391
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-await-in-promise-methods.md
5810
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
5392
5811
  */
5393
5812
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5394
5813
  /**
5395
5814
  * Do not use leading/trailing space between `console.log` parameters.
5396
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-console-spaces.md
5815
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
5397
5816
  */
5398
5817
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5399
5818
  /**
5400
5819
  * Do not use `document.cookie` directly.
5401
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-document-cookie.md
5820
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
5402
5821
  */
5403
5822
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5404
5823
  /**
5405
5824
  * Disallow empty files.
5406
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-empty-file.md
5825
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
5407
5826
  */
5408
5827
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5409
5828
  /**
5410
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5829
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
5411
5830
  * @deprecated
5412
5831
  */
5413
5832
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
5414
5833
  /**
5415
5834
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5416
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-for-loop.md
5835
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
5417
5836
  */
5418
5837
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5419
5838
  /**
5420
5839
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5421
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-hex-escape.md
5840
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
5422
5841
  */
5423
5842
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5424
5843
  /**
5425
5844
  * Require `Array.isArray()` instead of `instanceof Array`.
5426
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-instanceof-array.md
5845
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
5427
5846
  */
5428
5847
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5848
+ /**
5849
+ * Disallow invalid options in `fetch()` and `new Request()`.
5850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
5851
+ */
5852
+ 'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
5429
5853
  /**
5430
5854
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5431
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-invalid-remove-event-listener.md
5855
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
5432
5856
  */
5433
5857
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
5434
5858
  /**
5435
5859
  * Disallow identifiers starting with `new` or `class`.
5436
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-keyword-prefix.md
5860
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
5437
5861
  */
5438
5862
  'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
5863
+ /**
5864
+ * Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
5865
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
5866
+ */
5867
+ 'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
5439
5868
  /**
5440
5869
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5441
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-lonely-if.md
5870
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
5442
5871
  */
5443
5872
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5873
+ /**
5874
+ * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
5876
+ */
5877
+ 'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
5444
5878
  /**
5445
5879
  * Disallow negated conditions.
5446
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-negated-condition.md
5880
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
5447
5881
  */
5448
5882
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
5883
+ /**
5884
+ * Disallow negated expression in equality check.
5885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
5886
+ */
5887
+ 'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
5449
5888
  /**
5450
5889
  * Disallow nested ternary expressions.
5451
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-nested-ternary.md
5890
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
5452
5891
  */
5453
5892
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
5454
5893
  /**
5455
5894
  * Disallow `new Array()`.
5456
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-new-array.md
5895
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
5457
5896
  */
5458
5897
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
5459
5898
  /**
5460
5899
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5461
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-new-buffer.md
5900
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
5462
5901
  */
5463
5902
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
5464
5903
  /**
5465
5904
  * Disallow the use of the `null` literal.
5466
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-null.md
5905
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
5467
5906
  */
5468
5907
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
5469
5908
  /**
5470
5909
  * Disallow the use of objects as default parameters.
5471
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-object-as-default-parameter.md
5910
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
5472
5911
  */
5473
5912
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
5474
5913
  /**
5475
5914
  * Disallow `process.exit()`.
5476
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-process-exit.md
5915
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
5477
5916
  */
5478
5917
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
5479
5918
  /**
5480
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-reduce
5919
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
5481
5920
  * @deprecated
5482
5921
  */
5483
5922
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
5484
5923
  /**
5485
5924
  * Disallow passing single-element arrays to `Promise` methods.
5486
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-single-promise-in-promise-methods.md
5925
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
5487
5926
  */
5488
5927
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
5489
5928
  /**
5490
5929
  * Disallow classes that only have static members.
5491
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-static-only-class.md
5930
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
5492
5931
  */
5493
5932
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
5494
5933
  /**
5495
5934
  * Disallow `then` property.
5496
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-thenable.md
5935
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
5497
5936
  */
5498
5937
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
5499
5938
  /**
5500
5939
  * Disallow assigning `this` to a variable.
5501
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-this-assignment.md
5940
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
5502
5941
  */
5503
5942
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
5504
5943
  /**
5505
5944
  * Disallow comparing `undefined` using `typeof`.
5506
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-typeof-undefined.md
5945
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
5507
5946
  */
5508
5947
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
5509
5948
  /**
5510
5949
  * Disallow awaiting non-promise values.
5511
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unnecessary-await.md
5950
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
5512
5951
  */
5513
5952
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
5514
5953
  /**
5515
5954
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5516
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unnecessary-polyfills.md
5955
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
5517
5956
  */
5518
5957
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
5519
5958
  /**
5520
5959
  * Disallow unreadable array destructuring.
5521
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unreadable-array-destructuring.md
5960
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
5522
5961
  */
5523
5962
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
5524
5963
  /**
5525
5964
  * Disallow unreadable IIFEs.
5526
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unreadable-iife.md
5965
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
5527
5966
  */
5528
5967
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
5529
5968
  /**
5530
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#no-unsafe-regex
5969
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
5531
5970
  * @deprecated
5532
5971
  */
5533
5972
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
5534
5973
  /**
5535
5974
  * Disallow unused object properties.
5536
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-unused-properties.md
5975
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
5537
5976
  */
5538
5977
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
5539
5978
  /**
5540
5979
  * Disallow useless fallback when spreading in object literals.
5541
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-fallback-in-spread.md
5980
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
5542
5981
  */
5543
5982
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
5544
5983
  /**
5545
5984
  * Disallow useless array length check.
5546
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-length-check.md
5985
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
5547
5986
  */
5548
5987
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
5549
5988
  /**
5550
5989
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
5551
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-promise-resolve-reject.md
5990
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
5552
5991
  */
5553
5992
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
5554
5993
  /**
5555
5994
  * Disallow unnecessary spread.
5556
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-spread.md
5995
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
5557
5996
  */
5558
5997
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
5559
5998
  /**
5560
5999
  * Disallow useless case in switch statements.
5561
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-switch-case.md
6000
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
5562
6001
  */
5563
6002
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
5564
6003
  /**
5565
6004
  * Disallow useless `undefined`.
5566
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-useless-undefined.md
6005
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
5567
6006
  */
5568
6007
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
5569
6008
  /**
5570
6009
  * Disallow number literals with zero fractions or dangling dots.
5571
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/no-zero-fractions.md
6010
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
5572
6011
  */
5573
6012
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
5574
6013
  /**
5575
6014
  * Enforce proper case for numeric literals.
5576
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/number-literal-case.md
6015
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
5577
6016
  */
5578
6017
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
5579
6018
  /**
5580
6019
  * Enforce the style of numeric separators by correctly grouping digits.
5581
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/numeric-separators-style.md
6020
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
5582
6021
  */
5583
6022
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
5584
6023
  /**
5585
6024
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
5586
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-add-event-listener.md
6025
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
5587
6026
  */
5588
6027
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
5589
6028
  /**
5590
6029
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
5591
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-find.md
6030
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
5592
6031
  */
5593
6032
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
5594
6033
  /**
5595
6034
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
5596
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-flat.md
6035
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
5597
6036
  */
5598
6037
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
5599
6038
  /**
5600
6039
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
5601
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-flat-map.md
6040
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
5602
6041
  */
5603
6042
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
5604
6043
  /**
5605
6044
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
5606
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-index-of.md
6045
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
5607
6046
  */
5608
6047
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
5609
6048
  /**
5610
- * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
5611
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-array-some.md
6049
+ * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
5612
6051
  */
5613
6052
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
5614
6053
  /**
5615
6054
  * Prefer `.at()` method for index access and `String#charAt()`.
5616
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-at.md
6055
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
5617
6056
  */
5618
6057
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
5619
6058
  /**
5620
6059
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
5621
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-blob-reading-methods.md
6060
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
5622
6061
  */
5623
6062
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
5624
6063
  /**
5625
6064
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
5626
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-code-point.md
6065
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
5627
6066
  */
5628
6067
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
5629
6068
  /**
5630
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-dataset
6069
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
5631
6070
  * @deprecated
5632
6071
  */
5633
6072
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
5634
6073
  /**
5635
6074
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
5636
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-date-now.md
6075
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
5637
6076
  */
5638
6077
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
5639
6078
  /**
5640
6079
  * Prefer default parameters over reassignment.
5641
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-default-parameters.md
6080
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
5642
6081
  */
5643
6082
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
5644
6083
  /**
5645
6084
  * Prefer `Node#append()` over `Node#appendChild()`.
5646
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-append.md
6085
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
5647
6086
  */
5648
6087
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
5649
6088
  /**
5650
6089
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
5651
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-dataset.md
6090
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
5652
6091
  */
5653
6092
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
5654
6093
  /**
5655
6094
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
5656
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-remove.md
6095
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
5657
6096
  */
5658
6097
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
5659
6098
  /**
5660
6099
  * Prefer `.textContent` over `.innerText`.
5661
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-dom-node-text-content.md
6100
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
5662
6101
  */
5663
6102
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
5664
6103
  /**
5665
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-event-key
6104
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
5666
6105
  * @deprecated
5667
6106
  */
5668
6107
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
5669
6108
  /**
5670
6109
  * Prefer `EventTarget` over `EventEmitter`.
5671
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-event-target.md
6110
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
5672
6111
  */
5673
6112
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
5674
6113
  /**
5675
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
6114
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
5676
6115
  * @deprecated
5677
6116
  */
5678
6117
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
5679
6118
  /**
5680
6119
  * Prefer `export…from` when re-exporting.
5681
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-export-from.md
6120
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
5682
6121
  */
5683
6122
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
5684
6123
  /**
5685
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-flat-map
6124
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
5686
6125
  * @deprecated
5687
6126
  */
5688
6127
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
5689
6128
  /**
5690
- * Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
5691
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-includes.md
6129
+ * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
5692
6131
  */
5693
6132
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
5694
6133
  /**
5695
6134
  * Prefer reading a JSON file as a buffer.
5696
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-json-parse-buffer.md
6135
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
5697
6136
  */
5698
6137
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
5699
6138
  /**
5700
6139
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
5701
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-keyboard-event-key.md
6140
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
5702
6141
  */
5703
6142
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
5704
6143
  /**
5705
6144
  * Prefer using a logical operator over a ternary.
5706
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-logical-operator-over-ternary.md
6145
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
5707
6146
  */
5708
6147
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
5709
6148
  /**
5710
6149
  * Enforce the use of `Math.trunc` instead of bitwise operators.
5711
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-math-trunc.md
6150
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
5712
6151
  */
5713
6152
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
5714
6153
  /**
5715
6154
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
5716
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-modern-dom-apis.md
6155
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
5717
6156
  */
5718
6157
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
5719
6158
  /**
5720
6159
  * Prefer modern `Math` APIs over legacy patterns.
5721
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-modern-math-apis.md
6160
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
5722
6161
  */
5723
6162
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
5724
6163
  /**
5725
6164
  * Prefer JavaScript modules (ESM) over CommonJS.
5726
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-module.md
6165
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
5727
6166
  */
5728
6167
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
5729
6168
  /**
5730
6169
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
5731
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-native-coercion-functions.md
6170
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
5732
6171
  */
5733
6172
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
5734
6173
  /**
5735
6174
  * Prefer negative index over `.length - index` when possible.
5736
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-negative-index.md
6175
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
5737
6176
  */
5738
6177
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
5739
6178
  /**
5740
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-node-append
6179
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
5741
6180
  * @deprecated
5742
6181
  */
5743
6182
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
5744
6183
  /**
5745
6184
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
5746
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-node-protocol.md
6185
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
5747
6186
  */
5748
6187
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
5749
6188
  /**
5750
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-node-remove
6189
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
5751
6190
  * @deprecated
5752
6191
  */
5753
6192
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
5754
6193
  /**
5755
6194
  * Prefer `Number` static properties over global ones.
5756
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-number-properties.md
6195
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
5757
6196
  */
5758
6197
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
5759
6198
  /**
5760
6199
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
5761
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-object-from-entries.md
6200
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
5762
6201
  */
5763
6202
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
5764
6203
  /**
5765
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-object-has-own
6204
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
5766
6205
  * @deprecated
5767
6206
  */
5768
6207
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
5769
6208
  /**
5770
6209
  * Prefer omitting the `catch` binding parameter.
5771
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-optional-catch-binding.md
6210
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
5772
6211
  */
5773
6212
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
5774
6213
  /**
5775
6214
  * Prefer borrowing methods from the prototype instead of the instance.
5776
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-prototype-methods.md
6215
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
5777
6216
  */
5778
6217
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
5779
6218
  /**
5780
6219
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
5781
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-query-selector.md
6220
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
5782
6221
  */
5783
6222
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
5784
6223
  /**
5785
6224
  * Prefer `Reflect.apply()` over `Function#apply()`.
5786
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-reflect-apply.md
6225
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
5787
6226
  */
5788
6227
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
5789
6228
  /**
5790
6229
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
5791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-regexp-test.md
6230
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
5792
6231
  */
5793
6232
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
5794
6233
  /**
5795
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-replace-all
6234
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
5796
6235
  * @deprecated
5797
6236
  */
5798
6237
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
5799
6238
  /**
5800
6239
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
5801
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-set-has.md
6240
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
5802
6241
  */
5803
6242
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
5804
6243
  /**
5805
6244
  * Prefer using `Set#size` instead of `Array#length`.
5806
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-set-size.md
6245
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
5807
6246
  */
5808
6247
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
5809
6248
  /**
5810
6249
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
5811
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-spread.md
6250
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
5812
6251
  */
5813
6252
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
5814
6253
  /**
5815
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
6254
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
5816
6255
  * @deprecated
5817
6256
  */
5818
6257
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
6258
+ /**
6259
+ * Prefer using the `String.raw` tag to avoid escaping `\`.
6260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
6261
+ */
6262
+ 'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
5819
6263
  /**
5820
6264
  * Prefer `String#replaceAll()` over regex searches with the global flag.
5821
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-replace-all.md
6265
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
5822
6266
  */
5823
6267
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
5824
6268
  /**
5825
6269
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
5826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-slice.md
6270
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
5827
6271
  */
5828
6272
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
5829
6273
  /**
5830
6274
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
5831
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-starts-ends-with.md
6275
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
5832
6276
  */
5833
6277
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
5834
6278
  /**
5835
6279
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
5836
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-string-trim-start-end.md
6280
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
5837
6281
  */
5838
6282
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6283
+ /**
6284
+ * Prefer using `structuredClone` to create a deep clone.
6285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
6286
+ */
6287
+ 'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
5839
6288
  /**
5840
6289
  * Prefer `switch` over multiple `else-if`.
5841
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-switch.md
6290
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
5842
6291
  */
5843
6292
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
5844
6293
  /**
5845
6294
  * Prefer ternary expressions over simple `if-else` statements.
5846
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-ternary.md
6295
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
5847
6296
  */
5848
6297
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
5849
6298
  /**
5850
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-text-content
6299
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
5851
6300
  * @deprecated
5852
6301
  */
5853
6302
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
5854
6303
  /**
5855
6304
  * Prefer top-level await over top-level promises and async function calls.
5856
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-top-level-await.md
6305
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
5857
6306
  */
5858
6307
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
5859
6308
  /**
5860
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#prefer-trim-start-end
6309
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
5861
6310
  * @deprecated
5862
6311
  */
5863
6312
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
5864
6313
  /**
5865
6314
  * Enforce throwing `TypeError` in type checking conditions.
5866
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prefer-type-error.md
6315
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
5867
6316
  */
5868
6317
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
5869
6318
  /**
5870
6319
  * Prevent abbreviations.
5871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/prevent-abbreviations.md
6320
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
5872
6321
  */
5873
6322
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
5874
6323
  /**
5875
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/deprecated-rules.md#regex-shorthand
6324
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
5876
6325
  * @deprecated
5877
6326
  */
5878
6327
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
5879
6328
  /**
5880
6329
  * Enforce consistent relative URL style.
5881
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/relative-url-style.md
6330
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
5882
6331
  */
5883
6332
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
5884
6333
  /**
5885
6334
  * Enforce using the separator argument with `Array#join()`.
5886
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-array-join-separator.md
6335
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
5887
6336
  */
5888
6337
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
5889
6338
  /**
5890
6339
  * Enforce using the digits argument with `Number#toFixed()`.
5891
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-number-to-fixed-digits-argument.md
6340
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
5892
6341
  */
5893
6342
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
5894
6343
  /**
5895
6344
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
5896
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/require-post-message-target-origin.md
6345
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
5897
6346
  */
5898
6347
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
5899
6348
  /**
5900
6349
  * Enforce better string content.
5901
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/string-content.md
6350
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
5902
6351
  */
5903
6352
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
5904
6353
  /**
5905
6354
  * Enforce consistent brace style for `case` clauses.
5906
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/switch-case-braces.md
6355
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
5907
6356
  */
5908
6357
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
5909
6358
  /**
5910
6359
  * Fix whitespace-insensitive template indentation.
5911
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/template-indent.md
6360
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
5912
6361
  */
5913
6362
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
5914
6363
  /**
5915
6364
  * Enforce consistent case for text encoding identifiers.
5916
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/text-encoding-identifier-case.md
6365
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
5917
6366
  */
5918
6367
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
5919
6368
  /**
5920
- * Require `new` when throwing an error.
5921
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v52.0.0/docs/rules/throw-new-error.md
6369
+ * Require `new` when creating an error.
6370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
5922
6371
  */
5923
6372
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
5924
6373
  /**
@@ -5948,19 +6397,9 @@ interface RuleOptions {
5948
6397
  'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
5949
6398
  /**
5950
6399
  * Disallow unused variables
5951
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
5952
- */
5953
- 'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
5954
- /**
5955
- * Disallow unused variables
5956
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
6400
+ * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-vars.md
5957
6401
  */
5958
6402
  'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
5959
- /**
5960
- * Disallow unused variables
5961
- * @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
5962
- */
5963
- 'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
5964
6403
  /**
5965
6404
  * Require calls to `isNaN()` when checking for `NaN`
5966
6405
  * @see https://eslint.org/docs/latest/rules/use-isnan
@@ -7550,6 +7989,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
7550
7989
  // ----- func-style -----
7551
7990
  type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
7552
7991
  allowArrowFunctions?: boolean
7992
+ overrides?: {
7993
+ namedExports?: ("declaration" | "expression" | "ignore")
7994
+ }
7553
7995
  }]
7554
7996
  // ----- function-call-argument-newline -----
7555
7997
  type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
@@ -7969,6 +8411,25 @@ type JsdocCheckValues = []|[{
7969
8411
  licensePattern?: string
7970
8412
  numericOnlyVariation?: boolean
7971
8413
  }]
8414
+ // ----- jsdoc/convert-to-jsdoc-comments -----
8415
+ type JsdocConvertToJsdocComments = []|[{
8416
+ allowedPrefixes?: string[]
8417
+ contexts?: (string | {
8418
+ context?: string
8419
+ inlineCommentBlock?: boolean
8420
+ })[]
8421
+ contextsAfter?: (string | {
8422
+ context?: string
8423
+ inlineCommentBlock?: boolean
8424
+ })[]
8425
+ contextsBeforeAndAfter?: (string | {
8426
+ context?: string
8427
+ inlineCommentBlock?: boolean
8428
+ })[]
8429
+ enableFixer?: boolean
8430
+ enforceJsdocLineStyle?: ("multi" | "single")
8431
+ lineOrBlockStyle?: ("block" | "line" | "both")
8432
+ }]
7972
8433
  // ----- jsdoc/empty-tags -----
7973
8434
  type JsdocEmptyTags = []|[{
7974
8435
  tags?: string[]
@@ -7988,6 +8449,12 @@ type JsdocInformativeDocs = []|[{
7988
8449
  excludedTags?: string[]
7989
8450
  uselessWords?: string[]
7990
8451
  }]
8452
+ // ----- jsdoc/lines-before-block -----
8453
+ type JsdocLinesBeforeBlock = []|[{
8454
+ excludedTags?: string[]
8455
+ ignoreSameLine?: boolean
8456
+ lines?: number
8457
+ }]
7991
8458
  // ----- jsdoc/match-description -----
7992
8459
  type JsdocMatchDescription = []|[{
7993
8460
  contexts?: (string | {
@@ -8256,6 +8723,10 @@ type JsdocRequireReturnsType = []|[{
8256
8723
  context?: string
8257
8724
  })[]
8258
8725
  }]
8726
+ // ----- jsdoc/require-template -----
8727
+ type JsdocRequireTemplate = []|[{
8728
+ requireSeparateTemplates?: boolean
8729
+ }]
8259
8730
  // ----- jsdoc/require-throws -----
8260
8731
  type JsdocRequireThrows = []|[{
8261
8732
  contexts?: (string | {
@@ -9184,9 +9655,11 @@ type NoExtendNative = []|[{
9184
9655
  exceptions?: string[]
9185
9656
  }]
9186
9657
  // ----- no-extra-boolean-cast -----
9187
- type NoExtraBooleanCast = []|[{
9658
+ type NoExtraBooleanCast = []|[({
9659
+ enforceForInnerExpressions?: boolean
9660
+ } | {
9188
9661
  enforceForLogicalOperands?: boolean
9189
- }]
9662
+ })]
9190
9663
  // ----- no-extra-parens -----
9191
9664
  type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
9192
9665
  conditionalAssign?: boolean
@@ -9260,6 +9733,10 @@ type NoMagicNumbers = []|[{
9260
9733
  ignoreDefaultValues?: boolean
9261
9734
  ignoreClassFieldInitialValues?: boolean
9262
9735
  }]
9736
+ // ----- no-misleading-character-class -----
9737
+ type NoMisleadingCharacterClass = []|[{
9738
+ allowEscape?: boolean
9739
+ }]
9263
9740
  // ----- no-mixed-operators -----
9264
9741
  type NoMixedOperators = []|[{
9265
9742
  groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
@@ -9316,8 +9793,10 @@ type NoRedeclare = []|[{
9316
9793
  // ----- no-restricted-exports -----
9317
9794
  type NoRestrictedExports = []|[({
9318
9795
  restrictedNamedExports?: string[]
9796
+ restrictedNamedExportsPattern?: string
9319
9797
  } | {
9320
9798
  restrictedNamedExports?: string[]
9799
+ restrictedNamedExportsPattern?: string
9321
9800
  restrictDefaultExports?: {
9322
9801
  direct?: boolean
9323
9802
  named?: boolean
@@ -9344,18 +9823,11 @@ type NoRestrictedImports = ((string | {
9344
9823
  importNames?: string[]
9345
9824
  allowImportNames?: string[]
9346
9825
  })[]
9347
- patterns?: (string[] | {
9348
-
9349
- importNames?: [string, ...(string)[]]
9350
-
9351
- allowImportNames?: [string, ...(string)[]]
9352
-
9353
- group: [string, ...(string)[]]
9354
- importNamePattern?: string
9355
- allowImportNamePattern?: string
9356
- message?: string
9357
- caseSensitive?: boolean
9358
- }[])
9826
+ patterns?: (string[] | ({
9827
+ [k: string]: unknown | undefined
9828
+ } | {
9829
+ [k: string]: unknown | undefined
9830
+ })[])
9359
9831
  }])
9360
9832
  // ----- no-restricted-modules -----
9361
9833
  type NoRestrictedModules = ((string | {
@@ -9525,6 +9997,9 @@ type NodeHashbang = []|[{
9525
9997
  })[]])
9526
9998
  ignoreUnpublished?: boolean
9527
9999
  additionalExecutables?: string[]
10000
+ executableMap?: {
10001
+ [k: string]: string
10002
+ }
9528
10003
  }]
9529
10004
  // ----- node/no-deprecated-api -----
9530
10005
  type NodeNoDeprecatedApi = []|[{
@@ -9658,6 +10133,7 @@ type NodeNoUnpublishedImport = []|[{
9658
10133
  })[]])
9659
10134
  resolvePaths?: string[]
9660
10135
  ignoreTypeImport?: boolean
10136
+ ignorePrivate?: boolean
9661
10137
  }]
9662
10138
  // ----- node/no-unpublished-require -----
9663
10139
  type NodeNoUnpublishedRequire = []|[{
@@ -9680,6 +10156,7 @@ type NodeNoUnpublishedRequire = []|[{
9680
10156
  })[]])
9681
10157
  resolvePaths?: string[]
9682
10158
  tryExtensions?: string[]
10159
+ ignorePrivate?: boolean
9683
10160
  }]
9684
10161
  // ----- node/no-unsupported-features/es-builtins -----
9685
10162
  type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
@@ -9694,7 +10171,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
9694
10171
  // ----- node/no-unsupported-features/node-builtins -----
9695
10172
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
9696
10173
  version?: string
9697
- 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.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" | "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.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "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.promises.FileHandle" | "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.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "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.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "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.statSync" | "fs.statfsSync" | "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" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "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/promises.FileHandle" | "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.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.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.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")[]
10174
+ allowExperimental?: boolean
10175
+ 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")[]
9698
10176
  }]
9699
10177
  // ----- node/prefer-global/buffer -----
9700
10178
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -9734,6 +10212,9 @@ type NodeShebang = []|[{
9734
10212
  })[]])
9735
10213
  ignoreUnpublished?: boolean
9736
10214
  additionalExecutables?: string[]
10215
+ executableMap?: {
10216
+ [k: string]: string
10217
+ }
9737
10218
  }]
9738
10219
  // ----- nonblock-statement-body-position -----
9739
10220
  type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
@@ -9833,45 +10314,90 @@ type PaddingLineBetweenStatements = {
9833
10314
  }[]
9834
10315
  // ----- perfectionist/sort-array-includes -----
9835
10316
  type PerfectionistSortArrayIncludes = []|[{
10317
+
9836
10318
  type?: ("alphabetical" | "natural" | "line-length")
10319
+
9837
10320
  order?: ("asc" | "desc")
9838
- "ignore-case"?: boolean
9839
- "spread-last"?: boolean
10321
+
10322
+ ignoreCase?: boolean
10323
+
10324
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
9840
10325
  }]
9841
10326
  // ----- perfectionist/sort-astro-attributes -----
9842
10327
  type PerfectionistSortAstroAttributes = []|[{
9843
- "custom-groups"?: {
9844
- [k: string]: unknown | undefined
9845
- }
10328
+
9846
10329
  type?: ("alphabetical" | "natural" | "line-length")
10330
+
9847
10331
  order?: ("asc" | "desc")
9848
- "ignore-case"?: boolean
9849
- groups?: unknown[]
10332
+
10333
+ ignoreCase?: boolean
10334
+
10335
+ groups?: (string | string[])[]
10336
+
10337
+ customGroups?: {
10338
+ [k: string]: (string | string[]) | undefined
10339
+ }
9850
10340
  }]
9851
10341
  // ----- perfectionist/sort-classes -----
9852
10342
  type PerfectionistSortClasses = []|[{
10343
+
9853
10344
  type?: ("alphabetical" | "natural" | "line-length")
9854
- "ignore-case"?: boolean
10345
+
9855
10346
  order?: ("asc" | "desc")
9856
- groups?: unknown[]
10347
+
10348
+ ignoreCase?: boolean
10349
+
10350
+ partitionByComment?: (string[] | boolean | string)
10351
+
10352
+ groups?: (string | string[])[]
10353
+
10354
+ customGroups?: {
10355
+ [k: string]: (string | string[]) | undefined
10356
+ }
9857
10357
  }]
9858
10358
  // ----- perfectionist/sort-enums -----
9859
10359
  type PerfectionistSortEnums = []|[{
9860
- "partition-by-comment"?: (boolean | string | unknown[])
10360
+
9861
10361
  type?: ("alphabetical" | "natural" | "line-length")
9862
- "ignore-case"?: boolean
10362
+
9863
10363
  order?: ("asc" | "desc")
10364
+
10365
+ ignoreCase?: boolean
10366
+
10367
+ sortByValue?: boolean
10368
+
10369
+ forceNumericSort?: boolean
10370
+
10371
+ partitionByComment?: (string[] | boolean | string)
9864
10372
  }]
9865
10373
  // ----- perfectionist/sort-exports -----
9866
10374
  type PerfectionistSortExports = []|[{
10375
+
9867
10376
  type?: ("alphabetical" | "natural" | "line-length")
10377
+
9868
10378
  order?: ("asc" | "desc")
9869
- "ignore-case"?: boolean
10379
+
10380
+ ignoreCase?: boolean
9870
10381
  }]
9871
10382
  // ----- perfectionist/sort-imports -----
9872
10383
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
9873
10384
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
9874
- "custom-groups"?: {
10385
+
10386
+ type?: ("alphabetical" | "natural" | "line-length")
10387
+
10388
+ order?: ("asc" | "desc")
10389
+
10390
+ ignoreCase?: boolean
10391
+
10392
+ internalPattern?: string[]
10393
+
10394
+ newlinesBetween?: ("ignore" | "always" | "never")
10395
+
10396
+ maxLineLength?: number
10397
+
10398
+ groups?: (string | string[])[]
10399
+
10400
+ customGroups?: {
9875
10401
  type?: {
9876
10402
  [k: string]: unknown | undefined
9877
10403
  }
@@ -9879,13 +10405,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
9879
10405
  [k: string]: unknown | undefined
9880
10406
  }
9881
10407
  }
9882
- type?: ("alphabetical" | "natural" | "line-length")
9883
- order?: ("asc" | "desc")
9884
- "ignore-case"?: boolean
9885
- groups?: unknown[]
9886
- "internal-pattern"?: string[]
9887
- "newlines-between"?: ("ignore" | "always" | "never")
9888
- "max-line-length"?: number
10408
+
10409
+ environment?: ("node" | "bun")
9889
10410
  })
9890
10411
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
9891
10412
  [k: string]: unknown | undefined
@@ -9896,105 +10417,188 @@ interface _PerfectionistSortImports_IsLineLength {
9896
10417
  }
9897
10418
  // ----- perfectionist/sort-interfaces -----
9898
10419
  type PerfectionistSortInterfaces = []|[{
9899
- "custom-groups"?: {
9900
- [k: string]: unknown | undefined
9901
- }
9902
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
10420
+
9903
10421
  type?: ("alphabetical" | "natural" | "line-length")
10422
+
9904
10423
  order?: ("asc" | "desc")
9905
- "ignore-case"?: boolean
9906
- "ignore-pattern"?: string[]
9907
- groups?: unknown[]
9908
- "partition-by-new-line"?: boolean
10424
+
10425
+ ignoreCase?: boolean
10426
+
10427
+ ignorePattern?: string[]
10428
+
10429
+ partitionByNewLine?: boolean
10430
+
10431
+ groupKind?: ("mixed" | "optional-first" | "required-first")
10432
+
10433
+ groups?: (string | string[])[]
10434
+
10435
+ customGroups?: {
10436
+ [k: string]: (string | string[]) | undefined
10437
+ }
9909
10438
  }]
9910
10439
  // ----- perfectionist/sort-intersection-types -----
9911
10440
  type PerfectionistSortIntersectionTypes = []|[{
10441
+
9912
10442
  type?: ("alphabetical" | "natural" | "line-length")
10443
+
9913
10444
  order?: ("asc" | "desc")
9914
- "ignore-case"?: boolean
10445
+
10446
+ ignoreCase?: boolean
10447
+
10448
+ groups?: (string | string[])[]
9915
10449
  }]
9916
10450
  // ----- perfectionist/sort-jsx-props -----
9917
10451
  type PerfectionistSortJsxProps = []|[{
9918
- "custom-groups"?: {
9919
- [k: string]: unknown | undefined
9920
- }
10452
+
9921
10453
  type?: ("alphabetical" | "natural" | "line-length")
10454
+
9922
10455
  order?: ("asc" | "desc")
9923
- groups?: unknown[]
9924
- "ignore-case"?: boolean
10456
+
10457
+ ignoreCase?: boolean
10458
+
10459
+ ignorePattern?: string[]
10460
+
10461
+ groups?: (string | string[])[]
10462
+
10463
+ customGroups?: {
10464
+ [k: string]: (string | string[]) | undefined
10465
+ }
9925
10466
  }]
9926
10467
  // ----- perfectionist/sort-maps -----
9927
10468
  type PerfectionistSortMaps = []|[{
10469
+
9928
10470
  type?: ("alphabetical" | "natural" | "line-length")
10471
+
9929
10472
  order?: ("asc" | "desc")
9930
- "ignore-case"?: boolean
10473
+
10474
+ ignoreCase?: boolean
9931
10475
  }]
9932
10476
  // ----- perfectionist/sort-named-exports -----
9933
10477
  type PerfectionistSortNamedExports = []|[{
10478
+
9934
10479
  type?: ("alphabetical" | "natural" | "line-length")
10480
+
9935
10481
  order?: ("asc" | "desc")
9936
- "ignore-case"?: boolean
9937
- "group-kind"?: ("mixed" | "values-first" | "types-first")
10482
+
10483
+ ignoreCase?: boolean
10484
+
10485
+ groupKind?: ("mixed" | "values-first" | "types-first")
9938
10486
  }]
9939
10487
  // ----- perfectionist/sort-named-imports -----
9940
10488
  type PerfectionistSortNamedImports = []|[{
10489
+
9941
10490
  type?: ("alphabetical" | "natural" | "line-length")
10491
+
9942
10492
  order?: ("asc" | "desc")
9943
- "ignore-case"?: boolean
9944
- "ignore-alias"?: boolean
9945
- "group-kind"?: ("mixed" | "values-first" | "types-first")
10493
+
10494
+ ignoreCase?: boolean
10495
+
10496
+ ignoreAlias?: boolean
10497
+
10498
+ groupKind?: ("mixed" | "values-first" | "types-first")
9946
10499
  }]
9947
10500
  // ----- perfectionist/sort-object-types -----
9948
10501
  type PerfectionistSortObjectTypes = []|[{
9949
- "custom-groups"?: {
9950
- [k: string]: unknown | undefined
9951
- }
10502
+
9952
10503
  type?: ("alphabetical" | "natural" | "line-length")
10504
+
9953
10505
  order?: ("asc" | "desc")
9954
- "ignore-case"?: boolean
9955
- groups?: unknown[]
9956
- "partition-by-new-line"?: boolean
9957
- }]
9958
- // ----- perfectionist/sort-objects -----
9959
- type PerfectionistSortObjects = []|[{
9960
- "custom-groups"?: {
9961
- [k: string]: unknown | undefined
9962
- }
9963
- "partition-by-comment"?: (boolean | string | unknown[])
9964
- "partition-by-new-line"?: boolean
9965
- "styled-components"?: boolean
10506
+
10507
+ ignoreCase?: boolean
10508
+
10509
+ partitionByNewLine?: boolean
10510
+
10511
+ groupKind?: ("mixed" | "required-first" | "optional-first")
10512
+
10513
+ groups?: (string | string[])[]
10514
+
10515
+ customGroups?: {
10516
+ [k: string]: (string | string[]) | undefined
10517
+ }
10518
+ }]
10519
+ // ----- perfectionist/sort-objects -----
10520
+ type PerfectionistSortObjects = []|[{
10521
+
9966
10522
  type?: ("alphabetical" | "natural" | "line-length")
10523
+
9967
10524
  order?: ("asc" | "desc")
9968
- "ignore-case"?: boolean
9969
- "ignore-pattern"?: string[]
9970
- groups?: unknown[]
10525
+
10526
+ ignoreCase?: boolean
10527
+
10528
+ partitionByComment?: (string[] | boolean | string)
10529
+
10530
+ partitionByNewLine?: boolean
10531
+
10532
+ styledComponents?: boolean
10533
+
10534
+ destructureOnly?: boolean
10535
+
10536
+ ignorePattern?: string[]
10537
+
10538
+ groups?: (string | string[])[]
10539
+
10540
+ customGroups?: {
10541
+ [k: string]: (string | string[]) | undefined
10542
+ }
9971
10543
  }]
9972
10544
  // ----- perfectionist/sort-svelte-attributes -----
9973
10545
  type PerfectionistSortSvelteAttributes = []|[{
9974
- "custom-groups"?: {
9975
- [k: string]: unknown | undefined
10546
+
10547
+ type?: ("alphabetical" | "natural" | "line-length")
10548
+
10549
+ order?: ("asc" | "desc")
10550
+
10551
+ ignoreCase?: boolean
10552
+
10553
+ groups?: (string | string[])[]
10554
+
10555
+ customGroups?: {
10556
+ [k: string]: (string | string[]) | undefined
9976
10557
  }
10558
+ }]
10559
+ // ----- perfectionist/sort-switch-case -----
10560
+ type PerfectionistSortSwitchCase = []|[{
10561
+
9977
10562
  type?: ("alphabetical" | "natural" | "line-length")
10563
+
9978
10564
  order?: ("asc" | "desc")
9979
- "ignore-case"?: boolean
9980
- groups?: unknown[]
10565
+
10566
+ ignoreCase?: boolean
9981
10567
  }]
9982
10568
  // ----- perfectionist/sort-union-types -----
9983
10569
  type PerfectionistSortUnionTypes = []|[{
10570
+
10571
+ type?: ("alphabetical" | "natural" | "line-length")
10572
+
10573
+ order?: ("asc" | "desc")
10574
+
10575
+ ignoreCase?: boolean
10576
+
10577
+ groups?: (string | string[])[]
10578
+ }]
10579
+ // ----- perfectionist/sort-variable-declarations -----
10580
+ type PerfectionistSortVariableDeclarations = []|[{
10581
+
9984
10582
  type?: ("alphabetical" | "natural" | "line-length")
10583
+
9985
10584
  order?: ("asc" | "desc")
9986
- "ignore-case"?: boolean
9987
- "nullable-last"?: boolean
10585
+
10586
+ ignoreCase?: boolean
9988
10587
  }]
9989
10588
  // ----- perfectionist/sort-vue-attributes -----
9990
10589
  type PerfectionistSortVueAttributes = []|[{
9991
- "custom-groups"?: {
9992
- [k: string]: unknown | undefined
9993
- }
10590
+
9994
10591
  type?: ("alphabetical" | "natural" | "line-length")
10592
+
9995
10593
  order?: ("asc" | "desc")
9996
- "ignore-case"?: boolean
9997
- groups?: unknown[]
10594
+
10595
+ ignoreCase?: boolean
10596
+
10597
+ groups?: (string | string[])[]
10598
+
10599
+ customGroups?: {
10600
+ [k: string]: (string | string[]) | undefined
10601
+ }
9998
10602
  }]
9999
10603
  // ----- prefer-arrow-callback -----
10000
10604
  type PreferArrowCallback = []|[{
@@ -10066,6 +10670,9 @@ type ReactHooksExhaustiveDeps = []|[{
10066
10670
  }]
10067
10671
  // ----- react-naming-convention/component-name -----
10068
10672
  type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
10673
+ allowAllCaps?: boolean
10674
+ allowLeadingUnderscore?: boolean
10675
+ allowNamespace?: boolean
10069
10676
  excepts?: string[]
10070
10677
  rule?: ("PascalCase" | "CONSTANT_CASE")
10071
10678
  })]
@@ -10086,6 +10693,124 @@ type ReactRefreshOnlyExportComponents = []|[{
10086
10693
  checkJS?: boolean
10087
10694
  allowExportNames?: string[]
10088
10695
  }]
10696
+ // ----- regexp/hexadecimal-escape -----
10697
+ type RegexpHexadecimalEscape = []|[("always" | "never")]
10698
+ // ----- regexp/letter-case -----
10699
+ type RegexpLetterCase = []|[{
10700
+ caseInsensitive?: ("lowercase" | "uppercase" | "ignore")
10701
+ unicodeEscape?: ("lowercase" | "uppercase" | "ignore")
10702
+ hexadecimalEscape?: ("lowercase" | "uppercase" | "ignore")
10703
+ controlEscape?: ("lowercase" | "uppercase" | "ignore")
10704
+ }]
10705
+ // ----- regexp/match-any -----
10706
+ type RegexpMatchAny = []|[{
10707
+
10708
+ allows?: [("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"), ...(("[\\s\\S]" | "[\\S\\s]" | "[^]" | "dotAll"))[]]
10709
+ }]
10710
+ // ----- regexp/no-dupe-disjunctions -----
10711
+ type RegexpNoDupeDisjunctions = []|[{
10712
+ report?: ("all" | "trivial" | "interesting")
10713
+ reportExponentialBacktracking?: ("none" | "certain" | "potential")
10714
+ reportUnreachable?: ("certain" | "potential")
10715
+ }]
10716
+ // ----- regexp/no-lazy-ends -----
10717
+ type RegexpNoLazyEnds = []|[{
10718
+ ignorePartial?: boolean
10719
+ }]
10720
+ // ----- regexp/no-legacy-features -----
10721
+ type RegexpNoLegacyFeatures = []|[{
10722
+ staticProperties?: ("input" | "$_" | "lastMatch" | "$&" | "lastParen" | "$+" | "leftContext" | "$`" | "rightContext" | "$'" | "$1" | "$2" | "$3" | "$4" | "$5" | "$6" | "$7" | "$8" | "$9")[]
10723
+ prototypeMethods?: ("compile")[]
10724
+ }]
10725
+ // ----- regexp/no-misleading-capturing-group -----
10726
+ type RegexpNoMisleadingCapturingGroup = []|[{
10727
+ reportBacktrackingEnds?: boolean
10728
+ }]
10729
+ // ----- regexp/no-misleading-unicode-character -----
10730
+ type RegexpNoMisleadingUnicodeCharacter = []|[{
10731
+ fixable?: boolean
10732
+ }]
10733
+ // ----- regexp/no-missing-g-flag -----
10734
+ type RegexpNoMissingGFlag = []|[{
10735
+ strictTypes?: boolean
10736
+ }]
10737
+ // ----- regexp/no-obscure-range -----
10738
+ type RegexpNoObscureRange = []|[{
10739
+ allowed?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
10740
+ }]
10741
+ // ----- regexp/no-super-linear-backtracking -----
10742
+ type RegexpNoSuperLinearBacktracking = []|[{
10743
+ report?: ("certain" | "potential")
10744
+ }]
10745
+ // ----- regexp/no-super-linear-move -----
10746
+ type RegexpNoSuperLinearMove = []|[{
10747
+ report?: ("certain" | "potential")
10748
+ ignoreSticky?: boolean
10749
+ ignorePartial?: boolean
10750
+ }]
10751
+ // ----- regexp/no-unused-capturing-group -----
10752
+ type RegexpNoUnusedCapturingGroup = []|[{
10753
+ fixable?: boolean
10754
+ allowNamed?: boolean
10755
+ }]
10756
+ // ----- regexp/no-useless-character-class -----
10757
+ type RegexpNoUselessCharacterClass = []|[{
10758
+ ignores?: string[]
10759
+ }]
10760
+ // ----- regexp/no-useless-flag -----
10761
+ type RegexpNoUselessFlag = []|[{
10762
+ ignore?: ("i" | "m" | "s" | "g" | "y")[]
10763
+ strictTypes?: boolean
10764
+ }]
10765
+ // ----- regexp/no-useless-non-capturing-group -----
10766
+ type RegexpNoUselessNonCapturingGroup = []|[{
10767
+ allowTop?: (boolean | ("always" | "never" | "partial"))
10768
+ }]
10769
+ // ----- regexp/optimal-quantifier-concatenation -----
10770
+ type RegexpOptimalQuantifierConcatenation = []|[{
10771
+ capturingGroups?: ("ignore" | "report")
10772
+ }]
10773
+ // ----- regexp/prefer-character-class -----
10774
+ type RegexpPreferCharacterClass = []|[{
10775
+ minAlternatives?: number
10776
+ }]
10777
+ // ----- regexp/prefer-d -----
10778
+ type RegexpPreferD = []|[{
10779
+ insideCharacterClass?: ("ignore" | "range" | "d")
10780
+ }]
10781
+ // ----- regexp/prefer-lookaround -----
10782
+ type RegexpPreferLookaround = []|[{
10783
+ lookbehind?: boolean
10784
+ strictTypes?: boolean
10785
+ }]
10786
+ // ----- regexp/prefer-named-replacement -----
10787
+ type RegexpPreferNamedReplacement = []|[{
10788
+ strictTypes?: boolean
10789
+ }]
10790
+ // ----- regexp/prefer-range -----
10791
+ type RegexpPreferRange = []|[{
10792
+ target?: (("all" | "alphanumeric") | [("all" | "alphanumeric")] | [("alphanumeric" | string), ...(("alphanumeric" | string))[]])
10793
+ }]
10794
+ // ----- regexp/prefer-result-array-groups -----
10795
+ type RegexpPreferResultArrayGroups = []|[{
10796
+ strictTypes?: boolean
10797
+ }]
10798
+ // ----- regexp/sort-character-class-elements -----
10799
+ type RegexpSortCharacterClassElements = []|[{
10800
+ order?: ("\\s" | "\\w" | "\\d" | "\\p" | "*" | "\\q" | "[]")[]
10801
+ }]
10802
+ // ----- regexp/unicode-escape -----
10803
+ type RegexpUnicodeEscape = []|[("unicodeCodePointEscape" | "unicodeEscape")]
10804
+ // ----- regexp/unicode-property -----
10805
+ type RegexpUnicodeProperty = []|[{
10806
+ generalCategory?: ("always" | "never" | "ignore")
10807
+ key?: ("short" | "long" | "ignore")
10808
+ property?: (("short" | "long" | "ignore") | {
10809
+ binary?: ("short" | "long" | "ignore")
10810
+ generalCategory?: ("short" | "long" | "ignore")
10811
+ script?: ("short" | "long" | "ignore")
10812
+ })
10813
+ }]
10089
10814
  // ----- require-atomic-updates -----
10090
10815
  type RequireAtomicUpdates = []|[{
10091
10816
  allowProperties?: boolean
@@ -10243,6 +10968,7 @@ type StyleArrayElementNewline = []|[(_StyleArrayElementNewlineBasicConfig | {
10243
10968
  ArrayPattern?: _StyleArrayElementNewlineBasicConfig
10244
10969
  })]
10245
10970
  type _StyleArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
10971
+ consistent?: boolean
10246
10972
  multiline?: boolean
10247
10973
  minItems?: (number | null)
10248
10974
  })
@@ -10439,7 +11165,7 @@ type StyleJsxNewline = []|[{
10439
11165
  }]
10440
11166
  // ----- style/jsx-one-expression-per-line -----
10441
11167
  type StyleJsxOneExpressionPerLine = []|[{
10442
- allow?: ("none" | "literal" | "single-child" | "single-line")
11168
+ allow?: ("none" | "literal" | "single-child" | "single-line" | "non-jsx")
10443
11169
  }]
10444
11170
  // ----- style/jsx-pascal-case -----
10445
11171
  type StyleJsxPascalCase = []|[{
@@ -11072,6 +11798,16 @@ type StyleObjectCurlyNewline = []|[((("always" | "never") | {
11072
11798
  minProperties?: number
11073
11799
  consistent?: boolean
11074
11800
  })
11801
+ TSTypeLiteral?: (("always" | "never") | {
11802
+ multiline?: boolean
11803
+ minProperties?: number
11804
+ consistent?: boolean
11805
+ })
11806
+ TSInterfaceBody?: (("always" | "never") | {
11807
+ multiline?: boolean
11808
+ minProperties?: number
11809
+ consistent?: boolean
11810
+ })
11075
11811
  })]
11076
11812
  // ----- style/object-curly-spacing -----
11077
11813
  type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -11105,7 +11841,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
11105
11841
  }]
11106
11842
  // ----- style/padding-line-between-statements -----
11107
11843
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
11108
- 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"))[]])
11844
+ 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" | "ts-method" | "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" | "ts-method" | "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" | "ts-method" | "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"))[]])
11109
11845
  type StylePaddingLineBetweenStatements = {
11110
11846
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
11111
11847
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -11121,6 +11857,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
11121
11857
  type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
11122
11858
  avoidEscape?: boolean
11123
11859
  allowTemplateLiterals?: boolean
11860
+ ignoreStringLiterals?: boolean
11124
11861
  })]
11125
11862
  // ----- style/rest-spread-spacing -----
11126
11863
  type StyleRestSpreadSpacing = []|[("always" | "never")]
@@ -11417,6 +12154,7 @@ type TestNoLargeSnapshots = []|[{
11417
12154
  type TestNoOnlyTests = []|[{
11418
12155
  block?: string[]
11419
12156
  focus?: string[]
12157
+ functions?: string[]
11420
12158
  fix?: boolean
11421
12159
  }]
11422
12160
  // ----- test/no-restricted-matchers -----
@@ -11429,7 +12167,8 @@ type TestNoRestrictedViMethods = []|[{
11429
12167
  }]
11430
12168
  // ----- test/no-standalone-expect -----
11431
12169
  type TestNoStandaloneExpect = []|[{
11432
- additionalTestBlockFunctions?: string[]
12170
+ additionaltestblockfunctions?: string[]
12171
+ [k: string]: unknown | undefined
11433
12172
  }]
11434
12173
  // ----- test/prefer-expect-assertions -----
11435
12174
  type TestPreferExpectAssertions = []|[{
@@ -11617,26 +12356,6 @@ type TsBanTsComment = []|[{
11617
12356
  })
11618
12357
  minimumDescriptionLength?: number
11619
12358
  }]
11620
- // ----- ts/ban-types -----
11621
- type TsBanTypes = []|[{
11622
- types?: {
11623
- [k: string]: (null | false | true | string | {
11624
-
11625
- message?: string
11626
-
11627
- fixWith?: string
11628
-
11629
- suggest?: string[]
11630
- }) | undefined
11631
- }
11632
- extendDefaults?: boolean
11633
- }]
11634
- // ----- ts/block-spacing -----
11635
- type TsBlockSpacing = []|[("always" | "never")]
11636
- // ----- ts/brace-style -----
11637
- type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
11638
- allowSingleLine?: boolean
11639
- }]
11640
12359
  // ----- ts/class-literal-property-style -----
11641
12360
  type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
11642
12361
  // ----- ts/class-methods-use-this -----
@@ -11650,24 +12369,6 @@ type TsClassMethodsUseThis = []|[{
11650
12369
 
11651
12370
  ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
11652
12371
  }]
11653
- // ----- ts/comma-dangle -----
11654
- type TsCommaDangle = []|[(_TsCommaDangleValue | {
11655
- arrays?: _TsCommaDangleValueWithIgnore
11656
- objects?: _TsCommaDangleValueWithIgnore
11657
- imports?: _TsCommaDangleValueWithIgnore
11658
- exports?: _TsCommaDangleValueWithIgnore
11659
- functions?: _TsCommaDangleValueWithIgnore
11660
- enums?: _TsCommaDangleValueWithIgnore
11661
- generics?: _TsCommaDangleValueWithIgnore
11662
- tuples?: _TsCommaDangleValueWithIgnore
11663
- })]
11664
- type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
11665
- type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
11666
- // ----- ts/comma-spacing -----
11667
- type TsCommaSpacing = []|[{
11668
- before?: boolean
11669
- after?: boolean
11670
- }]
11671
12372
  // ----- ts/consistent-generic-constructors -----
11672
12373
  type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
11673
12374
  // ----- ts/consistent-indexed-object-style -----
@@ -11697,509 +12398,66 @@ type TsConsistentTypeImports = []|[{
11697
12398
  }]
11698
12399
  // ----- ts/dot-notation -----
11699
12400
  type TsDotNotation = []|[{
11700
- allowKeywords?: boolean
11701
- allowPattern?: string
11702
- allowPrivateClassPropertyAccess?: boolean
11703
- allowProtectedClassPropertyAccess?: boolean
11704
- allowIndexSignaturePropertyAccess?: boolean
11705
- }]
11706
- // ----- ts/explicit-function-return-type -----
11707
- type TsExplicitFunctionReturnType = []|[{
11708
-
11709
- allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
11710
-
11711
- allowExpressions?: boolean
11712
-
11713
- allowHigherOrderFunctions?: boolean
11714
-
11715
- allowTypedFunctionExpressions?: boolean
11716
-
11717
- allowDirectConstAssertionInArrowFunctions?: boolean
11718
-
11719
- allowFunctionsWithoutTypeParameters?: boolean
11720
-
11721
- allowedNames?: string[]
11722
-
11723
- allowIIFEs?: boolean
11724
- }]
11725
- // ----- ts/explicit-member-accessibility -----
11726
- type TsExplicitMemberAccessibility = []|[{
11727
- accessibility?: ("explicit" | "no-public" | "off")
11728
- overrides?: {
11729
- accessors?: ("explicit" | "no-public" | "off")
11730
- constructors?: ("explicit" | "no-public" | "off")
11731
- methods?: ("explicit" | "no-public" | "off")
11732
- properties?: ("explicit" | "no-public" | "off")
11733
- parameterProperties?: ("explicit" | "no-public" | "off")
11734
- }
11735
- ignoredMethodNames?: string[]
11736
- }]
11737
- // ----- ts/explicit-module-boundary-types -----
11738
- type TsExplicitModuleBoundaryTypes = []|[{
11739
-
11740
- allowArgumentsExplicitlyTypedAsAny?: boolean
11741
-
11742
- allowDirectConstAssertionInArrowFunctions?: boolean
11743
-
11744
- allowedNames?: string[]
11745
-
11746
- allowHigherOrderFunctions?: boolean
11747
-
11748
- allowTypedFunctionExpressions?: boolean
11749
- }]
11750
- // ----- ts/func-call-spacing -----
11751
- type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
11752
- allowNewlines?: boolean
11753
- }])
11754
- // ----- ts/indent -----
11755
- type TsIndent = []|[("tab" | number)]|[("tab" | number), {
11756
- SwitchCase?: number
11757
- VariableDeclarator?: ((number | ("first" | "off")) | {
11758
- var?: (number | ("first" | "off"))
11759
- let?: (number | ("first" | "off"))
11760
- const?: (number | ("first" | "off"))
11761
- })
11762
- outerIIFEBody?: (number | "off")
11763
- MemberExpression?: (number | "off")
11764
- FunctionDeclaration?: {
11765
- parameters?: (number | ("first" | "off"))
11766
- body?: number
11767
- }
11768
- FunctionExpression?: {
11769
- parameters?: (number | ("first" | "off"))
11770
- body?: number
11771
- }
11772
- StaticBlock?: {
11773
- body?: number
11774
- }
11775
- CallExpression?: {
11776
- arguments?: (number | ("first" | "off"))
11777
- }
11778
- ArrayExpression?: (number | ("first" | "off"))
11779
- ObjectExpression?: (number | ("first" | "off"))
11780
- ImportDeclaration?: (number | ("first" | "off"))
11781
- flatTernaryExpressions?: boolean
11782
- offsetTernaryExpressions?: boolean
11783
- ignoredNodes?: string[]
11784
- ignoreComments?: boolean
11785
- }]
11786
- // ----- ts/init-declarations -----
11787
- type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
11788
- ignoreForLoopInit?: boolean
11789
- }])
11790
- // ----- ts/key-spacing -----
11791
- type TsKeySpacing = []|[({
11792
- align?: (("colon" | "value") | {
11793
- mode?: ("strict" | "minimum")
11794
- on?: ("colon" | "value")
11795
- beforeColon?: boolean
11796
- afterColon?: boolean
11797
- })
11798
- mode?: ("strict" | "minimum")
11799
- beforeColon?: boolean
11800
- afterColon?: boolean
11801
- } | {
11802
- singleLine?: {
11803
- mode?: ("strict" | "minimum")
11804
- beforeColon?: boolean
11805
- afterColon?: boolean
11806
- }
11807
- multiLine?: {
11808
- align?: (("colon" | "value") | {
11809
- mode?: ("strict" | "minimum")
11810
- on?: ("colon" | "value")
11811
- beforeColon?: boolean
11812
- afterColon?: boolean
11813
- })
11814
- mode?: ("strict" | "minimum")
11815
- beforeColon?: boolean
11816
- afterColon?: boolean
11817
- }
11818
- } | {
11819
- singleLine?: {
11820
- mode?: ("strict" | "minimum")
11821
- beforeColon?: boolean
11822
- afterColon?: boolean
11823
- }
11824
- multiLine?: {
11825
- mode?: ("strict" | "minimum")
11826
- beforeColon?: boolean
11827
- afterColon?: boolean
11828
- }
11829
- align?: {
11830
- mode?: ("strict" | "minimum")
11831
- on?: ("colon" | "value")
11832
- beforeColon?: boolean
11833
- afterColon?: boolean
11834
- }
11835
- })]
11836
- // ----- ts/keyword-spacing -----
11837
- type TsKeywordSpacing = []|[{
11838
- before?: boolean
11839
- after?: boolean
11840
- overrides?: {
11841
- abstract?: {
11842
- before?: boolean
11843
- after?: boolean
11844
- }
11845
- as?: {
11846
- before?: boolean
11847
- after?: boolean
11848
- }
11849
- async?: {
11850
- before?: boolean
11851
- after?: boolean
11852
- }
11853
- await?: {
11854
- before?: boolean
11855
- after?: boolean
11856
- }
11857
- boolean?: {
11858
- before?: boolean
11859
- after?: boolean
11860
- }
11861
- break?: {
11862
- before?: boolean
11863
- after?: boolean
11864
- }
11865
- byte?: {
11866
- before?: boolean
11867
- after?: boolean
11868
- }
11869
- case?: {
11870
- before?: boolean
11871
- after?: boolean
11872
- }
11873
- catch?: {
11874
- before?: boolean
11875
- after?: boolean
11876
- }
11877
- char?: {
11878
- before?: boolean
11879
- after?: boolean
11880
- }
11881
- class?: {
11882
- before?: boolean
11883
- after?: boolean
11884
- }
11885
- const?: {
11886
- before?: boolean
11887
- after?: boolean
11888
- }
11889
- continue?: {
11890
- before?: boolean
11891
- after?: boolean
11892
- }
11893
- debugger?: {
11894
- before?: boolean
11895
- after?: boolean
11896
- }
11897
- default?: {
11898
- before?: boolean
11899
- after?: boolean
11900
- }
11901
- delete?: {
11902
- before?: boolean
11903
- after?: boolean
11904
- }
11905
- do?: {
11906
- before?: boolean
11907
- after?: boolean
11908
- }
11909
- double?: {
11910
- before?: boolean
11911
- after?: boolean
11912
- }
11913
- else?: {
11914
- before?: boolean
11915
- after?: boolean
11916
- }
11917
- enum?: {
11918
- before?: boolean
11919
- after?: boolean
11920
- }
11921
- export?: {
11922
- before?: boolean
11923
- after?: boolean
11924
- }
11925
- extends?: {
11926
- before?: boolean
11927
- after?: boolean
11928
- }
11929
- false?: {
11930
- before?: boolean
11931
- after?: boolean
11932
- }
11933
- final?: {
11934
- before?: boolean
11935
- after?: boolean
11936
- }
11937
- finally?: {
11938
- before?: boolean
11939
- after?: boolean
11940
- }
11941
- float?: {
11942
- before?: boolean
11943
- after?: boolean
11944
- }
11945
- for?: {
11946
- before?: boolean
11947
- after?: boolean
11948
- }
11949
- from?: {
11950
- before?: boolean
11951
- after?: boolean
11952
- }
11953
- function?: {
11954
- before?: boolean
11955
- after?: boolean
11956
- }
11957
- get?: {
11958
- before?: boolean
11959
- after?: boolean
11960
- }
11961
- goto?: {
11962
- before?: boolean
11963
- after?: boolean
11964
- }
11965
- if?: {
11966
- before?: boolean
11967
- after?: boolean
11968
- }
11969
- implements?: {
11970
- before?: boolean
11971
- after?: boolean
11972
- }
11973
- import?: {
11974
- before?: boolean
11975
- after?: boolean
11976
- }
11977
- in?: {
11978
- before?: boolean
11979
- after?: boolean
11980
- }
11981
- instanceof?: {
11982
- before?: boolean
11983
- after?: boolean
11984
- }
11985
- int?: {
11986
- before?: boolean
11987
- after?: boolean
11988
- }
11989
- interface?: {
11990
- before?: boolean
11991
- after?: boolean
11992
- }
11993
- let?: {
11994
- before?: boolean
11995
- after?: boolean
11996
- }
11997
- long?: {
11998
- before?: boolean
11999
- after?: boolean
12000
- }
12001
- native?: {
12002
- before?: boolean
12003
- after?: boolean
12004
- }
12005
- new?: {
12006
- before?: boolean
12007
- after?: boolean
12008
- }
12009
- null?: {
12010
- before?: boolean
12011
- after?: boolean
12012
- }
12013
- of?: {
12014
- before?: boolean
12015
- after?: boolean
12016
- }
12017
- package?: {
12018
- before?: boolean
12019
- after?: boolean
12020
- }
12021
- private?: {
12022
- before?: boolean
12023
- after?: boolean
12024
- }
12025
- protected?: {
12026
- before?: boolean
12027
- after?: boolean
12028
- }
12029
- public?: {
12030
- before?: boolean
12031
- after?: boolean
12032
- }
12033
- return?: {
12034
- before?: boolean
12035
- after?: boolean
12036
- }
12037
- set?: {
12038
- before?: boolean
12039
- after?: boolean
12040
- }
12041
- short?: {
12042
- before?: boolean
12043
- after?: boolean
12044
- }
12045
- static?: {
12046
- before?: boolean
12047
- after?: boolean
12048
- }
12049
- super?: {
12050
- before?: boolean
12051
- after?: boolean
12052
- }
12053
- switch?: {
12054
- before?: boolean
12055
- after?: boolean
12056
- }
12057
- synchronized?: {
12058
- before?: boolean
12059
- after?: boolean
12060
- }
12061
- this?: {
12062
- before?: boolean
12063
- after?: boolean
12064
- }
12065
- throw?: {
12066
- before?: boolean
12067
- after?: boolean
12068
- }
12069
- throws?: {
12070
- before?: boolean
12071
- after?: boolean
12072
- }
12073
- transient?: {
12074
- before?: boolean
12075
- after?: boolean
12076
- }
12077
- true?: {
12078
- before?: boolean
12079
- after?: boolean
12080
- }
12081
- try?: {
12082
- before?: boolean
12083
- after?: boolean
12084
- }
12085
- typeof?: {
12086
- before?: boolean
12087
- after?: boolean
12088
- }
12089
- var?: {
12090
- before?: boolean
12091
- after?: boolean
12092
- }
12093
- void?: {
12094
- before?: boolean
12095
- after?: boolean
12096
- }
12097
- volatile?: {
12098
- before?: boolean
12099
- after?: boolean
12100
- }
12101
- while?: {
12102
- before?: boolean
12103
- after?: boolean
12104
- }
12105
- with?: {
12106
- before?: boolean
12107
- after?: boolean
12108
- }
12109
- yield?: {
12110
- before?: boolean
12111
- after?: boolean
12112
- }
12113
- type?: {
12114
- before?: boolean
12115
- after?: boolean
12116
- }
12117
- }
12401
+ allowKeywords?: boolean
12402
+ allowPattern?: string
12403
+ allowPrivateClassPropertyAccess?: boolean
12404
+ allowProtectedClassPropertyAccess?: boolean
12405
+ allowIndexSignaturePropertyAccess?: boolean
12118
12406
  }]
12119
- // ----- ts/lines-around-comment -----
12120
- type TsLinesAroundComment = []|[{
12121
- beforeBlockComment?: boolean
12122
- afterBlockComment?: boolean
12123
- beforeLineComment?: boolean
12124
- afterLineComment?: boolean
12125
- allowBlockStart?: boolean
12126
- allowBlockEnd?: boolean
12127
- allowClassStart?: boolean
12128
- allowClassEnd?: boolean
12129
- allowObjectStart?: boolean
12130
- allowObjectEnd?: boolean
12131
- allowArrayStart?: boolean
12132
- allowArrayEnd?: boolean
12133
- allowInterfaceStart?: boolean
12134
- allowInterfaceEnd?: boolean
12135
- allowTypeStart?: boolean
12136
- allowTypeEnd?: boolean
12137
- allowEnumStart?: boolean
12138
- allowEnumEnd?: boolean
12139
- allowModuleStart?: boolean
12140
- allowModuleEnd?: boolean
12141
- ignorePattern?: string
12142
- applyDefaultIgnorePatterns?: boolean
12407
+ // ----- ts/explicit-function-return-type -----
12408
+ type TsExplicitFunctionReturnType = []|[{
12409
+
12410
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
12411
+
12412
+ allowExpressions?: boolean
12413
+
12414
+ allowHigherOrderFunctions?: boolean
12415
+
12416
+ allowTypedFunctionExpressions?: boolean
12417
+
12418
+ allowDirectConstAssertionInArrowFunctions?: boolean
12419
+
12420
+ allowFunctionsWithoutTypeParameters?: boolean
12421
+
12422
+ allowedNames?: string[]
12423
+
12424
+ allowIIFEs?: boolean
12425
+ }]
12426
+ // ----- ts/explicit-member-accessibility -----
12427
+ type TsExplicitMemberAccessibility = []|[{
12428
+ accessibility?: ("explicit" | "no-public" | "off")
12429
+ overrides?: {
12430
+ accessors?: ("explicit" | "no-public" | "off")
12431
+ constructors?: ("explicit" | "no-public" | "off")
12432
+ methods?: ("explicit" | "no-public" | "off")
12433
+ properties?: ("explicit" | "no-public" | "off")
12434
+ parameterProperties?: ("explicit" | "no-public" | "off")
12435
+ }
12436
+ ignoredMethodNames?: string[]
12143
12437
  }]
12144
- // ----- ts/lines-between-class-members -----
12145
- type TsLinesBetweenClassMembers = []|[({
12438
+ // ----- ts/explicit-module-boundary-types -----
12439
+ type TsExplicitModuleBoundaryTypes = []|[{
12146
12440
 
12147
- enforce: [{
12148
- blankLine: ("always" | "never")
12149
- prev: ("method" | "field" | "*")
12150
- next: ("method" | "field" | "*")
12151
- }, ...({
12152
- blankLine: ("always" | "never")
12153
- prev: ("method" | "field" | "*")
12154
- next: ("method" | "field" | "*")
12155
- })[]]
12156
- } | ("always" | "never"))]|[({
12441
+ allowArgumentsExplicitlyTypedAsAny?: boolean
12157
12442
 
12158
- enforce: [{
12159
- blankLine: ("always" | "never")
12160
- prev: ("method" | "field" | "*")
12161
- next: ("method" | "field" | "*")
12162
- }, ...({
12163
- blankLine: ("always" | "never")
12164
- prev: ("method" | "field" | "*")
12165
- next: ("method" | "field" | "*")
12166
- })[]]
12167
- } | ("always" | "never")), {
12168
- exceptAfterSingleLine?: boolean
12169
- exceptAfterOverload?: boolean
12443
+ allowDirectConstAssertionInArrowFunctions?: boolean
12444
+
12445
+ allowedNames?: string[]
12446
+
12447
+ allowHigherOrderFunctions?: boolean
12448
+
12449
+ allowTypedFunctionExpressions?: boolean
12170
12450
  }]
12451
+ // ----- ts/init-declarations -----
12452
+ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
12453
+ ignoreForLoopInit?: boolean
12454
+ }])
12171
12455
  // ----- ts/max-params -----
12172
12456
  type TsMaxParams = []|[{
12173
12457
  maximum?: number
12174
12458
  max?: number
12175
12459
  countVoidThis?: boolean
12176
12460
  }]
12177
- // ----- ts/member-delimiter-style -----
12178
- type TsMemberDelimiterStyle = []|[{
12179
- multiline?: {
12180
- delimiter?: ("none" | "semi" | "comma")
12181
- requireLast?: boolean
12182
- }
12183
- singleline?: {
12184
- delimiter?: ("semi" | "comma")
12185
- requireLast?: boolean
12186
- }
12187
- overrides?: {
12188
- interface?: _TsMemberDelimiterStyle_DelimiterConfig
12189
- typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
12190
- }
12191
- multilineDetection?: ("brackets" | "last-member")
12192
- }]
12193
- interface _TsMemberDelimiterStyle_DelimiterConfig {
12194
- multiline?: {
12195
- delimiter?: ("none" | "semi" | "comma")
12196
- requireLast?: boolean
12197
- }
12198
- singleline?: {
12199
- delimiter?: ("semi" | "comma")
12200
- requireLast?: boolean
12201
- }
12202
- }
12203
12461
  // ----- ts/member-ordering -----
12204
12462
  type TsMemberOrdering = []|[{
12205
12463
  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")[])[] | {
@@ -12571,6 +12829,12 @@ type TsNoEmptyFunction = []|[{
12571
12829
  type TsNoEmptyInterface = []|[{
12572
12830
  allowSingleExtends?: boolean
12573
12831
  }]
12832
+ // ----- ts/no-empty-object-type -----
12833
+ type TsNoEmptyObjectType = []|[{
12834
+ allowInterfaces?: ("always" | "never" | "with-single-extends")
12835
+ allowObjectTypes?: ("always" | "never")
12836
+ allowWithName?: string
12837
+ }]
12574
12838
  // ----- ts/no-explicit-any -----
12575
12839
  type TsNoExplicitAny = []|[{
12576
12840
 
@@ -12578,19 +12842,6 @@ type TsNoExplicitAny = []|[{
12578
12842
 
12579
12843
  ignoreRestArgs?: boolean
12580
12844
  }]
12581
- // ----- ts/no-extra-parens -----
12582
- type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
12583
- conditionalAssign?: boolean
12584
- ternaryOperandBinaryExpressions?: boolean
12585
- nestedBinaryExpressions?: boolean
12586
- returnAssign?: boolean
12587
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
12588
- enforceForArrowConditionals?: boolean
12589
- enforceForSequenceExpressions?: boolean
12590
- enforceForNewInMemberExpressions?: boolean
12591
- enforceForFunctionPrototypeMethods?: boolean
12592
- allowParensAfterCommentPattern?: string
12593
- }])
12594
12845
  // ----- ts/no-extraneous-class -----
12595
12846
  type TsNoExtraneousClass = []|[{
12596
12847
 
@@ -12604,6 +12855,32 @@ type TsNoExtraneousClass = []|[{
12604
12855
  }]
12605
12856
  // ----- ts/no-floating-promises -----
12606
12857
  type TsNoFloatingPromises = []|[{
12858
+ allowForKnownSafePromises?: (string | {
12859
+ from: "file"
12860
+ name: (string | [string, ...(string)[]])
12861
+ path?: string
12862
+ } | {
12863
+ from: "lib"
12864
+ name: (string | [string, ...(string)[]])
12865
+ } | {
12866
+ from: "package"
12867
+ name: (string | [string, ...(string)[]])
12868
+ package: string
12869
+ })[]
12870
+ allowForKnownSafeCalls?: (string | {
12871
+ from: "file"
12872
+ name: (string | [string, ...(string)[]])
12873
+ path?: string
12874
+ } | {
12875
+ from: "lib"
12876
+ name: (string | [string, ...(string)[]])
12877
+ } | {
12878
+ from: "package"
12879
+ name: (string | [string, ...(string)[]])
12880
+ package: string
12881
+ })[]
12882
+
12883
+ checkThenables?: boolean
12607
12884
 
12608
12885
  ignoreVoid?: boolean
12609
12886
 
@@ -12646,6 +12923,7 @@ type TsNoMisusedPromises = []|[{
12646
12923
  checksVoidReturn?: (boolean | {
12647
12924
  arguments?: boolean
12648
12925
  attributes?: boolean
12926
+ inheritedMethods?: boolean
12649
12927
  properties?: boolean
12650
12928
  returns?: boolean
12651
12929
  variables?: boolean
@@ -12668,6 +12946,8 @@ type TsNoRedeclare = []|[{
12668
12946
  type TsNoRequireImports = []|[{
12669
12947
 
12670
12948
  allow?: string[]
12949
+
12950
+ allowAsImport?: boolean
12671
12951
  }]
12672
12952
  // ----- ts/no-restricted-imports -----
12673
12953
  type TsNoRestrictedImports = ((string | {
@@ -12692,7 +12972,8 @@ type TsNoRestrictedImports = ((string | {
12692
12972
 
12693
12973
  allowImportNames?: [string, ...(string)[]]
12694
12974
 
12695
- group: [string, ...(string)[]]
12975
+ group?: [string, ...(string)[]]
12976
+ regex?: string
12696
12977
  importNamePattern?: string
12697
12978
  allowImportNamePattern?: string
12698
12979
  message?: string
@@ -12701,6 +12982,19 @@ type TsNoRestrictedImports = ((string | {
12701
12982
  allowTypeImports?: boolean
12702
12983
  }[])
12703
12984
  }])
12985
+ // ----- ts/no-restricted-types -----
12986
+ type TsNoRestrictedTypes = []|[{
12987
+ types?: {
12988
+ [k: string]: (true | string | {
12989
+
12990
+ message?: string
12991
+
12992
+ fixWith?: string
12993
+
12994
+ suggest?: string[]
12995
+ }) | undefined
12996
+ }
12997
+ }]
12704
12998
  // ----- ts/no-shadow -----
12705
12999
  type TsNoShadow = []|[{
12706
13000
  builtinGlobals?: boolean
@@ -12717,11 +13011,6 @@ type TsNoThisAlias = []|[{
12717
13011
 
12718
13012
  allowedNames?: string[]
12719
13013
  }]
12720
- // ----- ts/no-throw-literal -----
12721
- type TsNoThrowLiteral = []|[{
12722
- allowThrowingAny?: boolean
12723
- allowThrowingUnknown?: boolean
12724
- }]
12725
13014
  // ----- ts/no-type-alias -----
12726
13015
  type TsNoTypeAlias = []|[{
12727
13016
 
@@ -12777,6 +13066,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
12777
13066
  caughtErrors?: ("all" | "none")
12778
13067
  caughtErrorsIgnorePattern?: string
12779
13068
  destructuredArrayIgnorePattern?: string
13069
+ ignoreClassWithStaticInitBlock?: boolean
13070
+ reportUsedIgnorePattern?: boolean
12780
13071
  })]
12781
13072
  // ----- ts/no-use-before-define -----
12782
13073
  type TsNoUseBeforeDefine = []|[("nofunc" | {
@@ -12793,24 +13084,11 @@ type TsNoVarRequires = []|[{
12793
13084
 
12794
13085
  allow?: string[]
12795
13086
  }]
12796
- // ----- ts/object-curly-spacing -----
12797
- type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
12798
- arraysInObjects?: boolean
12799
- objectsInObjects?: boolean
12800
- }]
12801
13087
  // ----- ts/only-throw-error -----
12802
13088
  type TsOnlyThrowError = []|[{
12803
13089
  allowThrowingAny?: boolean
12804
13090
  allowThrowingUnknown?: boolean
12805
13091
  }]
12806
- // ----- ts/padding-line-between-statements -----
12807
- type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
12808
- 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"))[]])
12809
- type TsPaddingLineBetweenStatements = {
12810
- blankLine: _TsPaddingLineBetweenStatementsPaddingType
12811
- prev: _TsPaddingLineBetweenStatementsStatementType
12812
- next: _TsPaddingLineBetweenStatementsStatementType
12813
- }[]
12814
13092
  // ----- ts/parameter-properties -----
12815
13093
  type TsParameterProperties = []|[{
12816
13094
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
@@ -12925,11 +13203,6 @@ type TsPromiseFunctionAsync = []|[{
12925
13203
  checkFunctionExpressions?: boolean
12926
13204
  checkMethodDeclarations?: boolean
12927
13205
  }]
12928
- // ----- ts/quotes -----
12929
- type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
12930
- avoidEscape?: boolean
12931
- allowTemplateLiterals?: boolean
12932
- })]
12933
13206
  // ----- ts/require-array-sort-compare -----
12934
13207
  type TsRequireArraySortCompare = []|[{
12935
13208
 
@@ -12968,14 +13241,7 @@ type TsRestrictTemplateExpressions = []|[{
12968
13241
  allowNever?: boolean
12969
13242
  }]
12970
13243
  // ----- ts/return-await -----
12971
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
12972
- // ----- ts/semi -----
12973
- type TsSemi = ([]|["never"]|["never", {
12974
- beforeStatementContinuationChars?: ("always" | "any" | "never")
12975
- }] | []|["always"]|["always", {
12976
- omitLastInOneLineBlock?: boolean
12977
- omitLastInOneLineClassBody?: boolean
12978
- }])
13244
+ type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
12979
13245
  // ----- ts/sort-type-constituents -----
12980
13246
  type TsSortTypeConstituents = []|[{
12981
13247
 
@@ -12983,24 +13249,10 @@ type TsSortTypeConstituents = []|[{
12983
13249
 
12984
13250
  checkUnions?: boolean
12985
13251
 
13252
+ caseSensitive?: boolean
13253
+
12986
13254
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
12987
13255
  }]
12988
- // ----- ts/space-before-blocks -----
12989
- type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
12990
- keywords?: ("always" | "never" | "off")
12991
- functions?: ("always" | "never" | "off")
12992
- classes?: ("always" | "never" | "off")
12993
- })]
12994
- // ----- ts/space-before-function-paren -----
12995
- type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
12996
- anonymous?: ("always" | "never" | "ignore")
12997
- named?: ("always" | "never" | "ignore")
12998
- asyncArrow?: ("always" | "never" | "ignore")
12999
- })]
13000
- // ----- ts/space-infix-ops -----
13001
- type TsSpaceInfixOps = []|[{
13002
- int32Hint?: boolean
13003
- }]
13004
13256
  // ----- ts/strict-boolean-expressions -----
13005
13257
  type TsStrictBooleanExpressions = []|[{
13006
13258
  allowString?: boolean
@@ -13026,23 +13278,6 @@ type TsTripleSlashReference = []|[{
13026
13278
  path?: ("always" | "never")
13027
13279
  types?: ("always" | "never" | "prefer-import")
13028
13280
  }]
13029
- // ----- ts/type-annotation-spacing -----
13030
- type TsTypeAnnotationSpacing = []|[{
13031
- before?: boolean
13032
- after?: boolean
13033
- overrides?: {
13034
- colon?: _TsTypeAnnotationSpacing_SpacingConfig
13035
- arrow?: _TsTypeAnnotationSpacing_SpacingConfig
13036
- variable?: _TsTypeAnnotationSpacing_SpacingConfig
13037
- parameter?: _TsTypeAnnotationSpacing_SpacingConfig
13038
- property?: _TsTypeAnnotationSpacing_SpacingConfig
13039
- returnType?: _TsTypeAnnotationSpacing_SpacingConfig
13040
- }
13041
- }]
13042
- interface _TsTypeAnnotationSpacing_SpacingConfig {
13043
- before?: boolean
13044
- after?: boolean
13045
- }
13046
13281
  // ----- ts/typedef -----
13047
13282
  type TsTypedef = []|[{
13048
13283
  arrayDestructuring?: boolean
@@ -13204,11 +13439,16 @@ type UnicornPreferExportFrom = []|[{
13204
13439
  // ----- unicorn/prefer-number-properties -----
13205
13440
  type UnicornPreferNumberProperties = []|[{
13206
13441
  checkInfinity?: boolean
13442
+ checkNaN?: boolean
13207
13443
  }]
13208
13444
  // ----- unicorn/prefer-object-from-entries -----
13209
13445
  type UnicornPreferObjectFromEntries = []|[{
13210
13446
  functions?: unknown[]
13211
13447
  }]
13448
+ // ----- unicorn/prefer-structured-clone -----
13449
+ type UnicornPreferStructuredClone = []|[{
13450
+ functions?: unknown[]
13451
+ }]
13212
13452
  // ----- unicorn/prefer-switch -----
13213
13453
  type UnicornPreferSwitch = []|[{
13214
13454
  minimumCases?: number
@@ -13274,17 +13514,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
13274
13514
  caughtErrors?: ("all" | "none")
13275
13515
  caughtErrorsIgnorePattern?: string
13276
13516
  destructuredArrayIgnorePattern?: string
13277
- })]
13278
- // ----- unused-imports/no-unused-imports-ts -----
13279
- type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
13280
- vars?: ("all" | "local")
13281
- varsIgnorePattern?: string
13282
- args?: ("all" | "after-used" | "none")
13283
- ignoreRestSiblings?: boolean
13284
- argsIgnorePattern?: string
13285
- caughtErrors?: ("all" | "none")
13286
- caughtErrorsIgnorePattern?: string
13287
- destructuredArrayIgnorePattern?: string
13517
+ ignoreClassWithStaticInitBlock?: boolean
13518
+ reportUsedIgnorePattern?: boolean
13288
13519
  })]
13289
13520
  // ----- unused-imports/no-unused-vars -----
13290
13521
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
@@ -13296,17 +13527,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
13296
13527
  caughtErrors?: ("all" | "none")
13297
13528
  caughtErrorsIgnorePattern?: string
13298
13529
  destructuredArrayIgnorePattern?: string
13299
- })]
13300
- // ----- unused-imports/no-unused-vars-ts -----
13301
- type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
13302
- vars?: ("all" | "local")
13303
- varsIgnorePattern?: string
13304
- args?: ("all" | "after-used" | "none")
13305
- ignoreRestSiblings?: boolean
13306
- argsIgnorePattern?: string
13307
- caughtErrors?: ("all" | "none")
13308
- caughtErrorsIgnorePattern?: string
13309
- destructuredArrayIgnorePattern?: string
13530
+ ignoreClassWithStaticInitBlock?: boolean
13531
+ reportUsedIgnorePattern?: boolean
13310
13532
  })]
13311
13533
  // ----- use-isnan -----
13312
13534
  type UseIsnan = []|[{
@@ -13334,6 +13556,7 @@ type VueArrayElementNewline = []|[(_VueArrayElementNewlineBasicConfig | {
13334
13556
  ArrayPattern?: _VueArrayElementNewlineBasicConfig
13335
13557
  })]
13336
13558
  type _VueArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
13559
+ consistent?: boolean
13337
13560
  multiline?: boolean
13338
13561
  minItems?: (number | null)
13339
13562
  })
@@ -14308,6 +14531,16 @@ type VueObjectCurlyNewline = []|[((("always" | "never") | {
14308
14531
  minProperties?: number
14309
14532
  consistent?: boolean
14310
14533
  })
14534
+ TSTypeLiteral?: (("always" | "never") | {
14535
+ multiline?: boolean
14536
+ minProperties?: number
14537
+ consistent?: boolean
14538
+ })
14539
+ TSInterfaceBody?: (("always" | "never") | {
14540
+ multiline?: boolean
14541
+ minProperties?: number
14542
+ consistent?: boolean
14543
+ })
14311
14544
  })]
14312
14545
  // ----- vue/object-curly-spacing -----
14313
14546
  type VueObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
@@ -14695,12 +14928,12 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
14695
14928
  onlyEquality?: boolean
14696
14929
  }]
14697
14930
  // Names of all the configs
14698
- type ConfigNames = 'kirklin/astro/setup' | 'kirklin/astro/rules' | 'kirklin/eslint-comments/rules' | 'kirklin/formatter/setup' | 'kirklin/imports/rules' | 'kirklin/imports/disables/bin' | 'kirklin/javascript/rules' | 'kirklin/javascript/disables/cli' | 'kirklin/jsdoc/rules' | 'kirklin/jsonc/setup' | 'kirklin/jsonc/rules' | 'kirklin/markdown/setup' | 'kirklin/markdown/processor' | 'kirklin/markdown/parser' | 'kirklin/markdown/disables' | 'kirklin/node/rules' | 'kirklin/perfectionist/setup' | 'kirklin/react/setup' | 'kirklin/react/rules' | 'kirklin/solid/setup' | 'kirklin/solid/rules' | 'kirklin/sort/package-json' | 'kirklin/stylistic/rules' | 'kirklin/svelte/setup' | 'kirklin/svelte/rules' | 'kirklin/test/setup' | 'kirklin/test/rules' | 'kirklin/toml/setup' | 'kirklin/toml/rules' | 'kirklin/typescript/setup' | 'kirklin/typescript/parser' | 'kirklin/typescript/rules' | 'kirklin/typescript/disables/dts' | 'kirklin/typescript/disables/test' | 'kirklin/typescript/disables/cjs' | 'kirklin/unicorn/rules' | 'kirklin/unocss' | 'kirklin/vue/setup' | 'kirklin/vue/rules' | 'kirklin/yaml/setup' | 'kirklin/yaml/rules'
14931
+ type ConfigNames = 'kirklin/astro/setup' | 'kirklin/astro/rules' | 'kirklin/eslint-comments/rules' | 'kirklin/formatter/setup' | 'kirklin/imports/rules' | 'kirklin/imports/disables/bin' | 'kirklin/javascript/setup' | 'kirklin/javascript/rules' | 'kirklin/javascript/disables/cli' | 'kirklin/jsx/setup' | 'kirklin/jsdoc/rules' | 'kirklin/jsonc/setup' | 'kirklin/jsonc/rules' | 'kirklin/markdown/setup' | 'kirklin/markdown/processor' | 'kirklin/markdown/parser' | 'kirklin/markdown/disables' | 'kirklin/node/rules' | 'kirklin/perfectionist/setup' | 'kirklin/react/setup' | 'kirklin/react/rules' | 'kirklin/solid/setup' | 'kirklin/solid/rules' | 'kirklin/sort/package-json' | 'kirklin/stylistic/rules' | 'kirklin/svelte/setup' | 'kirklin/svelte/rules' | 'kirklin/test/setup' | 'kirklin/test/rules' | 'kirklin/toml/setup' | 'kirklin/toml/rules' | 'kirklin/regexp/rules' | 'kirklin/typescript/setup' | 'kirklin/typescript/parser' | 'kirklin/typescript/rules' | 'kirklin/typescript/disables/dts' | 'kirklin/typescript/disables/test' | 'kirklin/typescript/disables/cjs' | 'kirklin/unicorn/rules' | 'kirklin/unocss' | 'kirklin/vue/setup' | 'kirklin/vue/rules' | 'kirklin/yaml/setup' | 'kirklin/yaml/rules'
14699
14932
 
14700
14933
  type Awaitable<T> = T | Promise<T>;
14701
14934
  type Rules = RuleOptions;
14702
14935
 
14703
- type TypedFlatConfigItem = Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, "plugins"> & {
14936
+ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
14704
14937
  /**
14705
14938
  * An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
14706
14939
  *
@@ -14743,6 +14976,18 @@ interface OptionsFormatters {
14743
14976
  * Currently only support Prettier.
14744
14977
  */
14745
14978
  html?: "prettier" | boolean;
14979
+ /**
14980
+ * Enable formatting support for XML.
14981
+ *
14982
+ * Currently only support Prettier.
14983
+ */
14984
+ xml?: "prettier" | boolean;
14985
+ /**
14986
+ * Enable formatting support for SVG.
14987
+ *
14988
+ * Currently only support Prettier.
14989
+ */
14990
+ svg?: "prettier" | boolean;
14746
14991
  /**
14747
14992
  * Enable formatting support for Markdown.
14748
14993
  *
@@ -14801,13 +15046,22 @@ interface OptionsTypeScriptParserOptions {
14801
15046
  * @default ['**\/*.{ts,tsx}']
14802
15047
  */
14803
15048
  filesTypeAware?: string[];
15049
+ /**
15050
+ * Glob patterns for files that should not be type aware.
15051
+ * @default ['**\/*.md\/**', '**\/*.astro/*.ts']
15052
+ */
15053
+ ignoresTypeAware?: string[];
14804
15054
  }
14805
15055
  interface OptionsTypeScriptWithTypes {
14806
15056
  /**
14807
15057
  * When this options is provided, type aware rules will be enabled.
14808
15058
  * @see https://typescript-eslint.io/linting/typed-linting/
14809
15059
  */
14810
- tsconfigPath?: string | string[];
15060
+ tsconfigPath?: string;
15061
+ /**
15062
+ * Override type aware rules.
15063
+ */
15064
+ overridesTypeAware?: TypedFlatConfigItem["rules"];
14811
15065
  }
14812
15066
  interface OptionsHasTypeScript {
14813
15067
  typescript?: boolean;
@@ -14820,6 +15074,20 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, "indent" | "qu
14820
15074
  interface OptionsOverrides {
14821
15075
  overrides?: TypedFlatConfigItem["rules"];
14822
15076
  }
15077
+ interface OptionsProjectType {
15078
+ /**
15079
+ * Type of the project. `lib` will enable more strict rules for libraries.
15080
+ *
15081
+ * @default 'app'
15082
+ */
15083
+ type?: "app" | "lib";
15084
+ }
15085
+ interface OptionsRegExp {
15086
+ /**
15087
+ * Override rulelevels
15088
+ */
15089
+ level?: "error" | "warn";
15090
+ }
14823
15091
  interface OptionsIsInEditor {
14824
15092
  isInEditor?: boolean;
14825
15093
  }
@@ -14835,7 +15103,7 @@ interface OptionsUnoCSS extends OptionsOverrides {
14835
15103
  */
14836
15104
  strict?: boolean;
14837
15105
  }
14838
- interface OptionsConfig extends OptionsComponentExts {
15106
+ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
14839
15107
  /**
14840
15108
  * Enable gitignore support.
14841
15109
  *
@@ -14928,9 +15196,17 @@ interface OptionsConfig extends OptionsComponentExts {
14928
15196
  /**
14929
15197
  * Enable stylistic rules.
14930
15198
  *
15199
+ * @see https://eslint.style/
14931
15200
  * @default true
14932
15201
  */
14933
15202
  stylistic?: boolean | (StylisticConfig & OptionsOverrides);
15203
+ /**
15204
+ * Enable regexp rules.
15205
+ *
15206
+ * @see https://ota-meshi.github.io/eslint-plugin-regexp/
15207
+ * @default true
15208
+ */
15209
+ regexp?: boolean | (OptionsRegExp & OptionsOverrides);
14934
15210
  /**
14935
15211
  * Enable react rules.
14936
15212
  *
@@ -15033,10 +15309,10 @@ declare const defaultPluginRenaming: {
15033
15309
  * @returns {Promise<TypedFlatConfigItem[]>}
15034
15310
  * The merged ESLint configurations.
15035
15311
  */
15036
- declare function kirklin(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.FlatConfig[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
15312
+ declare function kirklin(options?: OptionsConfig & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, any> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
15037
15313
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
15038
15314
  declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
15039
- declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): any;
15315
+ declare function getOverrides<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): Partial<Linter.RulesRecord & RuleOptions>;
15040
15316
 
15041
15317
  declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15042
15318
 
@@ -15054,6 +15330,8 @@ declare function javascript(options?: OptionsIsInEditor & OptionsOverrides): Pro
15054
15330
 
15055
15331
  declare function jsdoc(options?: OptionsStylistic): Promise<TypedFlatConfigItem[]>;
15056
15332
 
15333
+ declare function jsx(): Promise<TypedFlatConfigItem[]>;
15334
+
15057
15335
  declare function jsonc(options?: OptionsFiles & OptionsStylistic & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15058
15336
 
15059
15337
  declare function markdown(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
@@ -15096,7 +15374,7 @@ declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverri
15096
15374
 
15097
15375
  declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15098
15376
 
15099
- declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<TypedFlatConfigItem[]>;
15377
+ declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
15100
15378
 
15101
15379
  declare function unicorn(): Promise<TypedFlatConfigItem[]>;
15102
15380
 
@@ -15106,6 +15384,8 @@ declare function vue(options?: OptionsVue & OptionsHasTypeScript & OptionsOverri
15106
15384
 
15107
15385
  declare function yaml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15108
15386
 
15387
+ declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
15388
+
15109
15389
  declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
15110
15390
  declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
15111
15391
  declare const GLOB_JS = "**/*.?([cm])js";
@@ -15126,8 +15406,11 @@ declare const GLOB_SVELTE = "**/*.svelte";
15126
15406
  declare const GLOB_VUE = "**/*.vue";
15127
15407
  declare const GLOB_YAML = "**/*.y?(a)ml";
15128
15408
  declare const GLOB_TOML = "**/*.toml";
15409
+ declare const GLOB_XML = "**/*.xml";
15410
+ declare const GLOB_SVG = "**/*.svg";
15129
15411
  declare const GLOB_HTML = "**/*.htm?(l)";
15130
15412
  declare const GLOB_ASTRO = "**/*.astro";
15413
+ declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
15131
15414
  declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
15132
15415
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
15133
15416
  declare const GLOB_TESTS: string[];
@@ -15181,9 +15464,7 @@ declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatCo
15181
15464
  * }]
15182
15465
  * ```
15183
15466
  */
15184
- declare function renameRules(rules: Record<string, any>, map: Record<string, string>): {
15185
- [k: string]: any;
15186
- };
15467
+ declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
15187
15468
  /**
15188
15469
  * Rename plugin names a flat configs array
15189
15470
  *
@@ -15203,6 +15484,9 @@ declare function toArray<T>(value: T | T[]): T[];
15203
15484
  declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
15204
15485
  default: infer U;
15205
15486
  } ? U : T>;
15487
+ declare function isPackageInScope(name: string): boolean;
15206
15488
  declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
15489
+ declare function isInEditorEnv(): boolean;
15490
+ declare function isInGitHooksOrLintStaged(): boolean;
15207
15491
 
15208
- export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, 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 OptionsIsInEditor, type OptionsOverrides, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, command, comments, kirklin as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, javascript, jsdoc, jsonc, kirklin, markdown, node, parserPlain, perfectionist, react, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
15492
+ export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_XML, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsFiles, type OptionsFormatters, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsProjectType, type OptionsRegExp, type OptionsStylistic, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type OptionsTypescript, type OptionsUnoCSS, type OptionsVue, type ResolvedOptions, type Rules, type StylisticConfig, StylisticConfigDefaults, type StylisticOptions, type TypedFlatConfigItem, astro, combine, command, comments, kirklin as default, defaultPluginRenaming, ensurePackages, formatters, getOverrides, ignores, imports, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, isPackageInScope, javascript, jsdoc, jsonc, jsx, kirklin, markdown, node, parserPlain, perfectionist, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };