@kirklin/eslint-config 2.5.0 → 2.6.1

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
@@ -560,47 +560,47 @@ interface RuleOptions {
560
560
  'eqeqeq'?: Linter.RuleEntry<Eqeqeq>
561
561
  /**
562
562
  * require a `eslint-enable` comment for every `eslint-disable` comment
563
- * @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
564
564
  */
565
565
  'eslint-comments/disable-enable-pair'?: Linter.RuleEntry<EslintCommentsDisableEnablePair>
566
566
  /**
567
567
  * disallow a `eslint-enable` comment for multiple `eslint-disable` comments
568
- * @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
569
569
  */
570
570
  'eslint-comments/no-aggregating-enable'?: Linter.RuleEntry<[]>
571
571
  /**
572
572
  * disallow duplicate `eslint-disable` comments
573
- * @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
574
574
  */
575
575
  'eslint-comments/no-duplicate-disable'?: Linter.RuleEntry<[]>
576
576
  /**
577
577
  * disallow `eslint-disable` comments about specific rules
578
- * @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
579
579
  */
580
580
  'eslint-comments/no-restricted-disable'?: Linter.RuleEntry<EslintCommentsNoRestrictedDisable>
581
581
  /**
582
582
  * disallow `eslint-disable` comments without rule names
583
- * @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
584
584
  */
585
585
  'eslint-comments/no-unlimited-disable'?: Linter.RuleEntry<[]>
586
586
  /**
587
587
  * disallow unused `eslint-disable` comments
588
- * @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
589
589
  */
590
590
  'eslint-comments/no-unused-disable'?: Linter.RuleEntry<[]>
591
591
  /**
592
592
  * disallow unused `eslint-enable` comments
593
- * @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
594
594
  */
595
595
  'eslint-comments/no-unused-enable'?: Linter.RuleEntry<[]>
596
596
  /**
597
597
  * disallow ESLint directive-comments
598
- * @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
599
599
  */
600
600
  'eslint-comments/no-use'?: Linter.RuleEntry<EslintCommentsNoUse>
601
601
  /**
602
602
  * require include descriptions in ESLint directive-comments
603
- * @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
604
604
  */
605
605
  'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
606
606
  /**
@@ -711,228 +711,228 @@ interface RuleOptions {
711
711
  'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
712
712
  /**
713
713
  * Enforce or ban the use of inline type-only markers for named imports.
714
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
715
715
  */
716
716
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
717
717
  /**
718
718
  * Ensure a default export is present, given a default import.
719
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/default.md
719
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/default.md
720
720
  */
721
721
  'import/default'?: Linter.RuleEntry<[]>
722
722
  /**
723
723
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
724
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
725
725
  */
726
726
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
727
727
  /**
728
728
  * Forbid any invalid exports, i.e. re-export of the same name.
729
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/export.md
729
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/export.md
730
730
  */
731
731
  'import/export'?: Linter.RuleEntry<[]>
732
732
  /**
733
733
  * Ensure all exports appear after other statements.
734
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
735
735
  */
736
736
  'import/exports-last'?: Linter.RuleEntry<[]>
737
737
  /**
738
738
  * Ensure consistent use of file extension within the import path.
739
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/extensions.md
739
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/extensions.md
740
740
  */
741
741
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>
742
742
  /**
743
743
  * Ensure all imports appear before other statements.
744
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/first.md
744
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/first.md
745
745
  */
746
746
  'import/first'?: Linter.RuleEntry<ImportFirst>
747
747
  /**
748
748
  * Prefer named exports to be grouped together in a single export declaration.
749
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
750
750
  */
751
751
  'import/group-exports'?: Linter.RuleEntry<[]>
752
752
  /**
753
753
  * Replaced by `import-x/first`.
754
- * @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
755
755
  * @deprecated
756
756
  */
757
757
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
758
758
  /**
759
759
  * Enforce the maximum number of dependencies a module can have.
760
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
761
761
  */
762
762
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
763
763
  /**
764
764
  * Ensure named imports correspond to a named export in the remote file.
765
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/named.md
765
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/named.md
766
766
  */
767
767
  'import/named'?: Linter.RuleEntry<ImportNamed>
768
768
  /**
769
769
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
770
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/namespace.md
770
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/namespace.md
771
771
  */
772
772
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>
773
773
  /**
774
774
  * Enforce a newline after import statements.
775
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
776
776
  */
777
777
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
778
778
  /**
779
779
  * Forbid import of modules using absolute paths.
780
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
781
781
  */
782
782
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
783
783
  /**
784
784
  * Forbid AMD `require` and `define` calls.
785
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
786
786
  */
787
787
  'import/no-amd'?: Linter.RuleEntry<[]>
788
788
  /**
789
789
  * Forbid anonymous values as default exports.
790
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
791
791
  */
792
792
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
793
793
  /**
794
794
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
795
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
796
796
  */
797
797
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
798
798
  /**
799
799
  * Forbid a module from importing a module with a dependency path back to itself.
800
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
801
801
  */
802
802
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
803
803
  /**
804
804
  * Forbid default exports.
805
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
806
806
  */
807
807
  'import/no-default-export'?: Linter.RuleEntry<[]>
808
808
  /**
809
809
  * Forbid imported names marked with `@deprecated` documentation tag.
810
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
811
811
  */
812
812
  'import/no-deprecated'?: Linter.RuleEntry<[]>
813
813
  /**
814
814
  * Forbid repeated import of the same module in multiple places.
815
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
816
816
  */
817
817
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
818
818
  /**
819
819
  * Forbid `require()` calls with expressions.
820
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
821
821
  */
822
822
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
823
823
  /**
824
824
  * Forbid empty named import blocks.
825
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
826
826
  */
827
827
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
828
828
  /**
829
829
  * Forbid the use of extraneous packages.
830
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
831
831
  */
832
832
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
833
833
  /**
834
834
  * Forbid import statements with CommonJS module.exports.
835
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
836
836
  */
837
837
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
838
838
  /**
839
839
  * Forbid importing the submodules of other modules.
840
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
841
841
  */
842
842
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
843
843
  /**
844
844
  * Forbid the use of mutable exports with `var` or `let`.
845
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
846
846
  */
847
847
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>
848
848
  /**
849
849
  * Forbid use of exported name as identifier of default export.
850
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
851
851
  */
852
852
  'import/no-named-as-default'?: Linter.RuleEntry<[]>
853
853
  /**
854
854
  * Forbid use of exported name as property of default export.
855
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
856
856
  */
857
857
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
858
858
  /**
859
859
  * Forbid named default exports.
860
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
861
861
  */
862
862
  'import/no-named-default'?: Linter.RuleEntry<[]>
863
863
  /**
864
864
  * Forbid named exports.
865
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
866
866
  */
867
867
  'import/no-named-export'?: Linter.RuleEntry<[]>
868
868
  /**
869
869
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
870
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
871
871
  */
872
872
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
873
873
  /**
874
874
  * Forbid Node.js builtin modules.
875
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
876
876
  */
877
877
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
878
878
  /**
879
879
  * Forbid importing packages through relative paths.
880
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
881
881
  */
882
882
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
883
883
  /**
884
884
  * Forbid importing modules from parent directories.
885
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
886
886
  */
887
887
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
888
888
  /**
889
889
  * Enforce which files can be imported in a given folder.
890
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
891
891
  */
892
892
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
893
893
  /**
894
894
  * Forbid a module from importing itself.
895
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
896
896
  */
897
897
  'import/no-self-import'?: Linter.RuleEntry<[]>
898
898
  /**
899
899
  * Forbid unassigned imports.
900
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
901
901
  */
902
902
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
903
903
  /**
904
904
  * Ensure imports point to a file/module that can be resolved.
905
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
906
906
  */
907
907
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
908
908
  /**
909
909
  * Forbid modules without exports, or exports without matching import in another module.
910
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
911
911
  */
912
912
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
913
913
  /**
914
914
  * Forbid unnecessary path segments in import and require statements.
915
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
916
916
  */
917
917
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
918
918
  /**
919
919
  * Forbid webpack loader syntax in imports.
920
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
921
921
  */
922
922
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
923
923
  /**
924
924
  * Enforce a convention in module import order.
925
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/order.md
925
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/order.md
926
926
  */
927
927
  'import/order'?: Linter.RuleEntry<ImportOrder>
928
928
  /**
929
929
  * Prefer a default export if module exports a single name or multiple names.
930
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/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
931
931
  */
932
932
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
933
933
  /**
934
934
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
935
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.2/docs/rules/unambiguous.md
935
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.0.0/docs/rules/unambiguous.md
936
936
  */
937
937
  'import/unambiguous'?: Linter.RuleEntry<[]>
938
938
  /**
@@ -997,6 +997,11 @@ interface RuleOptions {
997
997
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
998
998
  */
999
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<[]>
1000
1005
  /**
1001
1006
  * Reports invalid types.
1002
1007
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
@@ -1007,6 +1012,11 @@ interface RuleOptions {
1007
1012
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
1008
1013
  */
1009
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>
1010
1020
  /**
1011
1021
  * Expects specific tags to be empty of any content.
1012
1022
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
@@ -1027,6 +1037,11 @@ interface RuleOptions {
1027
1037
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/informative-docs.md#repos-sticky-header
1028
1038
  */
1029
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>
1030
1045
  /**
1031
1046
  * Enforces a regular expression pattern on descriptions.
1032
1047
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/match-description.md#repos-sticky-header
@@ -1181,6 +1196,11 @@ interface RuleOptions {
1181
1196
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
1182
1197
  */
1183
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>
1184
1204
  /**
1185
1205
  * Requires that throw statements are documented.
1186
1206
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
@@ -2683,88 +2703,98 @@ interface RuleOptions {
2683
2703
  */
2684
2704
  'padding-line-between-statements'?: Linter.RuleEntry<PaddingLineBetweenStatements>
2685
2705
  /**
2686
- * enforce sorted arrays before include method
2687
- * @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
2688
2708
  */
2689
2709
  'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
2690
2710
  /**
2691
- * enforce sorted Astro attributes
2692
- * @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
2693
2713
  */
2694
2714
  'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
2695
2715
  /**
2696
- * enforce sorted classes
2697
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-classes
2716
+ * Enforce sorted classes.
2717
+ * @see https://perfectionist.dev/rules/sort-classes
2698
2718
  */
2699
2719
  'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
2700
2720
  /**
2701
- * enforce sorted TypeScript enums
2702
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-enums
2721
+ * Enforce sorted TypeScript enums.
2722
+ * @see https://perfectionist.dev/rules/sort-enums
2703
2723
  */
2704
2724
  'perfectionist/sort-enums'?: Linter.RuleEntry<PerfectionistSortEnums>
2705
2725
  /**
2706
- * enforce sorted exports
2707
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-exports
2726
+ * Enforce sorted exports.
2727
+ * @see https://perfectionist.dev/rules/sort-exports
2708
2728
  */
2709
2729
  'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
2710
2730
  /**
2711
- * enforce sorted imports
2712
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-imports
2731
+ * Enforce sorted imports.
2732
+ * @see https://perfectionist.dev/rules/sort-imports
2713
2733
  */
2714
2734
  'perfectionist/sort-imports'?: Linter.RuleEntry<PerfectionistSortImports>
2715
2735
  /**
2716
- * enforce sorted interface properties
2717
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-interfaces
2736
+ * Enforce sorted interface properties.
2737
+ * @see https://perfectionist.dev/rules/sort-interfaces
2718
2738
  */
2719
2739
  'perfectionist/sort-interfaces'?: Linter.RuleEntry<PerfectionistSortInterfaces>
2720
2740
  /**
2721
- * enforce sorted intersection types
2722
- * @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
2723
2743
  */
2724
2744
  'perfectionist/sort-intersection-types'?: Linter.RuleEntry<PerfectionistSortIntersectionTypes>
2725
2745
  /**
2726
- * enforce sorted JSX props
2727
- * @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
2728
2748
  */
2729
2749
  'perfectionist/sort-jsx-props'?: Linter.RuleEntry<PerfectionistSortJsxProps>
2730
2750
  /**
2731
- * enforce sorted Map elements
2732
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-maps
2751
+ * Enforce sorted Map elements.
2752
+ * @see https://perfectionist.dev/rules/sort-maps
2733
2753
  */
2734
2754
  'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
2735
2755
  /**
2736
- * enforce sorted named exports
2737
- * @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
2738
2758
  */
2739
2759
  'perfectionist/sort-named-exports'?: Linter.RuleEntry<PerfectionistSortNamedExports>
2740
2760
  /**
2741
- * enforce sorted named imports
2742
- * @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
2743
2763
  */
2744
2764
  'perfectionist/sort-named-imports'?: Linter.RuleEntry<PerfectionistSortNamedImports>
2745
2765
  /**
2746
- * enforce sorted object types
2747
- * @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
2748
2768
  */
2749
2769
  'perfectionist/sort-object-types'?: Linter.RuleEntry<PerfectionistSortObjectTypes>
2750
2770
  /**
2751
- * enforce sorted objects
2752
- * @see https://eslint-plugin-perfectionist.azat.io/rules/sort-objects
2771
+ * Enforce sorted objects.
2772
+ * @see https://perfectionist.dev/rules/sort-objects
2753
2773
  */
2754
2774
  'perfectionist/sort-objects'?: Linter.RuleEntry<PerfectionistSortObjects>
2755
2775
  /**
2756
- * enforce sorted Svelte attributes
2757
- * @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
2758
2778
  */
2759
2779
  'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
2760
2780
  /**
2761
- * enforce sorted union types
2762
- * @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
2763
2788
  */
2764
2789
  'perfectionist/sort-union-types'?: Linter.RuleEntry<PerfectionistSortUnionTypes>
2765
2790
  /**
2766
- * enforce sorted Vue attributes
2767
- * @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
2768
2798
  */
2769
2799
  'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
2770
2800
  /**
@@ -2857,77 +2887,87 @@ interface RuleOptions {
2857
2887
  'radix'?: Linter.RuleEntry<Radix>
2858
2888
  /**
2859
2889
  * disallow passing 'children' to void DOM elements
2860
- * @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
2861
2891
  */
2862
2892
  'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
2863
2893
  /**
2864
2894
  * disallow when a DOM component is using 'dangerouslySetInnerHTML'
2865
- * @see https://eslint-react.xyz/rules/dom-no-dangerously-set-innerhtml
2895
+ * @see https://eslint-react.xyz/docs/rules/dom-no-dangerously-set-innerhtml
2866
2896
  */
2867
2897
  'react-dom/no-dangerously-set-innerhtml'?: Linter.RuleEntry<[]>
2868
2898
  /**
2869
2899
  * disallow when a DOM component is using both 'children' and 'dangerouslySetInnerHTML'
2870
- * @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
2871
2901
  */
2872
2902
  'react-dom/no-dangerously-set-innerhtml-with-children'?: Linter.RuleEntry<[]>
2873
2903
  /**
2874
2904
  * disallow 'findDOMNode'
2875
- * @see https://eslint-react.xyz/rules/dom-no-find-dom-node
2905
+ * @see https://eslint-react.xyz/docs/rules/dom-no-find-dom-node
2876
2906
  */
2877
2907
  'react-dom/no-find-dom-node'?: Linter.RuleEntry<[]>
2878
2908
  /**
2879
2909
  * enforce that button component have an explicit 'type' attribute
2880
- * @see https://eslint-react.xyz/rules/dom-no-missing-button-type
2910
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-button-type
2881
2911
  */
2882
2912
  'react-dom/no-missing-button-type'?: Linter.RuleEntry<[]>
2883
2913
  /**
2884
2914
  * enforce that 'iframe' component have an explicit 'sandbox' attribute
2885
- * @see https://eslint-react.xyz/rules/dom-no-missing-iframe-sandbox
2915
+ * @see https://eslint-react.xyz/docs/rules/dom-no-missing-iframe-sandbox
2886
2916
  */
2887
2917
  'react-dom/no-missing-iframe-sandbox'?: Linter.RuleEntry<[]>
2888
2918
  /**
2889
2919
  * enforce that namespaces are not used in React elements
2890
- * @see https://eslint-react.xyz/rules/dom-no-namespace
2920
+ * @see https://eslint-react.xyz/docs/rules/dom-no-namespace
2891
2921
  */
2892
2922
  'react-dom/no-namespace'?: Linter.RuleEntry<[]>
2893
2923
  /**
2894
2924
  * disallow usage of the return value of 'ReactDOM.render'
2895
- * @see https://eslint-react.xyz/rules/dom-no-render-return-value
2925
+ * @see https://eslint-react.xyz/docs/rules/dom-no-render-return-value
2896
2926
  */
2897
2927
  'react-dom/no-render-return-value'?: Linter.RuleEntry<[]>
2898
2928
  /**
2899
2929
  * disallow 'javascript:' URLs as JSX event handler prop's value
2900
- * @see https://eslint-react.xyz/rules/dom-no-script-url
2930
+ * @see https://eslint-react.xyz/docs/rules/dom-no-script-url
2901
2931
  */
2902
2932
  'react-dom/no-script-url'?: Linter.RuleEntry<[]>
2903
2933
  /**
2904
2934
  * disallow unsafe iframe 'sandbox' attribute combinations
2905
- * @see https://eslint-react.xyz/rules/dom-no-unsafe-iframe-sandbox
2935
+ * @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
2906
2936
  */
2907
2937
  'react-dom/no-unsafe-iframe-sandbox'?: Linter.RuleEntry<[]>
2908
2938
  /**
2909
- * disallow 'target="_blank"' on an external link without 'rel="noreferrer noopener"'.
2910
- * @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
2911
2941
  */
2912
2942
  'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
2913
2943
  /**
2914
2944
  * enforce custom hooks using other hooks
2915
- * @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
2916
2946
  */
2917
2947
  'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
2918
2948
  /**
2919
2949
  * enforce 'useCallback' has non-empty dependencies array
2920
- * @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
2921
2951
  */
2922
2952
  'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
2923
2953
  /**
2924
2954
  * enforce 'useMemo' has non-empty dependencies array
2925
- * @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
2926
2956
  */
2927
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<[]>
2928
2968
  /**
2929
2969
  * disallow function calls in 'useState' that aren't wrapped in an initializer function
2930
- * @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
2931
2971
  */
2932
2972
  'react-hooks-extra/prefer-use-state-lazy-initialization'?: Linter.RuleEntry<[]>
2933
2973
  /**
@@ -2942,235 +2982,253 @@ interface RuleOptions {
2942
2982
  'react-hooks/rules-of-hooks'?: Linter.RuleEntry<[]>
2943
2983
  /**
2944
2984
  * enforce component naming convention to 'PascalCase' or 'CONSTANT_CASE'
2945
- * @see https://eslint-react.xyz/rules/naming-convention-component-name
2985
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-component-name
2946
2986
  */
2947
2987
  'react-naming-convention/component-name'?: Linter.RuleEntry<ReactNamingConventionComponentName>
2948
2988
  /**
2949
2989
  * enforce naming convention for JSX filenames
2950
- * @see https://eslint-react.xyz/rules/naming-convention-filename
2990
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename
2951
2991
  */
2952
2992
  'react-naming-convention/filename'?: Linter.RuleEntry<ReactNamingConventionFilename>
2953
2993
  /**
2954
2994
  * enforce naming convention for JSX file extensions
2955
- * @see https://eslint-react.xyz/rules/naming-convention-filename-extension
2995
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-filename-extension
2956
2996
  */
2957
2997
  'react-naming-convention/filename-extension'?: Linter.RuleEntry<ReactNamingConventionFilenameExtension>
2958
2998
  /**
2959
2999
  * enforce destructuring and symmetric naming of 'useState' hook value and setter variables
2960
- * @see https://eslint-react.xyz/rules/naming-convention-use-state
3000
+ * @see https://eslint-react.xyz/docs/rules/naming-convention-use-state
2961
3001
  */
2962
3002
  'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
2963
3003
  'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
2964
3004
  /**
2965
- * enforce boolean attributes notation in JSX
2966
- * @see https://eslint-react.xyz/rules/avoid-shorthand-boolean
3005
+ * disallow using shorthand boolean attributes
3006
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
2967
3007
  */
2968
3008
  'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
2969
3009
  /**
2970
- * enforce using fragment component instead of shorthand fragment syntax
2971
- * @see https://eslint-react.xyz/rules/avoid-shorthand-fragment
3010
+ * disallow using shorthand fragment syntax
3011
+ * @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
2972
3012
  */
2973
3013
  'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
2974
3014
  /**
2975
- * require all 'forwardRef' components include a 'ref' parameter
2976
- * @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
3015
+ * require a 'ref' parameter to be set when using 'forwardRef'
3016
+ * @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
2977
3017
  */
2978
3018
  'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
2979
3019
  /**
2980
3020
  * disallow accessing 'this.state' within 'setState'
2981
- * @see https://eslint-react.xyz/rules/no-access-state-in-setstate
3021
+ * @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
2982
3022
  */
2983
3023
  'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
2984
3024
  /**
2985
- * disallow using Array index as key
2986
- * @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
2987
3027
  */
2988
3028
  'react/no-array-index-key'?: Linter.RuleEntry<[]>
2989
3029
  /**
2990
- * disallow 'Children.count'
2991
- * @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
2992
3032
  */
2993
3033
  'react/no-children-count'?: Linter.RuleEntry<[]>
2994
3034
  /**
2995
- * disallow 'Children.forEach'
2996
- * @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
2997
3037
  */
2998
3038
  'react/no-children-for-each'?: Linter.RuleEntry<[]>
2999
3039
  /**
3000
- * disallow 'Children.map'
3001
- * @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
3002
3042
  */
3003
3043
  'react/no-children-map'?: Linter.RuleEntry<[]>
3004
3044
  /**
3005
- * disallow 'Children.only'
3006
- * @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
3007
3047
  */
3008
3048
  'react/no-children-only'?: Linter.RuleEntry<[]>
3009
3049
  /**
3010
- * disallow passing of 'children' as props
3011
- * @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
3012
3052
  */
3013
3053
  'react/no-children-prop'?: Linter.RuleEntry<[]>
3014
3054
  /**
3015
- * disallow 'Children.toArray'
3016
- * @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
3017
3057
  */
3018
3058
  'react/no-children-to-array'?: Linter.RuleEntry<[]>
3019
3059
  /**
3020
- * disallow class component
3021
- * @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
3022
3062
  */
3023
3063
  'react/no-class-component'?: Linter.RuleEntry<[]>
3024
3064
  /**
3025
- * disallow 'cloneElement'
3026
- * @see https://eslint-react.xyz/rules/no-clone-element
3065
+ * disallow using 'cloneElement'
3066
+ * @see https://eslint-react.xyz/docs/rules/no-clone-element
3027
3067
  */
3028
3068
  'react/no-clone-element'?: Linter.RuleEntry<[]>
3029
3069
  /**
3030
3070
  * disallow comments from being inserted as text nodes
3031
- * @see https://eslint-react.xyz/rules/no-comment-textnodes
3071
+ * @see https://eslint-react.xyz/docs/rules/no-comment-textnodes
3032
3072
  */
3033
3073
  'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
3034
3074
  /**
3035
- * disallow complicated conditional rendering
3036
- * @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
3037
- * @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
3038
3082
  */
3039
3083
  'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
3040
3084
  /**
3041
- * disallow usage of 'componentWillMount'
3042
- * @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
3043
3087
  */
3044
3088
  'react/no-component-will-mount'?: Linter.RuleEntry<[]>
3045
3089
  /**
3046
- * disallow usage of 'componentWillReceiveProps'
3047
- * @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
3048
3092
  */
3049
3093
  'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
3050
3094
  /**
3051
- * disallow usage of 'componentWillUpdate'
3052
- * @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
3053
3097
  */
3054
3098
  'react/no-component-will-update'?: Linter.RuleEntry<[]>
3055
3099
  /**
3056
- * disallow 'createRef' in function components
3057
- * @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
3058
3102
  */
3059
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<[]>
3060
3109
  /**
3061
3110
  * disallow direct mutation of state
3062
- * @see https://eslint-react.xyz/rules/no-direct-mutation-state
3111
+ * @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
3063
3112
  */
3064
3113
  'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
3065
3114
  /**
3066
- * disallow duplicate keys in 'key' prop when rendering list
3067
- * @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
3068
3117
  */
3069
3118
  'react/no-duplicate-key'?: Linter.RuleEntry<[]>
3070
3119
  /**
3071
- * disallow spreading 'key' from objects.
3072
- * @see https://eslint-react.xyz/rules/no-implicit-key
3073
- * @deprecated
3120
+ * disallow implicit 'key' props
3121
+ * @see https://eslint-react.xyz/docs/rules/no-implicit-key
3074
3122
  */
3075
3123
  'react/no-implicit-key'?: Linter.RuleEntry<[]>
3076
3124
  /**
3077
3125
  * disallow problematic leaked values from being rendered
3078
- * @see https://eslint-react.xyz/rules/no-leaked-conditional-rendering
3126
+ * @see https://eslint-react.xyz/docs/rules/no-leaked-conditional-rendering
3079
3127
  */
3080
3128
  'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
3081
3129
  /**
3082
- * require 'displayName' for memo and forwardRef components
3083
- * @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
3084
3132
  */
3085
3133
  'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
3086
3134
  /**
3087
- * require 'key' prop when rendering list
3088
- * @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
3089
3137
  */
3090
3138
  'react/no-missing-key'?: Linter.RuleEntry<[]>
3091
3139
  /**
3092
- * disallow usage of unstable nested components
3093
- * @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
3094
3142
  */
3095
3143
  'react/no-nested-components'?: Linter.RuleEntry<[]>
3096
3144
  /**
3097
- * disallow usage of 'shouldComponentUpdate' in class component extends 'React.PureComponent'
3098
- * @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
3099
3152
  */
3100
3153
  'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
3101
3154
  /**
3102
- * disallow 'setState' in 'componentDidMount'
3103
- * @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
3104
3157
  */
3105
3158
  'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
3106
3159
  /**
3107
- * disallow 'setState' in 'componentDidUpdate'
3108
- * @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
3109
3162
  */
3110
3163
  'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
3111
3164
  /**
3112
- * disallow 'setState' in 'componentWillUpdate'
3113
- * @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
3114
3167
  */
3115
3168
  'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
3116
3169
  /**
3117
3170
  * disallow using deprecated string refs
3118
- * @see https://eslint-react.xyz/rules/no-string-refs
3171
+ * @see https://eslint-react.xyz/docs/rules/no-string-refs
3119
3172
  */
3120
3173
  'react/no-string-refs'?: Linter.RuleEntry<[]>
3121
3174
  /**
3122
- * disallow usage of 'UNSAFE_componentWillMount'
3123
- * @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
3124
3177
  */
3125
3178
  'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
3126
3179
  /**
3127
- * disallow usage of 'UNSAFE_componentWillReceiveProps'
3128
- * @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
3129
3182
  */
3130
3183
  'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
3131
3184
  /**
3132
- * disallow usage of 'UNSAFE_componentWillUpdate'
3133
- * @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
3134
3187
  */
3135
3188
  'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
3136
3189
  /**
3137
3190
  * disallow passing constructed values to context providers
3138
- * @see https://eslint-react.xyz/rules/no-unstable-context-value
3191
+ * @see https://eslint-react.xyz/docs/rules/no-unstable-context-value
3139
3192
  */
3140
3193
  'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
3141
3194
  /**
3142
- * disallow usage of unstable value as default param in function component
3143
- * @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
3144
3197
  */
3145
3198
  'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
3146
3199
  /**
3147
3200
  * disallow unused class component members
3148
- * @see https://eslint-react.xyz/rules/no-unused-class-component-members
3201
+ * @see https://eslint-react.xyz/docs/rules/no-unused-class-component-members
3149
3202
  */
3150
3203
  'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
3151
3204
  /**
3152
- * Prevents unused state of class component.
3153
- * @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
3154
3207
  */
3155
3208
  'react/no-unused-state'?: Linter.RuleEntry<[]>
3156
3209
  /**
3157
3210
  * disallow unnecessary fragments
3158
- * @see https://eslint-react.xyz/rules/no-useless-fragment
3211
+ * @see https://eslint-react.xyz/docs/rules/no-useless-fragment
3159
3212
  */
3160
3213
  'react/no-useless-fragment'?: Linter.RuleEntry<[]>
3161
3214
  /**
3162
3215
  * enforce using destructuring assignment in component props and context
3163
- * @see https://eslint-react.xyz/rules/prefer-destructuring-assignment
3216
+ * @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
3164
3217
  */
3165
3218
  'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
3166
3219
  /**
3167
- * enforce boolean attributes notation in JSX
3168
- * @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
3169
3227
  */
3170
3228
  'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
3171
3229
  /**
3172
- * enforce using fragment syntax instead of Fragment component
3173
- * @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
3174
3232
  */
3175
3233
  'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
3176
3234
  /**
@@ -4614,6 +4672,11 @@ interface RuleOptions {
4614
4672
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/expect-expect.md
4615
4673
  */
4616
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<[]>
4617
4680
  /**
4618
4681
  * enforce a maximum number of expect per test
4619
4682
  * @see https://github.com/veritem/eslint-plugin-vitest/blob/main/docs/rules/max-expects.md
@@ -5001,23 +5064,6 @@ interface RuleOptions {
5001
5064
  * @see https://typescript-eslint.io/rules/ban-tslint-comment
5002
5065
  */
5003
5066
  'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
5004
- /**
5005
- * Disallow certain types
5006
- * @see https://typescript-eslint.io/rules/ban-types
5007
- */
5008
- 'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
5009
- /**
5010
- * Disallow or enforce spaces inside of blocks after opening block and before closing block
5011
- * @see https://typescript-eslint.io/rules/block-spacing
5012
- * @deprecated
5013
- */
5014
- 'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
5015
- /**
5016
- * Enforce consistent brace style for blocks
5017
- * @see https://typescript-eslint.io/rules/brace-style
5018
- * @deprecated
5019
- */
5020
- 'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
5021
5067
  /**
5022
5068
  * Enforce that literals on classes are exposed in a consistent style
5023
5069
  * @see https://typescript-eslint.io/rules/class-literal-property-style
@@ -5028,18 +5074,6 @@ interface RuleOptions {
5028
5074
  * @see https://typescript-eslint.io/rules/class-methods-use-this
5029
5075
  */
5030
5076
  'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
5031
- /**
5032
- * Require or disallow trailing commas
5033
- * @see https://typescript-eslint.io/rules/comma-dangle
5034
- * @deprecated
5035
- */
5036
- 'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
5037
- /**
5038
- * Enforce consistent spacing before and after commas
5039
- * @see https://typescript-eslint.io/rules/comma-spacing
5040
- * @deprecated
5041
- */
5042
- 'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
5043
5077
  /**
5044
5078
  * Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
5045
5079
  * @see https://typescript-eslint.io/rules/consistent-generic-constructors
@@ -5100,58 +5134,16 @@ interface RuleOptions {
5100
5134
  * @see https://typescript-eslint.io/rules/explicit-module-boundary-types
5101
5135
  */
5102
5136
  'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
5103
- /**
5104
- * Require or disallow spacing between function identifiers and their invocations
5105
- * @see https://typescript-eslint.io/rules/func-call-spacing
5106
- * @deprecated
5107
- */
5108
- 'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
5109
- /**
5110
- * Enforce consistent indentation
5111
- * @see https://typescript-eslint.io/rules/indent
5112
- * @deprecated
5113
- */
5114
- 'ts/indent'?: Linter.RuleEntry<TsIndent>
5115
5137
  /**
5116
5138
  * Require or disallow initialization in variable declarations
5117
5139
  * @see https://typescript-eslint.io/rules/init-declarations
5118
5140
  */
5119
5141
  'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
5120
- /**
5121
- * Enforce consistent spacing between property names and type annotations in types and interfaces
5122
- * @see https://typescript-eslint.io/rules/key-spacing
5123
- * @deprecated
5124
- */
5125
- 'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
5126
- /**
5127
- * Enforce consistent spacing before and after keywords
5128
- * @see https://typescript-eslint.io/rules/keyword-spacing
5129
- * @deprecated
5130
- */
5131
- 'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
5132
- /**
5133
- * Require empty lines around comments
5134
- * @see https://typescript-eslint.io/rules/lines-around-comment
5135
- * @deprecated
5136
- */
5137
- 'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
5138
- /**
5139
- * Require or disallow an empty line between class members
5140
- * @see https://typescript-eslint.io/rules/lines-between-class-members
5141
- * @deprecated
5142
- */
5143
- 'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
5144
5142
  /**
5145
5143
  * Enforce a maximum number of parameters in function definitions
5146
5144
  * @see https://typescript-eslint.io/rules/max-params
5147
5145
  */
5148
5146
  'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
5149
- /**
5150
- * Require a specific member delimiter style for interfaces and type literals
5151
- * @see https://typescript-eslint.io/rules/member-delimiter-style
5152
- * @deprecated
5153
- */
5154
- 'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
5155
5147
  /**
5156
5148
  * Require a consistent member declaration order
5157
5149
  * @see https://typescript-eslint.io/rules/member-ordering
@@ -5192,6 +5184,11 @@ interface RuleOptions {
5192
5184
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
5193
5185
  */
5194
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<[]>
5195
5192
  /**
5196
5193
  * Disallow duplicate class members
5197
5194
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -5220,8 +5217,14 @@ interface RuleOptions {
5220
5217
  /**
5221
5218
  * Disallow the declaration of empty interfaces
5222
5219
  * @see https://typescript-eslint.io/rules/no-empty-interface
5220
+ * @deprecated
5223
5221
  */
5224
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>
5225
5228
  /**
5226
5229
  * Disallow the `any` type
5227
5230
  * @see https://typescript-eslint.io/rules/no-explicit-any
@@ -5232,18 +5235,6 @@ interface RuleOptions {
5232
5235
  * @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
5233
5236
  */
5234
5237
  'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
5235
- /**
5236
- * Disallow unnecessary parentheses
5237
- * @see https://typescript-eslint.io/rules/no-extra-parens
5238
- * @deprecated
5239
- */
5240
- 'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
5241
- /**
5242
- * Disallow unnecessary semicolons
5243
- * @see https://typescript-eslint.io/rules/no-extra-semi
5244
- * @deprecated
5245
- */
5246
- 'ts/no-extra-semi'?: Linter.RuleEntry<[]>
5247
5238
  /**
5248
5239
  * Disallow classes used as namespaces
5249
5240
  * @see https://typescript-eslint.io/rules/no-extraneous-class
@@ -5292,6 +5283,7 @@ interface RuleOptions {
5292
5283
  /**
5293
5284
  * Disallow literal numbers that lose precision
5294
5285
  * @see https://typescript-eslint.io/rules/no-loss-of-precision
5286
+ * @deprecated
5295
5287
  */
5296
5288
  'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
5297
5289
  /**
@@ -5359,6 +5351,11 @@ interface RuleOptions {
5359
5351
  * @see https://typescript-eslint.io/rules/no-restricted-imports
5360
5352
  */
5361
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>
5362
5359
  /**
5363
5360
  * Disallow variable declarations from shadowing variables declared in the outer scope
5364
5361
  * @see https://typescript-eslint.io/rules/no-shadow
@@ -5369,12 +5366,6 @@ interface RuleOptions {
5369
5366
  * @see https://typescript-eslint.io/rules/no-this-alias
5370
5367
  */
5371
5368
  'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
5372
- /**
5373
- * Disallow throwing literals as exceptions
5374
- * @see https://typescript-eslint.io/rules/no-throw-literal
5375
- * @deprecated
5376
- */
5377
- 'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
5378
5369
  /**
5379
5370
  * Disallow type aliases
5380
5371
  * @see https://typescript-eslint.io/rules/no-type-alias
@@ -5391,6 +5382,11 @@ interface RuleOptions {
5391
5382
  * @see https://typescript-eslint.io/rules/no-unnecessary-condition
5392
5383
  */
5393
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<[]>
5394
5390
  /**
5395
5391
  * Disallow unnecessary namespace qualifiers
5396
5392
  * @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
@@ -5416,6 +5412,11 @@ interface RuleOptions {
5416
5412
  * @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
5417
5413
  */
5418
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<[]>
5419
5420
  /**
5420
5421
  * Disallow calling a function with a value with type `any`
5421
5422
  * @see https://typescript-eslint.io/rules/no-unsafe-argument
@@ -5441,6 +5442,11 @@ interface RuleOptions {
5441
5442
  * @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
5442
5443
  */
5443
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<[]>
5444
5450
  /**
5445
5451
  * Disallow member access on a value with type `any`
5446
5452
  * @see https://typescript-eslint.io/rules/no-unsafe-member-access
@@ -5463,7 +5469,7 @@ interface RuleOptions {
5463
5469
  'ts/no-unused-expressions'?: Linter.RuleEntry<TsNoUnusedExpressions>
5464
5470
  /**
5465
5471
  * Disallow unused variables
5466
- * @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
5467
5473
  */
5468
5474
  'ts/no-unused-vars'?: Linter.RuleEntry<TsNoUnusedVars>
5469
5475
  /**
@@ -5481,39 +5487,27 @@ interface RuleOptions {
5481
5487
  * @see https://typescript-eslint.io/rules/no-useless-empty-export
5482
5488
  */
5483
5489
  'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
5484
- /**
5485
- * Disallow unnecessary template expressions
5486
- * @see https://typescript-eslint.io/rules/no-useless-template-literals
5487
- * @deprecated
5488
- */
5489
- 'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
5490
5490
  /**
5491
5491
  * Disallow `require` statements except in import statements
5492
5492
  * @see https://typescript-eslint.io/rules/no-var-requires
5493
+ * @deprecated
5493
5494
  */
5494
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<[]>
5495
5501
  /**
5496
5502
  * Enforce non-null assertions over explicit type casts
5497
5503
  * @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
5498
5504
  */
5499
5505
  'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
5500
- /**
5501
- * Enforce consistent spacing inside braces
5502
- * @see https://typescript-eslint.io/rules/object-curly-spacing
5503
- * @deprecated
5504
- */
5505
- 'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
5506
5506
  /**
5507
5507
  * Disallow throwing non-`Error` values as exceptions
5508
5508
  * @see https://typescript-eslint.io/rules/only-throw-error
5509
5509
  */
5510
5510
  'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
5511
- /**
5512
- * Require or disallow padding lines between statements
5513
- * @see https://typescript-eslint.io/rules/padding-line-between-statements
5514
- * @deprecated
5515
- */
5516
- 'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
5517
5511
  /**
5518
5512
  * Require or disallow parameter properties in class constructors
5519
5513
  * @see https://typescript-eslint.io/rules/parameter-properties
@@ -5620,12 +5614,6 @@ interface RuleOptions {
5620
5614
  * @see https://typescript-eslint.io/rules/promise-function-async
5621
5615
  */
5622
5616
  'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
5623
- /**
5624
- * Enforce the consistent use of either backticks, double, or single quotes
5625
- * @see https://typescript-eslint.io/rules/quotes
5626
- * @deprecated
5627
- */
5628
- 'ts/quotes'?: Linter.RuleEntry<TsQuotes>
5629
5617
  /**
5630
5618
  * Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
5631
5619
  * @see https://typescript-eslint.io/rules/require-array-sort-compare
@@ -5651,36 +5639,12 @@ interface RuleOptions {
5651
5639
  * @see https://typescript-eslint.io/rules/return-await
5652
5640
  */
5653
5641
  'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
5654
- /**
5655
- * Require or disallow semicolons instead of ASI
5656
- * @see https://typescript-eslint.io/rules/semi
5657
- * @deprecated
5658
- */
5659
- 'ts/semi'?: Linter.RuleEntry<TsSemi>
5660
5642
  /**
5661
5643
  * Enforce constituents of a type union/intersection to be sorted alphabetically
5662
5644
  * @see https://typescript-eslint.io/rules/sort-type-constituents
5663
5645
  * @deprecated
5664
5646
  */
5665
5647
  'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
5666
- /**
5667
- * Enforce consistent spacing before blocks
5668
- * @see https://typescript-eslint.io/rules/space-before-blocks
5669
- * @deprecated
5670
- */
5671
- 'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
5672
- /**
5673
- * Enforce consistent spacing before function parenthesis
5674
- * @see https://typescript-eslint.io/rules/space-before-function-paren
5675
- * @deprecated
5676
- */
5677
- 'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
5678
- /**
5679
- * Require spacing around infix operators
5680
- * @see https://typescript-eslint.io/rules/space-infix-ops
5681
- * @deprecated
5682
- */
5683
- 'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
5684
5648
  /**
5685
5649
  * Disallow certain types in boolean expressions
5686
5650
  * @see https://typescript-eslint.io/rules/strict-boolean-expressions
@@ -5696,12 +5660,6 @@ interface RuleOptions {
5696
5660
  * @see https://typescript-eslint.io/rules/triple-slash-reference
5697
5661
  */
5698
5662
  'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
5699
- /**
5700
- * Require consistent spacing around type annotations
5701
- * @see https://typescript-eslint.io/rules/type-annotation-spacing
5702
- * @deprecated
5703
- */
5704
- 'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
5705
5663
  /**
5706
5664
  * Require type annotations in certain places
5707
5665
  * @see https://typescript-eslint.io/rules/typedef
@@ -5718,7 +5676,7 @@ interface RuleOptions {
5718
5676
  */
5719
5677
  'ts/unified-signatures'?: Linter.RuleEntry<TsUnifiedSignatures>
5720
5678
  /**
5721
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
5679
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
5722
5680
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
5723
5681
  */
5724
5682
  'ts/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>
@@ -5729,682 +5687,687 @@ interface RuleOptions {
5729
5687
  'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
5730
5688
  /**
5731
5689
  * Improve regexes by making them shorter, consistent, and safer.
5732
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5733
5691
  */
5734
5692
  'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
5735
5693
  /**
5736
5694
  * Enforce a specific parameter name in catch clauses.
5737
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5738
5696
  */
5739
5697
  'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
5740
5698
  /**
5741
5699
  * Use destructured variables over properties.
5742
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5743
5701
  */
5744
5702
  'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
5745
5703
  /**
5746
5704
  * Prefer consistent types when spreading a ternary in an array literal.
5747
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/consistent-empty-array-spread.md
5705
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
5748
5706
  */
5749
5707
  'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
5750
5708
  /**
5751
5709
  * Move function definitions to the highest possible scope.
5752
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5753
5711
  */
5754
5712
  'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
5755
5713
  /**
5756
5714
  * Enforce correct `Error` subclassing.
5757
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5758
5716
  */
5759
5717
  'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
5760
5718
  /**
5761
5719
  * Enforce no spaces between braces.
5762
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5763
5721
  */
5764
5722
  'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
5765
5723
  /**
5766
5724
  * Enforce passing a `message` value when creating a built-in error.
5767
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5768
5726
  */
5769
5727
  'unicorn/error-message'?: Linter.RuleEntry<[]>
5770
5728
  /**
5771
5729
  * Require escape sequences to use uppercase values.
5772
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5773
5731
  */
5774
5732
  'unicorn/escape-case'?: Linter.RuleEntry<[]>
5775
5733
  /**
5776
5734
  * Add expiration conditions to TODO comments.
5777
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5778
5736
  */
5779
5737
  'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
5780
5738
  /**
5781
5739
  * Enforce explicitly comparing the `length` or `size` property of a value.
5782
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5783
5741
  */
5784
5742
  'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
5785
5743
  /**
5786
5744
  * Enforce a case style for filenames.
5787
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5788
5746
  */
5789
5747
  'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
5790
5748
  /**
5791
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5792
5750
  * @deprecated
5793
5751
  */
5794
5752
  'unicorn/import-index'?: Linter.RuleEntry<[]>
5795
5753
  /**
5796
5754
  * Enforce specific import styles per module.
5797
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5798
5756
  */
5799
5757
  'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
5800
5758
  /**
5801
5759
  * Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
5802
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5803
5761
  */
5804
5762
  'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
5805
5763
  /**
5806
5764
  * Enforce specifying rules to disable in `eslint-disable` comments.
5807
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5808
5766
  */
5809
5767
  'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
5810
5768
  /**
5811
5769
  * Disallow anonymous functions and classes as the default export.
5812
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5813
5771
  */
5814
5772
  'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
5815
5773
  /**
5816
5774
  * Prevent passing a function reference directly to iterator methods.
5817
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5818
5776
  */
5819
5777
  'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
5820
5778
  /**
5821
5779
  * Prefer `for…of` over the `forEach` method.
5822
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5823
5781
  */
5824
5782
  'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
5825
5783
  /**
5826
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5827
5785
  * @deprecated
5828
5786
  */
5829
5787
  'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
5830
5788
  /**
5831
5789
  * Disallow using the `this` argument in array methods.
5832
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5833
5791
  */
5834
5792
  'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
5835
5793
  /**
5836
5794
  * Enforce combining multiple `Array#push()` into one call.
5837
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5838
5796
  */
5839
5797
  'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
5840
5798
  /**
5841
5799
  * Disallow `Array#reduce()` and `Array#reduceRight()`.
5842
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5843
5801
  */
5844
5802
  'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
5845
5803
  /**
5846
5804
  * Disallow member access from await expression.
5847
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5848
5806
  */
5849
5807
  'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
5850
5808
  /**
5851
5809
  * Disallow using `await` in `Promise` method parameters.
5852
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5853
5811
  */
5854
5812
  'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
5855
5813
  /**
5856
5814
  * Do not use leading/trailing space between `console.log` parameters.
5857
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5858
5816
  */
5859
5817
  'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
5860
5818
  /**
5861
5819
  * Do not use `document.cookie` directly.
5862
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5863
5821
  */
5864
5822
  'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
5865
5823
  /**
5866
5824
  * Disallow empty files.
5867
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5868
5826
  */
5869
5827
  'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
5870
5828
  /**
5871
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5872
5830
  * @deprecated
5873
5831
  */
5874
5832
  'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
5875
5833
  /**
5876
5834
  * Do not use a `for` loop that can be replaced with a `for-of` loop.
5877
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5878
5836
  */
5879
5837
  'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
5880
5838
  /**
5881
5839
  * Enforce the use of Unicode escapes instead of hexadecimal escapes.
5882
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5883
5841
  */
5884
5842
  'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
5885
5843
  /**
5886
5844
  * Require `Array.isArray()` instead of `instanceof Array`.
5887
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5888
5846
  */
5889
5847
  'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
5890
5848
  /**
5891
5849
  * Disallow invalid options in `fetch()` and `new Request()`.
5892
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-invalid-fetch-options.md
5850
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
5893
5851
  */
5894
5852
  'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
5895
5853
  /**
5896
5854
  * Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
5897
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5898
5856
  */
5899
5857
  'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
5900
5858
  /**
5901
5859
  * Disallow identifiers starting with `new` or `class`.
5902
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5903
5861
  */
5904
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<[]>
5905
5868
  /**
5906
5869
  * Disallow `if` statements as the only statement in `if` blocks without `else`.
5907
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5908
5871
  */
5909
5872
  'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
5910
5873
  /**
5911
5874
  * Disallow a magic number as the `depth` argument in `Array#flat(…).`
5912
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-magic-array-flat-depth.md
5875
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
5913
5876
  */
5914
5877
  'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
5915
5878
  /**
5916
5879
  * Disallow negated conditions.
5917
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5918
5881
  */
5919
5882
  'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
5920
5883
  /**
5921
5884
  * Disallow negated expression in equality check.
5922
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/no-negation-in-equality-check.md
5885
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
5923
5886
  */
5924
5887
  'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
5925
5888
  /**
5926
5889
  * Disallow nested ternary expressions.
5927
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5928
5891
  */
5929
5892
  'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
5930
5893
  /**
5931
5894
  * Disallow `new Array()`.
5932
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5933
5896
  */
5934
5897
  'unicorn/no-new-array'?: Linter.RuleEntry<[]>
5935
5898
  /**
5936
5899
  * Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
5937
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5938
5901
  */
5939
5902
  'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
5940
5903
  /**
5941
5904
  * Disallow the use of the `null` literal.
5942
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5943
5906
  */
5944
5907
  'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
5945
5908
  /**
5946
5909
  * Disallow the use of objects as default parameters.
5947
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5948
5911
  */
5949
5912
  'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
5950
5913
  /**
5951
5914
  * Disallow `process.exit()`.
5952
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5953
5916
  */
5954
5917
  'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
5955
5918
  /**
5956
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5957
5920
  * @deprecated
5958
5921
  */
5959
5922
  'unicorn/no-reduce'?: Linter.RuleEntry<[]>
5960
5923
  /**
5961
5924
  * Disallow passing single-element arrays to `Promise` methods.
5962
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5963
5926
  */
5964
5927
  'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
5965
5928
  /**
5966
5929
  * Disallow classes that only have static members.
5967
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5968
5931
  */
5969
5932
  'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
5970
5933
  /**
5971
5934
  * Disallow `then` property.
5972
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5973
5936
  */
5974
5937
  'unicorn/no-thenable'?: Linter.RuleEntry<[]>
5975
5938
  /**
5976
5939
  * Disallow assigning `this` to a variable.
5977
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5978
5941
  */
5979
5942
  'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
5980
5943
  /**
5981
5944
  * Disallow comparing `undefined` using `typeof`.
5982
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5983
5946
  */
5984
5947
  'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
5985
5948
  /**
5986
5949
  * Disallow awaiting non-promise values.
5987
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5988
5951
  */
5989
5952
  'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
5990
5953
  /**
5991
5954
  * Enforce the use of built-in methods instead of unnecessary polyfills.
5992
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5993
5956
  */
5994
5957
  'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
5995
5958
  /**
5996
5959
  * Disallow unreadable array destructuring.
5997
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
5998
5961
  */
5999
5962
  'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
6000
5963
  /**
6001
5964
  * Disallow unreadable IIFEs.
6002
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6003
5966
  */
6004
5967
  'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
6005
5968
  /**
6006
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6007
5970
  * @deprecated
6008
5971
  */
6009
5972
  'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
6010
5973
  /**
6011
5974
  * Disallow unused object properties.
6012
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6013
5976
  */
6014
5977
  'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
6015
5978
  /**
6016
5979
  * Disallow useless fallback when spreading in object literals.
6017
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6018
5981
  */
6019
5982
  'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
6020
5983
  /**
6021
5984
  * Disallow useless array length check.
6022
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6023
5986
  */
6024
5987
  'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
6025
5988
  /**
6026
5989
  * Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
6027
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6028
5991
  */
6029
5992
  'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
6030
5993
  /**
6031
5994
  * Disallow unnecessary spread.
6032
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6033
5996
  */
6034
5997
  'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
6035
5998
  /**
6036
5999
  * Disallow useless case in switch statements.
6037
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6038
6001
  */
6039
6002
  'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
6040
6003
  /**
6041
6004
  * Disallow useless `undefined`.
6042
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6043
6006
  */
6044
6007
  'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
6045
6008
  /**
6046
6009
  * Disallow number literals with zero fractions or dangling dots.
6047
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6048
6011
  */
6049
6012
  'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
6050
6013
  /**
6051
6014
  * Enforce proper case for numeric literals.
6052
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6053
6016
  */
6054
6017
  'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
6055
6018
  /**
6056
6019
  * Enforce the style of numeric separators by correctly grouping digits.
6057
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6058
6021
  */
6059
6022
  'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
6060
6023
  /**
6061
6024
  * Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
6062
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6063
6026
  */
6064
6027
  'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
6065
6028
  /**
6066
6029
  * Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
6067
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6068
6031
  */
6069
6032
  'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
6070
6033
  /**
6071
6034
  * Prefer `Array#flat()` over legacy techniques to flatten arrays.
6072
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6073
6036
  */
6074
6037
  'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
6075
6038
  /**
6076
6039
  * Prefer `.flatMap(…)` over `.map(…).flat()`.
6077
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6078
6041
  */
6079
6042
  'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
6080
6043
  /**
6081
6044
  * Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
6082
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6083
6046
  */
6084
6047
  'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
6085
6048
  /**
6086
6049
  * Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
6087
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-array-some.md
6050
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
6088
6051
  */
6089
6052
  'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
6090
6053
  /**
6091
6054
  * Prefer `.at()` method for index access and `String#charAt()`.
6092
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6093
6056
  */
6094
6057
  'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
6095
6058
  /**
6096
6059
  * Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
6097
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6098
6061
  */
6099
6062
  'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
6100
6063
  /**
6101
6064
  * Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
6102
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6103
6066
  */
6104
6067
  'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
6105
6068
  /**
6106
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6107
6070
  * @deprecated
6108
6071
  */
6109
6072
  'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
6110
6073
  /**
6111
6074
  * Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
6112
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6113
6076
  */
6114
6077
  'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
6115
6078
  /**
6116
6079
  * Prefer default parameters over reassignment.
6117
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6118
6081
  */
6119
6082
  'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
6120
6083
  /**
6121
6084
  * Prefer `Node#append()` over `Node#appendChild()`.
6122
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6123
6086
  */
6124
6087
  'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
6125
6088
  /**
6126
6089
  * Prefer using `.dataset` on DOM elements over calling attribute methods.
6127
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6128
6091
  */
6129
6092
  'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
6130
6093
  /**
6131
6094
  * Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
6132
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6133
6096
  */
6134
6097
  'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
6135
6098
  /**
6136
6099
  * Prefer `.textContent` over `.innerText`.
6137
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6138
6101
  */
6139
6102
  'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
6140
6103
  /**
6141
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6142
6105
  * @deprecated
6143
6106
  */
6144
6107
  'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
6145
6108
  /**
6146
6109
  * Prefer `EventTarget` over `EventEmitter`.
6147
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6148
6111
  */
6149
6112
  'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
6150
6113
  /**
6151
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6152
6115
  * @deprecated
6153
6116
  */
6154
6117
  'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
6155
6118
  /**
6156
6119
  * Prefer `export…from` when re-exporting.
6157
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6158
6121
  */
6159
6122
  'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
6160
6123
  /**
6161
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6162
6125
  * @deprecated
6163
6126
  */
6164
6127
  'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
6165
6128
  /**
6166
6129
  * Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
6167
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-includes.md
6130
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
6168
6131
  */
6169
6132
  'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
6170
6133
  /**
6171
6134
  * Prefer reading a JSON file as a buffer.
6172
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6173
6136
  */
6174
6137
  'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
6175
6138
  /**
6176
6139
  * Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
6177
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6178
6141
  */
6179
6142
  'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
6180
6143
  /**
6181
6144
  * Prefer using a logical operator over a ternary.
6182
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6183
6146
  */
6184
6147
  'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
6185
6148
  /**
6186
6149
  * Enforce the use of `Math.trunc` instead of bitwise operators.
6187
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6188
6151
  */
6189
6152
  'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
6190
6153
  /**
6191
6154
  * Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
6192
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6193
6156
  */
6194
6157
  'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
6195
6158
  /**
6196
6159
  * Prefer modern `Math` APIs over legacy patterns.
6197
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6198
6161
  */
6199
6162
  'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
6200
6163
  /**
6201
6164
  * Prefer JavaScript modules (ESM) over CommonJS.
6202
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6203
6166
  */
6204
6167
  'unicorn/prefer-module'?: Linter.RuleEntry<[]>
6205
6168
  /**
6206
6169
  * Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
6207
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6208
6171
  */
6209
6172
  'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
6210
6173
  /**
6211
6174
  * Prefer negative index over `.length - index` when possible.
6212
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6213
6176
  */
6214
6177
  'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
6215
6178
  /**
6216
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6217
6180
  * @deprecated
6218
6181
  */
6219
6182
  'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
6220
6183
  /**
6221
6184
  * Prefer using the `node:` protocol when importing Node.js builtin modules.
6222
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6223
6186
  */
6224
6187
  'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
6225
6188
  /**
6226
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6227
6190
  * @deprecated
6228
6191
  */
6229
6192
  'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
6230
6193
  /**
6231
6194
  * Prefer `Number` static properties over global ones.
6232
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6233
6196
  */
6234
6197
  'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
6235
6198
  /**
6236
6199
  * Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
6237
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6238
6201
  */
6239
6202
  'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
6240
6203
  /**
6241
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6242
6205
  * @deprecated
6243
6206
  */
6244
6207
  'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
6245
6208
  /**
6246
6209
  * Prefer omitting the `catch` binding parameter.
6247
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6248
6211
  */
6249
6212
  'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
6250
6213
  /**
6251
6214
  * Prefer borrowing methods from the prototype instead of the instance.
6252
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6253
6216
  */
6254
6217
  'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
6255
6218
  /**
6256
6219
  * Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
6257
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6258
6221
  */
6259
6222
  'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
6260
6223
  /**
6261
6224
  * Prefer `Reflect.apply()` over `Function#apply()`.
6262
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6263
6226
  */
6264
6227
  'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
6265
6228
  /**
6266
6229
  * Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
6267
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6268
6231
  */
6269
6232
  'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
6270
6233
  /**
6271
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6272
6235
  * @deprecated
6273
6236
  */
6274
6237
  'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
6275
6238
  /**
6276
6239
  * Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
6277
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6278
6241
  */
6279
6242
  'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
6280
6243
  /**
6281
6244
  * Prefer using `Set#size` instead of `Array#length`.
6282
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6283
6246
  */
6284
6247
  'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
6285
6248
  /**
6286
6249
  * Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
6287
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6288
6251
  */
6289
6252
  'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
6290
6253
  /**
6291
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6292
6255
  * @deprecated
6293
6256
  */
6294
6257
  'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
6295
6258
  /**
6296
6259
  * Prefer using the `String.raw` tag to avoid escaping `\`.
6297
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-string-raw.md
6260
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
6298
6261
  */
6299
6262
  'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
6300
6263
  /**
6301
6264
  * Prefer `String#replaceAll()` over regex searches with the global flag.
6302
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6303
6266
  */
6304
6267
  'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
6305
6268
  /**
6306
6269
  * Prefer `String#slice()` over `String#substr()` and `String#substring()`.
6307
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6308
6271
  */
6309
6272
  'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
6310
6273
  /**
6311
6274
  * Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
6312
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6313
6276
  */
6314
6277
  'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
6315
6278
  /**
6316
6279
  * Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
6317
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6318
6281
  */
6319
6282
  'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
6320
6283
  /**
6321
6284
  * Prefer using `structuredClone` to create a deep clone.
6322
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/prefer-structured-clone.md
6285
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
6323
6286
  */
6324
6287
  'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
6325
6288
  /**
6326
6289
  * Prefer `switch` over multiple `else-if`.
6327
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6328
6291
  */
6329
6292
  'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
6330
6293
  /**
6331
6294
  * Prefer ternary expressions over simple `if-else` statements.
6332
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6333
6296
  */
6334
6297
  'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
6335
6298
  /**
6336
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6337
6300
  * @deprecated
6338
6301
  */
6339
6302
  'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
6340
6303
  /**
6341
6304
  * Prefer top-level await over top-level promises and async function calls.
6342
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6343
6306
  */
6344
6307
  'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
6345
6308
  /**
6346
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6347
6310
  * @deprecated
6348
6311
  */
6349
6312
  'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
6350
6313
  /**
6351
6314
  * Enforce throwing `TypeError` in type checking conditions.
6352
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6353
6316
  */
6354
6317
  'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
6355
6318
  /**
6356
6319
  * Prevent abbreviations.
6357
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6358
6321
  */
6359
6322
  'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
6360
6323
  /**
6361
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6362
6325
  * @deprecated
6363
6326
  */
6364
6327
  'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
6365
6328
  /**
6366
6329
  * Enforce consistent relative URL style.
6367
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6368
6331
  */
6369
6332
  'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
6370
6333
  /**
6371
6334
  * Enforce using the separator argument with `Array#join()`.
6372
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6373
6336
  */
6374
6337
  'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
6375
6338
  /**
6376
6339
  * Enforce using the digits argument with `Number#toFixed()`.
6377
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6378
6341
  */
6379
6342
  'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
6380
6343
  /**
6381
6344
  * Enforce using the `targetOrigin` argument with `window.postMessage()`.
6382
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6383
6346
  */
6384
6347
  'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
6385
6348
  /**
6386
6349
  * Enforce better string content.
6387
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6388
6351
  */
6389
6352
  'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
6390
6353
  /**
6391
6354
  * Enforce consistent brace style for `case` clauses.
6392
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6393
6356
  */
6394
6357
  'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
6395
6358
  /**
6396
6359
  * Fix whitespace-insensitive template indentation.
6397
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6398
6361
  */
6399
6362
  'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
6400
6363
  /**
6401
6364
  * Enforce consistent case for text encoding identifiers.
6402
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.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
6403
6366
  */
6404
6367
  'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
6405
6368
  /**
6406
6369
  * Require `new` when creating an error.
6407
- * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v54.0.0/docs/rules/throw-new-error.md
6370
+ * @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
6408
6371
  */
6409
6372
  'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
6410
6373
  /**
@@ -6434,7 +6397,7 @@ interface RuleOptions {
6434
6397
  'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
6435
6398
  /**
6436
6399
  * Disallow unused variables
6437
- * @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
6438
6401
  */
6439
6402
  'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
6440
6403
  /**
@@ -8448,6 +8411,25 @@ type JsdocCheckValues = []|[{
8448
8411
  licensePattern?: string
8449
8412
  numericOnlyVariation?: boolean
8450
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
+ }]
8451
8433
  // ----- jsdoc/empty-tags -----
8452
8434
  type JsdocEmptyTags = []|[{
8453
8435
  tags?: string[]
@@ -8467,6 +8449,12 @@ type JsdocInformativeDocs = []|[{
8467
8449
  excludedTags?: string[]
8468
8450
  uselessWords?: string[]
8469
8451
  }]
8452
+ // ----- jsdoc/lines-before-block -----
8453
+ type JsdocLinesBeforeBlock = []|[{
8454
+ excludedTags?: string[]
8455
+ ignoreSameLine?: boolean
8456
+ lines?: number
8457
+ }]
8470
8458
  // ----- jsdoc/match-description -----
8471
8459
  type JsdocMatchDescription = []|[{
8472
8460
  contexts?: (string | {
@@ -8735,6 +8723,10 @@ type JsdocRequireReturnsType = []|[{
8735
8723
  context?: string
8736
8724
  })[]
8737
8725
  }]
8726
+ // ----- jsdoc/require-template -----
8727
+ type JsdocRequireTemplate = []|[{
8728
+ requireSeparateTemplates?: boolean
8729
+ }]
8738
8730
  // ----- jsdoc/require-throws -----
8739
8731
  type JsdocRequireThrows = []|[{
8740
8732
  contexts?: (string | {
@@ -9831,18 +9823,11 @@ type NoRestrictedImports = ((string | {
9831
9823
  importNames?: string[]
9832
9824
  allowImportNames?: string[]
9833
9825
  })[]
9834
- patterns?: (string[] | {
9835
-
9836
- importNames?: [string, ...(string)[]]
9837
-
9838
- allowImportNames?: [string, ...(string)[]]
9839
-
9840
- group: [string, ...(string)[]]
9841
- importNamePattern?: string
9842
- allowImportNamePattern?: string
9843
- message?: string
9844
- caseSensitive?: boolean
9845
- }[])
9826
+ patterns?: (string[] | ({
9827
+ [k: string]: unknown | undefined
9828
+ } | {
9829
+ [k: string]: unknown | undefined
9830
+ })[])
9846
9831
  }])
9847
9832
  // ----- no-restricted-modules -----
9848
9833
  type NoRestrictedModules = ((string | {
@@ -10187,7 +10172,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
10187
10172
  type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
10188
10173
  version?: string
10189
10174
  allowExperimental?: boolean
10190
- ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.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")[]
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")[]
10191
10176
  }]
10192
10177
  // ----- node/prefer-global/buffer -----
10193
10178
  type NodePreferGlobalBuffer = []|[("always" | "never")]
@@ -10329,48 +10314,90 @@ type PaddingLineBetweenStatements = {
10329
10314
  }[]
10330
10315
  // ----- perfectionist/sort-array-includes -----
10331
10316
  type PerfectionistSortArrayIncludes = []|[{
10317
+
10332
10318
  type?: ("alphabetical" | "natural" | "line-length")
10319
+
10333
10320
  order?: ("asc" | "desc")
10334
- "ignore-case"?: boolean
10335
- "spread-last"?: boolean
10321
+
10322
+ ignoreCase?: boolean
10323
+
10324
+ groupKind?: ("mixed" | "literals-first" | "spreads-first")
10336
10325
  }]
10337
10326
  // ----- perfectionist/sort-astro-attributes -----
10338
10327
  type PerfectionistSortAstroAttributes = []|[{
10339
- "custom-groups"?: {
10340
- [k: string]: unknown | undefined
10341
- }
10328
+
10342
10329
  type?: ("alphabetical" | "natural" | "line-length")
10330
+
10343
10331
  order?: ("asc" | "desc")
10344
- "ignore-case"?: boolean
10345
- groups?: unknown[]
10332
+
10333
+ ignoreCase?: boolean
10334
+
10335
+ groups?: (string | string[])[]
10336
+
10337
+ customGroups?: {
10338
+ [k: string]: (string | string[]) | undefined
10339
+ }
10346
10340
  }]
10347
10341
  // ----- perfectionist/sort-classes -----
10348
10342
  type PerfectionistSortClasses = []|[{
10349
- "custom-groups"?: {
10350
- [k: string]: unknown | undefined
10351
- }
10343
+
10352
10344
  type?: ("alphabetical" | "natural" | "line-length")
10353
- "ignore-case"?: boolean
10345
+
10354
10346
  order?: ("asc" | "desc")
10355
- 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
+ }
10356
10357
  }]
10357
10358
  // ----- perfectionist/sort-enums -----
10358
10359
  type PerfectionistSortEnums = []|[{
10359
- "partition-by-comment"?: (boolean | string | unknown[])
10360
+
10360
10361
  type?: ("alphabetical" | "natural" | "line-length")
10361
- "ignore-case"?: boolean
10362
+
10362
10363
  order?: ("asc" | "desc")
10364
+
10365
+ ignoreCase?: boolean
10366
+
10367
+ sortByValue?: boolean
10368
+
10369
+ forceNumericSort?: boolean
10370
+
10371
+ partitionByComment?: (string[] | boolean | string)
10363
10372
  }]
10364
10373
  // ----- perfectionist/sort-exports -----
10365
10374
  type PerfectionistSortExports = []|[{
10375
+
10366
10376
  type?: ("alphabetical" | "natural" | "line-length")
10377
+
10367
10378
  order?: ("asc" | "desc")
10368
- "ignore-case"?: boolean
10379
+
10380
+ ignoreCase?: boolean
10369
10381
  }]
10370
10382
  // ----- perfectionist/sort-imports -----
10371
10383
  type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
10372
10384
  type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
10373
- "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?: {
10374
10401
  type?: {
10375
10402
  [k: string]: unknown | undefined
10376
10403
  }
@@ -10378,13 +10405,8 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
10378
10405
  [k: string]: unknown | undefined
10379
10406
  }
10380
10407
  }
10381
- type?: ("alphabetical" | "natural" | "line-length")
10382
- order?: ("asc" | "desc")
10383
- "ignore-case"?: boolean
10384
- groups?: unknown[]
10385
- "internal-pattern"?: string[]
10386
- "newlines-between"?: ("ignore" | "always" | "never")
10387
- "max-line-length"?: number
10408
+
10409
+ environment?: ("node" | "bun")
10388
10410
  })
10389
10411
  type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
10390
10412
  [k: string]: unknown | undefined
@@ -10395,105 +10417,188 @@ interface _PerfectionistSortImports_IsLineLength {
10395
10417
  }
10396
10418
  // ----- perfectionist/sort-interfaces -----
10397
10419
  type PerfectionistSortInterfaces = []|[{
10398
- "custom-groups"?: {
10399
- [k: string]: unknown | undefined
10400
- }
10401
- "optionality-order"?: ("ignore" | "optional-first" | "required-first")
10420
+
10402
10421
  type?: ("alphabetical" | "natural" | "line-length")
10422
+
10403
10423
  order?: ("asc" | "desc")
10404
- "ignore-case"?: boolean
10405
- "ignore-pattern"?: string[]
10406
- groups?: unknown[]
10407
- "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
+ }
10408
10438
  }]
10409
10439
  // ----- perfectionist/sort-intersection-types -----
10410
10440
  type PerfectionistSortIntersectionTypes = []|[{
10441
+
10411
10442
  type?: ("alphabetical" | "natural" | "line-length")
10443
+
10412
10444
  order?: ("asc" | "desc")
10413
- "ignore-case"?: boolean
10445
+
10446
+ ignoreCase?: boolean
10447
+
10448
+ groups?: (string | string[])[]
10414
10449
  }]
10415
10450
  // ----- perfectionist/sort-jsx-props -----
10416
10451
  type PerfectionistSortJsxProps = []|[{
10417
- "custom-groups"?: {
10418
- [k: string]: unknown | undefined
10419
- }
10452
+
10420
10453
  type?: ("alphabetical" | "natural" | "line-length")
10454
+
10421
10455
  order?: ("asc" | "desc")
10422
- groups?: unknown[]
10423
- "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
+ }
10424
10466
  }]
10425
10467
  // ----- perfectionist/sort-maps -----
10426
10468
  type PerfectionistSortMaps = []|[{
10469
+
10427
10470
  type?: ("alphabetical" | "natural" | "line-length")
10471
+
10428
10472
  order?: ("asc" | "desc")
10429
- "ignore-case"?: boolean
10473
+
10474
+ ignoreCase?: boolean
10430
10475
  }]
10431
10476
  // ----- perfectionist/sort-named-exports -----
10432
10477
  type PerfectionistSortNamedExports = []|[{
10478
+
10433
10479
  type?: ("alphabetical" | "natural" | "line-length")
10480
+
10434
10481
  order?: ("asc" | "desc")
10435
- "ignore-case"?: boolean
10436
- "group-kind"?: ("mixed" | "values-first" | "types-first")
10482
+
10483
+ ignoreCase?: boolean
10484
+
10485
+ groupKind?: ("mixed" | "values-first" | "types-first")
10437
10486
  }]
10438
10487
  // ----- perfectionist/sort-named-imports -----
10439
10488
  type PerfectionistSortNamedImports = []|[{
10489
+
10440
10490
  type?: ("alphabetical" | "natural" | "line-length")
10491
+
10441
10492
  order?: ("asc" | "desc")
10442
- "ignore-case"?: boolean
10443
- "ignore-alias"?: boolean
10444
- "group-kind"?: ("mixed" | "values-first" | "types-first")
10493
+
10494
+ ignoreCase?: boolean
10495
+
10496
+ ignoreAlias?: boolean
10497
+
10498
+ groupKind?: ("mixed" | "values-first" | "types-first")
10445
10499
  }]
10446
10500
  // ----- perfectionist/sort-object-types -----
10447
10501
  type PerfectionistSortObjectTypes = []|[{
10448
- "custom-groups"?: {
10449
- [k: string]: unknown | undefined
10450
- }
10502
+
10451
10503
  type?: ("alphabetical" | "natural" | "line-length")
10504
+
10452
10505
  order?: ("asc" | "desc")
10453
- "ignore-case"?: boolean
10454
- groups?: unknown[]
10455
- "partition-by-new-line"?: 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
+ }
10456
10518
  }]
10457
10519
  // ----- perfectionist/sort-objects -----
10458
10520
  type PerfectionistSortObjects = []|[{
10459
- "custom-groups"?: {
10460
- [k: string]: unknown | undefined
10461
- }
10462
- "partition-by-comment"?: (boolean | string | unknown[])
10463
- "partition-by-new-line"?: boolean
10464
- "styled-components"?: boolean
10521
+
10465
10522
  type?: ("alphabetical" | "natural" | "line-length")
10523
+
10466
10524
  order?: ("asc" | "desc")
10467
- "ignore-case"?: boolean
10468
- "ignore-pattern"?: string[]
10469
- 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
+ }
10470
10543
  }]
10471
10544
  // ----- perfectionist/sort-svelte-attributes -----
10472
10545
  type PerfectionistSortSvelteAttributes = []|[{
10473
- "custom-groups"?: {
10474
- [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
10475
10557
  }
10558
+ }]
10559
+ // ----- perfectionist/sort-switch-case -----
10560
+ type PerfectionistSortSwitchCase = []|[{
10561
+
10476
10562
  type?: ("alphabetical" | "natural" | "line-length")
10563
+
10477
10564
  order?: ("asc" | "desc")
10478
- "ignore-case"?: boolean
10479
- groups?: unknown[]
10565
+
10566
+ ignoreCase?: boolean
10480
10567
  }]
10481
10568
  // ----- perfectionist/sort-union-types -----
10482
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
+
10483
10582
  type?: ("alphabetical" | "natural" | "line-length")
10583
+
10484
10584
  order?: ("asc" | "desc")
10485
- "ignore-case"?: boolean
10486
- "nullable-last"?: boolean
10585
+
10586
+ ignoreCase?: boolean
10487
10587
  }]
10488
10588
  // ----- perfectionist/sort-vue-attributes -----
10489
10589
  type PerfectionistSortVueAttributes = []|[{
10490
- "custom-groups"?: {
10491
- [k: string]: unknown | undefined
10492
- }
10590
+
10493
10591
  type?: ("alphabetical" | "natural" | "line-length")
10592
+
10494
10593
  order?: ("asc" | "desc")
10495
- "ignore-case"?: boolean
10496
- groups?: unknown[]
10594
+
10595
+ ignoreCase?: boolean
10596
+
10597
+ groups?: (string | string[])[]
10598
+
10599
+ customGroups?: {
10600
+ [k: string]: (string | string[]) | undefined
10601
+ }
10497
10602
  }]
10498
10603
  // ----- prefer-arrow-callback -----
10499
10604
  type PreferArrowCallback = []|[{
@@ -10565,6 +10670,9 @@ type ReactHooksExhaustiveDeps = []|[{
10565
10670
  }]
10566
10671
  // ----- react-naming-convention/component-name -----
10567
10672
  type ReactNamingConventionComponentName = []|[(("PascalCase" | "CONSTANT_CASE") | {
10673
+ allowAllCaps?: boolean
10674
+ allowLeadingUnderscore?: boolean
10675
+ allowNamespace?: boolean
10568
10676
  excepts?: string[]
10569
10677
  rule?: ("PascalCase" | "CONSTANT_CASE")
10570
10678
  })]
@@ -11733,7 +11841,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
11733
11841
  }]
11734
11842
  // ----- style/padding-line-between-statements -----
11735
11843
  type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
11736
- 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"))[]])
11737
11845
  type StylePaddingLineBetweenStatements = {
11738
11846
  blankLine: _StylePaddingLineBetweenStatementsPaddingType
11739
11847
  prev: _StylePaddingLineBetweenStatementsStatementType
@@ -12046,6 +12154,7 @@ type TestNoLargeSnapshots = []|[{
12046
12154
  type TestNoOnlyTests = []|[{
12047
12155
  block?: string[]
12048
12156
  focus?: string[]
12157
+ functions?: string[]
12049
12158
  fix?: boolean
12050
12159
  }]
12051
12160
  // ----- test/no-restricted-matchers -----
@@ -12058,7 +12167,8 @@ type TestNoRestrictedViMethods = []|[{
12058
12167
  }]
12059
12168
  // ----- test/no-standalone-expect -----
12060
12169
  type TestNoStandaloneExpect = []|[{
12061
- additionalTestBlockFunctions?: string[]
12170
+ additionaltestblockfunctions?: string[]
12171
+ [k: string]: unknown | undefined
12062
12172
  }]
12063
12173
  // ----- test/prefer-expect-assertions -----
12064
12174
  type TestPreferExpectAssertions = []|[{
@@ -12239,596 +12349,115 @@ type TsBanTsComment = []|[{
12239
12349
  descriptionFormat?: string
12240
12350
  })
12241
12351
  "ts-nocheck"?: (boolean | "allow-with-description" | {
12242
- descriptionFormat?: string
12243
- })
12244
- "ts-check"?: (boolean | "allow-with-description" | {
12245
- descriptionFormat?: string
12246
- })
12247
- minimumDescriptionLength?: number
12248
- }]
12249
- // ----- ts/ban-types -----
12250
- type TsBanTypes = []|[{
12251
- types?: {
12252
- [k: string]: (null | false | true | string | {
12253
-
12254
- message?: string
12255
-
12256
- fixWith?: string
12257
-
12258
- suggest?: string[]
12259
- }) | undefined
12260
- }
12261
- extendDefaults?: boolean
12262
- }]
12263
- // ----- ts/block-spacing -----
12264
- type TsBlockSpacing = []|[("always" | "never")]
12265
- // ----- ts/brace-style -----
12266
- type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
12267
- allowSingleLine?: boolean
12268
- }]
12269
- // ----- ts/class-literal-property-style -----
12270
- type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
12271
- // ----- ts/class-methods-use-this -----
12272
- type TsClassMethodsUseThis = []|[{
12273
-
12274
- exceptMethods?: string[]
12275
-
12276
- enforceForClassFields?: boolean
12277
-
12278
- ignoreOverrideMethods?: boolean
12279
-
12280
- ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
12281
- }]
12282
- // ----- ts/comma-dangle -----
12283
- type TsCommaDangle = []|[(_TsCommaDangleValue | {
12284
- arrays?: _TsCommaDangleValueWithIgnore
12285
- objects?: _TsCommaDangleValueWithIgnore
12286
- imports?: _TsCommaDangleValueWithIgnore
12287
- exports?: _TsCommaDangleValueWithIgnore
12288
- functions?: _TsCommaDangleValueWithIgnore
12289
- enums?: _TsCommaDangleValueWithIgnore
12290
- generics?: _TsCommaDangleValueWithIgnore
12291
- tuples?: _TsCommaDangleValueWithIgnore
12292
- })]
12293
- type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
12294
- type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
12295
- // ----- ts/comma-spacing -----
12296
- type TsCommaSpacing = []|[{
12297
- before?: boolean
12298
- after?: boolean
12299
- }]
12300
- // ----- ts/consistent-generic-constructors -----
12301
- type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
12302
- // ----- ts/consistent-indexed-object-style -----
12303
- type TsConsistentIndexedObjectStyle = []|[("record" | "index-signature")]
12304
- // ----- ts/consistent-return -----
12305
- type TsConsistentReturn = []|[{
12306
- treatUndefinedAsUnspecified?: boolean
12307
- }]
12308
- // ----- ts/consistent-type-assertions -----
12309
- type TsConsistentTypeAssertions = []|[({
12310
- assertionStyle: "never"
12311
- } | {
12312
- assertionStyle: ("as" | "angle-bracket")
12313
- objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
12314
- })]
12315
- // ----- ts/consistent-type-definitions -----
12316
- type TsConsistentTypeDefinitions = []|[("interface" | "type")]
12317
- // ----- ts/consistent-type-exports -----
12318
- type TsConsistentTypeExports = []|[{
12319
- fixMixedExportsWithInlineTypeSpecifier?: boolean
12320
- }]
12321
- // ----- ts/consistent-type-imports -----
12322
- type TsConsistentTypeImports = []|[{
12323
- disallowTypeAnnotations?: boolean
12324
- fixStyle?: ("separate-type-imports" | "inline-type-imports")
12325
- prefer?: ("type-imports" | "no-type-imports")
12326
- }]
12327
- // ----- ts/dot-notation -----
12328
- type TsDotNotation = []|[{
12329
- allowKeywords?: boolean
12330
- allowPattern?: string
12331
- allowPrivateClassPropertyAccess?: boolean
12332
- allowProtectedClassPropertyAccess?: boolean
12333
- allowIndexSignaturePropertyAccess?: boolean
12334
- }]
12335
- // ----- ts/explicit-function-return-type -----
12336
- type TsExplicitFunctionReturnType = []|[{
12337
-
12338
- allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
12339
-
12340
- allowExpressions?: boolean
12341
-
12342
- allowHigherOrderFunctions?: boolean
12343
-
12344
- allowTypedFunctionExpressions?: boolean
12345
-
12346
- allowDirectConstAssertionInArrowFunctions?: boolean
12347
-
12348
- allowFunctionsWithoutTypeParameters?: boolean
12349
-
12350
- allowedNames?: string[]
12351
-
12352
- allowIIFEs?: boolean
12353
- }]
12354
- // ----- ts/explicit-member-accessibility -----
12355
- type TsExplicitMemberAccessibility = []|[{
12356
- accessibility?: ("explicit" | "no-public" | "off")
12357
- overrides?: {
12358
- accessors?: ("explicit" | "no-public" | "off")
12359
- constructors?: ("explicit" | "no-public" | "off")
12360
- methods?: ("explicit" | "no-public" | "off")
12361
- properties?: ("explicit" | "no-public" | "off")
12362
- parameterProperties?: ("explicit" | "no-public" | "off")
12363
- }
12364
- ignoredMethodNames?: string[]
12365
- }]
12366
- // ----- ts/explicit-module-boundary-types -----
12367
- type TsExplicitModuleBoundaryTypes = []|[{
12368
-
12369
- allowArgumentsExplicitlyTypedAsAny?: boolean
12370
-
12371
- allowDirectConstAssertionInArrowFunctions?: boolean
12372
-
12373
- allowedNames?: string[]
12374
-
12375
- allowHigherOrderFunctions?: boolean
12376
-
12377
- allowTypedFunctionExpressions?: boolean
12378
- }]
12379
- // ----- ts/func-call-spacing -----
12380
- type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
12381
- allowNewlines?: boolean
12382
- }])
12383
- // ----- ts/indent -----
12384
- type TsIndent = []|[("tab" | number)]|[("tab" | number), {
12385
- SwitchCase?: number
12386
- VariableDeclarator?: ((number | ("first" | "off")) | {
12387
- var?: (number | ("first" | "off"))
12388
- let?: (number | ("first" | "off"))
12389
- const?: (number | ("first" | "off"))
12390
- })
12391
- outerIIFEBody?: (number | "off")
12392
- MemberExpression?: (number | "off")
12393
- FunctionDeclaration?: {
12394
- parameters?: (number | ("first" | "off"))
12395
- body?: number
12396
- }
12397
- FunctionExpression?: {
12398
- parameters?: (number | ("first" | "off"))
12399
- body?: number
12400
- }
12401
- StaticBlock?: {
12402
- body?: number
12403
- }
12404
- CallExpression?: {
12405
- arguments?: (number | ("first" | "off"))
12406
- }
12407
- ArrayExpression?: (number | ("first" | "off"))
12408
- ObjectExpression?: (number | ("first" | "off"))
12409
- ImportDeclaration?: (number | ("first" | "off"))
12410
- flatTernaryExpressions?: boolean
12411
- offsetTernaryExpressions?: boolean
12412
- ignoredNodes?: string[]
12413
- ignoreComments?: boolean
12414
- }]
12415
- // ----- ts/init-declarations -----
12416
- type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
12417
- ignoreForLoopInit?: boolean
12418
- }])
12419
- // ----- ts/key-spacing -----
12420
- type TsKeySpacing = []|[({
12421
- align?: (("colon" | "value") | {
12422
- mode?: ("strict" | "minimum")
12423
- on?: ("colon" | "value")
12424
- beforeColon?: boolean
12425
- afterColon?: boolean
12426
- })
12427
- mode?: ("strict" | "minimum")
12428
- beforeColon?: boolean
12429
- afterColon?: boolean
12430
- } | {
12431
- singleLine?: {
12432
- mode?: ("strict" | "minimum")
12433
- beforeColon?: boolean
12434
- afterColon?: boolean
12435
- }
12436
- multiLine?: {
12437
- align?: (("colon" | "value") | {
12438
- mode?: ("strict" | "minimum")
12439
- on?: ("colon" | "value")
12440
- beforeColon?: boolean
12441
- afterColon?: boolean
12442
- })
12443
- mode?: ("strict" | "minimum")
12444
- beforeColon?: boolean
12445
- afterColon?: boolean
12446
- }
12447
- } | {
12448
- singleLine?: {
12449
- mode?: ("strict" | "minimum")
12450
- beforeColon?: boolean
12451
- afterColon?: boolean
12452
- }
12453
- multiLine?: {
12454
- mode?: ("strict" | "minimum")
12455
- beforeColon?: boolean
12456
- afterColon?: boolean
12457
- }
12458
- align?: {
12459
- mode?: ("strict" | "minimum")
12460
- on?: ("colon" | "value")
12461
- beforeColon?: boolean
12462
- afterColon?: boolean
12463
- }
12464
- })]
12465
- // ----- ts/keyword-spacing -----
12466
- type TsKeywordSpacing = []|[{
12467
- before?: boolean
12468
- after?: boolean
12469
- overrides?: {
12470
- abstract?: {
12471
- before?: boolean
12472
- after?: boolean
12473
- }
12474
- as?: {
12475
- before?: boolean
12476
- after?: boolean
12477
- }
12478
- async?: {
12479
- before?: boolean
12480
- after?: boolean
12481
- }
12482
- await?: {
12483
- before?: boolean
12484
- after?: boolean
12485
- }
12486
- boolean?: {
12487
- before?: boolean
12488
- after?: boolean
12489
- }
12490
- break?: {
12491
- before?: boolean
12492
- after?: boolean
12493
- }
12494
- byte?: {
12495
- before?: boolean
12496
- after?: boolean
12497
- }
12498
- case?: {
12499
- before?: boolean
12500
- after?: boolean
12501
- }
12502
- catch?: {
12503
- before?: boolean
12504
- after?: boolean
12505
- }
12506
- char?: {
12507
- before?: boolean
12508
- after?: boolean
12509
- }
12510
- class?: {
12511
- before?: boolean
12512
- after?: boolean
12513
- }
12514
- const?: {
12515
- before?: boolean
12516
- after?: boolean
12517
- }
12518
- continue?: {
12519
- before?: boolean
12520
- after?: boolean
12521
- }
12522
- debugger?: {
12523
- before?: boolean
12524
- after?: boolean
12525
- }
12526
- default?: {
12527
- before?: boolean
12528
- after?: boolean
12529
- }
12530
- delete?: {
12531
- before?: boolean
12532
- after?: boolean
12533
- }
12534
- do?: {
12535
- before?: boolean
12536
- after?: boolean
12537
- }
12538
- double?: {
12539
- before?: boolean
12540
- after?: boolean
12541
- }
12542
- else?: {
12543
- before?: boolean
12544
- after?: boolean
12545
- }
12546
- enum?: {
12547
- before?: boolean
12548
- after?: boolean
12549
- }
12550
- export?: {
12551
- before?: boolean
12552
- after?: boolean
12553
- }
12554
- extends?: {
12555
- before?: boolean
12556
- after?: boolean
12557
- }
12558
- false?: {
12559
- before?: boolean
12560
- after?: boolean
12561
- }
12562
- final?: {
12563
- before?: boolean
12564
- after?: boolean
12565
- }
12566
- finally?: {
12567
- before?: boolean
12568
- after?: boolean
12569
- }
12570
- float?: {
12571
- before?: boolean
12572
- after?: boolean
12573
- }
12574
- for?: {
12575
- before?: boolean
12576
- after?: boolean
12577
- }
12578
- from?: {
12579
- before?: boolean
12580
- after?: boolean
12581
- }
12582
- function?: {
12583
- before?: boolean
12584
- after?: boolean
12585
- }
12586
- get?: {
12587
- before?: boolean
12588
- after?: boolean
12589
- }
12590
- goto?: {
12591
- before?: boolean
12592
- after?: boolean
12593
- }
12594
- if?: {
12595
- before?: boolean
12596
- after?: boolean
12597
- }
12598
- implements?: {
12599
- before?: boolean
12600
- after?: boolean
12601
- }
12602
- import?: {
12603
- before?: boolean
12604
- after?: boolean
12605
- }
12606
- in?: {
12607
- before?: boolean
12608
- after?: boolean
12609
- }
12610
- instanceof?: {
12611
- before?: boolean
12612
- after?: boolean
12613
- }
12614
- int?: {
12615
- before?: boolean
12616
- after?: boolean
12617
- }
12618
- interface?: {
12619
- before?: boolean
12620
- after?: boolean
12621
- }
12622
- let?: {
12623
- before?: boolean
12624
- after?: boolean
12625
- }
12626
- long?: {
12627
- before?: boolean
12628
- after?: boolean
12629
- }
12630
- native?: {
12631
- before?: boolean
12632
- after?: boolean
12633
- }
12634
- new?: {
12635
- before?: boolean
12636
- after?: boolean
12637
- }
12638
- null?: {
12639
- before?: boolean
12640
- after?: boolean
12641
- }
12642
- of?: {
12643
- before?: boolean
12644
- after?: boolean
12645
- }
12646
- package?: {
12647
- before?: boolean
12648
- after?: boolean
12649
- }
12650
- private?: {
12651
- before?: boolean
12652
- after?: boolean
12653
- }
12654
- protected?: {
12655
- before?: boolean
12656
- after?: boolean
12657
- }
12658
- public?: {
12659
- before?: boolean
12660
- after?: boolean
12661
- }
12662
- return?: {
12663
- before?: boolean
12664
- after?: boolean
12665
- }
12666
- set?: {
12667
- before?: boolean
12668
- after?: boolean
12669
- }
12670
- short?: {
12671
- before?: boolean
12672
- after?: boolean
12673
- }
12674
- static?: {
12675
- before?: boolean
12676
- after?: boolean
12677
- }
12678
- super?: {
12679
- before?: boolean
12680
- after?: boolean
12681
- }
12682
- switch?: {
12683
- before?: boolean
12684
- after?: boolean
12685
- }
12686
- synchronized?: {
12687
- before?: boolean
12688
- after?: boolean
12689
- }
12690
- this?: {
12691
- before?: boolean
12692
- after?: boolean
12693
- }
12694
- throw?: {
12695
- before?: boolean
12696
- after?: boolean
12697
- }
12698
- throws?: {
12699
- before?: boolean
12700
- after?: boolean
12701
- }
12702
- transient?: {
12703
- before?: boolean
12704
- after?: boolean
12705
- }
12706
- true?: {
12707
- before?: boolean
12708
- after?: boolean
12709
- }
12710
- try?: {
12711
- before?: boolean
12712
- after?: boolean
12713
- }
12714
- typeof?: {
12715
- before?: boolean
12716
- after?: boolean
12717
- }
12718
- var?: {
12719
- before?: boolean
12720
- after?: boolean
12721
- }
12722
- void?: {
12723
- before?: boolean
12724
- after?: boolean
12725
- }
12726
- volatile?: {
12727
- before?: boolean
12728
- after?: boolean
12729
- }
12730
- while?: {
12731
- before?: boolean
12732
- after?: boolean
12733
- }
12734
- with?: {
12735
- before?: boolean
12736
- after?: boolean
12737
- }
12738
- yield?: {
12739
- before?: boolean
12740
- after?: boolean
12741
- }
12742
- type?: {
12743
- before?: boolean
12744
- after?: boolean
12745
- }
12746
- }
12352
+ descriptionFormat?: string
12353
+ })
12354
+ "ts-check"?: (boolean | "allow-with-description" | {
12355
+ descriptionFormat?: string
12356
+ })
12357
+ minimumDescriptionLength?: number
12747
12358
  }]
12748
- // ----- ts/lines-around-comment -----
12749
- type TsLinesAroundComment = []|[{
12750
- beforeBlockComment?: boolean
12751
- afterBlockComment?: boolean
12752
- beforeLineComment?: boolean
12753
- afterLineComment?: boolean
12754
- allowBlockStart?: boolean
12755
- allowBlockEnd?: boolean
12756
- allowClassStart?: boolean
12757
- allowClassEnd?: boolean
12758
- allowObjectStart?: boolean
12759
- allowObjectEnd?: boolean
12760
- allowArrayStart?: boolean
12761
- allowArrayEnd?: boolean
12762
- allowInterfaceStart?: boolean
12763
- allowInterfaceEnd?: boolean
12764
- allowTypeStart?: boolean
12765
- allowTypeEnd?: boolean
12766
- allowEnumStart?: boolean
12767
- allowEnumEnd?: boolean
12768
- allowModuleStart?: boolean
12769
- allowModuleEnd?: boolean
12770
- ignorePattern?: string
12771
- applyDefaultIgnorePatterns?: boolean
12359
+ // ----- ts/class-literal-property-style -----
12360
+ type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
12361
+ // ----- ts/class-methods-use-this -----
12362
+ type TsClassMethodsUseThis = []|[{
12363
+
12364
+ exceptMethods?: string[]
12365
+
12366
+ enforceForClassFields?: boolean
12367
+
12368
+ ignoreOverrideMethods?: boolean
12369
+
12370
+ ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
12371
+ }]
12372
+ // ----- ts/consistent-generic-constructors -----
12373
+ type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
12374
+ // ----- ts/consistent-indexed-object-style -----
12375
+ type TsConsistentIndexedObjectStyle = []|[("record" | "index-signature")]
12376
+ // ----- ts/consistent-return -----
12377
+ type TsConsistentReturn = []|[{
12378
+ treatUndefinedAsUnspecified?: boolean
12379
+ }]
12380
+ // ----- ts/consistent-type-assertions -----
12381
+ type TsConsistentTypeAssertions = []|[({
12382
+ assertionStyle: "never"
12383
+ } | {
12384
+ assertionStyle: ("as" | "angle-bracket")
12385
+ objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
12386
+ })]
12387
+ // ----- ts/consistent-type-definitions -----
12388
+ type TsConsistentTypeDefinitions = []|[("interface" | "type")]
12389
+ // ----- ts/consistent-type-exports -----
12390
+ type TsConsistentTypeExports = []|[{
12391
+ fixMixedExportsWithInlineTypeSpecifier?: boolean
12392
+ }]
12393
+ // ----- ts/consistent-type-imports -----
12394
+ type TsConsistentTypeImports = []|[{
12395
+ disallowTypeAnnotations?: boolean
12396
+ fixStyle?: ("separate-type-imports" | "inline-type-imports")
12397
+ prefer?: ("type-imports" | "no-type-imports")
12398
+ }]
12399
+ // ----- ts/dot-notation -----
12400
+ type TsDotNotation = []|[{
12401
+ allowKeywords?: boolean
12402
+ allowPattern?: string
12403
+ allowPrivateClassPropertyAccess?: boolean
12404
+ allowProtectedClassPropertyAccess?: boolean
12405
+ allowIndexSignaturePropertyAccess?: boolean
12772
12406
  }]
12773
- // ----- ts/lines-between-class-members -----
12774
- type TsLinesBetweenClassMembers = []|[({
12407
+ // ----- ts/explicit-function-return-type -----
12408
+ type TsExplicitFunctionReturnType = []|[{
12775
12409
 
12776
- enforce: [{
12777
- blankLine: ("always" | "never")
12778
- prev: ("method" | "field" | "*")
12779
- next: ("method" | "field" | "*")
12780
- }, ...({
12781
- blankLine: ("always" | "never")
12782
- prev: ("method" | "field" | "*")
12783
- next: ("method" | "field" | "*")
12784
- })[]]
12785
- } | ("always" | "never"))]|[({
12410
+ allowConciseArrowFunctionExpressionsStartingWithVoid?: boolean
12786
12411
 
12787
- enforce: [{
12788
- blankLine: ("always" | "never")
12789
- prev: ("method" | "field" | "*")
12790
- next: ("method" | "field" | "*")
12791
- }, ...({
12792
- blankLine: ("always" | "never")
12793
- prev: ("method" | "field" | "*")
12794
- next: ("method" | "field" | "*")
12795
- })[]]
12796
- } | ("always" | "never")), {
12797
- exceptAfterSingleLine?: boolean
12798
- exceptAfterOverload?: boolean
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[]
12437
+ }]
12438
+ // ----- ts/explicit-module-boundary-types -----
12439
+ type TsExplicitModuleBoundaryTypes = []|[{
12440
+
12441
+ allowArgumentsExplicitlyTypedAsAny?: boolean
12442
+
12443
+ allowDirectConstAssertionInArrowFunctions?: boolean
12444
+
12445
+ allowedNames?: string[]
12446
+
12447
+ allowHigherOrderFunctions?: boolean
12448
+
12449
+ allowTypedFunctionExpressions?: boolean
12799
12450
  }]
12451
+ // ----- ts/init-declarations -----
12452
+ type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
12453
+ ignoreForLoopInit?: boolean
12454
+ }])
12800
12455
  // ----- ts/max-params -----
12801
12456
  type TsMaxParams = []|[{
12802
12457
  maximum?: number
12803
12458
  max?: number
12804
12459
  countVoidThis?: boolean
12805
12460
  }]
12806
- // ----- ts/member-delimiter-style -----
12807
- type TsMemberDelimiterStyle = []|[{
12808
- multiline?: {
12809
- delimiter?: ("none" | "semi" | "comma")
12810
- requireLast?: boolean
12811
- }
12812
- singleline?: {
12813
- delimiter?: ("semi" | "comma")
12814
- requireLast?: boolean
12815
- }
12816
- overrides?: {
12817
- interface?: _TsMemberDelimiterStyle_DelimiterConfig
12818
- typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
12819
- }
12820
- multilineDetection?: ("brackets" | "last-member")
12821
- }]
12822
- interface _TsMemberDelimiterStyle_DelimiterConfig {
12823
- multiline?: {
12824
- delimiter?: ("none" | "semi" | "comma")
12825
- requireLast?: boolean
12826
- }
12827
- singleline?: {
12828
- delimiter?: ("semi" | "comma")
12829
- requireLast?: boolean
12830
- }
12831
- }
12832
12461
  // ----- ts/member-ordering -----
12833
12462
  type TsMemberOrdering = []|[{
12834
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")[])[] | {
@@ -13200,6 +12829,12 @@ type TsNoEmptyFunction = []|[{
13200
12829
  type TsNoEmptyInterface = []|[{
13201
12830
  allowSingleExtends?: boolean
13202
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
+ }]
13203
12838
  // ----- ts/no-explicit-any -----
13204
12839
  type TsNoExplicitAny = []|[{
13205
12840
 
@@ -13207,19 +12842,6 @@ type TsNoExplicitAny = []|[{
13207
12842
 
13208
12843
  ignoreRestArgs?: boolean
13209
12844
  }]
13210
- // ----- ts/no-extra-parens -----
13211
- type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
13212
- conditionalAssign?: boolean
13213
- ternaryOperandBinaryExpressions?: boolean
13214
- nestedBinaryExpressions?: boolean
13215
- returnAssign?: boolean
13216
- ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
13217
- enforceForArrowConditionals?: boolean
13218
- enforceForSequenceExpressions?: boolean
13219
- enforceForNewInMemberExpressions?: boolean
13220
- enforceForFunctionPrototypeMethods?: boolean
13221
- allowParensAfterCommentPattern?: string
13222
- }])
13223
12845
  // ----- ts/no-extraneous-class -----
13224
12846
  type TsNoExtraneousClass = []|[{
13225
12847
 
@@ -13233,10 +12855,6 @@ type TsNoExtraneousClass = []|[{
13233
12855
  }]
13234
12856
  // ----- ts/no-floating-promises -----
13235
12857
  type TsNoFloatingPromises = []|[{
13236
-
13237
- ignoreVoid?: boolean
13238
-
13239
- ignoreIIFE?: boolean
13240
12858
  allowForKnownSafePromises?: (string | {
13241
12859
  from: "file"
13242
12860
  name: (string | [string, ...(string)[]])
@@ -13249,6 +12867,24 @@ type TsNoFloatingPromises = []|[{
13249
12867
  name: (string | [string, ...(string)[]])
13250
12868
  package: string
13251
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
12884
+
12885
+ ignoreVoid?: boolean
12886
+
12887
+ ignoreIIFE?: boolean
13252
12888
  }]
13253
12889
  // ----- ts/no-inferrable-types -----
13254
12890
  type TsNoInferrableTypes = []|[{
@@ -13287,6 +12923,7 @@ type TsNoMisusedPromises = []|[{
13287
12923
  checksVoidReturn?: (boolean | {
13288
12924
  arguments?: boolean
13289
12925
  attributes?: boolean
12926
+ inheritedMethods?: boolean
13290
12927
  properties?: boolean
13291
12928
  returns?: boolean
13292
12929
  variables?: boolean
@@ -13309,6 +12946,8 @@ type TsNoRedeclare = []|[{
13309
12946
  type TsNoRequireImports = []|[{
13310
12947
 
13311
12948
  allow?: string[]
12949
+
12950
+ allowAsImport?: boolean
13312
12951
  }]
13313
12952
  // ----- ts/no-restricted-imports -----
13314
12953
  type TsNoRestrictedImports = ((string | {
@@ -13333,7 +12972,8 @@ type TsNoRestrictedImports = ((string | {
13333
12972
 
13334
12973
  allowImportNames?: [string, ...(string)[]]
13335
12974
 
13336
- group: [string, ...(string)[]]
12975
+ group?: [string, ...(string)[]]
12976
+ regex?: string
13337
12977
  importNamePattern?: string
13338
12978
  allowImportNamePattern?: string
13339
12979
  message?: string
@@ -13342,6 +12982,19 @@ type TsNoRestrictedImports = ((string | {
13342
12982
  allowTypeImports?: boolean
13343
12983
  }[])
13344
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
+ }]
13345
12998
  // ----- ts/no-shadow -----
13346
12999
  type TsNoShadow = []|[{
13347
13000
  builtinGlobals?: boolean
@@ -13358,11 +13011,6 @@ type TsNoThisAlias = []|[{
13358
13011
 
13359
13012
  allowedNames?: string[]
13360
13013
  }]
13361
- // ----- ts/no-throw-literal -----
13362
- type TsNoThrowLiteral = []|[{
13363
- allowThrowingAny?: boolean
13364
- allowThrowingUnknown?: boolean
13365
- }]
13366
13014
  // ----- ts/no-type-alias -----
13367
13015
  type TsNoTypeAlias = []|[{
13368
13016
 
@@ -13418,6 +13066,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
13418
13066
  caughtErrors?: ("all" | "none")
13419
13067
  caughtErrorsIgnorePattern?: string
13420
13068
  destructuredArrayIgnorePattern?: string
13069
+ ignoreClassWithStaticInitBlock?: boolean
13070
+ reportUsedIgnorePattern?: boolean
13421
13071
  })]
13422
13072
  // ----- ts/no-use-before-define -----
13423
13073
  type TsNoUseBeforeDefine = []|[("nofunc" | {
@@ -13434,24 +13084,11 @@ type TsNoVarRequires = []|[{
13434
13084
 
13435
13085
  allow?: string[]
13436
13086
  }]
13437
- // ----- ts/object-curly-spacing -----
13438
- type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
13439
- arraysInObjects?: boolean
13440
- objectsInObjects?: boolean
13441
- }]
13442
13087
  // ----- ts/only-throw-error -----
13443
13088
  type TsOnlyThrowError = []|[{
13444
13089
  allowThrowingAny?: boolean
13445
13090
  allowThrowingUnknown?: boolean
13446
13091
  }]
13447
- // ----- ts/padding-line-between-statements -----
13448
- type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
13449
- 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"))[]])
13450
- type TsPaddingLineBetweenStatements = {
13451
- blankLine: _TsPaddingLineBetweenStatementsPaddingType
13452
- prev: _TsPaddingLineBetweenStatementsStatementType
13453
- next: _TsPaddingLineBetweenStatementsStatementType
13454
- }[]
13455
13092
  // ----- ts/parameter-properties -----
13456
13093
  type TsParameterProperties = []|[{
13457
13094
  allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
@@ -13566,11 +13203,6 @@ type TsPromiseFunctionAsync = []|[{
13566
13203
  checkFunctionExpressions?: boolean
13567
13204
  checkMethodDeclarations?: boolean
13568
13205
  }]
13569
- // ----- ts/quotes -----
13570
- type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
13571
- avoidEscape?: boolean
13572
- allowTemplateLiterals?: boolean
13573
- })]
13574
13206
  // ----- ts/require-array-sort-compare -----
13575
13207
  type TsRequireArraySortCompare = []|[{
13576
13208
 
@@ -13609,14 +13241,7 @@ type TsRestrictTemplateExpressions = []|[{
13609
13241
  allowNever?: boolean
13610
13242
  }]
13611
13243
  // ----- ts/return-await -----
13612
- type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
13613
- // ----- ts/semi -----
13614
- type TsSemi = ([]|["never"]|["never", {
13615
- beforeStatementContinuationChars?: ("always" | "any" | "never")
13616
- }] | []|["always"]|["always", {
13617
- omitLastInOneLineBlock?: boolean
13618
- omitLastInOneLineClassBody?: boolean
13619
- }])
13244
+ type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
13620
13245
  // ----- ts/sort-type-constituents -----
13621
13246
  type TsSortTypeConstituents = []|[{
13622
13247
 
@@ -13628,22 +13253,6 @@ type TsSortTypeConstituents = []|[{
13628
13253
 
13629
13254
  groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
13630
13255
  }]
13631
- // ----- ts/space-before-blocks -----
13632
- type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
13633
- keywords?: ("always" | "never" | "off")
13634
- functions?: ("always" | "never" | "off")
13635
- classes?: ("always" | "never" | "off")
13636
- })]
13637
- // ----- ts/space-before-function-paren -----
13638
- type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
13639
- anonymous?: ("always" | "never" | "ignore")
13640
- named?: ("always" | "never" | "ignore")
13641
- asyncArrow?: ("always" | "never" | "ignore")
13642
- })]
13643
- // ----- ts/space-infix-ops -----
13644
- type TsSpaceInfixOps = []|[{
13645
- int32Hint?: boolean
13646
- }]
13647
13256
  // ----- ts/strict-boolean-expressions -----
13648
13257
  type TsStrictBooleanExpressions = []|[{
13649
13258
  allowString?: boolean
@@ -13669,23 +13278,6 @@ type TsTripleSlashReference = []|[{
13669
13278
  path?: ("always" | "never")
13670
13279
  types?: ("always" | "never" | "prefer-import")
13671
13280
  }]
13672
- // ----- ts/type-annotation-spacing -----
13673
- type TsTypeAnnotationSpacing = []|[{
13674
- before?: boolean
13675
- after?: boolean
13676
- overrides?: {
13677
- colon?: _TsTypeAnnotationSpacing_SpacingConfig
13678
- arrow?: _TsTypeAnnotationSpacing_SpacingConfig
13679
- variable?: _TsTypeAnnotationSpacing_SpacingConfig
13680
- parameter?: _TsTypeAnnotationSpacing_SpacingConfig
13681
- property?: _TsTypeAnnotationSpacing_SpacingConfig
13682
- returnType?: _TsTypeAnnotationSpacing_SpacingConfig
13683
- }
13684
- }]
13685
- interface _TsTypeAnnotationSpacing_SpacingConfig {
13686
- before?: boolean
13687
- after?: boolean
13688
- }
13689
13281
  // ----- ts/typedef -----
13690
13282
  type TsTypedef = []|[{
13691
13283
  arrayDestructuring?: boolean
@@ -13922,6 +13514,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
13922
13514
  caughtErrors?: ("all" | "none")
13923
13515
  caughtErrorsIgnorePattern?: string
13924
13516
  destructuredArrayIgnorePattern?: string
13517
+ ignoreClassWithStaticInitBlock?: boolean
13518
+ reportUsedIgnorePattern?: boolean
13925
13519
  })]
13926
13520
  // ----- unused-imports/no-unused-vars -----
13927
13521
  type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
@@ -13933,6 +13527,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
13933
13527
  caughtErrors?: ("all" | "none")
13934
13528
  caughtErrorsIgnorePattern?: string
13935
13529
  destructuredArrayIgnorePattern?: string
13530
+ ignoreClassWithStaticInitBlock?: boolean
13531
+ reportUsedIgnorePattern?: boolean
13936
13532
  })]
13937
13533
  // ----- use-isnan -----
13938
13534
  type UseIsnan = []|[{
@@ -15337,7 +14933,7 @@ type ConfigNames = 'kirklin/astro/setup' | 'kirklin/astro/rules' | 'kirklin/esli
15337
14933
  type Awaitable<T> = T | Promise<T>;
15338
14934
  type Rules = RuleOptions;
15339
14935
 
15340
- type TypedFlatConfigItem = Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, "plugins"> & {
14936
+ type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
15341
14937
  /**
15342
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.
15343
14939
  *
@@ -15386,6 +14982,12 @@ interface OptionsFormatters {
15386
14982
  * Currently only support Prettier.
15387
14983
  */
15388
14984
  xml?: "prettier" | boolean;
14985
+ /**
14986
+ * Enable formatting support for SVG.
14987
+ *
14988
+ * Currently only support Prettier.
14989
+ */
14990
+ svg?: "prettier" | boolean;
15389
14991
  /**
15390
14992
  * Enable formatting support for Markdown.
15391
14993
  *
@@ -15455,7 +15057,11 @@ interface OptionsTypeScriptWithTypes {
15455
15057
  * When this options is provided, type aware rules will be enabled.
15456
15058
  * @see https://typescript-eslint.io/linting/typed-linting/
15457
15059
  */
15458
- tsconfigPath?: string | string[];
15060
+ tsconfigPath?: string;
15061
+ /**
15062
+ * Override type aware rules.
15063
+ */
15064
+ overridesTypeAware?: TypedFlatConfigItem["rules"];
15459
15065
  }
15460
15066
  interface OptionsHasTypeScript {
15461
15067
  typescript?: boolean;
@@ -15468,9 +15074,17 @@ interface StylisticConfig extends Pick<StylisticCustomizeOptions, "indent" | "qu
15468
15074
  interface OptionsOverrides {
15469
15075
  overrides?: TypedFlatConfigItem["rules"];
15470
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
+ }
15471
15085
  interface OptionsRegExp {
15472
15086
  /**
15473
- * Override rule levels
15087
+ * Override rulelevels
15474
15088
  */
15475
15089
  level?: "error" | "warn";
15476
15090
  }
@@ -15489,7 +15103,7 @@ interface OptionsUnoCSS extends OptionsOverrides {
15489
15103
  */
15490
15104
  strict?: boolean;
15491
15105
  }
15492
- interface OptionsConfig extends OptionsComponentExts {
15106
+ interface OptionsConfig extends OptionsComponentExts, OptionsProjectType {
15493
15107
  /**
15494
15108
  * Enable gitignore support.
15495
15109
  *
@@ -15695,10 +15309,10 @@ declare const defaultPluginRenaming: {
15695
15309
  * @returns {Promise<TypedFlatConfigItem[]>}
15696
15310
  * The merged ESLint configurations.
15697
15311
  */
15698
- 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>;
15699
15313
  type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
15700
15314
  declare function resolveSubOptions<K extends keyof OptionsConfig>(options: OptionsConfig, key: K): ResolvedOptions<OptionsConfig[K]>;
15701
- 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>;
15702
15316
 
15703
15317
  declare function astro(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15704
15318
 
@@ -15760,7 +15374,7 @@ declare function test(options?: OptionsFiles & OptionsIsInEditor & OptionsOverri
15760
15374
 
15761
15375
  declare function toml(options?: OptionsOverrides & OptionsStylistic & OptionsFiles): Promise<TypedFlatConfigItem[]>;
15762
15376
 
15763
- declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions): Promise<TypedFlatConfigItem[]>;
15377
+ declare function typescript(options?: OptionsFiles & OptionsComponentExts & OptionsOverrides & OptionsTypeScriptWithTypes & OptionsTypeScriptParserOptions & OptionsProjectType): Promise<TypedFlatConfigItem[]>;
15764
15378
 
15765
15379
  declare function unicorn(): Promise<TypedFlatConfigItem[]>;
15766
15380
 
@@ -15793,6 +15407,7 @@ declare const GLOB_VUE = "**/*.vue";
15793
15407
  declare const GLOB_YAML = "**/*.y?(a)ml";
15794
15408
  declare const GLOB_TOML = "**/*.toml";
15795
15409
  declare const GLOB_XML = "**/*.xml";
15410
+ declare const GLOB_SVG = "**/*.svg";
15796
15411
  declare const GLOB_HTML = "**/*.htm?(l)";
15797
15412
  declare const GLOB_ASTRO = "**/*.astro";
15798
15413
  declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
@@ -15849,9 +15464,7 @@ declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatCo
15849
15464
  * }]
15850
15465
  * ```
15851
15466
  */
15852
- declare function renameRules(rules: Record<string, any>, map: Record<string, string>): {
15853
- [k: string]: any;
15854
- };
15467
+ declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
15855
15468
  /**
15856
15469
  * Rename plugin names a flat configs array
15857
15470
  *
@@ -15871,6 +15484,9 @@ declare function toArray<T>(value: T | T[]): T[];
15871
15484
  declare function interopDefault<T>(m: Awaitable<T>): Promise<T extends {
15872
15485
  default: infer U;
15873
15486
  } ? U : T>;
15487
+ declare function isPackageInScope(name: string): boolean;
15874
15488
  declare function ensurePackages(packages: (string | undefined)[]): Promise<void>;
15489
+ declare function isInEditorEnv(): boolean;
15490
+ declare function isInGitHooksOrLintStaged(): boolean;
15875
15491
 
15876
- 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_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 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, 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 };
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 };