@luxass/eslint-config 4.4.2 → 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 -23
- package/dist/index.cjs +71 -127
- package/dist/index.d.cts +312 -355
- package/dist/index.d.ts +312 -355
- package/dist/index.js +70 -126
- package/package.json +41 -46
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
|
/**
|
|
@@ -1490,110 +1502,6 @@ interface RuleOptions {
|
|
|
1490
1502
|
* @deprecated
|
|
1491
1503
|
*/
|
|
1492
1504
|
'newline-per-chained-call'?: Linter.RuleEntry<NewlinePerChainedCall>
|
|
1493
|
-
/**
|
|
1494
|
-
* Enforce font-display behavior with Google Fonts.
|
|
1495
|
-
* @see https://nextjs.org/docs/messages/google-font-display
|
|
1496
|
-
*/
|
|
1497
|
-
'nextjs/google-font-display'?: Linter.RuleEntry<[]>
|
|
1498
|
-
/**
|
|
1499
|
-
* Ensure `preconnect` is used with Google Fonts.
|
|
1500
|
-
* @see https://nextjs.org/docs/messages/google-font-preconnect
|
|
1501
|
-
*/
|
|
1502
|
-
'nextjs/google-font-preconnect'?: Linter.RuleEntry<[]>
|
|
1503
|
-
/**
|
|
1504
|
-
* Enforce `id` attribute on `next/script` components with inline content.
|
|
1505
|
-
* @see https://nextjs.org/docs/messages/inline-script-id
|
|
1506
|
-
*/
|
|
1507
|
-
'nextjs/inline-script-id'?: Linter.RuleEntry<[]>
|
|
1508
|
-
/**
|
|
1509
|
-
* Prefer `next/script` component when using the inline script for Google Analytics.
|
|
1510
|
-
* @see https://nextjs.org/docs/messages/next-script-for-ga
|
|
1511
|
-
*/
|
|
1512
|
-
'nextjs/next-script-for-ga'?: Linter.RuleEntry<[]>
|
|
1513
|
-
/**
|
|
1514
|
-
* Prevent assignment to the `module` variable.
|
|
1515
|
-
* @see https://nextjs.org/docs/messages/no-assign-module-variable
|
|
1516
|
-
*/
|
|
1517
|
-
'nextjs/no-assign-module-variable'?: Linter.RuleEntry<[]>
|
|
1518
|
-
/**
|
|
1519
|
-
* Prevent client components from being async functions.
|
|
1520
|
-
* @see https://nextjs.org/docs/messages/no-async-client-component
|
|
1521
|
-
*/
|
|
1522
|
-
'nextjs/no-async-client-component'?: Linter.RuleEntry<[]>
|
|
1523
|
-
/**
|
|
1524
|
-
* Prevent usage of `next/script`'s `beforeInteractive` strategy outside of `pages/_document.js`.
|
|
1525
|
-
* @see https://nextjs.org/docs/messages/no-before-interactive-script-outside-document
|
|
1526
|
-
*/
|
|
1527
|
-
'nextjs/no-before-interactive-script-outside-document'?: Linter.RuleEntry<[]>
|
|
1528
|
-
/**
|
|
1529
|
-
* Prevent manual stylesheet tags.
|
|
1530
|
-
* @see https://nextjs.org/docs/messages/no-css-tags
|
|
1531
|
-
*/
|
|
1532
|
-
'nextjs/no-css-tags'?: Linter.RuleEntry<[]>
|
|
1533
|
-
/**
|
|
1534
|
-
* Prevent importing `next/document` outside of `pages/_document.js`.
|
|
1535
|
-
* @see https://nextjs.org/docs/messages/no-document-import-in-page
|
|
1536
|
-
*/
|
|
1537
|
-
'nextjs/no-document-import-in-page'?: Linter.RuleEntry<[]>
|
|
1538
|
-
/**
|
|
1539
|
-
* Prevent duplicate usage of `<Head>` in `pages/_document.js`.
|
|
1540
|
-
* @see https://nextjs.org/docs/messages/no-duplicate-head
|
|
1541
|
-
*/
|
|
1542
|
-
'nextjs/no-duplicate-head'?: Linter.RuleEntry<[]>
|
|
1543
|
-
/**
|
|
1544
|
-
* Prevent usage of `<head>` element.
|
|
1545
|
-
* @see https://nextjs.org/docs/messages/no-head-element
|
|
1546
|
-
*/
|
|
1547
|
-
'nextjs/no-head-element'?: Linter.RuleEntry<[]>
|
|
1548
|
-
/**
|
|
1549
|
-
* Prevent usage of `next/head` in `pages/_document.js`.
|
|
1550
|
-
* @see https://nextjs.org/docs/messages/no-head-import-in-document
|
|
1551
|
-
*/
|
|
1552
|
-
'nextjs/no-head-import-in-document'?: Linter.RuleEntry<[]>
|
|
1553
|
-
/**
|
|
1554
|
-
* Prevent usage of `<a>` elements to navigate to internal Next.js pages.
|
|
1555
|
-
* @see https://nextjs.org/docs/messages/no-html-link-for-pages
|
|
1556
|
-
*/
|
|
1557
|
-
'nextjs/no-html-link-for-pages'?: Linter.RuleEntry<NextjsNoHtmlLinkForPages>
|
|
1558
|
-
/**
|
|
1559
|
-
* Prevent usage of `<img>` element due to slower LCP and higher bandwidth.
|
|
1560
|
-
* @see https://nextjs.org/docs/messages/no-img-element
|
|
1561
|
-
*/
|
|
1562
|
-
'nextjs/no-img-element'?: Linter.RuleEntry<[]>
|
|
1563
|
-
/**
|
|
1564
|
-
* Prevent page-only custom fonts.
|
|
1565
|
-
* @see https://nextjs.org/docs/messages/no-page-custom-font
|
|
1566
|
-
*/
|
|
1567
|
-
'nextjs/no-page-custom-font'?: Linter.RuleEntry<[]>
|
|
1568
|
-
/**
|
|
1569
|
-
* Prevent usage of `next/script` in `next/head` component.
|
|
1570
|
-
* @see https://nextjs.org/docs/messages/no-script-component-in-head
|
|
1571
|
-
*/
|
|
1572
|
-
'nextjs/no-script-component-in-head'?: Linter.RuleEntry<[]>
|
|
1573
|
-
/**
|
|
1574
|
-
* Prevent usage of `styled-jsx` in `pages/_document.js`.
|
|
1575
|
-
* @see https://nextjs.org/docs/messages/no-styled-jsx-in-document
|
|
1576
|
-
*/
|
|
1577
|
-
'nextjs/no-styled-jsx-in-document'?: Linter.RuleEntry<[]>
|
|
1578
|
-
/**
|
|
1579
|
-
* Prevent synchronous scripts.
|
|
1580
|
-
* @see https://nextjs.org/docs/messages/no-sync-scripts
|
|
1581
|
-
*/
|
|
1582
|
-
'nextjs/no-sync-scripts'?: Linter.RuleEntry<[]>
|
|
1583
|
-
/**
|
|
1584
|
-
* Prevent usage of `<title>` with `Head` component from `next/document`.
|
|
1585
|
-
* @see https://nextjs.org/docs/messages/no-title-in-document-head
|
|
1586
|
-
*/
|
|
1587
|
-
'nextjs/no-title-in-document-head'?: Linter.RuleEntry<[]>
|
|
1588
|
-
/**
|
|
1589
|
-
* Prevent common typos in Next.js data fetching functions.
|
|
1590
|
-
*/
|
|
1591
|
-
'nextjs/no-typos'?: Linter.RuleEntry<[]>
|
|
1592
|
-
/**
|
|
1593
|
-
* Prevent duplicate polyfills from Polyfill.io.
|
|
1594
|
-
* @see https://nextjs.org/docs/messages/no-unwanted-polyfillio
|
|
1595
|
-
*/
|
|
1596
|
-
'nextjs/no-unwanted-polyfillio'?: Linter.RuleEntry<[]>
|
|
1597
1505
|
/**
|
|
1598
1506
|
* Disallow the use of `alert`, `confirm`, and `prompt`
|
|
1599
1507
|
* @see https://eslint.org/docs/latest/rules/no-alert
|
|
@@ -1929,7 +1837,7 @@ interface RuleOptions {
|
|
|
1929
1837
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1930
1838
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1931
1839
|
*/
|
|
1932
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1840
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1933
1841
|
/**
|
|
1934
1842
|
* Disallow mixed binary operators
|
|
1935
1843
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2854,6 +2762,16 @@ interface RuleOptions {
|
|
|
2854
2762
|
*/
|
|
2855
2763
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2856
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<[]>
|
|
2857
2775
|
/**
|
|
2858
2776
|
* require all 'forwardRef' components include a 'ref' parameter
|
|
2859
2777
|
* @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
|
|
@@ -2917,6 +2835,7 @@ interface RuleOptions {
|
|
|
2917
2835
|
/**
|
|
2918
2836
|
* disallow complicated conditional rendering
|
|
2919
2837
|
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2838
|
+
* @deprecated
|
|
2920
2839
|
*/
|
|
2921
2840
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2922
2841
|
/**
|
|
@@ -2952,6 +2871,7 @@ interface RuleOptions {
|
|
|
2952
2871
|
/**
|
|
2953
2872
|
* disallow spreading 'key' from objects.
|
|
2954
2873
|
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2874
|
+
* @deprecated
|
|
2955
2875
|
*/
|
|
2956
2876
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2957
2877
|
/**
|
|
@@ -3475,6 +3395,11 @@ interface RuleOptions {
|
|
|
3475
3395
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3476
3396
|
*/
|
|
3477
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>
|
|
3478
3403
|
/**
|
|
3479
3404
|
* Enforce consistent linebreak style
|
|
3480
3405
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3505,6 +3430,11 @@ interface RuleOptions {
|
|
|
3505
3430
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3506
3431
|
*/
|
|
3507
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>
|
|
3508
3438
|
/**
|
|
3509
3439
|
* Enforce newlines between operands of ternary expressions
|
|
3510
3440
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -3916,6 +3846,11 @@ interface RuleOptions {
|
|
|
3916
3846
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
|
|
3917
3847
|
*/
|
|
3918
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<[]>
|
|
3919
3854
|
/**
|
|
3920
3855
|
* disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
|
|
3921
3856
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
|
|
@@ -5096,6 +5031,7 @@ interface RuleOptions {
|
|
|
5096
5031
|
/**
|
|
5097
5032
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
5098
5033
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
5034
|
+
* @deprecated
|
|
5099
5035
|
*/
|
|
5100
5036
|
'ts/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
5101
5037
|
/**
|
|
@@ -5211,652 +5147,677 @@ interface RuleOptions {
|
|
|
5211
5147
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5212
5148
|
/**
|
|
5213
5149
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5214
|
-
* @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
|
|
5215
5151
|
*/
|
|
5216
5152
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5217
5153
|
/**
|
|
5218
5154
|
* Enforce a specific parameter name in catch clauses.
|
|
5219
|
-
* @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
|
|
5220
5156
|
*/
|
|
5221
5157
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5222
5158
|
/**
|
|
5223
5159
|
* Use destructured variables over properties.
|
|
5224
|
-
* @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
|
|
5225
5161
|
*/
|
|
5226
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<[]>
|
|
5227
5168
|
/**
|
|
5228
5169
|
* Move function definitions to the highest possible scope.
|
|
5229
|
-
* @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
|
|
5230
5171
|
*/
|
|
5231
5172
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5232
5173
|
/**
|
|
5233
5174
|
* Enforce correct `Error` subclassing.
|
|
5234
|
-
* @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
|
|
5235
5176
|
*/
|
|
5236
5177
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5237
5178
|
/**
|
|
5238
5179
|
* Enforce no spaces between braces.
|
|
5239
|
-
* @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
|
|
5240
5181
|
*/
|
|
5241
5182
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5242
5183
|
/**
|
|
5243
5184
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5244
|
-
* @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
|
|
5245
5186
|
*/
|
|
5246
5187
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5247
5188
|
/**
|
|
5248
5189
|
* Require escape sequences to use uppercase values.
|
|
5249
|
-
* @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
|
|
5250
5191
|
*/
|
|
5251
5192
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5252
5193
|
/**
|
|
5253
5194
|
* Add expiration conditions to TODO comments.
|
|
5254
|
-
* @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
|
|
5255
5196
|
*/
|
|
5256
5197
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5257
5198
|
/**
|
|
5258
5199
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5259
|
-
* @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
|
|
5260
5201
|
*/
|
|
5261
5202
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5262
5203
|
/**
|
|
5263
5204
|
* Enforce a case style for filenames.
|
|
5264
|
-
* @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
|
|
5265
5206
|
*/
|
|
5266
5207
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5267
5208
|
/**
|
|
5268
|
-
* @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
|
|
5269
5210
|
* @deprecated
|
|
5270
5211
|
*/
|
|
5271
5212
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5272
5213
|
/**
|
|
5273
5214
|
* Enforce specific import styles per module.
|
|
5274
|
-
* @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
|
|
5275
5216
|
*/
|
|
5276
5217
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5277
5218
|
/**
|
|
5278
5219
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5279
|
-
* @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
|
|
5280
5221
|
*/
|
|
5281
5222
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5282
5223
|
/**
|
|
5283
5224
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5284
|
-
* @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
|
|
5285
5226
|
*/
|
|
5286
5227
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5287
5228
|
/**
|
|
5288
5229
|
* Disallow anonymous functions and classes as the default export.
|
|
5289
|
-
* @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
|
|
5290
5231
|
*/
|
|
5291
5232
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5292
5233
|
/**
|
|
5293
5234
|
* Prevent passing a function reference directly to iterator methods.
|
|
5294
|
-
* @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
|
|
5295
5236
|
*/
|
|
5296
5237
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5297
5238
|
/**
|
|
5298
5239
|
* Prefer `for…of` over the `forEach` method.
|
|
5299
|
-
* @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
|
|
5300
5241
|
*/
|
|
5301
5242
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5302
5243
|
/**
|
|
5303
|
-
* @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
|
|
5304
5245
|
* @deprecated
|
|
5305
5246
|
*/
|
|
5306
5247
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5307
5248
|
/**
|
|
5308
5249
|
* Disallow using the `this` argument in array methods.
|
|
5309
|
-
* @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
|
|
5310
5251
|
*/
|
|
5311
5252
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5312
5253
|
/**
|
|
5313
5254
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5314
|
-
* @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
|
|
5315
5256
|
*/
|
|
5316
5257
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5317
5258
|
/**
|
|
5318
5259
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5319
|
-
* @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
|
|
5320
5261
|
*/
|
|
5321
5262
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5322
5263
|
/**
|
|
5323
5264
|
* Disallow member access from await expression.
|
|
5324
|
-
* @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
|
|
5325
5266
|
*/
|
|
5326
5267
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5327
5268
|
/**
|
|
5328
5269
|
* Disallow using `await` in `Promise` method parameters.
|
|
5329
|
-
* @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
|
|
5330
5271
|
*/
|
|
5331
5272
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5332
5273
|
/**
|
|
5333
5274
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5334
|
-
* @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
|
|
5335
5276
|
*/
|
|
5336
5277
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5337
5278
|
/**
|
|
5338
5279
|
* Do not use `document.cookie` directly.
|
|
5339
|
-
* @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
|
|
5340
5281
|
*/
|
|
5341
5282
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5342
5283
|
/**
|
|
5343
5284
|
* Disallow empty files.
|
|
5344
|
-
* @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
|
|
5345
5286
|
*/
|
|
5346
5287
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5347
5288
|
/**
|
|
5348
|
-
* @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
|
|
5349
5290
|
* @deprecated
|
|
5350
5291
|
*/
|
|
5351
5292
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5352
5293
|
/**
|
|
5353
5294
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5354
|
-
* @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
|
|
5355
5296
|
*/
|
|
5356
5297
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5357
5298
|
/**
|
|
5358
5299
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5359
|
-
* @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
|
|
5360
5301
|
*/
|
|
5361
5302
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5362
5303
|
/**
|
|
5363
5304
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5364
|
-
* @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
|
|
5365
5306
|
*/
|
|
5366
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<[]>
|
|
5367
5313
|
/**
|
|
5368
5314
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5369
|
-
* @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
|
|
5370
5316
|
*/
|
|
5371
5317
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5372
5318
|
/**
|
|
5373
5319
|
* Disallow identifiers starting with `new` or `class`.
|
|
5374
|
-
* @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
|
|
5375
5321
|
*/
|
|
5376
5322
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5377
5323
|
/**
|
|
5378
5324
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5379
|
-
* @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
|
|
5380
5326
|
*/
|
|
5381
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<[]>
|
|
5382
5333
|
/**
|
|
5383
5334
|
* Disallow negated conditions.
|
|
5384
|
-
* @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
|
|
5385
5336
|
*/
|
|
5386
5337
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5387
5338
|
/**
|
|
5388
5339
|
* Disallow nested ternary expressions.
|
|
5389
|
-
* @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
|
|
5390
5341
|
*/
|
|
5391
5342
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5392
5343
|
/**
|
|
5393
5344
|
* Disallow `new Array()`.
|
|
5394
|
-
* @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
|
|
5395
5346
|
*/
|
|
5396
5347
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5397
5348
|
/**
|
|
5398
5349
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5399
|
-
* @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
|
|
5400
5351
|
*/
|
|
5401
5352
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5402
5353
|
/**
|
|
5403
5354
|
* Disallow the use of the `null` literal.
|
|
5404
|
-
* @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
|
|
5405
5356
|
*/
|
|
5406
5357
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5407
5358
|
/**
|
|
5408
5359
|
* Disallow the use of objects as default parameters.
|
|
5409
|
-
* @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
|
|
5410
5361
|
*/
|
|
5411
5362
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5412
5363
|
/**
|
|
5413
5364
|
* Disallow `process.exit()`.
|
|
5414
|
-
* @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
|
|
5415
5366
|
*/
|
|
5416
5367
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5417
5368
|
/**
|
|
5418
|
-
* @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
|
|
5419
5370
|
* @deprecated
|
|
5420
5371
|
*/
|
|
5421
5372
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5422
5373
|
/**
|
|
5423
5374
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5424
|
-
* @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
|
|
5425
5376
|
*/
|
|
5426
5377
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5427
5378
|
/**
|
|
5428
5379
|
* Disallow classes that only have static members.
|
|
5429
|
-
* @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
|
|
5430
5381
|
*/
|
|
5431
5382
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5432
5383
|
/**
|
|
5433
5384
|
* Disallow `then` property.
|
|
5434
|
-
* @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
|
|
5435
5386
|
*/
|
|
5436
5387
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5437
5388
|
/**
|
|
5438
5389
|
* Disallow assigning `this` to a variable.
|
|
5439
|
-
* @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
|
|
5440
5391
|
*/
|
|
5441
5392
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5442
5393
|
/**
|
|
5443
5394
|
* Disallow comparing `undefined` using `typeof`.
|
|
5444
|
-
* @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
|
|
5445
5396
|
*/
|
|
5446
5397
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5447
5398
|
/**
|
|
5448
5399
|
* Disallow awaiting non-promise values.
|
|
5449
|
-
* @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
|
|
5450
5401
|
*/
|
|
5451
5402
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5452
5403
|
/**
|
|
5453
5404
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5454
|
-
* @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
|
|
5455
5406
|
*/
|
|
5456
5407
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5457
5408
|
/**
|
|
5458
5409
|
* Disallow unreadable array destructuring.
|
|
5459
|
-
* @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
|
|
5460
5411
|
*/
|
|
5461
5412
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5462
5413
|
/**
|
|
5463
5414
|
* Disallow unreadable IIFEs.
|
|
5464
|
-
* @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
|
|
5465
5416
|
*/
|
|
5466
5417
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5467
5418
|
/**
|
|
5468
|
-
* @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
|
|
5469
5420
|
* @deprecated
|
|
5470
5421
|
*/
|
|
5471
5422
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5472
5423
|
/**
|
|
5473
5424
|
* Disallow unused object properties.
|
|
5474
|
-
* @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
|
|
5475
5426
|
*/
|
|
5476
5427
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5477
5428
|
/**
|
|
5478
5429
|
* Disallow useless fallback when spreading in object literals.
|
|
5479
|
-
* @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
|
|
5480
5431
|
*/
|
|
5481
5432
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5482
5433
|
/**
|
|
5483
5434
|
* Disallow useless array length check.
|
|
5484
|
-
* @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
|
|
5485
5436
|
*/
|
|
5486
5437
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5487
5438
|
/**
|
|
5488
5439
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5489
|
-
* @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
|
|
5490
5441
|
*/
|
|
5491
5442
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5492
5443
|
/**
|
|
5493
5444
|
* Disallow unnecessary spread.
|
|
5494
|
-
* @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
|
|
5495
5446
|
*/
|
|
5496
5447
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5497
5448
|
/**
|
|
5498
5449
|
* Disallow useless case in switch statements.
|
|
5499
|
-
* @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
|
|
5500
5451
|
*/
|
|
5501
5452
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5502
5453
|
/**
|
|
5503
5454
|
* Disallow useless `undefined`.
|
|
5504
|
-
* @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
|
|
5505
5456
|
*/
|
|
5506
5457
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5507
5458
|
/**
|
|
5508
5459
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5509
|
-
* @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
|
|
5510
5461
|
*/
|
|
5511
5462
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5512
5463
|
/**
|
|
5513
5464
|
* Enforce proper case for numeric literals.
|
|
5514
|
-
* @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
|
|
5515
5466
|
*/
|
|
5516
5467
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5517
5468
|
/**
|
|
5518
5469
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5519
|
-
* @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
|
|
5520
5471
|
*/
|
|
5521
5472
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5522
5473
|
/**
|
|
5523
5474
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5524
|
-
* @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
|
|
5525
5476
|
*/
|
|
5526
5477
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5527
5478
|
/**
|
|
5528
5479
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5529
|
-
* @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
|
|
5530
5481
|
*/
|
|
5531
5482
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5532
5483
|
/**
|
|
5533
5484
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5534
|
-
* @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
|
|
5535
5486
|
*/
|
|
5536
5487
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5537
5488
|
/**
|
|
5538
5489
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5539
|
-
* @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
|
|
5540
5491
|
*/
|
|
5541
5492
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5542
5493
|
/**
|
|
5543
5494
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5544
|
-
* @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
|
|
5545
5496
|
*/
|
|
5546
5497
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5547
5498
|
/**
|
|
5548
5499
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
5549
|
-
* @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
|
|
5550
5501
|
*/
|
|
5551
5502
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5552
5503
|
/**
|
|
5553
5504
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5554
|
-
* @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
|
|
5555
5506
|
*/
|
|
5556
5507
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5557
5508
|
/**
|
|
5558
5509
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5559
|
-
* @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
|
|
5560
5511
|
*/
|
|
5561
5512
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5562
5513
|
/**
|
|
5563
5514
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5564
|
-
* @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
|
|
5565
5516
|
*/
|
|
5566
5517
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5567
5518
|
/**
|
|
5568
|
-
* @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
|
|
5569
5520
|
* @deprecated
|
|
5570
5521
|
*/
|
|
5571
5522
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5572
5523
|
/**
|
|
5573
5524
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5574
|
-
* @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
|
|
5575
5526
|
*/
|
|
5576
5527
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5577
5528
|
/**
|
|
5578
5529
|
* Prefer default parameters over reassignment.
|
|
5579
|
-
* @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
|
|
5580
5531
|
*/
|
|
5581
5532
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5582
5533
|
/**
|
|
5583
5534
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5584
|
-
* @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
|
|
5585
5536
|
*/
|
|
5586
5537
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5587
5538
|
/**
|
|
5588
5539
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5589
|
-
* @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
|
|
5590
5541
|
*/
|
|
5591
5542
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5592
5543
|
/**
|
|
5593
5544
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5594
|
-
* @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
|
|
5595
5546
|
*/
|
|
5596
5547
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5597
5548
|
/**
|
|
5598
5549
|
* Prefer `.textContent` over `.innerText`.
|
|
5599
|
-
* @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
|
|
5600
5551
|
*/
|
|
5601
5552
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5602
5553
|
/**
|
|
5603
|
-
* @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
|
|
5604
5555
|
* @deprecated
|
|
5605
5556
|
*/
|
|
5606
5557
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5607
5558
|
/**
|
|
5608
5559
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5609
|
-
* @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
|
|
5610
5561
|
*/
|
|
5611
5562
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5612
5563
|
/**
|
|
5613
|
-
* @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
|
|
5614
5565
|
* @deprecated
|
|
5615
5566
|
*/
|
|
5616
5567
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5617
5568
|
/**
|
|
5618
5569
|
* Prefer `export…from` when re-exporting.
|
|
5619
|
-
* @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
|
|
5620
5571
|
*/
|
|
5621
5572
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5622
5573
|
/**
|
|
5623
|
-
* @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
|
|
5624
5575
|
* @deprecated
|
|
5625
5576
|
*/
|
|
5626
5577
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5627
5578
|
/**
|
|
5628
5579
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
5629
|
-
* @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
|
|
5630
5581
|
*/
|
|
5631
5582
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5632
5583
|
/**
|
|
5633
5584
|
* Prefer reading a JSON file as a buffer.
|
|
5634
|
-
* @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
|
|
5635
5586
|
*/
|
|
5636
5587
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5637
5588
|
/**
|
|
5638
5589
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5639
|
-
* @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
|
|
5640
5591
|
*/
|
|
5641
5592
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5642
5593
|
/**
|
|
5643
5594
|
* Prefer using a logical operator over a ternary.
|
|
5644
|
-
* @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
|
|
5645
5596
|
*/
|
|
5646
5597
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5647
5598
|
/**
|
|
5648
5599
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5649
|
-
* @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
|
|
5650
5601
|
*/
|
|
5651
5602
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5652
5603
|
/**
|
|
5653
5604
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5654
|
-
* @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
|
|
5655
5606
|
*/
|
|
5656
5607
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5657
5608
|
/**
|
|
5658
5609
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5659
|
-
* @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
|
|
5660
5611
|
*/
|
|
5661
5612
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5662
5613
|
/**
|
|
5663
5614
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5664
|
-
* @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
|
|
5665
5616
|
*/
|
|
5666
5617
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5667
5618
|
/**
|
|
5668
5619
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5669
|
-
* @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
|
|
5670
5621
|
*/
|
|
5671
5622
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5672
5623
|
/**
|
|
5673
5624
|
* Prefer negative index over `.length - index` when possible.
|
|
5674
|
-
* @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
|
|
5675
5626
|
*/
|
|
5676
5627
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5677
5628
|
/**
|
|
5678
|
-
* @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
|
|
5679
5630
|
* @deprecated
|
|
5680
5631
|
*/
|
|
5681
5632
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5682
5633
|
/**
|
|
5683
5634
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5684
|
-
* @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
|
|
5685
5636
|
*/
|
|
5686
5637
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5687
5638
|
/**
|
|
5688
|
-
* @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
|
|
5689
5640
|
* @deprecated
|
|
5690
5641
|
*/
|
|
5691
5642
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5692
5643
|
/**
|
|
5693
5644
|
* Prefer `Number` static properties over global ones.
|
|
5694
|
-
* @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
|
|
5695
5646
|
*/
|
|
5696
5647
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5697
5648
|
/**
|
|
5698
5649
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5699
|
-
* @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
|
|
5700
5651
|
*/
|
|
5701
5652
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5702
5653
|
/**
|
|
5703
|
-
* @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
|
|
5704
5655
|
* @deprecated
|
|
5705
5656
|
*/
|
|
5706
5657
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5707
5658
|
/**
|
|
5708
5659
|
* Prefer omitting the `catch` binding parameter.
|
|
5709
|
-
* @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
|
|
5710
5661
|
*/
|
|
5711
5662
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5712
5663
|
/**
|
|
5713
5664
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5714
|
-
* @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
|
|
5715
5666
|
*/
|
|
5716
5667
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5717
5668
|
/**
|
|
5718
5669
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5719
|
-
* @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
|
|
5720
5671
|
*/
|
|
5721
5672
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5722
5673
|
/**
|
|
5723
5674
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5724
|
-
* @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
|
|
5725
5676
|
*/
|
|
5726
5677
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5727
5678
|
/**
|
|
5728
5679
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5729
|
-
* @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
|
|
5730
5681
|
*/
|
|
5731
5682
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5732
5683
|
/**
|
|
5733
|
-
* @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
|
|
5734
5685
|
* @deprecated
|
|
5735
5686
|
*/
|
|
5736
5687
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5737
5688
|
/**
|
|
5738
5689
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5739
|
-
* @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
|
|
5740
5691
|
*/
|
|
5741
5692
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5742
5693
|
/**
|
|
5743
5694
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5744
|
-
* @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
|
|
5745
5696
|
*/
|
|
5746
5697
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5747
5698
|
/**
|
|
5748
5699
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5749
|
-
* @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
|
|
5750
5701
|
*/
|
|
5751
5702
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5752
5703
|
/**
|
|
5753
|
-
* @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
|
|
5754
5705
|
* @deprecated
|
|
5755
5706
|
*/
|
|
5756
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<[]>
|
|
5757
5713
|
/**
|
|
5758
5714
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5759
|
-
* @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
|
|
5760
5716
|
*/
|
|
5761
5717
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5762
5718
|
/**
|
|
5763
5719
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5764
|
-
* @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
|
|
5765
5721
|
*/
|
|
5766
5722
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5767
5723
|
/**
|
|
5768
5724
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5769
|
-
* @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
|
|
5770
5726
|
*/
|
|
5771
5727
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5772
5728
|
/**
|
|
5773
5729
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5774
|
-
* @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
|
|
5775
5731
|
*/
|
|
5776
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>
|
|
5777
5738
|
/**
|
|
5778
5739
|
* Prefer `switch` over multiple `else-if`.
|
|
5779
|
-
* @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
|
|
5780
5741
|
*/
|
|
5781
5742
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5782
5743
|
/**
|
|
5783
5744
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5784
|
-
* @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
|
|
5785
5746
|
*/
|
|
5786
5747
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5787
5748
|
/**
|
|
5788
|
-
* @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
|
|
5789
5750
|
* @deprecated
|
|
5790
5751
|
*/
|
|
5791
5752
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5792
5753
|
/**
|
|
5793
5754
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5794
|
-
* @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
|
|
5795
5756
|
*/
|
|
5796
5757
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5797
5758
|
/**
|
|
5798
|
-
* @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
|
|
5799
5760
|
* @deprecated
|
|
5800
5761
|
*/
|
|
5801
5762
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5802
5763
|
/**
|
|
5803
5764
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5804
|
-
* @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
|
|
5805
5766
|
*/
|
|
5806
5767
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5807
5768
|
/**
|
|
5808
5769
|
* Prevent abbreviations.
|
|
5809
|
-
* @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
|
|
5810
5771
|
*/
|
|
5811
5772
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5812
5773
|
/**
|
|
5813
|
-
* @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
|
|
5814
5775
|
* @deprecated
|
|
5815
5776
|
*/
|
|
5816
5777
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5817
5778
|
/**
|
|
5818
5779
|
* Enforce consistent relative URL style.
|
|
5819
|
-
* @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
|
|
5820
5781
|
*/
|
|
5821
5782
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5822
5783
|
/**
|
|
5823
5784
|
* Enforce using the separator argument with `Array#join()`.
|
|
5824
|
-
* @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
|
|
5825
5786
|
*/
|
|
5826
5787
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5827
5788
|
/**
|
|
5828
5789
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5829
|
-
* @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
|
|
5830
5791
|
*/
|
|
5831
5792
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5832
5793
|
/**
|
|
5833
5794
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5834
|
-
* @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
|
|
5835
5796
|
*/
|
|
5836
5797
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5837
5798
|
/**
|
|
5838
5799
|
* Enforce better string content.
|
|
5839
|
-
* @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
|
|
5840
5801
|
*/
|
|
5841
5802
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5842
5803
|
/**
|
|
5843
5804
|
* Enforce consistent brace style for `case` clauses.
|
|
5844
|
-
* @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
|
|
5845
5806
|
*/
|
|
5846
5807
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5847
5808
|
/**
|
|
5848
5809
|
* Fix whitespace-insensitive template indentation.
|
|
5849
|
-
* @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
|
|
5850
5811
|
*/
|
|
5851
5812
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5852
5813
|
/**
|
|
5853
5814
|
* Enforce consistent case for text encoding identifiers.
|
|
5854
|
-
* @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
|
|
5855
5816
|
*/
|
|
5856
5817
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5857
5818
|
/**
|
|
5858
|
-
* Require `new` when
|
|
5859
|
-
* @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
|
|
5860
5821
|
*/
|
|
5861
5822
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5862
5823
|
/**
|
|
@@ -5884,21 +5845,11 @@ interface RuleOptions {
|
|
|
5884
5845
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5885
5846
|
*/
|
|
5886
5847
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5887
|
-
/**
|
|
5888
|
-
* Disallow unused variables
|
|
5889
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5890
|
-
*/
|
|
5891
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5892
5848
|
/**
|
|
5893
5849
|
* Disallow unused variables
|
|
5894
5850
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5895
5851
|
*/
|
|
5896
5852
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5897
|
-
/**
|
|
5898
|
-
* Disallow unused variables
|
|
5899
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5900
|
-
*/
|
|
5901
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5902
5853
|
/**
|
|
5903
5854
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5904
5855
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -7315,6 +7266,14 @@ type AntfuConsistentListNewline = []|[{
|
|
|
7315
7266
|
TSTypeParameterInstantiation?: boolean
|
|
7316
7267
|
ObjectPattern?: boolean
|
|
7317
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[]
|
|
7318
7277
|
}]
|
|
7319
7278
|
// ----- array-bracket-newline -----
|
|
7320
7279
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -7507,6 +7466,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
7507
7466
|
// ----- func-style -----
|
|
7508
7467
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
7509
7468
|
allowArrowFunctions?: boolean
|
|
7469
|
+
overrides?: {
|
|
7470
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7471
|
+
}
|
|
7510
7472
|
}]
|
|
7511
7473
|
// ----- function-call-argument-newline -----
|
|
7512
7474
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -9066,8 +9028,6 @@ type NewlineAfterVar = []|[("never" | "always")]
|
|
|
9066
9028
|
type NewlinePerChainedCall = []|[{
|
|
9067
9029
|
ignoreChainWithDepth?: number
|
|
9068
9030
|
}]
|
|
9069
|
-
// ----- nextjs/no-html-link-for-pages -----
|
|
9070
|
-
type NextjsNoHtmlLinkForPages = []|[(string | string[])]
|
|
9071
9031
|
// ----- no-bitwise -----
|
|
9072
9032
|
type NoBitwise = []|[{
|
|
9073
9033
|
allow?: ("^" | "|" | "&" | "<<" | ">>" | ">>>" | "^=" | "|=" | "&=" | "<<=" | ">>=" | ">>>=" | "~")[]
|
|
@@ -9118,9 +9078,11 @@ type NoExtendNative = []|[{
|
|
|
9118
9078
|
exceptions?: string[]
|
|
9119
9079
|
}]
|
|
9120
9080
|
// ----- no-extra-boolean-cast -----
|
|
9121
|
-
type NoExtraBooleanCast = []|[{
|
|
9081
|
+
type NoExtraBooleanCast = []|[({
|
|
9082
|
+
enforceForInnerExpressions?: boolean
|
|
9083
|
+
} | {
|
|
9122
9084
|
enforceForLogicalOperands?: boolean
|
|
9123
|
-
}]
|
|
9085
|
+
})]
|
|
9124
9086
|
// ----- no-extra-parens -----
|
|
9125
9087
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
9126
9088
|
conditionalAssign?: boolean
|
|
@@ -9194,6 +9156,10 @@ type NoMagicNumbers = []|[{
|
|
|
9194
9156
|
ignoreDefaultValues?: boolean
|
|
9195
9157
|
ignoreClassFieldInitialValues?: boolean
|
|
9196
9158
|
}]
|
|
9159
|
+
// ----- no-misleading-character-class -----
|
|
9160
|
+
type NoMisleadingCharacterClass = []|[{
|
|
9161
|
+
allowEscape?: boolean
|
|
9162
|
+
}]
|
|
9197
9163
|
// ----- no-mixed-operators -----
|
|
9198
9164
|
type NoMixedOperators = []|[{
|
|
9199
9165
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -9250,8 +9216,10 @@ type NoRedeclare = []|[{
|
|
|
9250
9216
|
// ----- no-restricted-exports -----
|
|
9251
9217
|
type NoRestrictedExports = []|[({
|
|
9252
9218
|
restrictedNamedExports?: string[]
|
|
9219
|
+
restrictedNamedExportsPattern?: string
|
|
9253
9220
|
} | {
|
|
9254
9221
|
restrictedNamedExports?: string[]
|
|
9222
|
+
restrictedNamedExportsPattern?: string
|
|
9255
9223
|
restrictDefaultExports?: {
|
|
9256
9224
|
direct?: boolean
|
|
9257
9225
|
named?: boolean
|
|
@@ -9459,6 +9427,9 @@ type NodeHashbang = []|[{
|
|
|
9459
9427
|
})[]])
|
|
9460
9428
|
ignoreUnpublished?: boolean
|
|
9461
9429
|
additionalExecutables?: string[]
|
|
9430
|
+
executableMap?: {
|
|
9431
|
+
[k: string]: string
|
|
9432
|
+
}
|
|
9462
9433
|
}]
|
|
9463
9434
|
// ----- node/no-deprecated-api -----
|
|
9464
9435
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -9618,7 +9589,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9618
9589
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9619
9590
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
9620
9591
|
version?: string
|
|
9621
|
-
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")[]
|
|
9622
9593
|
}]
|
|
9623
9594
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
9624
9595
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -9628,7 +9599,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9628
9599
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
9629
9600
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9630
9601
|
version?: string
|
|
9631
|
-
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")[]
|
|
9632
9604
|
}]
|
|
9633
9605
|
// ----- node/prefer-global/buffer -----
|
|
9634
9606
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9668,6 +9640,9 @@ type NodeShebang = []|[{
|
|
|
9668
9640
|
})[]])
|
|
9669
9641
|
ignoreUnpublished?: boolean
|
|
9670
9642
|
additionalExecutables?: string[]
|
|
9643
|
+
executableMap?: {
|
|
9644
|
+
[k: string]: string
|
|
9645
|
+
}
|
|
9671
9646
|
}]
|
|
9672
9647
|
// ----- nonblock-statement-body-position -----
|
|
9673
9648
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -10582,6 +10557,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10582
10557
|
}
|
|
10583
10558
|
}
|
|
10584
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
|
+
})]
|
|
10585
10567
|
// ----- style/linebreak-style -----
|
|
10586
10568
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10587
10569
|
// ----- style/lines-around-comment -----
|
|
@@ -10735,6 +10717,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10735
10717
|
requireLast?: boolean
|
|
10736
10718
|
}
|
|
10737
10719
|
}
|
|
10720
|
+
// ----- style/multiline-comment-style -----
|
|
10721
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10722
|
+
checkJSDoc?: boolean
|
|
10723
|
+
}])
|
|
10738
10724
|
// ----- style/multiline-ternary -----
|
|
10739
10725
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10740
10726
|
ignoreJSX?: boolean
|
|
@@ -12819,6 +12805,8 @@ type TsSortTypeConstituents = []|[{
|
|
|
12819
12805
|
|
|
12820
12806
|
checkUnions?: boolean
|
|
12821
12807
|
|
|
12808
|
+
caseSensitive?: boolean
|
|
12809
|
+
|
|
12822
12810
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12823
12811
|
}]
|
|
12824
12812
|
// ----- ts/space-before-blocks -----
|
|
@@ -13040,11 +13028,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
13040
13028
|
// ----- unicorn/prefer-number-properties -----
|
|
13041
13029
|
type UnicornPreferNumberProperties = []|[{
|
|
13042
13030
|
checkInfinity?: boolean
|
|
13031
|
+
checkNaN?: boolean
|
|
13043
13032
|
}]
|
|
13044
13033
|
// ----- unicorn/prefer-object-from-entries -----
|
|
13045
13034
|
type UnicornPreferObjectFromEntries = []|[{
|
|
13046
13035
|
functions?: unknown[]
|
|
13047
13036
|
}]
|
|
13037
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
13038
|
+
type UnicornPreferStructuredClone = []|[{
|
|
13039
|
+
functions?: unknown[]
|
|
13040
|
+
}]
|
|
13048
13041
|
// ----- unicorn/prefer-switch -----
|
|
13049
13042
|
type UnicornPreferSwitch = []|[{
|
|
13050
13043
|
minimumCases?: number
|
|
@@ -13111,17 +13104,6 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13111
13104
|
caughtErrorsIgnorePattern?: string
|
|
13112
13105
|
destructuredArrayIgnorePattern?: string
|
|
13113
13106
|
})]
|
|
13114
|
-
// ----- unused-imports/no-unused-imports-ts -----
|
|
13115
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
13116
|
-
vars?: ("all" | "local")
|
|
13117
|
-
varsIgnorePattern?: string
|
|
13118
|
-
args?: ("all" | "after-used" | "none")
|
|
13119
|
-
ignoreRestSiblings?: boolean
|
|
13120
|
-
argsIgnorePattern?: string
|
|
13121
|
-
caughtErrors?: ("all" | "none")
|
|
13122
|
-
caughtErrorsIgnorePattern?: string
|
|
13123
|
-
destructuredArrayIgnorePattern?: string
|
|
13124
|
-
})]
|
|
13125
13107
|
// ----- unused-imports/no-unused-vars -----
|
|
13126
13108
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13127
13109
|
vars?: ("all" | "local")
|
|
@@ -13133,17 +13115,6 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13133
13115
|
caughtErrorsIgnorePattern?: string
|
|
13134
13116
|
destructuredArrayIgnorePattern?: string
|
|
13135
13117
|
})]
|
|
13136
|
-
// ----- unused-imports/no-unused-vars-ts -----
|
|
13137
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
13138
|
-
vars?: ("all" | "local")
|
|
13139
|
-
varsIgnorePattern?: string
|
|
13140
|
-
args?: ("all" | "after-used" | "none")
|
|
13141
|
-
ignoreRestSiblings?: boolean
|
|
13142
|
-
argsIgnorePattern?: string
|
|
13143
|
-
caughtErrors?: ("all" | "none")
|
|
13144
|
-
caughtErrorsIgnorePattern?: string
|
|
13145
|
-
destructuredArrayIgnorePattern?: string
|
|
13146
|
-
})]
|
|
13147
13118
|
// ----- use-isnan -----
|
|
13148
13119
|
type UseIsnan = []|[{
|
|
13149
13120
|
enforceForSwitchCase?: boolean
|
|
@@ -14531,7 +14502,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14531
14502
|
onlyEquality?: boolean
|
|
14532
14503
|
}]
|
|
14533
14504
|
// Names of all the configs
|
|
14534
|
-
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/astro/scripts-js' | 'luxass/astro/scripts-ts' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript' | 'luxass/disables/cli' | 'luxass/jsdoc' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss/setup' | 'luxass/tailwindcss/rules' | 'luxass/sort/tsconfig' | 'luxass/
|
|
14505
|
+
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/astro/scripts-js' | 'luxass/astro/scripts-ts' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript' | 'luxass/disables/cli' | 'luxass/jsdoc' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss/setup' | 'luxass/tailwindcss/rules' | 'luxass/sort/tsconfig' | 'luxass/solid/setup' | 'luxass/solid/rules' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/rules-type-aware' | 'luxass/typescript/disables/dts' | 'luxass/typescript/disables/tests' | 'luxass/typescript/disables/playground' | 'luxass/typescript/disables/javascript' | 'luxass/unicorn' | 'luxass/unocss/setup' | 'luxass/unocss/rules' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/github-actions' | 'antfu/svelte/setup' | 'antfu/svelte/rules'
|
|
14535
14506
|
|
|
14536
14507
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
14537
14508
|
|
|
@@ -14814,28 +14785,6 @@ interface UnoCSSOptions {
|
|
|
14814
14785
|
}
|
|
14815
14786
|
declare function unocss(options?: UnoCSSOptions): Promise<TypedFlatConfigItem[]>;
|
|
14816
14787
|
|
|
14817
|
-
interface NextJSOptions {
|
|
14818
|
-
/**
|
|
14819
|
-
* Tell the plugin where the root directory is.
|
|
14820
|
-
* @see https://nextjs.org/docs/app/building-your-application/configuring/eslint#rootdir
|
|
14821
|
-
*
|
|
14822
|
-
* @default true
|
|
14823
|
-
*/
|
|
14824
|
-
rootDir?: boolean | string;
|
|
14825
|
-
/**
|
|
14826
|
-
* Override rules.
|
|
14827
|
-
*/
|
|
14828
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
14829
|
-
/**
|
|
14830
|
-
* Glob patterns for Next.js files.
|
|
14831
|
-
*
|
|
14832
|
-
* @default [GLOB_SRC]
|
|
14833
|
-
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
14834
|
-
*/
|
|
14835
|
-
files?: string[];
|
|
14836
|
-
}
|
|
14837
|
-
declare function nextjs(options?: NextJSOptions): Promise<TypedFlatConfigItem[]>;
|
|
14838
|
-
|
|
14839
14788
|
interface ReactOptions {
|
|
14840
14789
|
/**
|
|
14841
14790
|
* Override rules.
|
|
@@ -14849,7 +14798,7 @@ interface ReactOptions {
|
|
|
14849
14798
|
/**
|
|
14850
14799
|
* Glob patterns for JSX & TSX files.
|
|
14851
14800
|
*
|
|
14852
|
-
* @default [GLOB_JSX,GLOB_TSX]
|
|
14801
|
+
* @default [GLOB_JS,GLOB_JSX,GLOB_TS,GLOB_TSX]
|
|
14853
14802
|
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
14854
14803
|
*/
|
|
14855
14804
|
files?: string[];
|
|
@@ -15090,6 +15039,18 @@ interface SolidOptions {
|
|
|
15090
15039
|
}
|
|
15091
15040
|
declare function solid(options?: SolidOptions): Promise<TypedFlatConfigItem[]>;
|
|
15092
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
|
+
|
|
15093
15054
|
type Awaitable<T> = T | Promise<T>;
|
|
15094
15055
|
type Rules = RuleOptions;
|
|
15095
15056
|
|
|
@@ -15145,17 +15106,6 @@ interface ConfigOptions {
|
|
|
15145
15106
|
* @default true
|
|
15146
15107
|
*/
|
|
15147
15108
|
markdown?: boolean;
|
|
15148
|
-
/**
|
|
15149
|
-
* Enable NextJS support.
|
|
15150
|
-
*
|
|
15151
|
-
* Requires installing:
|
|
15152
|
-
* - `@next/eslint-plugin-next`
|
|
15153
|
-
*
|
|
15154
|
-
* @default false
|
|
15155
|
-
*
|
|
15156
|
-
* Note: By enabling this, the `react` option will be enabled automatically.
|
|
15157
|
-
*/
|
|
15158
|
-
nextjs?: boolean | NextJSOptions;
|
|
15159
15109
|
/**
|
|
15160
15110
|
* Enable react rules.
|
|
15161
15111
|
*
|
|
@@ -15277,6 +15227,13 @@ interface ConfigOptions {
|
|
|
15277
15227
|
* @default true
|
|
15278
15228
|
*/
|
|
15279
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;
|
|
15280
15237
|
}
|
|
15281
15238
|
|
|
15282
15239
|
/**
|
|
@@ -15361,4 +15318,4 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
15361
15318
|
declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
|
|
15362
15319
|
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): any;
|
|
15363
15320
|
|
|
15364
|
-
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
|
|
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 };
|