@pengzhanbo/eslint-config 1.18.0 → 1.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +476 -191
- package/dist/index.js +0 -3
- package/package.json +20 -20
package/dist/index.d.ts
CHANGED
|
@@ -373,6 +373,11 @@ interface RuleOptions {
|
|
|
373
373
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
|
|
374
374
|
*/
|
|
375
375
|
'astro/semi'?: Linter.RuleEntry<AstroSemi>
|
|
376
|
+
/**
|
|
377
|
+
* enforce sorting of attributes
|
|
378
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
|
|
379
|
+
*/
|
|
380
|
+
'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>
|
|
376
381
|
/**
|
|
377
382
|
* disallow warnings when compiling.
|
|
378
383
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
@@ -655,233 +660,233 @@ interface RuleOptions {
|
|
|
655
660
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
656
661
|
/**
|
|
657
662
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
658
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
663
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/consistent-type-specifier-style.md
|
|
659
664
|
*/
|
|
660
665
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
661
666
|
/**
|
|
662
667
|
* Ensure a default export is present, given a default import.
|
|
663
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
668
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/default.md
|
|
664
669
|
*/
|
|
665
670
|
'import/default'?: Linter.RuleEntry<[]>
|
|
666
671
|
/**
|
|
667
672
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
668
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
673
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/dynamic-import-chunkname.md
|
|
669
674
|
*/
|
|
670
675
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
671
676
|
/**
|
|
672
677
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
673
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
678
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/export.md
|
|
674
679
|
*/
|
|
675
680
|
'import/export'?: Linter.RuleEntry<[]>
|
|
676
681
|
/**
|
|
677
682
|
* Ensure all exports appear after other statements.
|
|
678
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
683
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/exports-last.md
|
|
679
684
|
*/
|
|
680
685
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
681
686
|
/**
|
|
682
687
|
* Ensure consistent use of file extension within the import path.
|
|
683
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
688
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/extensions.md
|
|
684
689
|
*/
|
|
685
690
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
686
691
|
/**
|
|
687
692
|
* Ensure all imports appear before other statements.
|
|
688
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
693
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/first.md
|
|
689
694
|
*/
|
|
690
695
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
691
696
|
/**
|
|
692
697
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
693
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
698
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/group-exports.md
|
|
694
699
|
*/
|
|
695
700
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
696
701
|
/**
|
|
697
702
|
* Replaced by `import-x/first`.
|
|
698
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
703
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/imports-first.md
|
|
699
704
|
* @deprecated
|
|
700
705
|
*/
|
|
701
706
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
702
707
|
/**
|
|
703
708
|
* Enforce the maximum number of dependencies a module can have.
|
|
704
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
709
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/max-dependencies.md
|
|
705
710
|
*/
|
|
706
711
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
707
712
|
/**
|
|
708
713
|
* Ensure named imports correspond to a named export in the remote file.
|
|
709
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
714
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/named.md
|
|
710
715
|
*/
|
|
711
716
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
712
717
|
/**
|
|
713
718
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
714
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
719
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/namespace.md
|
|
715
720
|
*/
|
|
716
721
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
717
722
|
/**
|
|
718
723
|
* Enforce a newline after import statements.
|
|
719
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
724
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/newline-after-import.md
|
|
720
725
|
*/
|
|
721
726
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
722
727
|
/**
|
|
723
728
|
* Forbid import of modules using absolute paths.
|
|
724
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
729
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-absolute-path.md
|
|
725
730
|
*/
|
|
726
731
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
727
732
|
/**
|
|
728
733
|
* Forbid AMD `require` and `define` calls.
|
|
729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
734
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-amd.md
|
|
730
735
|
*/
|
|
731
736
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
732
737
|
/**
|
|
733
738
|
* Forbid anonymous values as default exports.
|
|
734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
739
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-anonymous-default-export.md
|
|
735
740
|
*/
|
|
736
741
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
737
742
|
/**
|
|
738
743
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
744
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-commonjs.md
|
|
740
745
|
*/
|
|
741
746
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
742
747
|
/**
|
|
743
748
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
749
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-cycle.md
|
|
745
750
|
*/
|
|
746
751
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
747
752
|
/**
|
|
748
753
|
* Forbid default exports.
|
|
749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
754
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-default-export.md
|
|
750
755
|
*/
|
|
751
756
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
752
757
|
/**
|
|
753
758
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
759
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-deprecated.md
|
|
755
760
|
*/
|
|
756
761
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
757
762
|
/**
|
|
758
763
|
* Forbid repeated import of the same module in multiple places.
|
|
759
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
764
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-duplicates.md
|
|
760
765
|
*/
|
|
761
766
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
762
767
|
/**
|
|
763
768
|
* Forbid `require()` calls with expressions.
|
|
764
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
769
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-dynamic-require.md
|
|
765
770
|
*/
|
|
766
771
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
767
772
|
/**
|
|
768
773
|
* Forbid empty named import blocks.
|
|
769
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
774
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-empty-named-blocks.md
|
|
770
775
|
*/
|
|
771
776
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
772
777
|
/**
|
|
773
778
|
* Forbid the use of extraneous packages.
|
|
774
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
779
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-extraneous-dependencies.md
|
|
775
780
|
*/
|
|
776
781
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
777
782
|
/**
|
|
778
783
|
* Forbid import statements with CommonJS module.exports.
|
|
779
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
784
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-import-module-exports.md
|
|
780
785
|
*/
|
|
781
786
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
782
787
|
/**
|
|
783
788
|
* Forbid importing the submodules of other modules.
|
|
784
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
789
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-internal-modules.md
|
|
785
790
|
*/
|
|
786
791
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
787
792
|
/**
|
|
788
793
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
789
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
794
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-mutable-exports.md
|
|
790
795
|
*/
|
|
791
796
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
792
797
|
/**
|
|
793
798
|
* Forbid use of exported name as identifier of default export.
|
|
794
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
799
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default.md
|
|
795
800
|
*/
|
|
796
801
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
797
802
|
/**
|
|
798
803
|
* Forbid use of exported name as property of default export.
|
|
799
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
804
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-as-default-member.md
|
|
800
805
|
*/
|
|
801
806
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
802
807
|
/**
|
|
803
808
|
* Forbid named default exports.
|
|
804
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
809
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-default.md
|
|
805
810
|
*/
|
|
806
811
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
807
812
|
/**
|
|
808
813
|
* Forbid named exports.
|
|
809
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
814
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-named-export.md
|
|
810
815
|
*/
|
|
811
816
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
812
817
|
/**
|
|
813
818
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
814
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
819
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-namespace.md
|
|
815
820
|
*/
|
|
816
821
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
817
822
|
/**
|
|
818
823
|
* Forbid Node.js builtin modules.
|
|
819
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
824
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-nodejs-modules.md
|
|
820
825
|
*/
|
|
821
826
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
822
827
|
/**
|
|
823
828
|
* Forbid importing packages through relative paths.
|
|
824
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
829
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-packages.md
|
|
825
830
|
*/
|
|
826
831
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
827
832
|
/**
|
|
828
833
|
* Forbid importing modules from parent directories.
|
|
829
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
834
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-relative-parent-imports.md
|
|
830
835
|
*/
|
|
831
836
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
832
837
|
/**
|
|
833
838
|
* Forbid importing a default export by a different name.
|
|
834
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
839
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-rename-default.md
|
|
835
840
|
*/
|
|
836
841
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
837
842
|
/**
|
|
838
843
|
* Enforce which files can be imported in a given folder.
|
|
839
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
844
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-restricted-paths.md
|
|
840
845
|
*/
|
|
841
846
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
842
847
|
/**
|
|
843
848
|
* Forbid a module from importing itself.
|
|
844
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
849
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-self-import.md
|
|
845
850
|
*/
|
|
846
851
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
847
852
|
/**
|
|
848
853
|
* Forbid unassigned imports.
|
|
849
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
854
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unassigned-import.md
|
|
850
855
|
*/
|
|
851
856
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
852
857
|
/**
|
|
853
858
|
* Ensure imports point to a file/module that can be resolved.
|
|
854
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
859
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unresolved.md
|
|
855
860
|
*/
|
|
856
861
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
857
862
|
/**
|
|
858
863
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
859
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
864
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-unused-modules.md
|
|
860
865
|
*/
|
|
861
866
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
862
867
|
/**
|
|
863
868
|
* Forbid unnecessary path segments in import and require statements.
|
|
864
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
869
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-useless-path-segments.md
|
|
865
870
|
*/
|
|
866
871
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
867
872
|
/**
|
|
868
873
|
* Forbid webpack loader syntax in imports.
|
|
869
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
874
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/no-webpack-loader-syntax.md
|
|
870
875
|
*/
|
|
871
876
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
872
877
|
/**
|
|
873
878
|
* Enforce a convention in module import order.
|
|
874
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
879
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/order.md
|
|
875
880
|
*/
|
|
876
881
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
877
882
|
/**
|
|
878
883
|
* Prefer a default export if module exports a single name or multiple names.
|
|
879
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
884
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/prefer-default-export.md
|
|
880
885
|
*/
|
|
881
886
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
882
887
|
/**
|
|
883
888
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
884
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.
|
|
889
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3.1/docs/rules/unambiguous.md
|
|
885
890
|
*/
|
|
886
891
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
887
892
|
/**
|
|
@@ -1032,6 +1037,7 @@ interface RuleOptions {
|
|
|
1032
1037
|
*/
|
|
1033
1038
|
'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
|
|
1034
1039
|
/**
|
|
1040
|
+
* Prevents use of multiple asterisks at the beginning of lines.
|
|
1035
1041
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
|
|
1036
1042
|
*/
|
|
1037
1043
|
'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
|
|
@@ -1176,6 +1182,7 @@ interface RuleOptions {
|
|
|
1176
1182
|
*/
|
|
1177
1183
|
'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
|
|
1178
1184
|
/**
|
|
1185
|
+
* Auto-escape certain characters that are input within block and tag descriptions.
|
|
1179
1186
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
|
|
1180
1187
|
*/
|
|
1181
1188
|
'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
|
|
@@ -2464,7 +2471,7 @@ interface RuleOptions {
|
|
|
2464
2471
|
* disallow the use of `process.env`
|
|
2465
2472
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-env.md
|
|
2466
2473
|
*/
|
|
2467
|
-
'node/no-process-env'?: Linter.RuleEntry<
|
|
2474
|
+
'node/no-process-env'?: Linter.RuleEntry<NodeNoProcessEnv>
|
|
2468
2475
|
/**
|
|
2469
2476
|
* disallow the use of `process.exit()`
|
|
2470
2477
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-process-exit.md
|
|
@@ -2647,6 +2654,7 @@ interface RuleOptions {
|
|
|
2647
2654
|
/**
|
|
2648
2655
|
* Enforce sorted Astro attributes.
|
|
2649
2656
|
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2657
|
+
* @deprecated
|
|
2650
2658
|
*/
|
|
2651
2659
|
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2652
2660
|
/**
|
|
@@ -2717,6 +2725,7 @@ interface RuleOptions {
|
|
|
2717
2725
|
/**
|
|
2718
2726
|
* Enforce sorted Svelte attributes.
|
|
2719
2727
|
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2728
|
+
* @deprecated
|
|
2720
2729
|
*/
|
|
2721
2730
|
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2722
2731
|
/**
|
|
@@ -2737,6 +2746,7 @@ interface RuleOptions {
|
|
|
2737
2746
|
/**
|
|
2738
2747
|
* Enforce sorted Vue attributes.
|
|
2739
2748
|
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2749
|
+
* @deprecated
|
|
2740
2750
|
*/
|
|
2741
2751
|
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2742
2752
|
/**
|
|
@@ -2898,8 +2908,8 @@ interface RuleOptions {
|
|
|
2898
2908
|
*/
|
|
2899
2909
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2900
2910
|
/**
|
|
2901
|
-
* disallow direct calls to the 'set' function of 'useState' in '
|
|
2902
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2911
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
2912
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2903
2913
|
*/
|
|
2904
2914
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2905
2915
|
/**
|
|
@@ -3162,12 +3172,17 @@ interface RuleOptions {
|
|
|
3162
3172
|
* disallow unnecessary fragments
|
|
3163
3173
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3164
3174
|
*/
|
|
3165
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
3175
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
3166
3176
|
/**
|
|
3167
3177
|
* enforce using destructuring assignment in component props and context
|
|
3168
3178
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
3169
3179
|
*/
|
|
3170
3180
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3181
|
+
/**
|
|
3182
|
+
* enforce React is imported via a namespace import
|
|
3183
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
3184
|
+
*/
|
|
3185
|
+
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
3171
3186
|
/**
|
|
3172
3187
|
* enforce read-only props in components
|
|
3173
3188
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
@@ -3849,6 +3864,11 @@ interface RuleOptions {
|
|
|
3849
3864
|
* @see https://eslint.style/rules/js/computed-property-spacing
|
|
3850
3865
|
*/
|
|
3851
3866
|
'style/computed-property-spacing'?: Linter.RuleEntry<StyleComputedPropertySpacing>
|
|
3867
|
+
/**
|
|
3868
|
+
* Enforce consistent line breaks after opening and before closing braces
|
|
3869
|
+
* @see https://eslint.style/rules/plus/curly-newline
|
|
3870
|
+
*/
|
|
3871
|
+
'style/curly-newline'?: Linter.RuleEntry<StyleCurlyNewline>
|
|
3852
3872
|
/**
|
|
3853
3873
|
* Enforce consistent newlines before and after dots
|
|
3854
3874
|
* @see https://eslint.style/rules/js/dot-location
|
|
@@ -3913,7 +3933,7 @@ interface RuleOptions {
|
|
|
3913
3933
|
* Enforce closing tag location for multiline JSX
|
|
3914
3934
|
* @see https://eslint.style/rules/jsx/jsx-closing-tag-location
|
|
3915
3935
|
*/
|
|
3916
|
-
'style/jsx-closing-tag-location'?: Linter.RuleEntry<
|
|
3936
|
+
'style/jsx-closing-tag-location'?: Linter.RuleEntry<StyleJsxClosingTagLocation>
|
|
3917
3937
|
/**
|
|
3918
3938
|
* Disallow unnecessary JSX expressions when literals alone are sufficient or enforce JSX expressions on literals in JSX children or attributes
|
|
3919
3939
|
* @see https://eslint.style/rules/jsx/jsx-curly-brace-presence
|
|
@@ -4311,6 +4331,11 @@ interface RuleOptions {
|
|
|
4311
4331
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/first-attribute-linebreak/
|
|
4312
4332
|
*/
|
|
4313
4333
|
'svelte/first-attribute-linebreak'?: Linter.RuleEntry<SvelteFirstAttributeLinebreak>
|
|
4334
|
+
/**
|
|
4335
|
+
* Require or disallow a line break before tag's closing brackets
|
|
4336
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-new-line/
|
|
4337
|
+
*/
|
|
4338
|
+
'svelte/html-closing-bracket-new-line'?: Linter.RuleEntry<SvelteHtmlClosingBracketNewLine>
|
|
4314
4339
|
/**
|
|
4315
4340
|
* require or disallow a space before tag's closing brackets
|
|
4316
4341
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-spacing/
|
|
@@ -4421,6 +4446,11 @@ interface RuleOptions {
|
|
|
4421
4446
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/
|
|
4422
4447
|
*/
|
|
4423
4448
|
'svelte/no-inner-declarations'?: Linter.RuleEntry<SvelteNoInnerDeclarations>
|
|
4449
|
+
/**
|
|
4450
|
+
* Warns against the use of `$inspect` directive
|
|
4451
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/
|
|
4452
|
+
*/
|
|
4453
|
+
'svelte/no-inspect'?: Linter.RuleEntry<[]>
|
|
4424
4454
|
/**
|
|
4425
4455
|
* disallow use of not function in event handler
|
|
4426
4456
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -4920,6 +4950,11 @@ interface RuleOptions {
|
|
|
4920
4950
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-todo.md
|
|
4921
4951
|
*/
|
|
4922
4952
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
4953
|
+
/**
|
|
4954
|
+
* Prefer `vi.mocked()` over `fn as Mock`
|
|
4955
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
4956
|
+
*/
|
|
4957
|
+
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
4923
4958
|
/**
|
|
4924
4959
|
* require setup and teardown to be within a hook
|
|
4925
4960
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/require-hook.md
|
|
@@ -5704,687 +5739,702 @@ interface RuleOptions {
|
|
|
5704
5739
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5705
5740
|
/**
|
|
5706
5741
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/better-regex.md
|
|
5708
5743
|
*/
|
|
5709
5744
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5710
5745
|
/**
|
|
5711
5746
|
* Enforce a specific parameter name in catch clauses.
|
|
5712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/catch-error-name.md
|
|
5713
5748
|
*/
|
|
5714
5749
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5715
5750
|
/**
|
|
5716
5751
|
* Use destructured variables over properties.
|
|
5717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-destructuring.md
|
|
5718
5753
|
*/
|
|
5719
5754
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5720
5755
|
/**
|
|
5721
5756
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5723
5758
|
*/
|
|
5724
5759
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5760
|
+
/**
|
|
5761
|
+
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-existence-index-check.md
|
|
5763
|
+
*/
|
|
5764
|
+
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5725
5765
|
/**
|
|
5726
5766
|
* Move function definitions to the highest possible scope.
|
|
5727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/consistent-function-scoping.md
|
|
5728
5768
|
*/
|
|
5729
5769
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5730
5770
|
/**
|
|
5731
5771
|
* Enforce correct `Error` subclassing.
|
|
5732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/custom-error-definition.md
|
|
5733
5773
|
*/
|
|
5734
5774
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5735
5775
|
/**
|
|
5736
5776
|
* Enforce no spaces between braces.
|
|
5737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/empty-brace-spaces.md
|
|
5738
5778
|
*/
|
|
5739
5779
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5740
5780
|
/**
|
|
5741
5781
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/error-message.md
|
|
5743
5783
|
*/
|
|
5744
5784
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5745
5785
|
/**
|
|
5746
5786
|
* Require escape sequences to use uppercase values.
|
|
5747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/escape-case.md
|
|
5748
5788
|
*/
|
|
5749
5789
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5750
5790
|
/**
|
|
5751
5791
|
* Add expiration conditions to TODO comments.
|
|
5752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/expiring-todo-comments.md
|
|
5753
5793
|
*/
|
|
5754
5794
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5755
5795
|
/**
|
|
5756
5796
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/explicit-length-check.md
|
|
5758
5798
|
*/
|
|
5759
5799
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5760
5800
|
/**
|
|
5761
5801
|
* Enforce a case style for filenames.
|
|
5762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/filename-case.md
|
|
5763
5803
|
*/
|
|
5764
5804
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5765
5805
|
/**
|
|
5766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#import-index
|
|
5767
5807
|
* @deprecated
|
|
5768
5808
|
*/
|
|
5769
5809
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5770
5810
|
/**
|
|
5771
5811
|
* Enforce specific import styles per module.
|
|
5772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/import-style.md
|
|
5773
5813
|
*/
|
|
5774
5814
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5775
5815
|
/**
|
|
5776
5816
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/new-for-builtins.md
|
|
5778
5818
|
*/
|
|
5779
5819
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5780
5820
|
/**
|
|
5781
5821
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5783
5823
|
*/
|
|
5784
5824
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5785
5825
|
/**
|
|
5786
5826
|
* Disallow anonymous functions and classes as the default export.
|
|
5787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-anonymous-default-export.md
|
|
5788
5828
|
*/
|
|
5789
5829
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5790
5830
|
/**
|
|
5791
5831
|
* Prevent passing a function reference directly to iterator methods.
|
|
5792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-callback-reference.md
|
|
5793
5833
|
*/
|
|
5794
5834
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5795
5835
|
/**
|
|
5796
5836
|
* Prefer `for…of` over the `forEach` method.
|
|
5797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-for-each.md
|
|
5798
5838
|
*/
|
|
5799
5839
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5800
5840
|
/**
|
|
5801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
5802
5842
|
* @deprecated
|
|
5803
5843
|
*/
|
|
5804
5844
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5805
5845
|
/**
|
|
5806
5846
|
* Disallow using the `this` argument in array methods.
|
|
5807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-method-this-argument.md
|
|
5808
5848
|
*/
|
|
5809
5849
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5810
5850
|
/**
|
|
5811
5851
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-push-push.md
|
|
5813
5853
|
*/
|
|
5814
5854
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5815
5855
|
/**
|
|
5816
5856
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-array-reduce.md
|
|
5818
5858
|
*/
|
|
5819
5859
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5820
5860
|
/**
|
|
5821
5861
|
* Disallow member access from await expression.
|
|
5822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-expression-member.md
|
|
5823
5863
|
*/
|
|
5824
5864
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5825
5865
|
/**
|
|
5826
5866
|
* Disallow using `await` in `Promise` method parameters.
|
|
5827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5828
5868
|
*/
|
|
5829
5869
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5830
5870
|
/**
|
|
5831
5871
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-console-spaces.md
|
|
5833
5873
|
*/
|
|
5834
5874
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5835
5875
|
/**
|
|
5836
5876
|
* Do not use `document.cookie` directly.
|
|
5837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-document-cookie.md
|
|
5838
5878
|
*/
|
|
5839
5879
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5840
5880
|
/**
|
|
5841
5881
|
* Disallow empty files.
|
|
5842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-empty-file.md
|
|
5843
5883
|
*/
|
|
5844
5884
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5845
5885
|
/**
|
|
5846
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5847
5887
|
* @deprecated
|
|
5848
5888
|
*/
|
|
5849
5889
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5850
5890
|
/**
|
|
5851
5891
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-for-loop.md
|
|
5853
5893
|
*/
|
|
5854
5894
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5855
5895
|
/**
|
|
5856
5896
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-hex-escape.md
|
|
5858
5898
|
*/
|
|
5859
5899
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5860
5900
|
/**
|
|
5861
5901
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-instanceof-array.md
|
|
5863
5903
|
*/
|
|
5864
5904
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5865
5905
|
/**
|
|
5866
5906
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5868
5908
|
*/
|
|
5869
5909
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5870
5910
|
/**
|
|
5871
5911
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5873
5913
|
*/
|
|
5874
5914
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5875
5915
|
/**
|
|
5876
5916
|
* Disallow identifiers starting with `new` or `class`.
|
|
5877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-keyword-prefix.md
|
|
5878
5918
|
*/
|
|
5879
5919
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5880
5920
|
/**
|
|
5881
5921
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-length-as-slice-end.md
|
|
5883
5923
|
*/
|
|
5884
5924
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5885
5925
|
/**
|
|
5886
5926
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-lonely-if.md
|
|
5888
5928
|
*/
|
|
5889
5929
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5890
5930
|
/**
|
|
5891
5931
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5893
5933
|
*/
|
|
5894
5934
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5895
5935
|
/**
|
|
5896
5936
|
* Disallow negated conditions.
|
|
5897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negated-condition.md
|
|
5898
5938
|
*/
|
|
5899
5939
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5900
5940
|
/**
|
|
5901
5941
|
* Disallow negated expression in equality check.
|
|
5902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5942
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-negation-in-equality-check.md
|
|
5903
5943
|
*/
|
|
5904
5944
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5905
5945
|
/**
|
|
5906
5946
|
* Disallow nested ternary expressions.
|
|
5907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5947
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-nested-ternary.md
|
|
5908
5948
|
*/
|
|
5909
5949
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5910
5950
|
/**
|
|
5911
5951
|
* Disallow `new Array()`.
|
|
5912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5952
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-array.md
|
|
5913
5953
|
*/
|
|
5914
5954
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5915
5955
|
/**
|
|
5916
5956
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5957
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-new-buffer.md
|
|
5918
5958
|
*/
|
|
5919
5959
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5920
5960
|
/**
|
|
5921
5961
|
* Disallow the use of the `null` literal.
|
|
5922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5962
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-null.md
|
|
5923
5963
|
*/
|
|
5924
5964
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5925
5965
|
/**
|
|
5926
5966
|
* Disallow the use of objects as default parameters.
|
|
5927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5967
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5928
5968
|
*/
|
|
5929
5969
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5930
5970
|
/**
|
|
5931
5971
|
* Disallow `process.exit()`.
|
|
5932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5972
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-process-exit.md
|
|
5933
5973
|
*/
|
|
5934
5974
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5935
5975
|
/**
|
|
5936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-reduce
|
|
5937
5977
|
* @deprecated
|
|
5938
5978
|
*/
|
|
5939
5979
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5940
5980
|
/**
|
|
5941
5981
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5942
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5982
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5943
5983
|
*/
|
|
5944
5984
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5945
5985
|
/**
|
|
5946
5986
|
* Disallow classes that only have static members.
|
|
5947
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5987
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-static-only-class.md
|
|
5948
5988
|
*/
|
|
5949
5989
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5950
5990
|
/**
|
|
5951
5991
|
* Disallow `then` property.
|
|
5952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5992
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-thenable.md
|
|
5953
5993
|
*/
|
|
5954
5994
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5955
5995
|
/**
|
|
5956
5996
|
* Disallow assigning `this` to a variable.
|
|
5957
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5997
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-this-assignment.md
|
|
5958
5998
|
*/
|
|
5959
5999
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5960
6000
|
/**
|
|
5961
6001
|
* Disallow comparing `undefined` using `typeof`.
|
|
5962
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6002
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-typeof-undefined.md
|
|
5963
6003
|
*/
|
|
5964
6004
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5965
6005
|
/**
|
|
5966
6006
|
* Disallow awaiting non-promise values.
|
|
5967
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6007
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-await.md
|
|
5968
6008
|
*/
|
|
5969
6009
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5970
6010
|
/**
|
|
5971
6011
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5972
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6012
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5973
6013
|
*/
|
|
5974
6014
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5975
6015
|
/**
|
|
5976
6016
|
* Disallow unreadable array destructuring.
|
|
5977
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6017
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5978
6018
|
*/
|
|
5979
6019
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5980
6020
|
/**
|
|
5981
6021
|
* Disallow unreadable IIFEs.
|
|
5982
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6022
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unreadable-iife.md
|
|
5983
6023
|
*/
|
|
5984
6024
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5985
6025
|
/**
|
|
5986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5987
6027
|
* @deprecated
|
|
5988
6028
|
*/
|
|
5989
6029
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5990
6030
|
/**
|
|
5991
6031
|
* Disallow unused object properties.
|
|
5992
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6032
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-unused-properties.md
|
|
5993
6033
|
*/
|
|
5994
6034
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5995
6035
|
/**
|
|
5996
6036
|
* Disallow useless fallback when spreading in object literals.
|
|
5997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6037
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5998
6038
|
*/
|
|
5999
6039
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
6000
6040
|
/**
|
|
6001
6041
|
* Disallow useless array length check.
|
|
6002
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6042
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-length-check.md
|
|
6003
6043
|
*/
|
|
6004
6044
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
6005
6045
|
/**
|
|
6006
6046
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6007
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6047
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
6008
6048
|
*/
|
|
6009
6049
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
6010
6050
|
/**
|
|
6011
6051
|
* Disallow unnecessary spread.
|
|
6012
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6052
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-spread.md
|
|
6013
6053
|
*/
|
|
6014
6054
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
6015
6055
|
/**
|
|
6016
6056
|
* Disallow useless case in switch statements.
|
|
6017
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6057
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-switch-case.md
|
|
6018
6058
|
*/
|
|
6019
6059
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
6020
6060
|
/**
|
|
6021
6061
|
* Disallow useless `undefined`.
|
|
6022
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6062
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-useless-undefined.md
|
|
6023
6063
|
*/
|
|
6024
6064
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
6025
6065
|
/**
|
|
6026
6066
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6027
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6067
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/no-zero-fractions.md
|
|
6028
6068
|
*/
|
|
6029
6069
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
6030
6070
|
/**
|
|
6031
6071
|
* Enforce proper case for numeric literals.
|
|
6032
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6072
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/number-literal-case.md
|
|
6033
6073
|
*/
|
|
6034
6074
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
6035
6075
|
/**
|
|
6036
6076
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6037
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6077
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/numeric-separators-style.md
|
|
6038
6078
|
*/
|
|
6039
6079
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
6040
6080
|
/**
|
|
6041
6081
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6042
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6082
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-add-event-listener.md
|
|
6043
6083
|
*/
|
|
6044
6084
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
6045
6085
|
/**
|
|
6046
6086
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6047
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6087
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-find.md
|
|
6048
6088
|
*/
|
|
6049
6089
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
6050
6090
|
/**
|
|
6051
6091
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6052
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6092
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat.md
|
|
6053
6093
|
*/
|
|
6054
6094
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
6055
6095
|
/**
|
|
6056
6096
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6057
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6097
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-flat-map.md
|
|
6058
6098
|
*/
|
|
6059
6099
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
6060
6100
|
/**
|
|
6061
6101
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6062
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6102
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-index-of.md
|
|
6063
6103
|
*/
|
|
6064
6104
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
6065
6105
|
/**
|
|
6066
6106
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6067
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6107
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-array-some.md
|
|
6068
6108
|
*/
|
|
6069
6109
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
6070
6110
|
/**
|
|
6071
6111
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6072
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6112
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-at.md
|
|
6073
6113
|
*/
|
|
6074
6114
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
6075
6115
|
/**
|
|
6076
6116
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6077
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6117
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
6078
6118
|
*/
|
|
6079
6119
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
6080
6120
|
/**
|
|
6081
6121
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6082
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6122
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-code-point.md
|
|
6083
6123
|
*/
|
|
6084
6124
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
6085
6125
|
/**
|
|
6086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
6087
6127
|
* @deprecated
|
|
6088
6128
|
*/
|
|
6089
6129
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
6090
6130
|
/**
|
|
6091
6131
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6092
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6132
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-date-now.md
|
|
6093
6133
|
*/
|
|
6094
6134
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
6095
6135
|
/**
|
|
6096
6136
|
* Prefer default parameters over reassignment.
|
|
6097
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6137
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-default-parameters.md
|
|
6098
6138
|
*/
|
|
6099
6139
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
6100
6140
|
/**
|
|
6101
6141
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6102
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6142
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-append.md
|
|
6103
6143
|
*/
|
|
6104
6144
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6105
6145
|
/**
|
|
6106
6146
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6107
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6147
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
6108
6148
|
*/
|
|
6109
6149
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6110
6150
|
/**
|
|
6111
6151
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6112
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6152
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-remove.md
|
|
6113
6153
|
*/
|
|
6114
6154
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6115
6155
|
/**
|
|
6116
6156
|
* Prefer `.textContent` over `.innerText`.
|
|
6117
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6157
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
6118
6158
|
*/
|
|
6119
6159
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6120
6160
|
/**
|
|
6121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
6122
6162
|
* @deprecated
|
|
6123
6163
|
*/
|
|
6124
6164
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6125
6165
|
/**
|
|
6126
6166
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6127
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6167
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-event-target.md
|
|
6128
6168
|
*/
|
|
6129
6169
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6130
6170
|
/**
|
|
6131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
6132
6172
|
* @deprecated
|
|
6133
6173
|
*/
|
|
6134
6174
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6135
6175
|
/**
|
|
6136
6176
|
* Prefer `export…from` when re-exporting.
|
|
6137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6177
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-export-from.md
|
|
6138
6178
|
*/
|
|
6139
6179
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6140
6180
|
/**
|
|
6141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
6142
6182
|
* @deprecated
|
|
6143
6183
|
*/
|
|
6144
6184
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6185
|
+
/**
|
|
6186
|
+
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6187
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-global-this.md
|
|
6188
|
+
*/
|
|
6189
|
+
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6145
6190
|
/**
|
|
6146
6191
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6147
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6192
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-includes.md
|
|
6148
6193
|
*/
|
|
6149
6194
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6150
6195
|
/**
|
|
6151
6196
|
* Prefer reading a JSON file as a buffer.
|
|
6152
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6197
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
6153
6198
|
*/
|
|
6154
6199
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6155
6200
|
/**
|
|
6156
6201
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6157
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6202
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
6158
6203
|
*/
|
|
6159
6204
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6160
6205
|
/**
|
|
6161
6206
|
* Prefer using a logical operator over a ternary.
|
|
6162
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6207
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6163
6208
|
*/
|
|
6164
6209
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6210
|
+
/**
|
|
6211
|
+
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6212
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-min-max.md
|
|
6213
|
+
*/
|
|
6214
|
+
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6165
6215
|
/**
|
|
6166
6216
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6167
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6217
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-math-trunc.md
|
|
6168
6218
|
*/
|
|
6169
6219
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6170
6220
|
/**
|
|
6171
6221
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6172
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6222
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
6173
6223
|
*/
|
|
6174
6224
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6175
6225
|
/**
|
|
6176
6226
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6177
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6227
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-modern-math-apis.md
|
|
6178
6228
|
*/
|
|
6179
6229
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6180
6230
|
/**
|
|
6181
6231
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6182
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6232
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-module.md
|
|
6183
6233
|
*/
|
|
6184
6234
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6185
6235
|
/**
|
|
6186
6236
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6187
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6237
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
6188
6238
|
*/
|
|
6189
6239
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6190
6240
|
/**
|
|
6191
6241
|
* Prefer negative index over `.length - index` when possible.
|
|
6192
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6242
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-negative-index.md
|
|
6193
6243
|
*/
|
|
6194
6244
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6195
6245
|
/**
|
|
6196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
6197
6247
|
* @deprecated
|
|
6198
6248
|
*/
|
|
6199
6249
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6200
6250
|
/**
|
|
6201
6251
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6202
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6252
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-node-protocol.md
|
|
6203
6253
|
*/
|
|
6204
6254
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6205
6255
|
/**
|
|
6206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
6207
6257
|
* @deprecated
|
|
6208
6258
|
*/
|
|
6209
6259
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6210
6260
|
/**
|
|
6211
6261
|
* Prefer `Number` static properties over global ones.
|
|
6212
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6262
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-number-properties.md
|
|
6213
6263
|
*/
|
|
6214
6264
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6215
6265
|
/**
|
|
6216
6266
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6217
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6267
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-object-from-entries.md
|
|
6218
6268
|
*/
|
|
6219
6269
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6220
6270
|
/**
|
|
6221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
6222
6272
|
* @deprecated
|
|
6223
6273
|
*/
|
|
6224
6274
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6225
6275
|
/**
|
|
6226
6276
|
* Prefer omitting the `catch` binding parameter.
|
|
6227
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6277
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
6228
6278
|
*/
|
|
6229
6279
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6230
6280
|
/**
|
|
6231
6281
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6232
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6282
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-prototype-methods.md
|
|
6233
6283
|
*/
|
|
6234
6284
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6235
6285
|
/**
|
|
6236
|
-
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
6237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6286
|
+
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6287
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-query-selector.md
|
|
6238
6288
|
*/
|
|
6239
6289
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6240
6290
|
/**
|
|
6241
6291
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6242
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6292
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-reflect-apply.md
|
|
6243
6293
|
*/
|
|
6244
6294
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6245
6295
|
/**
|
|
6246
6296
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6247
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6297
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-regexp-test.md
|
|
6248
6298
|
*/
|
|
6249
6299
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6250
6300
|
/**
|
|
6251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
6252
6302
|
* @deprecated
|
|
6253
6303
|
*/
|
|
6254
6304
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6255
6305
|
/**
|
|
6256
6306
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6257
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6307
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-has.md
|
|
6258
6308
|
*/
|
|
6259
6309
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6260
6310
|
/**
|
|
6261
6311
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6312
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-set-size.md
|
|
6263
6313
|
*/
|
|
6264
6314
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6265
6315
|
/**
|
|
6266
6316
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6317
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-spread.md
|
|
6268
6318
|
*/
|
|
6269
6319
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6270
6320
|
/**
|
|
6271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
6272
6322
|
* @deprecated
|
|
6273
6323
|
*/
|
|
6274
6324
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6275
6325
|
/**
|
|
6276
6326
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6327
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-raw.md
|
|
6278
6328
|
*/
|
|
6279
6329
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6280
6330
|
/**
|
|
6281
6331
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6332
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-replace-all.md
|
|
6283
6333
|
*/
|
|
6284
6334
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6285
6335
|
/**
|
|
6286
6336
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6337
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-slice.md
|
|
6288
6338
|
*/
|
|
6289
6339
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6290
6340
|
/**
|
|
6291
6341
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6342
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
6293
6343
|
*/
|
|
6294
6344
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6295
6345
|
/**
|
|
6296
6346
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6347
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
6298
6348
|
*/
|
|
6299
6349
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6300
6350
|
/**
|
|
6301
6351
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6352
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-structured-clone.md
|
|
6303
6353
|
*/
|
|
6304
6354
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6305
6355
|
/**
|
|
6306
6356
|
* Prefer `switch` over multiple `else-if`.
|
|
6307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6357
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-switch.md
|
|
6308
6358
|
*/
|
|
6309
6359
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6310
6360
|
/**
|
|
6311
6361
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6362
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-ternary.md
|
|
6313
6363
|
*/
|
|
6314
6364
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6315
6365
|
/**
|
|
6316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
6317
6367
|
* @deprecated
|
|
6318
6368
|
*/
|
|
6319
6369
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6320
6370
|
/**
|
|
6321
6371
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6372
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-top-level-await.md
|
|
6323
6373
|
*/
|
|
6324
6374
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6325
6375
|
/**
|
|
6326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6376
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6327
6377
|
* @deprecated
|
|
6328
6378
|
*/
|
|
6329
6379
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6330
6380
|
/**
|
|
6331
6381
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6382
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prefer-type-error.md
|
|
6333
6383
|
*/
|
|
6334
6384
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6335
6385
|
/**
|
|
6336
6386
|
* Prevent abbreviations.
|
|
6337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6387
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/prevent-abbreviations.md
|
|
6338
6388
|
*/
|
|
6339
6389
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6340
6390
|
/**
|
|
6341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
6342
6392
|
* @deprecated
|
|
6343
6393
|
*/
|
|
6344
6394
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6345
6395
|
/**
|
|
6346
6396
|
* Enforce consistent relative URL style.
|
|
6347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6397
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/relative-url-style.md
|
|
6348
6398
|
*/
|
|
6349
6399
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6350
6400
|
/**
|
|
6351
6401
|
* Enforce using the separator argument with `Array#join()`.
|
|
6352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6402
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-array-join-separator.md
|
|
6353
6403
|
*/
|
|
6354
6404
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6355
6405
|
/**
|
|
6356
6406
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6407
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6358
6408
|
*/
|
|
6359
6409
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6360
6410
|
/**
|
|
6361
6411
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6412
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/require-post-message-target-origin.md
|
|
6363
6413
|
*/
|
|
6364
6414
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6365
6415
|
/**
|
|
6366
6416
|
* Enforce better string content.
|
|
6367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6417
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/string-content.md
|
|
6368
6418
|
*/
|
|
6369
6419
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6370
6420
|
/**
|
|
6371
6421
|
* Enforce consistent brace style for `case` clauses.
|
|
6372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6422
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/switch-case-braces.md
|
|
6373
6423
|
*/
|
|
6374
6424
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6375
6425
|
/**
|
|
6376
6426
|
* Fix whitespace-insensitive template indentation.
|
|
6377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6427
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/template-indent.md
|
|
6378
6428
|
*/
|
|
6379
6429
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6380
6430
|
/**
|
|
6381
6431
|
* Enforce consistent case for text encoding identifiers.
|
|
6382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6432
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/text-encoding-identifier-case.md
|
|
6383
6433
|
*/
|
|
6384
6434
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6385
6435
|
/**
|
|
6386
6436
|
* Require `new` when creating an error.
|
|
6387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
6437
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.0/docs/rules/throw-new-error.md
|
|
6388
6438
|
*/
|
|
6389
6439
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6390
6440
|
/**
|
|
@@ -6768,6 +6818,11 @@ interface RuleOptions {
|
|
|
6768
6818
|
* @see https://eslint.vuejs.org/rules/no-deprecated-data-object-declaration.html
|
|
6769
6819
|
*/
|
|
6770
6820
|
'vue/no-deprecated-data-object-declaration'?: Linter.RuleEntry<[]>
|
|
6821
|
+
/**
|
|
6822
|
+
* disallow using deprecated `$delete` and `$set` (in Vue.js 3.0.0+)
|
|
6823
|
+
* @see https://eslint.vuejs.org/rules/no-deprecated-delete-set.html
|
|
6824
|
+
*/
|
|
6825
|
+
'vue/no-deprecated-delete-set'?: Linter.RuleEntry<[]>
|
|
6771
6826
|
/**
|
|
6772
6827
|
* disallow using deprecated `destroyed` and `beforeDestroy` lifecycle hooks (in Vue.js 3.0.0+)
|
|
6773
6828
|
* @see https://eslint.vuejs.org/rules/no-deprecated-destroyed-lifecycle.html
|
|
@@ -7913,6 +7968,12 @@ type AstroSemi = ([]|["never"]|["never", {
|
|
|
7913
7968
|
omitLastInOneLineBlock?: boolean
|
|
7914
7969
|
omitLastInOneLineClassBody?: boolean
|
|
7915
7970
|
}])
|
|
7971
|
+
// ----- astro/sort-attributes -----
|
|
7972
|
+
type AstroSortAttributes = []|[{
|
|
7973
|
+
type?: ("alphabetical" | "line-length")
|
|
7974
|
+
ignoreCase?: boolean
|
|
7975
|
+
order?: ("asc" | "desc")
|
|
7976
|
+
}]
|
|
7916
7977
|
// ----- block-spacing -----
|
|
7917
7978
|
type BlockSpacing = []|[("always" | "never")]
|
|
7918
7979
|
// ----- brace-style -----
|
|
@@ -7977,6 +8038,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
7977
8038
|
type Complexity = []|[(number | {
|
|
7978
8039
|
maximum?: number
|
|
7979
8040
|
max?: number
|
|
8041
|
+
variant?: ("classic" | "modified")
|
|
7980
8042
|
})]
|
|
7981
8043
|
// ----- computed-property-spacing -----
|
|
7982
8044
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -10059,7 +10121,7 @@ type NodeHashbang = []|[{
|
|
|
10059
10121
|
// ----- node/no-deprecated-api -----
|
|
10060
10122
|
type NodeNoDeprecatedApi = []|[{
|
|
10061
10123
|
version?: string
|
|
10062
|
-
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext")[]
|
|
10124
|
+
ignoreModuleItems?: ("_linklist" | "_stream_wrap" | "async_hooks.currentId" | "async_hooks.triggerId" | "buffer.Buffer()" | "new buffer.Buffer()" | "buffer.SlowBuffer" | "constants" | "crypto._toBuf" | "crypto.Credentials" | "crypto.DEFAULT_ENCODING" | "crypto.createCipher" | "crypto.createCredentials" | "crypto.createDecipher" | "crypto.fips" | "crypto.prng" | "crypto.pseudoRandomBytes" | "crypto.rng" | "domain" | "events.EventEmitter.listenerCount" | "events.listenerCount" | "freelist" | "fs.SyncWriteStream" | "fs.exists" | "fs.lchmod" | "fs.lchmodSync" | "http.createClient" | "module.Module.createRequireFromPath" | "module.Module.requireRepl" | "module.Module._debug" | "module.createRequireFromPath" | "module.requireRepl" | "module._debug" | "net._setSimultaneousAccepts" | "os.getNetworkInterfaces" | "os.tmpDir" | "path._makeLong" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport" | "punycode" | "readline.codePointAt" | "readline.getStringWidth" | "readline.isFullWidthCodePoint" | "readline.stripVTControlCharacters" | "repl.REPLServer" | "repl.Recoverable" | "repl.REPL_MODE_MAGIC" | "safe-buffer.Buffer()" | "new safe-buffer.Buffer()" | "safe-buffer.SlowBuffer" | "sys" | "timers.enroll" | "timers.unenroll" | "tls.CleartextStream" | "tls.CryptoStream" | "tls.SecurePair" | "tls.convertNPNProtocols" | "tls.createSecurePair" | "tls.parseCertString" | "tty.setRawMode" | "url.parse" | "url.resolve" | "util.debug" | "util.error" | "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.print" | "util.pump" | "util.puts" | "util._extend" | "vm.runInDebugContext" | "zlib.BrotliCompress()" | "zlib.BrotliDecompress()" | "zlib.Deflate()" | "zlib.DeflateRaw()" | "zlib.Gunzip()" | "zlib.Gzip()" | "zlib.Inflate()" | "zlib.InflateRaw()" | "zlib.Unzip()")[]
|
|
10063
10125
|
ignoreGlobalItems?: ("Buffer()" | "new Buffer()" | "COUNTER_NET_SERVER_CONNECTION" | "COUNTER_NET_SERVER_CONNECTION_CLOSE" | "COUNTER_HTTP_SERVER_REQUEST" | "COUNTER_HTTP_SERVER_RESPONSE" | "COUNTER_HTTP_CLIENT_REQUEST" | "COUNTER_HTTP_CLIENT_RESPONSE" | "GLOBAL" | "Intl.v8BreakIterator" | "require.extensions" | "root" | "process.EventEmitter" | "process.assert" | "process.binding" | "process.env.NODE_REPL_HISTORY_FILE" | "process.report.triggerReport")[]
|
|
10064
10126
|
ignoreIndirectDependencies?: boolean
|
|
10065
10127
|
}]
|
|
@@ -10117,6 +10179,7 @@ type NodeNoMissingImport = []|[{
|
|
|
10117
10179
|
allowModules?: string[]
|
|
10118
10180
|
resolvePaths?: string[]
|
|
10119
10181
|
tryExtensions?: string[]
|
|
10182
|
+
ignoreTypeImport?: boolean
|
|
10120
10183
|
tsconfigPath?: string
|
|
10121
10184
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
10122
10185
|
}]
|
|
@@ -10133,6 +10196,10 @@ type NodeNoMixedRequires = []|[(boolean | {
|
|
|
10133
10196
|
grouping?: boolean
|
|
10134
10197
|
allowCall?: boolean
|
|
10135
10198
|
})]
|
|
10199
|
+
// ----- node/no-process-env -----
|
|
10200
|
+
type NodeNoProcessEnv = []|[{
|
|
10201
|
+
allowedVariables?: string[]
|
|
10202
|
+
}]
|
|
10136
10203
|
// ----- node/no-restricted-import -----
|
|
10137
10204
|
type NodeNoRestrictedImport = []|[(string | {
|
|
10138
10205
|
name: (string | string[])
|
|
@@ -10227,7 +10294,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10227
10294
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10228
10295
|
version?: string
|
|
10229
10296
|
allowExperimental?: boolean
|
|
10230
|
-
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")[]
|
|
10297
|
+
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" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "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.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "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.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "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.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "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" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "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.duplexPair" | "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.getCallSite" | "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.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10231
10298
|
}]
|
|
10232
10299
|
// ----- node/prefer-global/buffer -----
|
|
10233
10300
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10374,8 +10441,12 @@ type PerfectionistSortArrayIncludes = []|[{
|
|
|
10374
10441
|
|
|
10375
10442
|
order?: ("asc" | "desc")
|
|
10376
10443
|
|
|
10444
|
+
matcher?: ("minimatch" | "regex")
|
|
10445
|
+
|
|
10377
10446
|
ignoreCase?: boolean
|
|
10378
10447
|
|
|
10448
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10449
|
+
|
|
10379
10450
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10380
10451
|
|
|
10381
10452
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10389,8 +10460,12 @@ type PerfectionistSortAstroAttributes = []|[{
|
|
|
10389
10460
|
|
|
10390
10461
|
order?: ("asc" | "desc")
|
|
10391
10462
|
|
|
10463
|
+
matcher?: ("minimatch" | "regex")
|
|
10464
|
+
|
|
10392
10465
|
ignoreCase?: boolean
|
|
10393
10466
|
|
|
10467
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10468
|
+
|
|
10394
10469
|
groups?: (string | string[])[]
|
|
10395
10470
|
|
|
10396
10471
|
customGroups?: {
|
|
@@ -10404,8 +10479,12 @@ type PerfectionistSortClasses = []|[{
|
|
|
10404
10479
|
|
|
10405
10480
|
order?: ("asc" | "desc")
|
|
10406
10481
|
|
|
10482
|
+
matcher?: ("minimatch" | "regex")
|
|
10483
|
+
|
|
10407
10484
|
ignoreCase?: boolean
|
|
10408
10485
|
|
|
10486
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10487
|
+
|
|
10409
10488
|
partitionByComment?: (string[] | boolean | string)
|
|
10410
10489
|
|
|
10411
10490
|
groups?: (string | string[])[]
|
|
@@ -10427,6 +10506,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10427
10506
|
|
|
10428
10507
|
elementNamePattern?: string
|
|
10429
10508
|
|
|
10509
|
+
elementValuePattern?: string
|
|
10510
|
+
|
|
10430
10511
|
decoratorNamePattern?: string
|
|
10431
10512
|
}[]
|
|
10432
10513
|
} | {
|
|
@@ -10443,6 +10524,8 @@ type PerfectionistSortClasses = []|[{
|
|
|
10443
10524
|
|
|
10444
10525
|
elementNamePattern?: string
|
|
10445
10526
|
|
|
10527
|
+
elementValuePattern?: string
|
|
10528
|
+
|
|
10446
10529
|
decoratorNamePattern?: string
|
|
10447
10530
|
})[])
|
|
10448
10531
|
}]
|
|
@@ -10453,8 +10536,12 @@ type PerfectionistSortEnums = []|[{
|
|
|
10453
10536
|
|
|
10454
10537
|
order?: ("asc" | "desc")
|
|
10455
10538
|
|
|
10539
|
+
matcher?: ("minimatch" | "regex")
|
|
10540
|
+
|
|
10456
10541
|
ignoreCase?: boolean
|
|
10457
10542
|
|
|
10543
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10544
|
+
|
|
10458
10545
|
sortByValue?: boolean
|
|
10459
10546
|
|
|
10460
10547
|
forceNumericSort?: boolean
|
|
@@ -10470,8 +10557,12 @@ type PerfectionistSortExports = []|[{
|
|
|
10470
10557
|
|
|
10471
10558
|
order?: ("asc" | "desc")
|
|
10472
10559
|
|
|
10560
|
+
matcher?: ("minimatch" | "regex")
|
|
10561
|
+
|
|
10473
10562
|
ignoreCase?: boolean
|
|
10474
10563
|
|
|
10564
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10565
|
+
|
|
10475
10566
|
partitionByComment?: (string[] | boolean | string)
|
|
10476
10567
|
|
|
10477
10568
|
partitionByNewLine?: boolean
|
|
@@ -10486,8 +10577,12 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
10486
10577
|
|
|
10487
10578
|
order?: ("asc" | "desc")
|
|
10488
10579
|
|
|
10580
|
+
matcher?: ("minimatch" | "regex")
|
|
10581
|
+
|
|
10489
10582
|
ignoreCase?: boolean
|
|
10490
10583
|
|
|
10584
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10585
|
+
|
|
10491
10586
|
internalPattern?: string[]
|
|
10492
10587
|
|
|
10493
10588
|
sortSideEffects?: boolean
|
|
@@ -10523,8 +10618,12 @@ type PerfectionistSortInterfaces = []|[{
|
|
|
10523
10618
|
|
|
10524
10619
|
order?: ("asc" | "desc")
|
|
10525
10620
|
|
|
10621
|
+
matcher?: ("minimatch" | "regex")
|
|
10622
|
+
|
|
10526
10623
|
ignoreCase?: boolean
|
|
10527
10624
|
|
|
10625
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10626
|
+
|
|
10528
10627
|
ignorePattern?: string[]
|
|
10529
10628
|
|
|
10530
10629
|
partitionByComment?: (boolean | string | string[])
|
|
@@ -10546,8 +10645,12 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
10546
10645
|
|
|
10547
10646
|
order?: ("asc" | "desc")
|
|
10548
10647
|
|
|
10648
|
+
matcher?: ("minimatch" | "regex")
|
|
10649
|
+
|
|
10549
10650
|
ignoreCase?: boolean
|
|
10550
10651
|
|
|
10652
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10653
|
+
|
|
10551
10654
|
groups?: (string | string[])[]
|
|
10552
10655
|
|
|
10553
10656
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10561,8 +10664,12 @@ type PerfectionistSortJsxProps = []|[{
|
|
|
10561
10664
|
|
|
10562
10665
|
order?: ("asc" | "desc")
|
|
10563
10666
|
|
|
10667
|
+
matcher?: ("minimatch" | "regex")
|
|
10668
|
+
|
|
10564
10669
|
ignoreCase?: boolean
|
|
10565
10670
|
|
|
10671
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10672
|
+
|
|
10566
10673
|
ignorePattern?: string[]
|
|
10567
10674
|
|
|
10568
10675
|
groups?: (string | string[])[]
|
|
@@ -10578,8 +10685,12 @@ type PerfectionistSortMaps = []|[{
|
|
|
10578
10685
|
|
|
10579
10686
|
order?: ("asc" | "desc")
|
|
10580
10687
|
|
|
10688
|
+
matcher?: ("minimatch" | "regex")
|
|
10689
|
+
|
|
10581
10690
|
ignoreCase?: boolean
|
|
10582
10691
|
|
|
10692
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10693
|
+
|
|
10583
10694
|
partitionByComment?: (string[] | boolean | string)
|
|
10584
10695
|
|
|
10585
10696
|
partitionByNewLine?: boolean
|
|
@@ -10591,8 +10702,12 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
10591
10702
|
|
|
10592
10703
|
order?: ("asc" | "desc")
|
|
10593
10704
|
|
|
10705
|
+
matcher?: ("minimatch" | "regex")
|
|
10706
|
+
|
|
10594
10707
|
ignoreCase?: boolean
|
|
10595
10708
|
|
|
10709
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10710
|
+
|
|
10596
10711
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10597
10712
|
|
|
10598
10713
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10606,8 +10721,12 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
10606
10721
|
|
|
10607
10722
|
order?: ("asc" | "desc")
|
|
10608
10723
|
|
|
10724
|
+
matcher?: ("minimatch" | "regex")
|
|
10725
|
+
|
|
10609
10726
|
ignoreCase?: boolean
|
|
10610
10727
|
|
|
10728
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10729
|
+
|
|
10611
10730
|
ignoreAlias?: boolean
|
|
10612
10731
|
|
|
10613
10732
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
@@ -10623,8 +10742,12 @@ type PerfectionistSortObjectTypes = []|[{
|
|
|
10623
10742
|
|
|
10624
10743
|
order?: ("asc" | "desc")
|
|
10625
10744
|
|
|
10745
|
+
matcher?: ("minimatch" | "regex")
|
|
10746
|
+
|
|
10626
10747
|
ignoreCase?: boolean
|
|
10627
10748
|
|
|
10749
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10750
|
+
|
|
10628
10751
|
partitionByComment?: (string[] | boolean | string)
|
|
10629
10752
|
|
|
10630
10753
|
partitionByNewLine?: boolean
|
|
@@ -10644,8 +10767,12 @@ type PerfectionistSortObjects = []|[{
|
|
|
10644
10767
|
|
|
10645
10768
|
order?: ("asc" | "desc")
|
|
10646
10769
|
|
|
10770
|
+
matcher?: ("minimatch" | "regex")
|
|
10771
|
+
|
|
10647
10772
|
ignoreCase?: boolean
|
|
10648
10773
|
|
|
10774
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10775
|
+
|
|
10649
10776
|
partitionByComment?: (string[] | boolean | string)
|
|
10650
10777
|
|
|
10651
10778
|
partitionByNewLine?: boolean
|
|
@@ -10669,8 +10796,12 @@ type PerfectionistSortSets = []|[{
|
|
|
10669
10796
|
|
|
10670
10797
|
order?: ("asc" | "desc")
|
|
10671
10798
|
|
|
10799
|
+
matcher?: ("minimatch" | "regex")
|
|
10800
|
+
|
|
10672
10801
|
ignoreCase?: boolean
|
|
10673
10802
|
|
|
10803
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10804
|
+
|
|
10674
10805
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10675
10806
|
|
|
10676
10807
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10684,8 +10815,12 @@ type PerfectionistSortSvelteAttributes = []|[{
|
|
|
10684
10815
|
|
|
10685
10816
|
order?: ("asc" | "desc")
|
|
10686
10817
|
|
|
10818
|
+
matcher?: ("minimatch" | "regex")
|
|
10819
|
+
|
|
10687
10820
|
ignoreCase?: boolean
|
|
10688
10821
|
|
|
10822
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10823
|
+
|
|
10689
10824
|
groups?: (string | string[])[]
|
|
10690
10825
|
|
|
10691
10826
|
customGroups?: {
|
|
@@ -10700,6 +10835,8 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
10700
10835
|
order?: ("asc" | "desc")
|
|
10701
10836
|
|
|
10702
10837
|
ignoreCase?: boolean
|
|
10838
|
+
|
|
10839
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10703
10840
|
}]
|
|
10704
10841
|
// ----- perfectionist/sort-union-types -----
|
|
10705
10842
|
type PerfectionistSortUnionTypes = []|[{
|
|
@@ -10708,8 +10845,12 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
10708
10845
|
|
|
10709
10846
|
order?: ("asc" | "desc")
|
|
10710
10847
|
|
|
10848
|
+
matcher?: ("minimatch" | "regex")
|
|
10849
|
+
|
|
10711
10850
|
ignoreCase?: boolean
|
|
10712
10851
|
|
|
10852
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10853
|
+
|
|
10713
10854
|
groups?: (string | string[])[]
|
|
10714
10855
|
|
|
10715
10856
|
partitionByComment?: (string[] | boolean | string)
|
|
@@ -10723,8 +10864,12 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
10723
10864
|
|
|
10724
10865
|
order?: ("asc" | "desc")
|
|
10725
10866
|
|
|
10867
|
+
matcher?: ("minimatch" | "regex")
|
|
10868
|
+
|
|
10726
10869
|
ignoreCase?: boolean
|
|
10727
10870
|
|
|
10871
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10872
|
+
|
|
10728
10873
|
partitionByComment?: (string[] | boolean | string)
|
|
10729
10874
|
|
|
10730
10875
|
partitionByNewLine?: boolean
|
|
@@ -10736,8 +10881,12 @@ type PerfectionistSortVueAttributes = []|[{
|
|
|
10736
10881
|
|
|
10737
10882
|
order?: ("asc" | "desc")
|
|
10738
10883
|
|
|
10884
|
+
matcher?: ("minimatch" | "regex")
|
|
10885
|
+
|
|
10739
10886
|
ignoreCase?: boolean
|
|
10740
10887
|
|
|
10888
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10889
|
+
|
|
10741
10890
|
groups?: (string | string[])[]
|
|
10742
10891
|
|
|
10743
10892
|
customGroups?: {
|
|
@@ -10837,6 +10986,10 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
10837
10986
|
checkJS?: boolean
|
|
10838
10987
|
allowExportNames?: string[]
|
|
10839
10988
|
}]
|
|
10989
|
+
// ----- react/no-useless-fragment -----
|
|
10990
|
+
type ReactNoUselessFragment = []|[{
|
|
10991
|
+
allowExpressions?: boolean
|
|
10992
|
+
}]
|
|
10840
10993
|
// ----- regexp/hexadecimal-escape -----
|
|
10841
10994
|
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
10842
10995
|
// ----- regexp/letter-case -----
|
|
@@ -11163,6 +11316,127 @@ type StyleCommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
11163
11316
|
type StyleComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
11164
11317
|
enforceForClassMembers?: boolean
|
|
11165
11318
|
}]
|
|
11319
|
+
// ----- style/curly-newline -----
|
|
11320
|
+
type StyleCurlyNewline = []|[(("always" | "never") | {
|
|
11321
|
+
IfStatementConsequent?: (("always" | "never") | {
|
|
11322
|
+
multiline?: boolean
|
|
11323
|
+
minElements?: number
|
|
11324
|
+
consistent?: boolean
|
|
11325
|
+
})
|
|
11326
|
+
IfStatementAlternative?: (("always" | "never") | {
|
|
11327
|
+
multiline?: boolean
|
|
11328
|
+
minElements?: number
|
|
11329
|
+
consistent?: boolean
|
|
11330
|
+
})
|
|
11331
|
+
DoWhileStatement?: (("always" | "never") | {
|
|
11332
|
+
multiline?: boolean
|
|
11333
|
+
minElements?: number
|
|
11334
|
+
consistent?: boolean
|
|
11335
|
+
})
|
|
11336
|
+
ForInStatement?: (("always" | "never") | {
|
|
11337
|
+
multiline?: boolean
|
|
11338
|
+
minElements?: number
|
|
11339
|
+
consistent?: boolean
|
|
11340
|
+
})
|
|
11341
|
+
ForOfStatement?: (("always" | "never") | {
|
|
11342
|
+
multiline?: boolean
|
|
11343
|
+
minElements?: number
|
|
11344
|
+
consistent?: boolean
|
|
11345
|
+
})
|
|
11346
|
+
ForStatement?: (("always" | "never") | {
|
|
11347
|
+
multiline?: boolean
|
|
11348
|
+
minElements?: number
|
|
11349
|
+
consistent?: boolean
|
|
11350
|
+
})
|
|
11351
|
+
WhileStatement?: (("always" | "never") | {
|
|
11352
|
+
multiline?: boolean
|
|
11353
|
+
minElements?: number
|
|
11354
|
+
consistent?: boolean
|
|
11355
|
+
})
|
|
11356
|
+
SwitchStatement?: (("always" | "never") | {
|
|
11357
|
+
multiline?: boolean
|
|
11358
|
+
minElements?: number
|
|
11359
|
+
consistent?: boolean
|
|
11360
|
+
})
|
|
11361
|
+
SwitchCase?: (("always" | "never") | {
|
|
11362
|
+
multiline?: boolean
|
|
11363
|
+
minElements?: number
|
|
11364
|
+
consistent?: boolean
|
|
11365
|
+
})
|
|
11366
|
+
TryStatementBlock?: (("always" | "never") | {
|
|
11367
|
+
multiline?: boolean
|
|
11368
|
+
minElements?: number
|
|
11369
|
+
consistent?: boolean
|
|
11370
|
+
})
|
|
11371
|
+
TryStatementHandler?: (("always" | "never") | {
|
|
11372
|
+
multiline?: boolean
|
|
11373
|
+
minElements?: number
|
|
11374
|
+
consistent?: boolean
|
|
11375
|
+
})
|
|
11376
|
+
TryStatementFinalizer?: (("always" | "never") | {
|
|
11377
|
+
multiline?: boolean
|
|
11378
|
+
minElements?: number
|
|
11379
|
+
consistent?: boolean
|
|
11380
|
+
})
|
|
11381
|
+
BlockStatement?: (("always" | "never") | {
|
|
11382
|
+
multiline?: boolean
|
|
11383
|
+
minElements?: number
|
|
11384
|
+
consistent?: boolean
|
|
11385
|
+
})
|
|
11386
|
+
ArrowFunctionExpression?: (("always" | "never") | {
|
|
11387
|
+
multiline?: boolean
|
|
11388
|
+
minElements?: number
|
|
11389
|
+
consistent?: boolean
|
|
11390
|
+
})
|
|
11391
|
+
FunctionDeclaration?: (("always" | "never") | {
|
|
11392
|
+
multiline?: boolean
|
|
11393
|
+
minElements?: number
|
|
11394
|
+
consistent?: boolean
|
|
11395
|
+
})
|
|
11396
|
+
FunctionExpression?: (("always" | "never") | {
|
|
11397
|
+
multiline?: boolean
|
|
11398
|
+
minElements?: number
|
|
11399
|
+
consistent?: boolean
|
|
11400
|
+
})
|
|
11401
|
+
Property?: (("always" | "never") | {
|
|
11402
|
+
multiline?: boolean
|
|
11403
|
+
minElements?: number
|
|
11404
|
+
consistent?: boolean
|
|
11405
|
+
})
|
|
11406
|
+
ClassBody?: (("always" | "never") | {
|
|
11407
|
+
multiline?: boolean
|
|
11408
|
+
minElements?: number
|
|
11409
|
+
consistent?: boolean
|
|
11410
|
+
})
|
|
11411
|
+
StaticBlock?: (("always" | "never") | {
|
|
11412
|
+
multiline?: boolean
|
|
11413
|
+
minElements?: number
|
|
11414
|
+
consistent?: boolean
|
|
11415
|
+
})
|
|
11416
|
+
WithStatement?: (("always" | "never") | {
|
|
11417
|
+
multiline?: boolean
|
|
11418
|
+
minElements?: number
|
|
11419
|
+
consistent?: boolean
|
|
11420
|
+
})
|
|
11421
|
+
TSEnumBody?: (("always" | "never") | {
|
|
11422
|
+
multiline?: boolean
|
|
11423
|
+
minElements?: number
|
|
11424
|
+
consistent?: boolean
|
|
11425
|
+
})
|
|
11426
|
+
TSInterfaceBody?: (("always" | "never") | {
|
|
11427
|
+
multiline?: boolean
|
|
11428
|
+
minElements?: number
|
|
11429
|
+
consistent?: boolean
|
|
11430
|
+
})
|
|
11431
|
+
TSModuleBlock?: (("always" | "never") | {
|
|
11432
|
+
multiline?: boolean
|
|
11433
|
+
minElements?: number
|
|
11434
|
+
consistent?: boolean
|
|
11435
|
+
})
|
|
11436
|
+
multiline?: boolean
|
|
11437
|
+
minElements?: number
|
|
11438
|
+
consistent?: boolean
|
|
11439
|
+
})]
|
|
11166
11440
|
// ----- style/dot-location -----
|
|
11167
11441
|
type StyleDotLocation = []|[("object" | "property")]
|
|
11168
11442
|
// ----- style/eol-last -----
|
|
@@ -11242,6 +11516,8 @@ type StyleJsxClosingBracketLocation = []|[(("after-props" | "props-aligned" | "t
|
|
|
11242
11516
|
nonEmpty?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
11243
11517
|
selfClosing?: (("after-props" | "props-aligned" | "tag-aligned" | "line-aligned") | false)
|
|
11244
11518
|
})]
|
|
11519
|
+
// ----- style/jsx-closing-tag-location -----
|
|
11520
|
+
type StyleJsxClosingTagLocation = []|[("tag-aligned" | "line-aligned")]
|
|
11245
11521
|
// ----- style/jsx-curly-brace-presence -----
|
|
11246
11522
|
type StyleJsxCurlyBracePresence = []|[({
|
|
11247
11523
|
props?: ("always" | "never" | "ignore")
|
|
@@ -12134,6 +12410,15 @@ type SvelteFirstAttributeLinebreak = []|[{
|
|
|
12134
12410
|
multiline?: ("below" | "beside")
|
|
12135
12411
|
singleline?: ("below" | "beside")
|
|
12136
12412
|
}]
|
|
12413
|
+
// ----- svelte/html-closing-bracket-new-line -----
|
|
12414
|
+
type SvelteHtmlClosingBracketNewLine = []|[{
|
|
12415
|
+
singleline?: ("always" | "never")
|
|
12416
|
+
multiline?: ("always" | "never")
|
|
12417
|
+
selfClosingTag?: {
|
|
12418
|
+
singleline?: ("always" | "never")
|
|
12419
|
+
multiline?: ("always" | "never")
|
|
12420
|
+
}
|
|
12421
|
+
}]
|
|
12137
12422
|
// ----- svelte/html-closing-bracket-spacing -----
|
|
12138
12423
|
type SvelteHtmlClosingBracketSpacing = []|[{
|
|
12139
12424
|
startTag?: ("always" | "never" | "ignore")
|