@luxass/eslint-config 4.9.0 → 4.10.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/README.md +13 -12
- package/dist/index.cjs +83 -52
- package/dist/index.d.cts +452 -245
- package/dist/index.d.ts +452 -245
- package/dist/index.js +82 -53
- package/package.json +32 -40
package/dist/index.d.cts
CHANGED
|
@@ -637,42 +637,42 @@ interface RuleOptions {
|
|
|
637
637
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
638
638
|
/**
|
|
639
639
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
|
|
641
641
|
*/
|
|
642
642
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
643
643
|
/**
|
|
644
644
|
* Ensure a default export is present, given a default import.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
645
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
|
|
646
646
|
*/
|
|
647
647
|
'import/default'?: Linter.RuleEntry<[]>
|
|
648
648
|
/**
|
|
649
649
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
650
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
|
|
651
651
|
*/
|
|
652
652
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
653
653
|
/**
|
|
654
654
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
655
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
655
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
|
|
656
656
|
*/
|
|
657
657
|
'import/export'?: Linter.RuleEntry<[]>
|
|
658
658
|
/**
|
|
659
659
|
* Ensure all exports appear after other statements.
|
|
660
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
|
|
661
661
|
*/
|
|
662
662
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
663
663
|
/**
|
|
664
664
|
* Ensure consistent use of file extension within the import path.
|
|
665
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
|
|
666
666
|
*/
|
|
667
667
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
668
668
|
/**
|
|
669
669
|
* Ensure all imports appear before other statements.
|
|
670
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
|
|
671
671
|
*/
|
|
672
672
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
673
673
|
/**
|
|
674
674
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
675
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
|
|
676
676
|
*/
|
|
677
677
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
678
678
|
/**
|
|
@@ -683,182 +683,182 @@ interface RuleOptions {
|
|
|
683
683
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
684
684
|
/**
|
|
685
685
|
* Enforce the maximum number of dependencies a module can have.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
|
|
687
687
|
*/
|
|
688
688
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
689
689
|
/**
|
|
690
690
|
* Ensure named imports correspond to a named export in the remote file.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
|
|
692
692
|
*/
|
|
693
693
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
694
694
|
/**
|
|
695
695
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
|
|
697
697
|
*/
|
|
698
698
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
699
699
|
/**
|
|
700
700
|
* Enforce a newline after import statements.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
|
|
702
702
|
*/
|
|
703
703
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
704
704
|
/**
|
|
705
705
|
* Forbid import of modules using absolute paths.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
|
|
707
707
|
*/
|
|
708
708
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
709
709
|
/**
|
|
710
710
|
* Forbid AMD `require` and `define` calls.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
|
|
712
712
|
*/
|
|
713
713
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
714
714
|
/**
|
|
715
715
|
* Forbid anonymous values as default exports.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
|
|
717
717
|
*/
|
|
718
718
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
719
719
|
/**
|
|
720
720
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
|
|
722
722
|
*/
|
|
723
723
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
724
724
|
/**
|
|
725
725
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
|
|
727
727
|
*/
|
|
728
728
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
729
729
|
/**
|
|
730
730
|
* Forbid default exports.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
|
|
732
732
|
*/
|
|
733
733
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
734
734
|
/**
|
|
735
735
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
|
|
737
737
|
*/
|
|
738
738
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
739
739
|
/**
|
|
740
740
|
* Forbid repeated import of the same module in multiple places.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
|
|
742
742
|
*/
|
|
743
743
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
744
744
|
/**
|
|
745
745
|
* Forbid `require()` calls with expressions.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
|
|
747
747
|
*/
|
|
748
748
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
749
749
|
/**
|
|
750
750
|
* Forbid empty named import blocks.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
|
|
752
752
|
*/
|
|
753
753
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
754
754
|
/**
|
|
755
755
|
* Forbid the use of extraneous packages.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
|
|
757
757
|
*/
|
|
758
758
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
759
759
|
/**
|
|
760
760
|
* Forbid import statements with CommonJS module.exports.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
|
|
762
762
|
*/
|
|
763
763
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
764
764
|
/**
|
|
765
765
|
* Forbid importing the submodules of other modules.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
|
|
767
767
|
*/
|
|
768
768
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
769
769
|
/**
|
|
770
770
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
|
|
772
772
|
*/
|
|
773
773
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
774
774
|
/**
|
|
775
775
|
* Forbid use of exported name as identifier of default export.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
|
|
777
777
|
*/
|
|
778
778
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
779
779
|
/**
|
|
780
780
|
* Forbid use of exported name as property of default export.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
|
|
782
782
|
*/
|
|
783
783
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
784
784
|
/**
|
|
785
785
|
* Forbid named default exports.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
|
|
787
787
|
*/
|
|
788
788
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
789
789
|
/**
|
|
790
790
|
* Forbid named exports.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
|
|
792
792
|
*/
|
|
793
793
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
794
794
|
/**
|
|
795
795
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
|
|
797
797
|
*/
|
|
798
798
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
799
799
|
/**
|
|
800
800
|
* Forbid Node.js builtin modules.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
|
|
802
802
|
*/
|
|
803
803
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
804
804
|
/**
|
|
805
805
|
* Forbid importing packages through relative paths.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
|
|
807
807
|
*/
|
|
808
808
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
809
809
|
/**
|
|
810
810
|
* Forbid importing modules from parent directories.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
|
|
812
812
|
*/
|
|
813
813
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
814
814
|
/**
|
|
815
815
|
* Enforce which files can be imported in a given folder.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
|
|
817
817
|
*/
|
|
818
818
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
819
819
|
/**
|
|
820
820
|
* Forbid a module from importing itself.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
|
|
822
822
|
*/
|
|
823
823
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
824
824
|
/**
|
|
825
825
|
* Forbid unassigned imports.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
|
|
827
827
|
*/
|
|
828
828
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
829
829
|
/**
|
|
830
830
|
* Ensure imports point to a file/module that can be resolved.
|
|
831
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
831
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
|
|
832
832
|
*/
|
|
833
833
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
834
834
|
/**
|
|
835
835
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
836
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
836
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
|
|
837
837
|
*/
|
|
838
838
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
839
839
|
/**
|
|
840
840
|
* Forbid unnecessary path segments in import and require statements.
|
|
841
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
841
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
|
|
842
842
|
*/
|
|
843
843
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
844
844
|
/**
|
|
845
845
|
* Forbid webpack loader syntax in imports.
|
|
846
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
846
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
|
|
847
847
|
*/
|
|
848
848
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
849
849
|
/**
|
|
850
850
|
* Enforce a convention in module import order.
|
|
851
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
851
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
|
|
852
852
|
*/
|
|
853
853
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
854
854
|
/**
|
|
855
855
|
* Prefer a default export if module exports a single name or multiple names.
|
|
856
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
856
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
|
|
857
857
|
*/
|
|
858
858
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
859
859
|
/**
|
|
860
860
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
861
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
861
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
|
|
862
862
|
*/
|
|
863
863
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
864
864
|
/**
|
|
@@ -923,6 +923,11 @@ interface RuleOptions {
|
|
|
923
923
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
|
|
924
924
|
*/
|
|
925
925
|
'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
|
|
926
|
+
/**
|
|
927
|
+
* Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
|
|
928
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
929
|
+
*/
|
|
930
|
+
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
|
|
926
931
|
/**
|
|
927
932
|
* Reports invalid types.
|
|
928
933
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
@@ -933,6 +938,11 @@ interface RuleOptions {
|
|
|
933
938
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
|
|
934
939
|
*/
|
|
935
940
|
'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
|
|
941
|
+
/**
|
|
942
|
+
* Converts non-JSDoc comments preceding or following nodes into JSDoc ones
|
|
943
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
|
|
944
|
+
*/
|
|
945
|
+
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
|
|
936
946
|
/**
|
|
937
947
|
* Expects specific tags to be empty of any content.
|
|
938
948
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
@@ -1107,6 +1117,11 @@ interface RuleOptions {
|
|
|
1107
1117
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
1108
1118
|
*/
|
|
1109
1119
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
|
|
1120
|
+
/**
|
|
1121
|
+
* Requires template tags for each generic type parameter
|
|
1122
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
1123
|
+
*/
|
|
1124
|
+
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
|
|
1110
1125
|
/**
|
|
1111
1126
|
* Requires that throw statements are documented.
|
|
1112
1127
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -2726,6 +2741,16 @@ interface RuleOptions {
|
|
|
2726
2741
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2727
2742
|
*/
|
|
2728
2743
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2744
|
+
/**
|
|
2745
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useEffect'
|
|
2746
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2747
|
+
*/
|
|
2748
|
+
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2749
|
+
/**
|
|
2750
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
2751
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2752
|
+
*/
|
|
2753
|
+
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2729
2754
|
/**
|
|
2730
2755
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2731
2756
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -2763,17 +2788,17 @@ interface RuleOptions {
|
|
|
2763
2788
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2764
2789
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2765
2790
|
/**
|
|
2766
|
-
*
|
|
2791
|
+
* avoid using shorthand boolean attribute
|
|
2767
2792
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2768
2793
|
*/
|
|
2769
2794
|
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2770
2795
|
/**
|
|
2771
|
-
*
|
|
2796
|
+
* avoid using shorthand fragment syntax
|
|
2772
2797
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2773
2798
|
*/
|
|
2774
2799
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2775
2800
|
/**
|
|
2776
|
-
* require
|
|
2801
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2777
2802
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2778
2803
|
*/
|
|
2779
2804
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2783,47 +2808,47 @@ interface RuleOptions {
|
|
|
2783
2808
|
*/
|
|
2784
2809
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2785
2810
|
/**
|
|
2786
|
-
* disallow using Array index as key
|
|
2811
|
+
* disallow using Array index as 'key'
|
|
2787
2812
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2788
2813
|
*/
|
|
2789
2814
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2790
2815
|
/**
|
|
2791
|
-
* disallow 'Children.count'
|
|
2816
|
+
* disallow using 'Children.count'
|
|
2792
2817
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
2793
2818
|
*/
|
|
2794
2819
|
'react/no-children-count'?: Linter.RuleEntry<[]>
|
|
2795
2820
|
/**
|
|
2796
|
-
* disallow 'Children.forEach'
|
|
2821
|
+
* disallow using 'Children.forEach'
|
|
2797
2822
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
2798
2823
|
*/
|
|
2799
2824
|
'react/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
2800
2825
|
/**
|
|
2801
|
-
* disallow 'Children.map'
|
|
2826
|
+
* disallow using 'Children.map'
|
|
2802
2827
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
2803
2828
|
*/
|
|
2804
2829
|
'react/no-children-map'?: Linter.RuleEntry<[]>
|
|
2805
2830
|
/**
|
|
2806
|
-
* disallow 'Children.only'
|
|
2831
|
+
* disallow using 'Children.only'
|
|
2807
2832
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
2808
2833
|
*/
|
|
2809
2834
|
'react/no-children-only'?: Linter.RuleEntry<[]>
|
|
2810
2835
|
/**
|
|
2811
|
-
* disallow passing
|
|
2836
|
+
* disallow passing 'children' as props
|
|
2812
2837
|
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
2813
2838
|
*/
|
|
2814
2839
|
'react/no-children-prop'?: Linter.RuleEntry<[]>
|
|
2815
2840
|
/**
|
|
2816
|
-
* disallow 'Children.toArray'
|
|
2841
|
+
* disallow using 'Children.toArray'
|
|
2817
2842
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
2818
2843
|
*/
|
|
2819
2844
|
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
2820
2845
|
/**
|
|
2821
|
-
* disallow class
|
|
2846
|
+
* disallow using class components
|
|
2822
2847
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
2823
2848
|
*/
|
|
2824
2849
|
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
2825
2850
|
/**
|
|
2826
|
-
* disallow 'cloneElement'
|
|
2851
|
+
* disallow using 'cloneElement'
|
|
2827
2852
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2828
2853
|
*/
|
|
2829
2854
|
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
@@ -2833,31 +2858,42 @@ interface RuleOptions {
|
|
|
2833
2858
|
*/
|
|
2834
2859
|
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
2835
2860
|
/**
|
|
2836
|
-
* disallow
|
|
2837
|
-
* @see https://eslint-react.xyz/docs/rules/no-
|
|
2861
|
+
* disallow complex conditional rendering
|
|
2862
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2863
|
+
* @deprecated
|
|
2864
|
+
*/
|
|
2865
|
+
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2866
|
+
/**
|
|
2867
|
+
* disallow complex conditional rendering
|
|
2868
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2838
2869
|
* @deprecated
|
|
2839
2870
|
*/
|
|
2840
2871
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2841
2872
|
/**
|
|
2842
|
-
* disallow
|
|
2873
|
+
* disallow using 'componentWillMount'
|
|
2843
2874
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2844
2875
|
*/
|
|
2845
2876
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2846
2877
|
/**
|
|
2847
|
-
* disallow
|
|
2878
|
+
* disallow using 'componentWillReceiveProps'
|
|
2848
2879
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2849
2880
|
*/
|
|
2850
2881
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2851
2882
|
/**
|
|
2852
|
-
* disallow
|
|
2883
|
+
* disallow using 'componentWillReceiveProps'
|
|
2853
2884
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2854
2885
|
*/
|
|
2855
2886
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2856
2887
|
/**
|
|
2857
|
-
* disallow 'createRef' in function components
|
|
2888
|
+
* disallow using 'createRef' in function components
|
|
2858
2889
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
2859
2890
|
*/
|
|
2860
2891
|
'react/no-create-ref'?: Linter.RuleEntry<[]>
|
|
2892
|
+
/**
|
|
2893
|
+
* disallow using 'defaultProps' property in components
|
|
2894
|
+
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
2895
|
+
*/
|
|
2896
|
+
'react/no-default-props'?: Linter.RuleEntry<[]>
|
|
2861
2897
|
/**
|
|
2862
2898
|
* disallow direct mutation of state
|
|
2863
2899
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
@@ -2869,9 +2905,8 @@ interface RuleOptions {
|
|
|
2869
2905
|
*/
|
|
2870
2906
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2871
2907
|
/**
|
|
2872
|
-
* disallow
|
|
2908
|
+
* disallow implicit 'key' props
|
|
2873
2909
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
2874
|
-
* @deprecated
|
|
2875
2910
|
*/
|
|
2876
2911
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2877
2912
|
/**
|
|
@@ -2880,7 +2915,7 @@ interface RuleOptions {
|
|
|
2880
2915
|
*/
|
|
2881
2916
|
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2882
2917
|
/**
|
|
2883
|
-
* require 'displayName' for memo and forwardRef components
|
|
2918
|
+
* require 'displayName' for 'memo' and 'forwardRef' components
|
|
2884
2919
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
2885
2920
|
*/
|
|
2886
2921
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
@@ -2890,27 +2925,32 @@ interface RuleOptions {
|
|
|
2890
2925
|
*/
|
|
2891
2926
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2892
2927
|
/**
|
|
2893
|
-
* disallow
|
|
2928
|
+
* disallow using unstable nested components
|
|
2894
2929
|
* @see https://eslint-react.xyz/docs/rules/no-nested-components
|
|
2895
2930
|
*/
|
|
2896
2931
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2897
2932
|
/**
|
|
2898
|
-
* disallow
|
|
2933
|
+
* disallow using 'propTypes' property in components
|
|
2934
|
+
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
2935
|
+
*/
|
|
2936
|
+
'react/no-prop-types'?: Linter.RuleEntry<[]>
|
|
2937
|
+
/**
|
|
2938
|
+
* disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
|
|
2899
2939
|
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
2900
2940
|
*/
|
|
2901
2941
|
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
2902
2942
|
/**
|
|
2903
|
-
* disallow 'setState' in 'componentDidMount'
|
|
2943
|
+
* disallow using 'setState' in 'componentDidMount'
|
|
2904
2944
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
2905
2945
|
*/
|
|
2906
2946
|
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
2907
2947
|
/**
|
|
2908
|
-
* disallow 'setState' in 'componentDidUpdate'
|
|
2948
|
+
* disallow using 'setState' in 'componentDidUpdate'
|
|
2909
2949
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
2910
2950
|
*/
|
|
2911
2951
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
2912
2952
|
/**
|
|
2913
|
-
* disallow 'setState' in 'componentWillUpdate'
|
|
2953
|
+
* disallow using 'setState' in 'componentWillUpdate'
|
|
2914
2954
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2915
2955
|
*/
|
|
2916
2956
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2920,17 +2960,17 @@ interface RuleOptions {
|
|
|
2920
2960
|
*/
|
|
2921
2961
|
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
2922
2962
|
/**
|
|
2923
|
-
* disallow
|
|
2963
|
+
* disallow using 'UNSAFE_componentWillMount'
|
|
2924
2964
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
2925
2965
|
*/
|
|
2926
2966
|
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2927
2967
|
/**
|
|
2928
|
-
* disallow
|
|
2968
|
+
* disallow using 'UNSAFE_componentWillReceiveProps'
|
|
2929
2969
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
2930
2970
|
*/
|
|
2931
2971
|
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2932
2972
|
/**
|
|
2933
|
-
* disallow
|
|
2973
|
+
* disallow using 'UNSAFE_componentWillUpdate'
|
|
2934
2974
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
2935
2975
|
*/
|
|
2936
2976
|
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2940,7 +2980,7 @@ interface RuleOptions {
|
|
|
2940
2980
|
*/
|
|
2941
2981
|
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
2942
2982
|
/**
|
|
2943
|
-
* disallow
|
|
2983
|
+
* disallow using unstable value as default param in function component
|
|
2944
2984
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
2945
2985
|
*/
|
|
2946
2986
|
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
@@ -2950,7 +2990,7 @@ interface RuleOptions {
|
|
|
2950
2990
|
*/
|
|
2951
2991
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2952
2992
|
/**
|
|
2953
|
-
*
|
|
2993
|
+
* disallow unused state of class component
|
|
2954
2994
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
2955
2995
|
*/
|
|
2956
2996
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
@@ -2965,17 +3005,17 @@ interface RuleOptions {
|
|
|
2965
3005
|
*/
|
|
2966
3006
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2967
3007
|
/**
|
|
2968
|
-
* enforce
|
|
3008
|
+
* enforce read-only props in components
|
|
2969
3009
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2970
3010
|
*/
|
|
2971
3011
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2972
3012
|
/**
|
|
2973
|
-
* enforce boolean attributes
|
|
3013
|
+
* enforce using shorthand boolean attributes
|
|
2974
3014
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2975
3015
|
*/
|
|
2976
3016
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2977
3017
|
/**
|
|
2978
|
-
* enforce using fragment syntax instead of Fragment component
|
|
3018
|
+
* enforce using fragment syntax instead of 'Fragment' component
|
|
2979
3019
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2980
3020
|
*/
|
|
2981
3021
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
@@ -4328,6 +4368,11 @@ interface RuleOptions {
|
|
|
4328
4368
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
4329
4369
|
*/
|
|
4330
4370
|
'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
|
|
4371
|
+
/**
|
|
4372
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
4373
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
4374
|
+
*/
|
|
4375
|
+
'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
4331
4376
|
/**
|
|
4332
4377
|
* Disallow unnecessary namespace qualifiers
|
|
4333
4378
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -4628,682 +4673,687 @@ interface RuleOptions {
|
|
|
4628
4673
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4629
4674
|
/**
|
|
4630
4675
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4631
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
|
|
4632
4677
|
*/
|
|
4633
4678
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4634
4679
|
/**
|
|
4635
4680
|
* Enforce a specific parameter name in catch clauses.
|
|
4636
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
|
|
4637
4682
|
*/
|
|
4638
4683
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4639
4684
|
/**
|
|
4640
4685
|
* Use destructured variables over properties.
|
|
4641
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
|
|
4642
4687
|
*/
|
|
4643
4688
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4644
4689
|
/**
|
|
4645
4690
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4646
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4647
4692
|
*/
|
|
4648
4693
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4649
4694
|
/**
|
|
4650
4695
|
* Move function definitions to the highest possible scope.
|
|
4651
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
|
|
4652
4697
|
*/
|
|
4653
4698
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4654
4699
|
/**
|
|
4655
4700
|
* Enforce correct `Error` subclassing.
|
|
4656
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
|
|
4657
4702
|
*/
|
|
4658
4703
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4659
4704
|
/**
|
|
4660
4705
|
* Enforce no spaces between braces.
|
|
4661
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
|
|
4662
4707
|
*/
|
|
4663
4708
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4664
4709
|
/**
|
|
4665
4710
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4666
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
|
|
4667
4712
|
*/
|
|
4668
4713
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4669
4714
|
/**
|
|
4670
4715
|
* Require escape sequences to use uppercase values.
|
|
4671
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
|
|
4672
4717
|
*/
|
|
4673
4718
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4674
4719
|
/**
|
|
4675
4720
|
* Add expiration conditions to TODO comments.
|
|
4676
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
|
|
4677
4722
|
*/
|
|
4678
4723
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4679
4724
|
/**
|
|
4680
4725
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4681
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
|
|
4682
4727
|
*/
|
|
4683
4728
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4684
4729
|
/**
|
|
4685
4730
|
* Enforce a case style for filenames.
|
|
4686
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
|
|
4687
4732
|
*/
|
|
4688
4733
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4689
4734
|
/**
|
|
4690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
|
|
4691
4736
|
* @deprecated
|
|
4692
4737
|
*/
|
|
4693
4738
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4694
4739
|
/**
|
|
4695
4740
|
* Enforce specific import styles per module.
|
|
4696
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
|
|
4697
4742
|
*/
|
|
4698
4743
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4699
4744
|
/**
|
|
4700
4745
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4701
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
|
|
4702
4747
|
*/
|
|
4703
4748
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4704
4749
|
/**
|
|
4705
4750
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4706
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4707
4752
|
*/
|
|
4708
4753
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4709
4754
|
/**
|
|
4710
4755
|
* Disallow anonymous functions and classes as the default export.
|
|
4711
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
|
|
4712
4757
|
*/
|
|
4713
4758
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4714
4759
|
/**
|
|
4715
4760
|
* Prevent passing a function reference directly to iterator methods.
|
|
4716
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
|
|
4717
4762
|
*/
|
|
4718
4763
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4719
4764
|
/**
|
|
4720
4765
|
* Prefer `for…of` over the `forEach` method.
|
|
4721
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
|
|
4722
4767
|
*/
|
|
4723
4768
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4724
4769
|
/**
|
|
4725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4726
4771
|
* @deprecated
|
|
4727
4772
|
*/
|
|
4728
4773
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4729
4774
|
/**
|
|
4730
4775
|
* Disallow using the `this` argument in array methods.
|
|
4731
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
|
|
4732
4777
|
*/
|
|
4733
4778
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4734
4779
|
/**
|
|
4735
4780
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4736
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
|
|
4737
4782
|
*/
|
|
4738
4783
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4739
4784
|
/**
|
|
4740
4785
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4741
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
|
|
4742
4787
|
*/
|
|
4743
4788
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4744
4789
|
/**
|
|
4745
4790
|
* Disallow member access from await expression.
|
|
4746
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
|
|
4747
4792
|
*/
|
|
4748
4793
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4749
4794
|
/**
|
|
4750
4795
|
* Disallow using `await` in `Promise` method parameters.
|
|
4751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4752
4797
|
*/
|
|
4753
4798
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4754
4799
|
/**
|
|
4755
4800
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4756
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
|
|
4757
4802
|
*/
|
|
4758
4803
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4759
4804
|
/**
|
|
4760
4805
|
* Do not use `document.cookie` directly.
|
|
4761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
|
|
4762
4807
|
*/
|
|
4763
4808
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4764
4809
|
/**
|
|
4765
4810
|
* Disallow empty files.
|
|
4766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
|
|
4767
4812
|
*/
|
|
4768
4813
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4769
4814
|
/**
|
|
4770
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4771
4816
|
* @deprecated
|
|
4772
4817
|
*/
|
|
4773
4818
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4774
4819
|
/**
|
|
4775
4820
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
|
|
4777
4822
|
*/
|
|
4778
4823
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4779
4824
|
/**
|
|
4780
4825
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4781
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
|
|
4782
4827
|
*/
|
|
4783
4828
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4784
4829
|
/**
|
|
4785
4830
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
|
|
4787
4832
|
*/
|
|
4788
4833
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4789
4834
|
/**
|
|
4790
4835
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4791
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4792
4837
|
*/
|
|
4793
4838
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4794
4839
|
/**
|
|
4795
4840
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4796
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4797
4842
|
*/
|
|
4798
4843
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4799
4844
|
/**
|
|
4800
4845
|
* Disallow identifiers starting with `new` or `class`.
|
|
4801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
|
|
4802
4847
|
*/
|
|
4803
4848
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4849
|
+
/**
|
|
4850
|
+
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
|
|
4852
|
+
*/
|
|
4853
|
+
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4804
4854
|
/**
|
|
4805
4855
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
|
|
4807
4857
|
*/
|
|
4808
4858
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4809
4859
|
/**
|
|
4810
4860
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4811
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4812
4862
|
*/
|
|
4813
4863
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4814
4864
|
/**
|
|
4815
4865
|
* Disallow negated conditions.
|
|
4816
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
|
|
4817
4867
|
*/
|
|
4818
4868
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4819
4869
|
/**
|
|
4820
4870
|
* Disallow negated expression in equality check.
|
|
4821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4822
4872
|
*/
|
|
4823
4873
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4824
4874
|
/**
|
|
4825
4875
|
* Disallow nested ternary expressions.
|
|
4826
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
|
|
4827
4877
|
*/
|
|
4828
4878
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4829
4879
|
/**
|
|
4830
4880
|
* Disallow `new Array()`.
|
|
4831
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
|
|
4832
4882
|
*/
|
|
4833
4883
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4834
4884
|
/**
|
|
4835
4885
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
|
|
4837
4887
|
*/
|
|
4838
4888
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4839
4889
|
/**
|
|
4840
4890
|
* Disallow the use of the `null` literal.
|
|
4841
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
|
|
4842
4892
|
*/
|
|
4843
4893
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4844
4894
|
/**
|
|
4845
4895
|
* Disallow the use of objects as default parameters.
|
|
4846
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4847
4897
|
*/
|
|
4848
4898
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4849
4899
|
/**
|
|
4850
4900
|
* Disallow `process.exit()`.
|
|
4851
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
|
|
4852
4902
|
*/
|
|
4853
4903
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4854
4904
|
/**
|
|
4855
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
|
|
4856
4906
|
* @deprecated
|
|
4857
4907
|
*/
|
|
4858
4908
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4859
4909
|
/**
|
|
4860
4910
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4862
4912
|
*/
|
|
4863
4913
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4864
4914
|
/**
|
|
4865
4915
|
* Disallow classes that only have static members.
|
|
4866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
|
|
4867
4917
|
*/
|
|
4868
4918
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4869
4919
|
/**
|
|
4870
4920
|
* Disallow `then` property.
|
|
4871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
|
|
4872
4922
|
*/
|
|
4873
4923
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4874
4924
|
/**
|
|
4875
4925
|
* Disallow assigning `this` to a variable.
|
|
4876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
|
|
4877
4927
|
*/
|
|
4878
4928
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4879
4929
|
/**
|
|
4880
4930
|
* Disallow comparing `undefined` using `typeof`.
|
|
4881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
|
|
4882
4932
|
*/
|
|
4883
4933
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4884
4934
|
/**
|
|
4885
4935
|
* Disallow awaiting non-promise values.
|
|
4886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
|
|
4887
4937
|
*/
|
|
4888
4938
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4889
4939
|
/**
|
|
4890
4940
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4891
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
4892
4942
|
*/
|
|
4893
4943
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4894
4944
|
/**
|
|
4895
4945
|
* Disallow unreadable array destructuring.
|
|
4896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
4897
4947
|
*/
|
|
4898
4948
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4899
4949
|
/**
|
|
4900
4950
|
* Disallow unreadable IIFEs.
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
|
|
4902
4952
|
*/
|
|
4903
4953
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4904
4954
|
/**
|
|
4905
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
4906
4956
|
* @deprecated
|
|
4907
4957
|
*/
|
|
4908
4958
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
4909
4959
|
/**
|
|
4910
4960
|
* Disallow unused object properties.
|
|
4911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
|
|
4912
4962
|
*/
|
|
4913
4963
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4914
4964
|
/**
|
|
4915
4965
|
* Disallow useless fallback when spreading in object literals.
|
|
4916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
4917
4967
|
*/
|
|
4918
4968
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4919
4969
|
/**
|
|
4920
4970
|
* Disallow useless array length check.
|
|
4921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
|
|
4922
4972
|
*/
|
|
4923
4973
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4924
4974
|
/**
|
|
4925
4975
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
4927
4977
|
*/
|
|
4928
4978
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4929
4979
|
/**
|
|
4930
4980
|
* Disallow unnecessary spread.
|
|
4931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
|
|
4932
4982
|
*/
|
|
4933
4983
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4934
4984
|
/**
|
|
4935
4985
|
* Disallow useless case in switch statements.
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
|
|
4937
4987
|
*/
|
|
4938
4988
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4939
4989
|
/**
|
|
4940
4990
|
* Disallow useless `undefined`.
|
|
4941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
|
|
4942
4992
|
*/
|
|
4943
4993
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4944
4994
|
/**
|
|
4945
4995
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
|
|
4947
4997
|
*/
|
|
4948
4998
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4949
4999
|
/**
|
|
4950
5000
|
* Enforce proper case for numeric literals.
|
|
4951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
|
|
4952
5002
|
*/
|
|
4953
5003
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
4954
5004
|
/**
|
|
4955
5005
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
|
|
4957
5007
|
*/
|
|
4958
5008
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4959
5009
|
/**
|
|
4960
5010
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
|
|
4962
5012
|
*/
|
|
4963
5013
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4964
5014
|
/**
|
|
4965
5015
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
|
|
4967
5017
|
*/
|
|
4968
5018
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4969
5019
|
/**
|
|
4970
5020
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
|
|
4972
5022
|
*/
|
|
4973
5023
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4974
5024
|
/**
|
|
4975
5025
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4976
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
|
|
4977
5027
|
*/
|
|
4978
5028
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4979
5029
|
/**
|
|
4980
5030
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
|
|
4982
5032
|
*/
|
|
4983
5033
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4984
5034
|
/**
|
|
4985
5035
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
|
|
4987
5037
|
*/
|
|
4988
5038
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4989
5039
|
/**
|
|
4990
5040
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
|
|
4992
5042
|
*/
|
|
4993
5043
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4994
5044
|
/**
|
|
4995
5045
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
4997
5047
|
*/
|
|
4998
5048
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4999
5049
|
/**
|
|
5000
5050
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
|
|
5002
5052
|
*/
|
|
5003
5053
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5004
5054
|
/**
|
|
5005
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
5006
5056
|
* @deprecated
|
|
5007
5057
|
*/
|
|
5008
5058
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5009
5059
|
/**
|
|
5010
5060
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
|
|
5012
5062
|
*/
|
|
5013
5063
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5014
5064
|
/**
|
|
5015
5065
|
* Prefer default parameters over reassignment.
|
|
5016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
|
|
5017
5067
|
*/
|
|
5018
5068
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5019
5069
|
/**
|
|
5020
5070
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
|
|
5022
5072
|
*/
|
|
5023
5073
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5024
5074
|
/**
|
|
5025
5075
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5026
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5027
5077
|
*/
|
|
5028
5078
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5029
5079
|
/**
|
|
5030
5080
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5032
5082
|
*/
|
|
5033
5083
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5034
5084
|
/**
|
|
5035
5085
|
* Prefer `.textContent` over `.innerText`.
|
|
5036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5037
5087
|
*/
|
|
5038
5088
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5039
5089
|
/**
|
|
5040
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
5041
5091
|
* @deprecated
|
|
5042
5092
|
*/
|
|
5043
5093
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5044
5094
|
/**
|
|
5045
5095
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
|
|
5047
5097
|
*/
|
|
5048
5098
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5049
5099
|
/**
|
|
5050
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5051
5101
|
* @deprecated
|
|
5052
5102
|
*/
|
|
5053
5103
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5054
5104
|
/**
|
|
5055
5105
|
* Prefer `export…from` when re-exporting.
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
|
|
5057
5107
|
*/
|
|
5058
5108
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5059
5109
|
/**
|
|
5060
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
5061
5111
|
* @deprecated
|
|
5062
5112
|
*/
|
|
5063
5113
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5064
5114
|
/**
|
|
5065
5115
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
|
|
5067
5117
|
*/
|
|
5068
5118
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5069
5119
|
/**
|
|
5070
5120
|
* Prefer reading a JSON file as a buffer.
|
|
5071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5072
5122
|
*/
|
|
5073
5123
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5074
5124
|
/**
|
|
5075
5125
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5077
5127
|
*/
|
|
5078
5128
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5079
5129
|
/**
|
|
5080
5130
|
* Prefer using a logical operator over a ternary.
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5082
5132
|
*/
|
|
5083
5133
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5084
5134
|
/**
|
|
5085
5135
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
|
|
5087
5137
|
*/
|
|
5088
5138
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5089
5139
|
/**
|
|
5090
5140
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5092
5142
|
*/
|
|
5093
5143
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5094
5144
|
/**
|
|
5095
5145
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5097
5147
|
*/
|
|
5098
5148
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5099
5149
|
/**
|
|
5100
5150
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
|
|
5102
5152
|
*/
|
|
5103
5153
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5104
5154
|
/**
|
|
5105
5155
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5107
5157
|
*/
|
|
5108
5158
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5109
5159
|
/**
|
|
5110
5160
|
* Prefer negative index over `.length - index` when possible.
|
|
5111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
|
|
5112
5162
|
*/
|
|
5113
5163
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5114
5164
|
/**
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5116
5166
|
* @deprecated
|
|
5117
5167
|
*/
|
|
5118
5168
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5119
5169
|
/**
|
|
5120
5170
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
|
|
5122
5172
|
*/
|
|
5123
5173
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5124
5174
|
/**
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5126
5176
|
* @deprecated
|
|
5127
5177
|
*/
|
|
5128
5178
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5129
5179
|
/**
|
|
5130
5180
|
* Prefer `Number` static properties over global ones.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
|
|
5132
5182
|
*/
|
|
5133
5183
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5134
5184
|
/**
|
|
5135
5185
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
|
|
5137
5187
|
*/
|
|
5138
5188
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5139
5189
|
/**
|
|
5140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5141
5191
|
* @deprecated
|
|
5142
5192
|
*/
|
|
5143
5193
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5144
5194
|
/**
|
|
5145
5195
|
* Prefer omitting the `catch` binding parameter.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5147
5197
|
*/
|
|
5148
5198
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5149
5199
|
/**
|
|
5150
5200
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
|
|
5152
5202
|
*/
|
|
5153
5203
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5154
5204
|
/**
|
|
5155
5205
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
|
|
5157
5207
|
*/
|
|
5158
5208
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5159
5209
|
/**
|
|
5160
5210
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5161
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
|
|
5162
5212
|
*/
|
|
5163
5213
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5164
5214
|
/**
|
|
5165
5215
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
|
|
5167
5217
|
*/
|
|
5168
5218
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5169
5219
|
/**
|
|
5170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5171
5221
|
* @deprecated
|
|
5172
5222
|
*/
|
|
5173
5223
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5174
5224
|
/**
|
|
5175
5225
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
|
|
5177
5227
|
*/
|
|
5178
5228
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5179
5229
|
/**
|
|
5180
5230
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5181
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
|
|
5182
5232
|
*/
|
|
5183
5233
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5184
5234
|
/**
|
|
5185
5235
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
|
|
5187
5237
|
*/
|
|
5188
5238
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5189
5239
|
/**
|
|
5190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5191
5241
|
* @deprecated
|
|
5192
5242
|
*/
|
|
5193
5243
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5194
5244
|
/**
|
|
5195
5245
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
|
|
5197
5247
|
*/
|
|
5198
5248
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5199
5249
|
/**
|
|
5200
5250
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
|
|
5202
5252
|
*/
|
|
5203
5253
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5204
5254
|
/**
|
|
5205
5255
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
|
|
5207
5257
|
*/
|
|
5208
5258
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5209
5259
|
/**
|
|
5210
5260
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5212
5262
|
*/
|
|
5213
5263
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5214
5264
|
/**
|
|
5215
5265
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5217
5267
|
*/
|
|
5218
5268
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5219
5269
|
/**
|
|
5220
5270
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
|
|
5222
5272
|
*/
|
|
5223
5273
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5224
5274
|
/**
|
|
5225
5275
|
* Prefer `switch` over multiple `else-if`.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
|
|
5227
5277
|
*/
|
|
5228
5278
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5229
5279
|
/**
|
|
5230
5280
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
|
|
5232
5282
|
*/
|
|
5233
5283
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5234
5284
|
/**
|
|
5235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5236
5286
|
* @deprecated
|
|
5237
5287
|
*/
|
|
5238
5288
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5239
5289
|
/**
|
|
5240
5290
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
|
|
5242
5292
|
*/
|
|
5243
5293
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5244
5294
|
/**
|
|
5245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5246
5296
|
* @deprecated
|
|
5247
5297
|
*/
|
|
5248
5298
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5249
5299
|
/**
|
|
5250
5300
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
|
|
5252
5302
|
*/
|
|
5253
5303
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5254
5304
|
/**
|
|
5255
5305
|
* Prevent abbreviations.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
|
|
5257
5307
|
*/
|
|
5258
5308
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5259
5309
|
/**
|
|
5260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5261
5311
|
* @deprecated
|
|
5262
5312
|
*/
|
|
5263
5313
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5264
5314
|
/**
|
|
5265
5315
|
* Enforce consistent relative URL style.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
|
|
5267
5317
|
*/
|
|
5268
5318
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5269
5319
|
/**
|
|
5270
5320
|
* Enforce using the separator argument with `Array#join()`.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
|
|
5272
5322
|
*/
|
|
5273
5323
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5274
5324
|
/**
|
|
5275
5325
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5277
5327
|
*/
|
|
5278
5328
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5279
5329
|
/**
|
|
5280
5330
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
|
|
5282
5332
|
*/
|
|
5283
5333
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5284
5334
|
/**
|
|
5285
5335
|
* Enforce better string content.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
|
|
5287
5337
|
*/
|
|
5288
5338
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5289
5339
|
/**
|
|
5290
5340
|
* Enforce consistent brace style for `case` clauses.
|
|
5291
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
|
|
5292
5342
|
*/
|
|
5293
5343
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5294
5344
|
/**
|
|
5295
5345
|
* Fix whitespace-insensitive template indentation.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
|
|
5297
5347
|
*/
|
|
5298
5348
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5299
5349
|
/**
|
|
5300
5350
|
* Enforce consistent case for text encoding identifiers.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5302
5352
|
*/
|
|
5303
5353
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5304
5354
|
/**
|
|
5305
5355
|
* Require `new` when creating an error.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
|
|
5307
5357
|
*/
|
|
5308
5358
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5309
5359
|
/**
|
|
@@ -7374,6 +7424,25 @@ type JsdocCheckValues = []|[{
|
|
|
7374
7424
|
licensePattern?: string
|
|
7375
7425
|
numericOnlyVariation?: boolean
|
|
7376
7426
|
}]
|
|
7427
|
+
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
7428
|
+
type JsdocConvertToJsdocComments = []|[{
|
|
7429
|
+
allowedPrefixes?: string[]
|
|
7430
|
+
contexts?: (string | {
|
|
7431
|
+
context?: string
|
|
7432
|
+
inlineCommentBlock?: boolean
|
|
7433
|
+
})[]
|
|
7434
|
+
contextsAfter?: (string | {
|
|
7435
|
+
context?: string
|
|
7436
|
+
inlineCommentBlock?: boolean
|
|
7437
|
+
})[]
|
|
7438
|
+
contextsBeforeAndAfter?: (string | {
|
|
7439
|
+
context?: string
|
|
7440
|
+
inlineCommentBlock?: boolean
|
|
7441
|
+
})[]
|
|
7442
|
+
enableFixer?: boolean
|
|
7443
|
+
enforceJsdocLineStyle?: ("multi" | "single")
|
|
7444
|
+
lineOrBlockStyle?: ("block" | "line" | "both")
|
|
7445
|
+
}]
|
|
7377
7446
|
// ----- jsdoc/empty-tags -----
|
|
7378
7447
|
type JsdocEmptyTags = []|[{
|
|
7379
7448
|
tags?: string[]
|
|
@@ -7661,6 +7730,10 @@ type JsdocRequireReturnsType = []|[{
|
|
|
7661
7730
|
context?: string
|
|
7662
7731
|
})[]
|
|
7663
7732
|
}]
|
|
7733
|
+
// ----- jsdoc/require-template -----
|
|
7734
|
+
type JsdocRequireTemplate = []|[{
|
|
7735
|
+
requireSeparateTemplates?: boolean
|
|
7736
|
+
}]
|
|
7664
7737
|
// ----- jsdoc/require-throws -----
|
|
7665
7738
|
type JsdocRequireThrows = []|[{
|
|
7666
7739
|
contexts?: (string | {
|
|
@@ -8732,18 +8805,11 @@ type NoRestrictedImports = ((string | {
|
|
|
8732
8805
|
importNames?: string[]
|
|
8733
8806
|
allowImportNames?: string[]
|
|
8734
8807
|
})[]
|
|
8735
|
-
patterns?: (string[] | {
|
|
8736
|
-
|
|
8737
|
-
|
|
8738
|
-
|
|
8739
|
-
|
|
8740
|
-
|
|
8741
|
-
group: [string, ...(string)[]]
|
|
8742
|
-
importNamePattern?: string
|
|
8743
|
-
allowImportNamePattern?: string
|
|
8744
|
-
message?: string
|
|
8745
|
-
caseSensitive?: boolean
|
|
8746
|
-
}[])
|
|
8808
|
+
patterns?: (string[] | ({
|
|
8809
|
+
[k: string]: unknown | undefined
|
|
8810
|
+
} | {
|
|
8811
|
+
[k: string]: unknown | undefined
|
|
8812
|
+
})[])
|
|
8747
8813
|
}])
|
|
8748
8814
|
// ----- no-restricted-modules -----
|
|
8749
8815
|
type NoRestrictedModules = ((string | {
|
|
@@ -9088,7 +9154,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9088
9154
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9089
9155
|
version?: string
|
|
9090
9156
|
allowExperimental?: boolean
|
|
9091
|
-
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")[]
|
|
9157
|
+
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")[]
|
|
9092
9158
|
}]
|
|
9093
9159
|
// ----- node/prefer-global/buffer -----
|
|
9094
9160
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10292,7 +10358,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10292
10358
|
}]
|
|
10293
10359
|
// ----- style/padding-line-between-statements -----
|
|
10294
10360
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
10295
|
-
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"))[]])
|
|
10361
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10296
10362
|
type StylePaddingLineBetweenStatements = {
|
|
10297
10363
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
10298
10364
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -11232,10 +11298,6 @@ type TsNoExtraneousClass = []|[{
|
|
|
11232
11298
|
}]
|
|
11233
11299
|
// ----- ts/no-floating-promises -----
|
|
11234
11300
|
type TsNoFloatingPromises = []|[{
|
|
11235
|
-
|
|
11236
|
-
ignoreVoid?: boolean
|
|
11237
|
-
|
|
11238
|
-
ignoreIIFE?: boolean
|
|
11239
11301
|
allowForKnownSafePromises?: (string | {
|
|
11240
11302
|
from: "file"
|
|
11241
11303
|
name: (string | [string, ...(string)[]])
|
|
@@ -11260,6 +11322,12 @@ type TsNoFloatingPromises = []|[{
|
|
|
11260
11322
|
name: (string | [string, ...(string)[]])
|
|
11261
11323
|
package: string
|
|
11262
11324
|
})[]
|
|
11325
|
+
|
|
11326
|
+
checkThenables?: boolean
|
|
11327
|
+
|
|
11328
|
+
ignoreVoid?: boolean
|
|
11329
|
+
|
|
11330
|
+
ignoreIIFE?: boolean
|
|
11263
11331
|
}]
|
|
11264
11332
|
// ----- ts/no-inferrable-types -----
|
|
11265
11333
|
type TsNoInferrableTypes = []|[{
|
|
@@ -11346,7 +11414,8 @@ type TsNoRestrictedImports = ((string | {
|
|
|
11346
11414
|
|
|
11347
11415
|
allowImportNames?: [string, ...(string)[]]
|
|
11348
11416
|
|
|
11349
|
-
group
|
|
11417
|
+
group?: [string, ...(string)[]]
|
|
11418
|
+
regex?: string
|
|
11350
11419
|
importNamePattern?: string
|
|
11351
11420
|
allowImportNamePattern?: string
|
|
11352
11421
|
message?: string
|
|
@@ -11614,7 +11683,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
11614
11683
|
allowNever?: boolean
|
|
11615
11684
|
}]
|
|
11616
11685
|
// ----- ts/return-await -----
|
|
11617
|
-
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
11686
|
+
type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
|
|
11618
11687
|
// ----- ts/sort-type-constituents -----
|
|
11619
11688
|
type TsSortTypeConstituents = []|[{
|
|
11620
11689
|
|
|
@@ -13301,7 +13370,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
13301
13370
|
onlyEquality?: boolean
|
|
13302
13371
|
}]
|
|
13303
13372
|
// Names of all the configs
|
|
13304
|
-
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript' | 'luxass/disables/cli' | 'luxass/jsdoc' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/
|
|
13373
|
+
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/disables/dts' | 'luxass/typescript/disables/test' | 'luxass/typescript/disables/cjs' | 'luxass/unicorn' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/github-actions'
|
|
13305
13374
|
|
|
13306
13375
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
13307
13376
|
|
|
@@ -13445,13 +13514,24 @@ interface TypeScriptOptions {
|
|
|
13445
13514
|
files?: string[];
|
|
13446
13515
|
/**
|
|
13447
13516
|
* Glob patterns for files that should be type aware.
|
|
13448
|
-
* @default
|
|
13517
|
+
* @default ['**\/*.{ts,tsx}']
|
|
13518
|
+
*/
|
|
13519
|
+
filesTypeAware?: string[];
|
|
13520
|
+
/**
|
|
13521
|
+
* Glob patterns for files that should not be type aware.
|
|
13522
|
+
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
13449
13523
|
*/
|
|
13450
|
-
|
|
13524
|
+
ignoresTypeAware?: string[];
|
|
13451
13525
|
/**
|
|
13452
13526
|
* Overrides for the config.
|
|
13453
13527
|
*/
|
|
13454
13528
|
overrides?: TypedFlatConfigItem["rules"];
|
|
13529
|
+
/**
|
|
13530
|
+
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
13531
|
+
*
|
|
13532
|
+
* @default "app"
|
|
13533
|
+
*/
|
|
13534
|
+
type?: ProjectType;
|
|
13455
13535
|
}
|
|
13456
13536
|
declare function typescript(options?: TypeScriptOptions): Promise<TypedFlatConfigItem[]>;
|
|
13457
13537
|
|
|
@@ -13791,7 +13871,7 @@ declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
|
13791
13871
|
type Awaitable<T> = T | Promise<T>;
|
|
13792
13872
|
type Rules = RuleOptions;
|
|
13793
13873
|
|
|
13794
|
-
type TypedFlatConfigItem = Omit<Linter.
|
|
13874
|
+
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
13795
13875
|
/**
|
|
13796
13876
|
* 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.
|
|
13797
13877
|
*
|
|
@@ -13799,8 +13879,15 @@ type TypedFlatConfigItem = Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, "
|
|
|
13799
13879
|
*/
|
|
13800
13880
|
plugins?: Record<string, any>;
|
|
13801
13881
|
};
|
|
13802
|
-
type UserConfigItem = TypedFlatConfigItem | Linter.
|
|
13882
|
+
type UserConfigItem = TypedFlatConfigItem | Linter.Config;
|
|
13883
|
+
type ProjectType = "app" | "lib";
|
|
13803
13884
|
interface ConfigOptions {
|
|
13885
|
+
/**
|
|
13886
|
+
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
13887
|
+
*
|
|
13888
|
+
* @default "app"
|
|
13889
|
+
*/
|
|
13890
|
+
type?: ProjectType;
|
|
13804
13891
|
/**
|
|
13805
13892
|
* Enable gitignore support.
|
|
13806
13893
|
*
|
|
@@ -13965,7 +14052,7 @@ interface ConfigOptions {
|
|
|
13965
14052
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
13966
14053
|
* The merged ESLint configurations.
|
|
13967
14054
|
*/
|
|
13968
|
-
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, ConfigNames> | Linter.
|
|
14055
|
+
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, ConfigNames> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
13969
14056
|
|
|
13970
14057
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
13971
14058
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -13989,6 +14076,7 @@ declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
|
13989
14076
|
declare const GLOB_TOML = "**/*.toml";
|
|
13990
14077
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
13991
14078
|
declare const GLOB_ASTRO = "**/*.astro";
|
|
14079
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
13992
14080
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
13993
14081
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
13994
14082
|
declare const GLOB_TESTS: string[];
|
|
@@ -14025,16 +14113,135 @@ declare const parserPlain: {
|
|
|
14025
14113
|
* Combine array and non-array configs into a single array.
|
|
14026
14114
|
*/
|
|
14027
14115
|
declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
|
|
14028
|
-
|
|
14029
|
-
|
|
14030
|
-
|
|
14116
|
+
/**
|
|
14117
|
+
* Rename plugin prefixes in a rule object.
|
|
14118
|
+
* Accepts a map of prefixes to rename.
|
|
14119
|
+
*
|
|
14120
|
+
* @example
|
|
14121
|
+
* ```ts
|
|
14122
|
+
* import { renameRules } from "@luxass/eslint-config";
|
|
14123
|
+
*
|
|
14124
|
+
* export default [{
|
|
14125
|
+
* rules: renameRules(
|
|
14126
|
+
* {
|
|
14127
|
+
* "@typescript-eslint/indent": "error"
|
|
14128
|
+
* },
|
|
14129
|
+
* { "@typescript-eslint": "ts" }
|
|
14130
|
+
* )
|
|
14131
|
+
* }]
|
|
14132
|
+
* ```
|
|
14133
|
+
*/
|
|
14134
|
+
declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
|
|
14135
|
+
/**
|
|
14136
|
+
* Rename plugin names a flat configs array
|
|
14137
|
+
*
|
|
14138
|
+
* @example
|
|
14139
|
+
* ```ts
|
|
14140
|
+
* import { renamePluginInConfigs } from "@luxass/eslint-config";
|
|
14141
|
+
* import someConfigs from "./some-configs";
|
|
14142
|
+
*
|
|
14143
|
+
* export default renamePluginInConfigs(someConfigs, {
|
|
14144
|
+
* "@typescript-eslint": "ts",
|
|
14145
|
+
* "import-x": "import",
|
|
14146
|
+
* })
|
|
14147
|
+
* ```
|
|
14148
|
+
*/
|
|
14149
|
+
declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
|
|
14150
|
+
/**
|
|
14151
|
+
* Convert a value to an array.
|
|
14152
|
+
* If the value is an array, return it as is.
|
|
14153
|
+
* Otherwise, return the value as the only element in an array.
|
|
14154
|
+
*
|
|
14155
|
+
* @param {T | T[]} value - Value to convert to an array.
|
|
14156
|
+
* @returns {T[]} - The value as an array.
|
|
14157
|
+
*
|
|
14158
|
+
* @example
|
|
14159
|
+
* ```ts
|
|
14160
|
+
* import { toArray } from "@luxass/eslint-config";
|
|
14161
|
+
*
|
|
14162
|
+
* toArray("foo") // ["foo"]
|
|
14163
|
+
* toArray(["foo"]) // ["foo"]
|
|
14164
|
+
* ```
|
|
14165
|
+
*/
|
|
14031
14166
|
declare function toArray<T>(value: T | T[]): T[];
|
|
14167
|
+
/**
|
|
14168
|
+
* Import a module and return the default export.
|
|
14169
|
+
* If the module does not have a default export, return the module itself.
|
|
14170
|
+
*
|
|
14171
|
+
* @param {Promise<T>} m - Module to import.
|
|
14172
|
+
* @returns {Promise<T extends { default: infer U } ? U : T>} - The default export or the module itself.
|
|
14173
|
+
* @template T
|
|
14174
|
+
*
|
|
14175
|
+
* @example
|
|
14176
|
+
* ```ts
|
|
14177
|
+
* import { interop } from "@luxass/eslint-config";
|
|
14178
|
+
*
|
|
14179
|
+
* const module = await interop(import("module"));
|
|
14180
|
+
* ```
|
|
14181
|
+
*/
|
|
14032
14182
|
declare function interop<T>(m: Awaitable<T>): Promise<T extends {
|
|
14033
14183
|
default: infer U;
|
|
14034
14184
|
} ? U : T>;
|
|
14185
|
+
/**
|
|
14186
|
+
* Ensure that packages are installed.
|
|
14187
|
+
* If the packages are not installed, prompt the user to install them.
|
|
14188
|
+
*
|
|
14189
|
+
* @param {string[]} packages - Packages to ensure are installed.
|
|
14190
|
+
* @returns {Promise<void>} - A promise that resolves when the packages are installed.
|
|
14191
|
+
*
|
|
14192
|
+
* @example
|
|
14193
|
+
* ```ts
|
|
14194
|
+
* import { ensure } from "@luxass/eslint-config";
|
|
14195
|
+
*
|
|
14196
|
+
* await ensure(["eslint-plugin-jsdoc"]);
|
|
14197
|
+
* ```
|
|
14198
|
+
*/
|
|
14035
14199
|
declare function ensure(packages: (string | undefined)[]): Promise<void>;
|
|
14036
14200
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
14201
|
+
/**
|
|
14202
|
+
* Resolve sub-options from a config options object.
|
|
14203
|
+
*
|
|
14204
|
+
* @param {ConfigOptions} options - The config options object.
|
|
14205
|
+
* @template K - The key of the sub-options to resolve.
|
|
14206
|
+
* @param {K} key - The key of the sub-options to resolve.
|
|
14207
|
+
* @returns {ResolvedOptions<ConfigOptions[K]>} - The resolved sub-options.
|
|
14208
|
+
*
|
|
14209
|
+
* @example
|
|
14210
|
+
* ```ts
|
|
14211
|
+
* import { resolveSubOptions } from "@luxass/eslint-config";
|
|
14212
|
+
*
|
|
14213
|
+
* const options = {
|
|
14214
|
+
* foo: {
|
|
14215
|
+
* bar: true,
|
|
14216
|
+
* },
|
|
14217
|
+
* };
|
|
14218
|
+
*
|
|
14219
|
+
* const subOptions = resolveSubOptions(options, "foo");
|
|
14220
|
+
* ```
|
|
14221
|
+
*/
|
|
14037
14222
|
declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
|
|
14038
|
-
|
|
14223
|
+
/**
|
|
14224
|
+
* Get overrides from a config options object.
|
|
14225
|
+
* @param {ConfigOptions} options The config options object.
|
|
14226
|
+
* @template K The key of the sub-options to resolve.
|
|
14227
|
+
* @param {K} key The key of the sub-options to resolve.
|
|
14228
|
+
* @returns {Partial<Linter.RulesRecord & RuleOptions>} The overrides.
|
|
14229
|
+
*
|
|
14230
|
+
* @example
|
|
14231
|
+
* ```ts
|
|
14232
|
+
* import { getOverrides } from "@luxass/eslint-config";
|
|
14233
|
+
*
|
|
14234
|
+
* const options = {
|
|
14235
|
+
* overrides: {
|
|
14236
|
+
* rules: {
|
|
14237
|
+
* "no-console": "off",
|
|
14238
|
+
* },
|
|
14239
|
+
* },
|
|
14240
|
+
* };
|
|
14241
|
+
*
|
|
14242
|
+
* const overrides = getOverrides(options, "overrides");
|
|
14243
|
+
* ```
|
|
14244
|
+
*/
|
|
14245
|
+
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
14039
14246
|
|
|
14040
|
-
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, react, regexp, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
14247
|
+
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, 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_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ProjectType, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|