@luxass/eslint-config 4.4.3 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.cjs +68 -31
- package/dist/index.d.cts +311 -215
- package/dist/index.d.ts +311 -215
- package/dist/index.js +67 -31
- package/package.json +41 -41
package/dist/index.d.cts
CHANGED
|
@@ -20,6 +20,11 @@ interface RuleOptions {
|
|
|
20
20
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
21
21
|
*/
|
|
22
22
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
23
|
+
/**
|
|
24
|
+
* Enforce Anthony's style of curly bracket
|
|
25
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
|
|
26
|
+
*/
|
|
27
|
+
'antfu/curly'?: Linter.RuleEntry<[]>
|
|
23
28
|
/**
|
|
24
29
|
* Newline after if
|
|
25
30
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
|
|
@@ -30,6 +35,11 @@ interface RuleOptions {
|
|
|
30
35
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
31
36
|
*/
|
|
32
37
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
38
|
+
/**
|
|
39
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
40
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
41
|
+
*/
|
|
42
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
33
43
|
/**
|
|
34
44
|
* Prevent importing modules in `dist` folder
|
|
35
45
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -549,7 +559,7 @@ interface RuleOptions {
|
|
|
549
559
|
*/
|
|
550
560
|
'func-names'?: Linter.RuleEntry<FuncNames>
|
|
551
561
|
/**
|
|
552
|
-
* Enforce the consistent use of either `function` declarations or expressions
|
|
562
|
+
* Enforce the consistent use of either `function` declarations or expressions assigned to variables
|
|
553
563
|
* @see https://eslint.org/docs/latest/rules/func-style
|
|
554
564
|
*/
|
|
555
565
|
'func-style'?: Linter.RuleEntry<FuncStyle>
|
|
@@ -627,42 +637,42 @@ interface RuleOptions {
|
|
|
627
637
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
628
638
|
/**
|
|
629
639
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
630
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
|
|
631
641
|
*/
|
|
632
642
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
633
643
|
/**
|
|
634
644
|
* Ensure a default export is present, given a default import.
|
|
635
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
645
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
|
|
636
646
|
*/
|
|
637
647
|
'import/default'?: Linter.RuleEntry<[]>
|
|
638
648
|
/**
|
|
639
649
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
650
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
|
|
641
651
|
*/
|
|
642
652
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
643
653
|
/**
|
|
644
654
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
655
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
|
|
646
656
|
*/
|
|
647
657
|
'import/export'?: Linter.RuleEntry<[]>
|
|
648
658
|
/**
|
|
649
659
|
* Ensure all exports appear after other statements.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
|
|
651
661
|
*/
|
|
652
662
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
653
663
|
/**
|
|
654
664
|
* Ensure consistent use of file extension within the import path.
|
|
655
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
|
|
656
666
|
*/
|
|
657
667
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
658
668
|
/**
|
|
659
669
|
* Ensure all imports appear before other statements.
|
|
660
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
|
|
661
671
|
*/
|
|
662
672
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
663
673
|
/**
|
|
664
674
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
665
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
|
|
666
676
|
*/
|
|
667
677
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
668
678
|
/**
|
|
@@ -673,182 +683,182 @@ interface RuleOptions {
|
|
|
673
683
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
674
684
|
/**
|
|
675
685
|
* Enforce the maximum number of dependencies a module can have.
|
|
676
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
|
|
677
687
|
*/
|
|
678
688
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
679
689
|
/**
|
|
680
690
|
* Ensure named imports correspond to a named export in the remote file.
|
|
681
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
|
|
682
692
|
*/
|
|
683
693
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
684
694
|
/**
|
|
685
695
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
|
|
687
697
|
*/
|
|
688
698
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
689
699
|
/**
|
|
690
700
|
* Enforce a newline after import statements.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
|
|
692
702
|
*/
|
|
693
703
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
694
704
|
/**
|
|
695
705
|
* Forbid import of modules using absolute paths.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
|
|
697
707
|
*/
|
|
698
708
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
699
709
|
/**
|
|
700
710
|
* Forbid AMD `require` and `define` calls.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
|
|
702
712
|
*/
|
|
703
713
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
704
714
|
/**
|
|
705
715
|
* Forbid anonymous values as default exports.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
|
|
707
717
|
*/
|
|
708
718
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
709
719
|
/**
|
|
710
720
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
|
|
712
722
|
*/
|
|
713
723
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
714
724
|
/**
|
|
715
725
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
|
|
717
727
|
*/
|
|
718
728
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
719
729
|
/**
|
|
720
730
|
* Forbid default exports.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
|
|
722
732
|
*/
|
|
723
733
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
724
734
|
/**
|
|
725
735
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
|
|
727
737
|
*/
|
|
728
738
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
729
739
|
/**
|
|
730
740
|
* Forbid repeated import of the same module in multiple places.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
|
|
732
742
|
*/
|
|
733
743
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
734
744
|
/**
|
|
735
745
|
* Forbid `require()` calls with expressions.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
|
|
737
747
|
*/
|
|
738
748
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
739
749
|
/**
|
|
740
750
|
* Forbid empty named import blocks.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
|
|
742
752
|
*/
|
|
743
753
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
744
754
|
/**
|
|
745
755
|
* Forbid the use of extraneous packages.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
|
|
747
757
|
*/
|
|
748
758
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
749
759
|
/**
|
|
750
760
|
* Forbid import statements with CommonJS module.exports.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
|
|
752
762
|
*/
|
|
753
763
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
754
764
|
/**
|
|
755
765
|
* Forbid importing the submodules of other modules.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
|
|
757
767
|
*/
|
|
758
768
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
759
769
|
/**
|
|
760
770
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
|
|
762
772
|
*/
|
|
763
773
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
764
774
|
/**
|
|
765
775
|
* Forbid use of exported name as identifier of default export.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
|
|
767
777
|
*/
|
|
768
778
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
769
779
|
/**
|
|
770
780
|
* Forbid use of exported name as property of default export.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
|
|
772
782
|
*/
|
|
773
783
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
774
784
|
/**
|
|
775
785
|
* Forbid named default exports.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
|
|
777
787
|
*/
|
|
778
788
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
779
789
|
/**
|
|
780
790
|
* Forbid named exports.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
|
|
782
792
|
*/
|
|
783
793
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
784
794
|
/**
|
|
785
795
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
|
|
787
797
|
*/
|
|
788
798
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
789
799
|
/**
|
|
790
800
|
* Forbid Node.js builtin modules.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
|
|
792
802
|
*/
|
|
793
803
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
794
804
|
/**
|
|
795
805
|
* Forbid importing packages through relative paths.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
|
|
797
807
|
*/
|
|
798
808
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
799
809
|
/**
|
|
800
810
|
* Forbid importing modules from parent directories.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
|
|
802
812
|
*/
|
|
803
813
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
804
814
|
/**
|
|
805
815
|
* Enforce which files can be imported in a given folder.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
|
|
807
817
|
*/
|
|
808
818
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
809
819
|
/**
|
|
810
820
|
* Forbid a module from importing itself.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
|
|
812
822
|
*/
|
|
813
823
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
814
824
|
/**
|
|
815
825
|
* Forbid unassigned imports.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
|
|
817
827
|
*/
|
|
818
828
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
819
829
|
/**
|
|
820
830
|
* Ensure imports point to a file/module that can be resolved.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
831
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
|
|
822
832
|
*/
|
|
823
833
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
824
834
|
/**
|
|
825
835
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
836
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
|
|
827
837
|
*/
|
|
828
838
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
829
839
|
/**
|
|
830
840
|
* Forbid unnecessary path segments in import and require statements.
|
|
831
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
841
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
|
|
832
842
|
*/
|
|
833
843
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
834
844
|
/**
|
|
835
845
|
* Forbid webpack loader syntax in imports.
|
|
836
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
846
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
|
|
837
847
|
*/
|
|
838
848
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
839
849
|
/**
|
|
840
850
|
* Enforce a convention in module import order.
|
|
841
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
851
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
|
|
842
852
|
*/
|
|
843
853
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
844
854
|
/**
|
|
845
855
|
* Prefer a default export if module exports a single name or multiple names.
|
|
846
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
856
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
|
|
847
857
|
*/
|
|
848
858
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
849
859
|
/**
|
|
850
860
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
851
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
861
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
|
|
852
862
|
*/
|
|
853
863
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
854
864
|
/**
|
|
@@ -1372,6 +1382,7 @@ interface RuleOptions {
|
|
|
1372
1382
|
/**
|
|
1373
1383
|
* Enforce position of line comments
|
|
1374
1384
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
1385
|
+
* @deprecated
|
|
1375
1386
|
*/
|
|
1376
1387
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
1377
1388
|
/**
|
|
@@ -1453,6 +1464,7 @@ interface RuleOptions {
|
|
|
1453
1464
|
/**
|
|
1454
1465
|
* Enforce a particular style for multiline comments
|
|
1455
1466
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
1467
|
+
* @deprecated
|
|
1456
1468
|
*/
|
|
1457
1469
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
1458
1470
|
/**
|
|
@@ -1825,7 +1837,7 @@ interface RuleOptions {
|
|
|
1825
1837
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1826
1838
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1827
1839
|
*/
|
|
1828
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1840
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1829
1841
|
/**
|
|
1830
1842
|
* Disallow mixed binary operators
|
|
1831
1843
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2750,6 +2762,16 @@ interface RuleOptions {
|
|
|
2750
2762
|
*/
|
|
2751
2763
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2752
2764
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2765
|
+
/**
|
|
2766
|
+
* enforce boolean attributes notation in JSX
|
|
2767
|
+
* @see https://eslint-react.xyz/rules/avoid-shorthand-boolean
|
|
2768
|
+
*/
|
|
2769
|
+
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2770
|
+
/**
|
|
2771
|
+
* enforce using fragment component instead of shorthand fragment syntax
|
|
2772
|
+
* @see https://eslint-react.xyz/rules/avoid-shorthand-fragment
|
|
2773
|
+
*/
|
|
2774
|
+
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2753
2775
|
/**
|
|
2754
2776
|
* require all 'forwardRef' components include a 'ref' parameter
|
|
2755
2777
|
* @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
|
|
@@ -2813,6 +2835,7 @@ interface RuleOptions {
|
|
|
2813
2835
|
/**
|
|
2814
2836
|
* disallow complicated conditional rendering
|
|
2815
2837
|
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2838
|
+
* @deprecated
|
|
2816
2839
|
*/
|
|
2817
2840
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2818
2841
|
/**
|
|
@@ -2848,6 +2871,7 @@ interface RuleOptions {
|
|
|
2848
2871
|
/**
|
|
2849
2872
|
* disallow spreading 'key' from objects.
|
|
2850
2873
|
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2874
|
+
* @deprecated
|
|
2851
2875
|
*/
|
|
2852
2876
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2853
2877
|
/**
|
|
@@ -3371,6 +3395,11 @@ interface RuleOptions {
|
|
|
3371
3395
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3372
3396
|
*/
|
|
3373
3397
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3398
|
+
/**
|
|
3399
|
+
* Enforce position of line comments
|
|
3400
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3401
|
+
*/
|
|
3402
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3374
3403
|
/**
|
|
3375
3404
|
* Enforce consistent linebreak style
|
|
3376
3405
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3401,6 +3430,11 @@ interface RuleOptions {
|
|
|
3401
3430
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3402
3431
|
*/
|
|
3403
3432
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3433
|
+
/**
|
|
3434
|
+
* Enforce a particular style for multiline comments
|
|
3435
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3436
|
+
*/
|
|
3437
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3404
3438
|
/**
|
|
3405
3439
|
* Enforce newlines between operands of ternary expressions
|
|
3406
3440
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -3812,6 +3846,11 @@ interface RuleOptions {
|
|
|
3812
3846
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
|
|
3813
3847
|
*/
|
|
3814
3848
|
'svelte/no-store-async'?: Linter.RuleEntry<[]>
|
|
3849
|
+
/**
|
|
3850
|
+
* svelte/internal will be removed in Svelte 6.
|
|
3851
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-svelte-internal/
|
|
3852
|
+
*/
|
|
3853
|
+
'svelte/no-svelte-internal'?: Linter.RuleEntry<[]>
|
|
3815
3854
|
/**
|
|
3816
3855
|
* disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
|
|
3817
3856
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
|
|
@@ -4992,6 +5031,7 @@ interface RuleOptions {
|
|
|
4992
5031
|
/**
|
|
4993
5032
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
4994
5033
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
5034
|
+
* @deprecated
|
|
4995
5035
|
*/
|
|
4996
5036
|
'ts/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
4997
5037
|
/**
|
|
@@ -5107,652 +5147,677 @@ interface RuleOptions {
|
|
|
5107
5147
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5108
5148
|
/**
|
|
5109
5149
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5150
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
5111
5151
|
*/
|
|
5112
5152
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5113
5153
|
/**
|
|
5114
5154
|
* Enforce a specific parameter name in catch clauses.
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
5116
5156
|
*/
|
|
5117
5157
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5118
5158
|
/**
|
|
5119
5159
|
* Use destructured variables over properties.
|
|
5120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
5121
5161
|
*/
|
|
5122
5162
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5163
|
+
/**
|
|
5164
|
+
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
|
|
5166
|
+
*/
|
|
5167
|
+
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5123
5168
|
/**
|
|
5124
5169
|
* Move function definitions to the highest possible scope.
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
5126
5171
|
*/
|
|
5127
5172
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5128
5173
|
/**
|
|
5129
5174
|
* Enforce correct `Error` subclassing.
|
|
5130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
5131
5176
|
*/
|
|
5132
5177
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5133
5178
|
/**
|
|
5134
5179
|
* Enforce no spaces between braces.
|
|
5135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5180
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
5136
5181
|
*/
|
|
5137
5182
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5138
5183
|
/**
|
|
5139
5184
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5185
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
5141
5186
|
*/
|
|
5142
5187
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5143
5188
|
/**
|
|
5144
5189
|
* Require escape sequences to use uppercase values.
|
|
5145
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
5146
5191
|
*/
|
|
5147
5192
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5148
5193
|
/**
|
|
5149
5194
|
* Add expiration conditions to TODO comments.
|
|
5150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5195
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
5151
5196
|
*/
|
|
5152
5197
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5153
5198
|
/**
|
|
5154
5199
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5155
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
5156
5201
|
*/
|
|
5157
5202
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5158
5203
|
/**
|
|
5159
5204
|
* Enforce a case style for filenames.
|
|
5160
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
5161
5206
|
*/
|
|
5162
5207
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5163
5208
|
/**
|
|
5164
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
5165
5210
|
* @deprecated
|
|
5166
5211
|
*/
|
|
5167
5212
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5168
5213
|
/**
|
|
5169
5214
|
* Enforce specific import styles per module.
|
|
5170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5215
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
5171
5216
|
*/
|
|
5172
5217
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5173
5218
|
/**
|
|
5174
5219
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
5176
5221
|
*/
|
|
5177
5222
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5178
5223
|
/**
|
|
5179
5224
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5180
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5225
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5181
5226
|
*/
|
|
5182
5227
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5183
5228
|
/**
|
|
5184
5229
|
* Disallow anonymous functions and classes as the default export.
|
|
5185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5230
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
5186
5231
|
*/
|
|
5187
5232
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5188
5233
|
/**
|
|
5189
5234
|
* Prevent passing a function reference directly to iterator methods.
|
|
5190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
5191
5236
|
*/
|
|
5192
5237
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5193
5238
|
/**
|
|
5194
5239
|
* Prefer `for…of` over the `forEach` method.
|
|
5195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
5196
5241
|
*/
|
|
5197
5242
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5198
5243
|
/**
|
|
5199
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5244
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
5200
5245
|
* @deprecated
|
|
5201
5246
|
*/
|
|
5202
5247
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5203
5248
|
/**
|
|
5204
5249
|
* Disallow using the `this` argument in array methods.
|
|
5205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
5206
5251
|
*/
|
|
5207
5252
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5208
5253
|
/**
|
|
5209
5254
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5255
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
5211
5256
|
*/
|
|
5212
5257
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5213
5258
|
/**
|
|
5214
5259
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5260
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
5216
5261
|
*/
|
|
5217
5262
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5218
5263
|
/**
|
|
5219
5264
|
* Disallow member access from await expression.
|
|
5220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5265
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
5221
5266
|
*/
|
|
5222
5267
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5223
5268
|
/**
|
|
5224
5269
|
* Disallow using `await` in `Promise` method parameters.
|
|
5225
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5226
5271
|
*/
|
|
5227
5272
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5228
5273
|
/**
|
|
5229
5274
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
5231
5276
|
*/
|
|
5232
5277
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5233
5278
|
/**
|
|
5234
5279
|
* Do not use `document.cookie` directly.
|
|
5235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
5236
5281
|
*/
|
|
5237
5282
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5238
5283
|
/**
|
|
5239
5284
|
* Disallow empty files.
|
|
5240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
5241
5286
|
*/
|
|
5242
5287
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5243
5288
|
/**
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5245
5290
|
* @deprecated
|
|
5246
5291
|
*/
|
|
5247
5292
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5248
5293
|
/**
|
|
5249
5294
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5250
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
5251
5296
|
*/
|
|
5252
5297
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5253
5298
|
/**
|
|
5254
5299
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
5256
5301
|
*/
|
|
5257
5302
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5258
5303
|
/**
|
|
5259
5304
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
5261
5306
|
*/
|
|
5262
5307
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5308
|
+
/**
|
|
5309
|
+
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
|
|
5311
|
+
*/
|
|
5312
|
+
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5263
5313
|
/**
|
|
5264
5314
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5266
5316
|
*/
|
|
5267
5317
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5268
5318
|
/**
|
|
5269
5319
|
* Disallow identifiers starting with `new` or `class`.
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5320
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
5271
5321
|
*/
|
|
5272
5322
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5273
5323
|
/**
|
|
5274
5324
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
5276
5326
|
*/
|
|
5277
5327
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5328
|
+
/**
|
|
5329
|
+
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5330
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
5331
|
+
*/
|
|
5332
|
+
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5278
5333
|
/**
|
|
5279
5334
|
* Disallow negated conditions.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
5281
5336
|
*/
|
|
5282
5337
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5283
5338
|
/**
|
|
5284
5339
|
* Disallow nested ternary expressions.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5340
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
5286
5341
|
*/
|
|
5287
5342
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5288
5343
|
/**
|
|
5289
5344
|
* Disallow `new Array()`.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
5291
5346
|
*/
|
|
5292
5347
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5293
5348
|
/**
|
|
5294
5349
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
5296
5351
|
*/
|
|
5297
5352
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5298
5353
|
/**
|
|
5299
5354
|
* Disallow the use of the `null` literal.
|
|
5300
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5355
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
5301
5356
|
*/
|
|
5302
5357
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5303
5358
|
/**
|
|
5304
5359
|
* Disallow the use of objects as default parameters.
|
|
5305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5360
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5306
5361
|
*/
|
|
5307
5362
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5308
5363
|
/**
|
|
5309
5364
|
* Disallow `process.exit()`.
|
|
5310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5365
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
5311
5366
|
*/
|
|
5312
5367
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5313
5368
|
/**
|
|
5314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
5315
5370
|
* @deprecated
|
|
5316
5371
|
*/
|
|
5317
5372
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5318
5373
|
/**
|
|
5319
5374
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5321
5376
|
*/
|
|
5322
5377
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5323
5378
|
/**
|
|
5324
5379
|
* Disallow classes that only have static members.
|
|
5325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
5326
5381
|
*/
|
|
5327
5382
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5328
5383
|
/**
|
|
5329
5384
|
* Disallow `then` property.
|
|
5330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
5331
5386
|
*/
|
|
5332
5387
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5333
5388
|
/**
|
|
5334
5389
|
* Disallow assigning `this` to a variable.
|
|
5335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
5336
5391
|
*/
|
|
5337
5392
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5338
5393
|
/**
|
|
5339
5394
|
* Disallow comparing `undefined` using `typeof`.
|
|
5340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
5341
5396
|
*/
|
|
5342
5397
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5343
5398
|
/**
|
|
5344
5399
|
* Disallow awaiting non-promise values.
|
|
5345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
5346
5401
|
*/
|
|
5347
5402
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5348
5403
|
/**
|
|
5349
5404
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5351
5406
|
*/
|
|
5352
5407
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5353
5408
|
/**
|
|
5354
5409
|
* Disallow unreadable array destructuring.
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5356
5411
|
*/
|
|
5357
5412
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5358
5413
|
/**
|
|
5359
5414
|
* Disallow unreadable IIFEs.
|
|
5360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
5361
5416
|
*/
|
|
5362
5417
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5363
5418
|
/**
|
|
5364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5419
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5365
5420
|
* @deprecated
|
|
5366
5421
|
*/
|
|
5367
5422
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5368
5423
|
/**
|
|
5369
5424
|
* Disallow unused object properties.
|
|
5370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
5371
5426
|
*/
|
|
5372
5427
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5373
5428
|
/**
|
|
5374
5429
|
* Disallow useless fallback when spreading in object literals.
|
|
5375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5376
5431
|
*/
|
|
5377
5432
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5378
5433
|
/**
|
|
5379
5434
|
* Disallow useless array length check.
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
5381
5436
|
*/
|
|
5382
5437
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5383
5438
|
/**
|
|
5384
5439
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5386
5441
|
*/
|
|
5387
5442
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5388
5443
|
/**
|
|
5389
5444
|
* Disallow unnecessary spread.
|
|
5390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
5391
5446
|
*/
|
|
5392
5447
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5393
5448
|
/**
|
|
5394
5449
|
* Disallow useless case in switch statements.
|
|
5395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
5396
5451
|
*/
|
|
5397
5452
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5398
5453
|
/**
|
|
5399
5454
|
* Disallow useless `undefined`.
|
|
5400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
5401
5456
|
*/
|
|
5402
5457
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5403
5458
|
/**
|
|
5404
5459
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5460
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
5406
5461
|
*/
|
|
5407
5462
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5408
5463
|
/**
|
|
5409
5464
|
* Enforce proper case for numeric literals.
|
|
5410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
5411
5466
|
*/
|
|
5412
5467
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5413
5468
|
/**
|
|
5414
5469
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
5416
5471
|
*/
|
|
5417
5472
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5418
5473
|
/**
|
|
5419
5474
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
5421
5476
|
*/
|
|
5422
5477
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5423
5478
|
/**
|
|
5424
5479
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5480
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
5426
5481
|
*/
|
|
5427
5482
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5428
5483
|
/**
|
|
5429
5484
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
5431
5486
|
*/
|
|
5432
5487
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5433
5488
|
/**
|
|
5434
5489
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
5436
5491
|
*/
|
|
5437
5492
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5438
5493
|
/**
|
|
5439
5494
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
5441
5496
|
*/
|
|
5442
5497
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5443
5498
|
/**
|
|
5444
5499
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
5445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
5446
5501
|
*/
|
|
5447
5502
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5448
5503
|
/**
|
|
5449
5504
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
5451
5506
|
*/
|
|
5452
5507
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5453
5508
|
/**
|
|
5454
5509
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5456
5511
|
*/
|
|
5457
5512
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5458
5513
|
/**
|
|
5459
5514
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
5461
5516
|
*/
|
|
5462
5517
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5463
5518
|
/**
|
|
5464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5519
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
5465
5520
|
* @deprecated
|
|
5466
5521
|
*/
|
|
5467
5522
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5468
5523
|
/**
|
|
5469
5524
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5525
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
5471
5526
|
*/
|
|
5472
5527
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5473
5528
|
/**
|
|
5474
5529
|
* Prefer default parameters over reassignment.
|
|
5475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
5476
5531
|
*/
|
|
5477
5532
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5478
5533
|
/**
|
|
5479
5534
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5535
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
5481
5536
|
*/
|
|
5482
5537
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5483
5538
|
/**
|
|
5484
5539
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5486
5541
|
*/
|
|
5487
5542
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5488
5543
|
/**
|
|
5489
5544
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5491
5546
|
*/
|
|
5492
5547
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5493
5548
|
/**
|
|
5494
5549
|
* Prefer `.textContent` over `.innerText`.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5550
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5496
5551
|
*/
|
|
5497
5552
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5498
5553
|
/**
|
|
5499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5554
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
5500
5555
|
* @deprecated
|
|
5501
5556
|
*/
|
|
5502
5557
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5503
5558
|
/**
|
|
5504
5559
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
5506
5561
|
*/
|
|
5507
5562
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5508
5563
|
/**
|
|
5509
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5564
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5510
5565
|
* @deprecated
|
|
5511
5566
|
*/
|
|
5512
5567
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5513
5568
|
/**
|
|
5514
5569
|
* Prefer `export…from` when re-exporting.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
5516
5571
|
*/
|
|
5517
5572
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5518
5573
|
/**
|
|
5519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5574
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
5520
5575
|
* @deprecated
|
|
5521
5576
|
*/
|
|
5522
5577
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5523
5578
|
/**
|
|
5524
5579
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
5526
5581
|
*/
|
|
5527
5582
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5528
5583
|
/**
|
|
5529
5584
|
* Prefer reading a JSON file as a buffer.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5531
5586
|
*/
|
|
5532
5587
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5533
5588
|
/**
|
|
5534
5589
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5536
5591
|
*/
|
|
5537
5592
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5538
5593
|
/**
|
|
5539
5594
|
* Prefer using a logical operator over a ternary.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5541
5596
|
*/
|
|
5542
5597
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5543
5598
|
/**
|
|
5544
5599
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5600
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
5546
5601
|
*/
|
|
5547
5602
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5548
5603
|
/**
|
|
5549
5604
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5605
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5551
5606
|
*/
|
|
5552
5607
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5553
5608
|
/**
|
|
5554
5609
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5610
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5556
5611
|
*/
|
|
5557
5612
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5558
5613
|
/**
|
|
5559
5614
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5615
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
5561
5616
|
*/
|
|
5562
5617
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5563
5618
|
/**
|
|
5564
5619
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5620
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5566
5621
|
*/
|
|
5567
5622
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5568
5623
|
/**
|
|
5569
5624
|
* Prefer negative index over `.length - index` when possible.
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5625
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
5571
5626
|
*/
|
|
5572
5627
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5573
5628
|
/**
|
|
5574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5629
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5575
5630
|
* @deprecated
|
|
5576
5631
|
*/
|
|
5577
5632
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5578
5633
|
/**
|
|
5579
5634
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5635
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
5581
5636
|
*/
|
|
5582
5637
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5583
5638
|
/**
|
|
5584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5639
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5585
5640
|
* @deprecated
|
|
5586
5641
|
*/
|
|
5587
5642
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5588
5643
|
/**
|
|
5589
5644
|
* Prefer `Number` static properties over global ones.
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5645
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
5591
5646
|
*/
|
|
5592
5647
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5593
5648
|
/**
|
|
5594
5649
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5650
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
5596
5651
|
*/
|
|
5597
5652
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5598
5653
|
/**
|
|
5599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5654
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5600
5655
|
* @deprecated
|
|
5601
5656
|
*/
|
|
5602
5657
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5603
5658
|
/**
|
|
5604
5659
|
* Prefer omitting the `catch` binding parameter.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5660
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5606
5661
|
*/
|
|
5607
5662
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5608
5663
|
/**
|
|
5609
5664
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5665
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
5611
5666
|
*/
|
|
5612
5667
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5613
5668
|
/**
|
|
5614
5669
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5670
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
5616
5671
|
*/
|
|
5617
5672
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5618
5673
|
/**
|
|
5619
5674
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5675
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
5621
5676
|
*/
|
|
5622
5677
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5623
5678
|
/**
|
|
5624
5679
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5680
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
5626
5681
|
*/
|
|
5627
5682
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5628
5683
|
/**
|
|
5629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5684
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5630
5685
|
* @deprecated
|
|
5631
5686
|
*/
|
|
5632
5687
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5633
5688
|
/**
|
|
5634
5689
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5690
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
5636
5691
|
*/
|
|
5637
5692
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5638
5693
|
/**
|
|
5639
5694
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5695
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
5641
5696
|
*/
|
|
5642
5697
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5643
5698
|
/**
|
|
5644
5699
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5700
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
5646
5701
|
*/
|
|
5647
5702
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5648
5703
|
/**
|
|
5649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5704
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5650
5705
|
* @deprecated
|
|
5651
5706
|
*/
|
|
5652
5707
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5708
|
+
/**
|
|
5709
|
+
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5710
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
|
|
5711
|
+
*/
|
|
5712
|
+
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5653
5713
|
/**
|
|
5654
5714
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5715
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
5656
5716
|
*/
|
|
5657
5717
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5658
5718
|
/**
|
|
5659
5719
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5720
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
5661
5721
|
*/
|
|
5662
5722
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5663
5723
|
/**
|
|
5664
5724
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5725
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5666
5726
|
*/
|
|
5667
5727
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5668
5728
|
/**
|
|
5669
5729
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5730
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5671
5731
|
*/
|
|
5672
5732
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5733
|
+
/**
|
|
5734
|
+
* Prefer using `structuredClone` to create a deep clone.
|
|
5735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
|
|
5736
|
+
*/
|
|
5737
|
+
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5673
5738
|
/**
|
|
5674
5739
|
* Prefer `switch` over multiple `else-if`.
|
|
5675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5740
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
5676
5741
|
*/
|
|
5677
5742
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5678
5743
|
/**
|
|
5679
5744
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5745
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
5681
5746
|
*/
|
|
5682
5747
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5683
5748
|
/**
|
|
5684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5685
5750
|
* @deprecated
|
|
5686
5751
|
*/
|
|
5687
5752
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5688
5753
|
/**
|
|
5689
5754
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5755
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5691
5756
|
*/
|
|
5692
5757
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5693
5758
|
/**
|
|
5694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5695
5760
|
* @deprecated
|
|
5696
5761
|
*/
|
|
5697
5762
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5698
5763
|
/**
|
|
5699
5764
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5765
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5701
5766
|
*/
|
|
5702
5767
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5703
5768
|
/**
|
|
5704
5769
|
* Prevent abbreviations.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5706
5771
|
*/
|
|
5707
5772
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5708
5773
|
/**
|
|
5709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5710
5775
|
* @deprecated
|
|
5711
5776
|
*/
|
|
5712
5777
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5713
5778
|
/**
|
|
5714
5779
|
* Enforce consistent relative URL style.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5780
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5716
5781
|
*/
|
|
5717
5782
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5718
5783
|
/**
|
|
5719
5784
|
* Enforce using the separator argument with `Array#join()`.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5785
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5721
5786
|
*/
|
|
5722
5787
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5723
5788
|
/**
|
|
5724
5789
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5790
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5726
5791
|
*/
|
|
5727
5792
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5728
5793
|
/**
|
|
5729
5794
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5795
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5731
5796
|
*/
|
|
5732
5797
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5733
5798
|
/**
|
|
5734
5799
|
* Enforce better string content.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5800
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5736
5801
|
*/
|
|
5737
5802
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5738
5803
|
/**
|
|
5739
5804
|
* Enforce consistent brace style for `case` clauses.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5805
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5741
5806
|
*/
|
|
5742
5807
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5743
5808
|
/**
|
|
5744
5809
|
* Fix whitespace-insensitive template indentation.
|
|
5745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5810
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5746
5811
|
*/
|
|
5747
5812
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5748
5813
|
/**
|
|
5749
5814
|
* Enforce consistent case for text encoding identifiers.
|
|
5750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5751
5816
|
*/
|
|
5752
5817
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5753
5818
|
/**
|
|
5754
|
-
* Require `new` when
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5819
|
+
* Require `new` when creating an error.
|
|
5820
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
5756
5821
|
*/
|
|
5757
5822
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5758
5823
|
/**
|
|
@@ -5780,21 +5845,11 @@ interface RuleOptions {
|
|
|
5780
5845
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5781
5846
|
*/
|
|
5782
5847
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5783
|
-
/**
|
|
5784
|
-
* Disallow unused variables
|
|
5785
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5786
|
-
*/
|
|
5787
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5788
5848
|
/**
|
|
5789
5849
|
* Disallow unused variables
|
|
5790
5850
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5791
5851
|
*/
|
|
5792
5852
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5793
|
-
/**
|
|
5794
|
-
* Disallow unused variables
|
|
5795
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5796
|
-
*/
|
|
5797
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5798
5853
|
/**
|
|
5799
5854
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5800
5855
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -7211,6 +7266,14 @@ type AntfuConsistentListNewline = []|[{
|
|
|
7211
7266
|
TSTypeParameterInstantiation?: boolean
|
|
7212
7267
|
ObjectPattern?: boolean
|
|
7213
7268
|
ArrayPattern?: boolean
|
|
7269
|
+
JSXOpeningElement?: boolean
|
|
7270
|
+
JSONArrayExpression?: boolean
|
|
7271
|
+
JSONObjectExpression?: boolean
|
|
7272
|
+
}]
|
|
7273
|
+
// ----- antfu/indent-unindent -----
|
|
7274
|
+
type AntfuIndentUnindent = []|[{
|
|
7275
|
+
indent?: number
|
|
7276
|
+
tags?: string[]
|
|
7214
7277
|
}]
|
|
7215
7278
|
// ----- array-bracket-newline -----
|
|
7216
7279
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -7403,6 +7466,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
7403
7466
|
// ----- func-style -----
|
|
7404
7467
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
7405
7468
|
allowArrowFunctions?: boolean
|
|
7469
|
+
overrides?: {
|
|
7470
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7471
|
+
}
|
|
7406
7472
|
}]
|
|
7407
7473
|
// ----- function-call-argument-newline -----
|
|
7408
7474
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -9012,9 +9078,11 @@ type NoExtendNative = []|[{
|
|
|
9012
9078
|
exceptions?: string[]
|
|
9013
9079
|
}]
|
|
9014
9080
|
// ----- no-extra-boolean-cast -----
|
|
9015
|
-
type NoExtraBooleanCast = []|[{
|
|
9081
|
+
type NoExtraBooleanCast = []|[({
|
|
9082
|
+
enforceForInnerExpressions?: boolean
|
|
9083
|
+
} | {
|
|
9016
9084
|
enforceForLogicalOperands?: boolean
|
|
9017
|
-
}]
|
|
9085
|
+
})]
|
|
9018
9086
|
// ----- no-extra-parens -----
|
|
9019
9087
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
9020
9088
|
conditionalAssign?: boolean
|
|
@@ -9088,6 +9156,10 @@ type NoMagicNumbers = []|[{
|
|
|
9088
9156
|
ignoreDefaultValues?: boolean
|
|
9089
9157
|
ignoreClassFieldInitialValues?: boolean
|
|
9090
9158
|
}]
|
|
9159
|
+
// ----- no-misleading-character-class -----
|
|
9160
|
+
type NoMisleadingCharacterClass = []|[{
|
|
9161
|
+
allowEscape?: boolean
|
|
9162
|
+
}]
|
|
9091
9163
|
// ----- no-mixed-operators -----
|
|
9092
9164
|
type NoMixedOperators = []|[{
|
|
9093
9165
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -9144,8 +9216,10 @@ type NoRedeclare = []|[{
|
|
|
9144
9216
|
// ----- no-restricted-exports -----
|
|
9145
9217
|
type NoRestrictedExports = []|[({
|
|
9146
9218
|
restrictedNamedExports?: string[]
|
|
9219
|
+
restrictedNamedExportsPattern?: string
|
|
9147
9220
|
} | {
|
|
9148
9221
|
restrictedNamedExports?: string[]
|
|
9222
|
+
restrictedNamedExportsPattern?: string
|
|
9149
9223
|
restrictDefaultExports?: {
|
|
9150
9224
|
direct?: boolean
|
|
9151
9225
|
named?: boolean
|
|
@@ -9353,6 +9427,9 @@ type NodeHashbang = []|[{
|
|
|
9353
9427
|
})[]])
|
|
9354
9428
|
ignoreUnpublished?: boolean
|
|
9355
9429
|
additionalExecutables?: string[]
|
|
9430
|
+
executableMap?: {
|
|
9431
|
+
[k: string]: string
|
|
9432
|
+
}
|
|
9356
9433
|
}]
|
|
9357
9434
|
// ----- node/no-deprecated-api -----
|
|
9358
9435
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -9512,7 +9589,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9512
9589
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9513
9590
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
9514
9591
|
version?: string
|
|
9515
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9592
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
9516
9593
|
}]
|
|
9517
9594
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
9518
9595
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -9522,7 +9599,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9522
9599
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
9523
9600
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9524
9601
|
version?: string
|
|
9525
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "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" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "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" | "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" | "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.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.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.getRandomValues" | "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.randomUUID" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9602
|
+
allowExperimental?: boolean
|
|
9603
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9526
9604
|
}]
|
|
9527
9605
|
// ----- node/prefer-global/buffer -----
|
|
9528
9606
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9562,6 +9640,9 @@ type NodeShebang = []|[{
|
|
|
9562
9640
|
})[]])
|
|
9563
9641
|
ignoreUnpublished?: boolean
|
|
9564
9642
|
additionalExecutables?: string[]
|
|
9643
|
+
executableMap?: {
|
|
9644
|
+
[k: string]: string
|
|
9645
|
+
}
|
|
9565
9646
|
}]
|
|
9566
9647
|
// ----- nonblock-statement-body-position -----
|
|
9567
9648
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -10476,6 +10557,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10476
10557
|
}
|
|
10477
10558
|
}
|
|
10478
10559
|
}]
|
|
10560
|
+
// ----- style/line-comment-position -----
|
|
10561
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10562
|
+
position?: ("above" | "beside")
|
|
10563
|
+
ignorePattern?: string
|
|
10564
|
+
applyDefaultPatterns?: boolean
|
|
10565
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10566
|
+
})]
|
|
10479
10567
|
// ----- style/linebreak-style -----
|
|
10480
10568
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10481
10569
|
// ----- style/lines-around-comment -----
|
|
@@ -10629,6 +10717,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10629
10717
|
requireLast?: boolean
|
|
10630
10718
|
}
|
|
10631
10719
|
}
|
|
10720
|
+
// ----- style/multiline-comment-style -----
|
|
10721
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10722
|
+
checkJSDoc?: boolean
|
|
10723
|
+
}])
|
|
10632
10724
|
// ----- style/multiline-ternary -----
|
|
10633
10725
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10634
10726
|
ignoreJSX?: boolean
|
|
@@ -12713,6 +12805,8 @@ type TsSortTypeConstituents = []|[{
|
|
|
12713
12805
|
|
|
12714
12806
|
checkUnions?: boolean
|
|
12715
12807
|
|
|
12808
|
+
caseSensitive?: boolean
|
|
12809
|
+
|
|
12716
12810
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12717
12811
|
}]
|
|
12718
12812
|
// ----- ts/space-before-blocks -----
|
|
@@ -12934,11 +13028,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
12934
13028
|
// ----- unicorn/prefer-number-properties -----
|
|
12935
13029
|
type UnicornPreferNumberProperties = []|[{
|
|
12936
13030
|
checkInfinity?: boolean
|
|
13031
|
+
checkNaN?: boolean
|
|
12937
13032
|
}]
|
|
12938
13033
|
// ----- unicorn/prefer-object-from-entries -----
|
|
12939
13034
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12940
13035
|
functions?: unknown[]
|
|
12941
13036
|
}]
|
|
13037
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
13038
|
+
type UnicornPreferStructuredClone = []|[{
|
|
13039
|
+
functions?: unknown[]
|
|
13040
|
+
}]
|
|
12942
13041
|
// ----- unicorn/prefer-switch -----
|
|
12943
13042
|
type UnicornPreferSwitch = []|[{
|
|
12944
13043
|
minimumCases?: number
|
|
@@ -13005,17 +13104,6 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13005
13104
|
caughtErrorsIgnorePattern?: string
|
|
13006
13105
|
destructuredArrayIgnorePattern?: string
|
|
13007
13106
|
})]
|
|
13008
|
-
// ----- unused-imports/no-unused-imports-ts -----
|
|
13009
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
13010
|
-
vars?: ("all" | "local")
|
|
13011
|
-
varsIgnorePattern?: string
|
|
13012
|
-
args?: ("all" | "after-used" | "none")
|
|
13013
|
-
ignoreRestSiblings?: boolean
|
|
13014
|
-
argsIgnorePattern?: string
|
|
13015
|
-
caughtErrors?: ("all" | "none")
|
|
13016
|
-
caughtErrorsIgnorePattern?: string
|
|
13017
|
-
destructuredArrayIgnorePattern?: string
|
|
13018
|
-
})]
|
|
13019
13107
|
// ----- unused-imports/no-unused-vars -----
|
|
13020
13108
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13021
13109
|
vars?: ("all" | "local")
|
|
@@ -13027,17 +13115,6 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13027
13115
|
caughtErrorsIgnorePattern?: string
|
|
13028
13116
|
destructuredArrayIgnorePattern?: string
|
|
13029
13117
|
})]
|
|
13030
|
-
// ----- unused-imports/no-unused-vars-ts -----
|
|
13031
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
13032
|
-
vars?: ("all" | "local")
|
|
13033
|
-
varsIgnorePattern?: string
|
|
13034
|
-
args?: ("all" | "after-used" | "none")
|
|
13035
|
-
ignoreRestSiblings?: boolean
|
|
13036
|
-
argsIgnorePattern?: string
|
|
13037
|
-
caughtErrors?: ("all" | "none")
|
|
13038
|
-
caughtErrorsIgnorePattern?: string
|
|
13039
|
-
destructuredArrayIgnorePattern?: string
|
|
13040
|
-
})]
|
|
13041
13118
|
// ----- use-isnan -----
|
|
13042
13119
|
type UseIsnan = []|[{
|
|
13043
13120
|
enforceForSwitchCase?: boolean
|
|
@@ -14721,7 +14798,7 @@ interface ReactOptions {
|
|
|
14721
14798
|
/**
|
|
14722
14799
|
* Glob patterns for JSX & TSX files.
|
|
14723
14800
|
*
|
|
14724
|
-
* @default [GLOB_JSX,GLOB_TSX]
|
|
14801
|
+
* @default [GLOB_JS,GLOB_JSX,GLOB_TS,GLOB_TSX]
|
|
14725
14802
|
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
14726
14803
|
*/
|
|
14727
14804
|
files?: string[];
|
|
@@ -14962,6 +15039,18 @@ interface SolidOptions {
|
|
|
14962
15039
|
}
|
|
14963
15040
|
declare function solid(options?: SolidOptions): Promise<TypedFlatConfigItem[]>;
|
|
14964
15041
|
|
|
15042
|
+
interface RegExpOptions {
|
|
15043
|
+
/**
|
|
15044
|
+
* Override rules.
|
|
15045
|
+
*/
|
|
15046
|
+
overrides?: TypedFlatConfigItem['rules'];
|
|
15047
|
+
/**
|
|
15048
|
+
* Override rulelevels
|
|
15049
|
+
*/
|
|
15050
|
+
level?: 'error' | 'warn';
|
|
15051
|
+
}
|
|
15052
|
+
declare function regexp(options?: RegExpOptions): Promise<TypedFlatConfigItem[]>;
|
|
15053
|
+
|
|
14965
15054
|
type Awaitable<T> = T | Promise<T>;
|
|
14966
15055
|
type Rules = RuleOptions;
|
|
14967
15056
|
|
|
@@ -15138,6 +15227,13 @@ interface ConfigOptions {
|
|
|
15138
15227
|
* @default true
|
|
15139
15228
|
*/
|
|
15140
15229
|
autoRenamePlugins?: boolean;
|
|
15230
|
+
/**
|
|
15231
|
+
* Enable regexp rules.
|
|
15232
|
+
*
|
|
15233
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
15234
|
+
* @default true
|
|
15235
|
+
*/
|
|
15236
|
+
regexp?: boolean | RegExpOptions;
|
|
15141
15237
|
}
|
|
15142
15238
|
|
|
15143
15239
|
/**
|
|
@@ -15222,4 +15318,4 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
15222
15318
|
declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
|
|
15223
15319
|
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): any;
|
|
15224
15320
|
|
|
15225
|
-
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ReactOptions, type ResolvedOptions, type Rules, type SolidOptions, type StylisticConfig, type StylisticOptions, type SvelteOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, luxass, markdown, node, parserPlain, react, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|
|
15321
|
+
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type SolidOptions, type StylisticConfig, type StylisticOptions, type SvelteOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, luxass, markdown, node, parserPlain, react, regexp, renameRules, resolveSubOptions, solid, sortPackageJson, sortTsconfig, stylistic, svelte, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|