@luxass/eslint-config 4.4.3 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/index.cjs +169 -334
- package/dist/index.d.cts +320 -903
- package/dist/index.d.ts +320 -903
- package/dist/index.js +167 -332
- package/package.json +37 -53
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,11 @@ interface RuleOptions {
|
|
|
20
20
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/consistent-list-newline.md
|
|
21
21
|
*/
|
|
22
22
|
'antfu/consistent-list-newline'?: Linter.RuleEntry<AntfuConsistentListNewline>
|
|
23
|
+
/**
|
|
24
|
+
* Enforce Anthony's style of curly bracket
|
|
25
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/curly.test.ts
|
|
26
|
+
*/
|
|
27
|
+
'antfu/curly'?: Linter.RuleEntry<[]>
|
|
23
28
|
/**
|
|
24
29
|
* Newline after if
|
|
25
30
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/if-newline.md
|
|
@@ -30,6 +35,11 @@ interface RuleOptions {
|
|
|
30
35
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/import-dedupe.md
|
|
31
36
|
*/
|
|
32
37
|
'antfu/import-dedupe'?: Linter.RuleEntry<[]>
|
|
38
|
+
/**
|
|
39
|
+
* Enforce consistent indentation in `unindent` template tag
|
|
40
|
+
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/indent-unindent.test.ts
|
|
41
|
+
*/
|
|
42
|
+
'antfu/indent-unindent'?: Linter.RuleEntry<AntfuIndentUnindent>
|
|
33
43
|
/**
|
|
34
44
|
* Prevent importing modules in `dist` folder
|
|
35
45
|
* @see https://github.com/antfu/eslint-plugin-antfu/blob/main/src/rules/no-import-dist.test.ts
|
|
@@ -549,7 +559,7 @@ interface RuleOptions {
|
|
|
549
559
|
*/
|
|
550
560
|
'func-names'?: Linter.RuleEntry<FuncNames>
|
|
551
561
|
/**
|
|
552
|
-
* Enforce the consistent use of either `function` declarations or expressions
|
|
562
|
+
* Enforce the consistent use of either `function` declarations or expressions assigned to variables
|
|
553
563
|
* @see https://eslint.org/docs/latest/rules/func-style
|
|
554
564
|
*/
|
|
555
565
|
'func-style'?: Linter.RuleEntry<FuncStyle>
|
|
@@ -627,42 +637,42 @@ interface RuleOptions {
|
|
|
627
637
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
628
638
|
/**
|
|
629
639
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
630
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/consistent-type-specifier-style.md
|
|
631
641
|
*/
|
|
632
642
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
633
643
|
/**
|
|
634
644
|
* Ensure a default export is present, given a default import.
|
|
635
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
645
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/default.md
|
|
636
646
|
*/
|
|
637
647
|
'import/default'?: Linter.RuleEntry<[]>
|
|
638
648
|
/**
|
|
639
649
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
650
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/dynamic-import-chunkname.md
|
|
641
651
|
*/
|
|
642
652
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
643
653
|
/**
|
|
644
654
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
655
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/export.md
|
|
646
656
|
*/
|
|
647
657
|
'import/export'?: Linter.RuleEntry<[]>
|
|
648
658
|
/**
|
|
649
659
|
* Ensure all exports appear after other statements.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/exports-last.md
|
|
651
661
|
*/
|
|
652
662
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
653
663
|
/**
|
|
654
664
|
* Ensure consistent use of file extension within the import path.
|
|
655
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/extensions.md
|
|
656
666
|
*/
|
|
657
667
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
658
668
|
/**
|
|
659
669
|
* Ensure all imports appear before other statements.
|
|
660
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/first.md
|
|
661
671
|
*/
|
|
662
672
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
663
673
|
/**
|
|
664
674
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
665
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/group-exports.md
|
|
666
676
|
*/
|
|
667
677
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
668
678
|
/**
|
|
@@ -673,182 +683,182 @@ interface RuleOptions {
|
|
|
673
683
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
674
684
|
/**
|
|
675
685
|
* Enforce the maximum number of dependencies a module can have.
|
|
676
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/max-dependencies.md
|
|
677
687
|
*/
|
|
678
688
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
679
689
|
/**
|
|
680
690
|
* Ensure named imports correspond to a named export in the remote file.
|
|
681
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/named.md
|
|
682
692
|
*/
|
|
683
693
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
684
694
|
/**
|
|
685
695
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/namespace.md
|
|
687
697
|
*/
|
|
688
698
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
689
699
|
/**
|
|
690
700
|
* Enforce a newline after import statements.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/newline-after-import.md
|
|
692
702
|
*/
|
|
693
703
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
694
704
|
/**
|
|
695
705
|
* Forbid import of modules using absolute paths.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-absolute-path.md
|
|
697
707
|
*/
|
|
698
708
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
699
709
|
/**
|
|
700
710
|
* Forbid AMD `require` and `define` calls.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-amd.md
|
|
702
712
|
*/
|
|
703
713
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
704
714
|
/**
|
|
705
715
|
* Forbid anonymous values as default exports.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-anonymous-default-export.md
|
|
707
717
|
*/
|
|
708
718
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
709
719
|
/**
|
|
710
720
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-commonjs.md
|
|
712
722
|
*/
|
|
713
723
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
714
724
|
/**
|
|
715
725
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-cycle.md
|
|
717
727
|
*/
|
|
718
728
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
719
729
|
/**
|
|
720
730
|
* Forbid default exports.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-default-export.md
|
|
722
732
|
*/
|
|
723
733
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
724
734
|
/**
|
|
725
735
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-deprecated.md
|
|
727
737
|
*/
|
|
728
738
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
729
739
|
/**
|
|
730
740
|
* Forbid repeated import of the same module in multiple places.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-duplicates.md
|
|
732
742
|
*/
|
|
733
743
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
734
744
|
/**
|
|
735
745
|
* Forbid `require()` calls with expressions.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-dynamic-require.md
|
|
737
747
|
*/
|
|
738
748
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
739
749
|
/**
|
|
740
750
|
* Forbid empty named import blocks.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-empty-named-blocks.md
|
|
742
752
|
*/
|
|
743
753
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
744
754
|
/**
|
|
745
755
|
* Forbid the use of extraneous packages.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-extraneous-dependencies.md
|
|
747
757
|
*/
|
|
748
758
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
749
759
|
/**
|
|
750
760
|
* Forbid import statements with CommonJS module.exports.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-import-module-exports.md
|
|
752
762
|
*/
|
|
753
763
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
754
764
|
/**
|
|
755
765
|
* Forbid importing the submodules of other modules.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-internal-modules.md
|
|
757
767
|
*/
|
|
758
768
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
759
769
|
/**
|
|
760
770
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-mutable-exports.md
|
|
762
772
|
*/
|
|
763
773
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
764
774
|
/**
|
|
765
775
|
* Forbid use of exported name as identifier of default export.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default.md
|
|
767
777
|
*/
|
|
768
778
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
769
779
|
/**
|
|
770
780
|
* Forbid use of exported name as property of default export.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-as-default-member.md
|
|
772
782
|
*/
|
|
773
783
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
774
784
|
/**
|
|
775
785
|
* Forbid named default exports.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-default.md
|
|
777
787
|
*/
|
|
778
788
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
779
789
|
/**
|
|
780
790
|
* Forbid named exports.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-named-export.md
|
|
782
792
|
*/
|
|
783
793
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
784
794
|
/**
|
|
785
795
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-namespace.md
|
|
787
797
|
*/
|
|
788
798
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
789
799
|
/**
|
|
790
800
|
* Forbid Node.js builtin modules.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-nodejs-modules.md
|
|
792
802
|
*/
|
|
793
803
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
794
804
|
/**
|
|
795
805
|
* Forbid importing packages through relative paths.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-packages.md
|
|
797
807
|
*/
|
|
798
808
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
799
809
|
/**
|
|
800
810
|
* Forbid importing modules from parent directories.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-relative-parent-imports.md
|
|
802
812
|
*/
|
|
803
813
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
804
814
|
/**
|
|
805
815
|
* Enforce which files can be imported in a given folder.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-restricted-paths.md
|
|
807
817
|
*/
|
|
808
818
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
809
819
|
/**
|
|
810
820
|
* Forbid a module from importing itself.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-self-import.md
|
|
812
822
|
*/
|
|
813
823
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
814
824
|
/**
|
|
815
825
|
* Forbid unassigned imports.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unassigned-import.md
|
|
817
827
|
*/
|
|
818
828
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
819
829
|
/**
|
|
820
830
|
* Ensure imports point to a file/module that can be resolved.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
831
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unresolved.md
|
|
822
832
|
*/
|
|
823
833
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
824
834
|
/**
|
|
825
835
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
836
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-unused-modules.md
|
|
827
837
|
*/
|
|
828
838
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
829
839
|
/**
|
|
830
840
|
* Forbid unnecessary path segments in import and require statements.
|
|
831
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
841
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-useless-path-segments.md
|
|
832
842
|
*/
|
|
833
843
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
834
844
|
/**
|
|
835
845
|
* Forbid webpack loader syntax in imports.
|
|
836
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
846
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/no-webpack-loader-syntax.md
|
|
837
847
|
*/
|
|
838
848
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
839
849
|
/**
|
|
840
850
|
* Enforce a convention in module import order.
|
|
841
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
851
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/order.md
|
|
842
852
|
*/
|
|
843
853
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
844
854
|
/**
|
|
845
855
|
* Prefer a default export if module exports a single name or multiple names.
|
|
846
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
856
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/prefer-default-export.md
|
|
847
857
|
*/
|
|
848
858
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
849
859
|
/**
|
|
850
860
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
851
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.
|
|
861
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v0.5.1/docs/rules/unambiguous.md
|
|
852
862
|
*/
|
|
853
863
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
854
864
|
/**
|
|
@@ -1372,6 +1382,7 @@ interface RuleOptions {
|
|
|
1372
1382
|
/**
|
|
1373
1383
|
* Enforce position of line comments
|
|
1374
1384
|
* @see https://eslint.org/docs/latest/rules/line-comment-position
|
|
1385
|
+
* @deprecated
|
|
1375
1386
|
*/
|
|
1376
1387
|
'line-comment-position'?: Linter.RuleEntry<LineCommentPosition>
|
|
1377
1388
|
/**
|
|
@@ -1453,6 +1464,7 @@ interface RuleOptions {
|
|
|
1453
1464
|
/**
|
|
1454
1465
|
* Enforce a particular style for multiline comments
|
|
1455
1466
|
* @see https://eslint.org/docs/latest/rules/multiline-comment-style
|
|
1467
|
+
* @deprecated
|
|
1456
1468
|
*/
|
|
1457
1469
|
'multiline-comment-style'?: Linter.RuleEntry<MultilineCommentStyle>
|
|
1458
1470
|
/**
|
|
@@ -1825,7 +1837,7 @@ interface RuleOptions {
|
|
|
1825
1837
|
* Disallow characters which are made with multiple code points in character class syntax
|
|
1826
1838
|
* @see https://eslint.org/docs/latest/rules/no-misleading-character-class
|
|
1827
1839
|
*/
|
|
1828
|
-
'no-misleading-character-class'?: Linter.RuleEntry<
|
|
1840
|
+
'no-misleading-character-class'?: Linter.RuleEntry<NoMisleadingCharacterClass>
|
|
1829
1841
|
/**
|
|
1830
1842
|
* Disallow mixed binary operators
|
|
1831
1843
|
* @see https://eslint.org/docs/latest/rules/no-mixed-operators
|
|
@@ -2750,6 +2762,16 @@ interface RuleOptions {
|
|
|
2750
2762
|
*/
|
|
2751
2763
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2752
2764
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2765
|
+
/**
|
|
2766
|
+
* enforce boolean attributes notation in JSX
|
|
2767
|
+
* @see https://eslint-react.xyz/rules/avoid-shorthand-boolean
|
|
2768
|
+
*/
|
|
2769
|
+
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2770
|
+
/**
|
|
2771
|
+
* enforce using fragment component instead of shorthand fragment syntax
|
|
2772
|
+
* @see https://eslint-react.xyz/rules/avoid-shorthand-fragment
|
|
2773
|
+
*/
|
|
2774
|
+
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2753
2775
|
/**
|
|
2754
2776
|
* require all 'forwardRef' components include a 'ref' parameter
|
|
2755
2777
|
* @see https://eslint-react.xyz/rules/ensure-forward-ref-using-ref
|
|
@@ -2813,6 +2835,7 @@ interface RuleOptions {
|
|
|
2813
2835
|
/**
|
|
2814
2836
|
* disallow complicated conditional rendering
|
|
2815
2837
|
* @see https://eslint-react.xyz/rules/no-complicated-conditional-rendering
|
|
2838
|
+
* @deprecated
|
|
2816
2839
|
*/
|
|
2817
2840
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2818
2841
|
/**
|
|
@@ -2848,6 +2871,7 @@ interface RuleOptions {
|
|
|
2848
2871
|
/**
|
|
2849
2872
|
* disallow spreading 'key' from objects.
|
|
2850
2873
|
* @see https://eslint-react.xyz/rules/no-implicit-key
|
|
2874
|
+
* @deprecated
|
|
2851
2875
|
*/
|
|
2852
2876
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2853
2877
|
/**
|
|
@@ -2994,107 +3018,6 @@ interface RuleOptions {
|
|
|
2994
3018
|
* @deprecated
|
|
2995
3019
|
*/
|
|
2996
3020
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
2997
|
-
/**
|
|
2998
|
-
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
2999
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/components-return-once.md
|
|
3000
|
-
*/
|
|
3001
|
-
'solid/components-return-once'?: Linter.RuleEntry<[]>
|
|
3002
|
-
/**
|
|
3003
|
-
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
3004
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/event-handlers.md
|
|
3005
|
-
*/
|
|
3006
|
-
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>
|
|
3007
|
-
/**
|
|
3008
|
-
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
3009
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/imports.md
|
|
3010
|
-
*/
|
|
3011
|
-
'solid/imports'?: Linter.RuleEntry<[]>
|
|
3012
|
-
/**
|
|
3013
|
-
* Disallow passing the same prop twice in JSX.
|
|
3014
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-duplicate-props.md
|
|
3015
|
-
*/
|
|
3016
|
-
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>
|
|
3017
|
-
/**
|
|
3018
|
-
* Disallow javascript: URLs.
|
|
3019
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-script-url.md
|
|
3020
|
-
*/
|
|
3021
|
-
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>
|
|
3022
|
-
/**
|
|
3023
|
-
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
3024
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-undef.md
|
|
3025
|
-
*/
|
|
3026
|
-
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>
|
|
3027
|
-
/**
|
|
3028
|
-
* Prevent variables used in JSX from being marked as unused.
|
|
3029
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-uses-vars.md
|
|
3030
|
-
*/
|
|
3031
|
-
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3032
|
-
/**
|
|
3033
|
-
* Disallow usage of type-unsafe event handlers.
|
|
3034
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-array-handlers.md
|
|
3035
|
-
*/
|
|
3036
|
-
'solid/no-array-handlers'?: Linter.RuleEntry<[]>
|
|
3037
|
-
/**
|
|
3038
|
-
* Disallow destructuring props. In Solid, props must be used with property accesses (`props.foo`) to preserve reactivity. This rule only tracks destructuring in the parameter list.
|
|
3039
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-destructure.md
|
|
3040
|
-
*/
|
|
3041
|
-
'solid/no-destructure'?: Linter.RuleEntry<[]>
|
|
3042
|
-
/**
|
|
3043
|
-
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
3044
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-innerhtml.md
|
|
3045
|
-
*/
|
|
3046
|
-
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>
|
|
3047
|
-
/**
|
|
3048
|
-
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
3049
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-proxy-apis.md
|
|
3050
|
-
*/
|
|
3051
|
-
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>
|
|
3052
|
-
/**
|
|
3053
|
-
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
3054
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-deps.md
|
|
3055
|
-
*/
|
|
3056
|
-
'solid/no-react-deps'?: Linter.RuleEntry<[]>
|
|
3057
|
-
/**
|
|
3058
|
-
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
3059
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-specific-props.md
|
|
3060
|
-
*/
|
|
3061
|
-
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>
|
|
3062
|
-
/**
|
|
3063
|
-
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
3064
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-unknown-namespaces.md
|
|
3065
|
-
*/
|
|
3066
|
-
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>
|
|
3067
|
-
/**
|
|
3068
|
-
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
3069
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-classlist.md
|
|
3070
|
-
* @deprecated
|
|
3071
|
-
*/
|
|
3072
|
-
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>
|
|
3073
|
-
/**
|
|
3074
|
-
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
3075
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-for.md
|
|
3076
|
-
*/
|
|
3077
|
-
'solid/prefer-for'?: Linter.RuleEntry<[]>
|
|
3078
|
-
/**
|
|
3079
|
-
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
3080
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-show.md
|
|
3081
|
-
*/
|
|
3082
|
-
'solid/prefer-show'?: Linter.RuleEntry<[]>
|
|
3083
|
-
/**
|
|
3084
|
-
* Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
|
|
3085
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md
|
|
3086
|
-
*/
|
|
3087
|
-
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>
|
|
3088
|
-
/**
|
|
3089
|
-
* Disallow extra closing tags for components without children.
|
|
3090
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/self-closing-comp.md
|
|
3091
|
-
*/
|
|
3092
|
-
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>
|
|
3093
|
-
/**
|
|
3094
|
-
* Require CSS properties in the `style` prop to be valid and kebab-cased (ex. 'font-size'), not camel-cased (ex. 'fontSize') like in React, and that property values with dimensions are strings, not numbers with implicit 'px' units.
|
|
3095
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/style-prop.md
|
|
3096
|
-
*/
|
|
3097
|
-
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>
|
|
3098
3021
|
/**
|
|
3099
3022
|
* Enforce sorted import declarations within modules
|
|
3100
3023
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
@@ -3371,6 +3294,11 @@ interface RuleOptions {
|
|
|
3371
3294
|
* @see https://eslint.style/rules/ts/keyword-spacing
|
|
3372
3295
|
*/
|
|
3373
3296
|
'style/keyword-spacing'?: Linter.RuleEntry<StyleKeywordSpacing>
|
|
3297
|
+
/**
|
|
3298
|
+
* Enforce position of line comments
|
|
3299
|
+
* @see https://eslint.style/rules/js/line-comment-position
|
|
3300
|
+
*/
|
|
3301
|
+
'style/line-comment-position'?: Linter.RuleEntry<StyleLineCommentPosition>
|
|
3374
3302
|
/**
|
|
3375
3303
|
* Enforce consistent linebreak style
|
|
3376
3304
|
* @see https://eslint.style/rules/js/linebreak-style
|
|
@@ -3401,6 +3329,11 @@ interface RuleOptions {
|
|
|
3401
3329
|
* @see https://eslint.style/rules/ts/member-delimiter-style
|
|
3402
3330
|
*/
|
|
3403
3331
|
'style/member-delimiter-style'?: Linter.RuleEntry<StyleMemberDelimiterStyle>
|
|
3332
|
+
/**
|
|
3333
|
+
* Enforce a particular style for multiline comments
|
|
3334
|
+
* @see https://eslint.style/rules/js/multiline-comment-style
|
|
3335
|
+
*/
|
|
3336
|
+
'style/multiline-comment-style'?: Linter.RuleEntry<StyleMultilineCommentStyle>
|
|
3404
3337
|
/**
|
|
3405
3338
|
* Enforce newlines between operands of ternary expressions
|
|
3406
3339
|
* @see https://eslint.style/rules/js/multiline-ternary
|
|
@@ -3616,317 +3549,6 @@ interface RuleOptions {
|
|
|
3616
3549
|
* @see https://eslint.style/rules/js/yield-star-spacing
|
|
3617
3550
|
*/
|
|
3618
3551
|
'style/yield-star-spacing'?: Linter.RuleEntry<StyleYieldStarSpacing>
|
|
3619
|
-
/**
|
|
3620
|
-
* disallow conditionals where the type is always truthy or always falsy
|
|
3621
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/@typescript-eslint/no-unnecessary-condition/
|
|
3622
|
-
* @deprecated
|
|
3623
|
-
*/
|
|
3624
|
-
'svelte/@typescript-eslint/no-unnecessary-condition'?: Linter.RuleEntry<SvelteTypescriptEslintNoUnnecessaryCondition>
|
|
3625
|
-
/**
|
|
3626
|
-
* disallows the use of languages other than those specified in the configuration for the lang attribute of `<script>` and `<style>` blocks.
|
|
3627
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/block-lang/
|
|
3628
|
-
*/
|
|
3629
|
-
'svelte/block-lang'?: Linter.RuleEntry<SvelteBlockLang>
|
|
3630
|
-
/**
|
|
3631
|
-
* disallow usage of button without an explicit type attribute
|
|
3632
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/button-has-type/
|
|
3633
|
-
*/
|
|
3634
|
-
'svelte/button-has-type'?: Linter.RuleEntry<SvelteButtonHasType>
|
|
3635
|
-
/**
|
|
3636
|
-
* support comment-directives in HTML template
|
|
3637
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/comment-directive/
|
|
3638
|
-
*/
|
|
3639
|
-
'svelte/comment-directive'?: Linter.RuleEntry<SvelteCommentDirective>
|
|
3640
|
-
/**
|
|
3641
|
-
* derived store should use same variable names between values and callback
|
|
3642
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/derived-has-same-inputs-outputs/
|
|
3643
|
-
*/
|
|
3644
|
-
'svelte/derived-has-same-inputs-outputs'?: Linter.RuleEntry<[]>
|
|
3645
|
-
/**
|
|
3646
|
-
* require slot type declaration using the `$$Slots` interface
|
|
3647
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/experimental-require-slot-types/
|
|
3648
|
-
*/
|
|
3649
|
-
'svelte/experimental-require-slot-types'?: Linter.RuleEntry<[]>
|
|
3650
|
-
/**
|
|
3651
|
-
* require the strictEvents attribute on `<script>` tags
|
|
3652
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/experimental-require-strict-events/
|
|
3653
|
-
*/
|
|
3654
|
-
'svelte/experimental-require-strict-events'?: Linter.RuleEntry<[]>
|
|
3655
|
-
/**
|
|
3656
|
-
* enforce the location of first attribute
|
|
3657
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/first-attribute-linebreak/
|
|
3658
|
-
*/
|
|
3659
|
-
'svelte/first-attribute-linebreak'?: Linter.RuleEntry<SvelteFirstAttributeLinebreak>
|
|
3660
|
-
/**
|
|
3661
|
-
* require or disallow a space before tag's closing brackets
|
|
3662
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-spacing/
|
|
3663
|
-
*/
|
|
3664
|
-
'svelte/html-closing-bracket-spacing'?: Linter.RuleEntry<SvelteHtmlClosingBracketSpacing>
|
|
3665
|
-
/**
|
|
3666
|
-
* enforce quotes style of HTML attributes
|
|
3667
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-quotes/
|
|
3668
|
-
*/
|
|
3669
|
-
'svelte/html-quotes'?: Linter.RuleEntry<SvelteHtmlQuotes>
|
|
3670
|
-
/**
|
|
3671
|
-
* enforce self-closing style
|
|
3672
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-self-closing/
|
|
3673
|
-
*/
|
|
3674
|
-
'svelte/html-self-closing'?: Linter.RuleEntry<SvelteHtmlSelfClosing>
|
|
3675
|
-
/**
|
|
3676
|
-
* enforce consistent indentation
|
|
3677
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/indent/
|
|
3678
|
-
*/
|
|
3679
|
-
'svelte/indent'?: Linter.RuleEntry<SvelteIndent>
|
|
3680
|
-
/**
|
|
3681
|
-
* Svelte runtime prevents calling the same reactive statement twice in a microtask. But between different microtask, it doesn't prevent.
|
|
3682
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/infinite-reactive-loop/
|
|
3683
|
-
*/
|
|
3684
|
-
'svelte/infinite-reactive-loop'?: Linter.RuleEntry<[]>
|
|
3685
|
-
/**
|
|
3686
|
-
* enforce the maximum number of attributes per line
|
|
3687
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/max-attributes-per-line/
|
|
3688
|
-
*/
|
|
3689
|
-
'svelte/max-attributes-per-line'?: Linter.RuleEntry<SvelteMaxAttributesPerLine>
|
|
3690
|
-
/**
|
|
3691
|
-
* enforce unified spacing in mustache
|
|
3692
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/
|
|
3693
|
-
*/
|
|
3694
|
-
'svelte/mustache-spacing'?: Linter.RuleEntry<SvelteMustacheSpacing>
|
|
3695
|
-
/**
|
|
3696
|
-
* disallow the use of `{@debug}`
|
|
3697
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/
|
|
3698
|
-
*/
|
|
3699
|
-
'svelte/no-at-debug-tags'?: Linter.RuleEntry<[]>
|
|
3700
|
-
/**
|
|
3701
|
-
* disallow use of `{@html}` to prevent XSS attack
|
|
3702
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-html-tags/
|
|
3703
|
-
*/
|
|
3704
|
-
'svelte/no-at-html-tags'?: Linter.RuleEntry<[]>
|
|
3705
|
-
/**
|
|
3706
|
-
* disallow DOM manipulating
|
|
3707
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dom-manipulating/
|
|
3708
|
-
*/
|
|
3709
|
-
'svelte/no-dom-manipulating'?: Linter.RuleEntry<[]>
|
|
3710
|
-
/**
|
|
3711
|
-
* disallow duplicate conditions in `{#if}` / `{:else if}` chains
|
|
3712
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-else-if-blocks/
|
|
3713
|
-
*/
|
|
3714
|
-
'svelte/no-dupe-else-if-blocks'?: Linter.RuleEntry<[]>
|
|
3715
|
-
/**
|
|
3716
|
-
* disallow duplicate `on:` directives
|
|
3717
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-on-directives/
|
|
3718
|
-
*/
|
|
3719
|
-
'svelte/no-dupe-on-directives'?: Linter.RuleEntry<[]>
|
|
3720
|
-
/**
|
|
3721
|
-
* disallow duplicate style properties
|
|
3722
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-style-properties/
|
|
3723
|
-
*/
|
|
3724
|
-
'svelte/no-dupe-style-properties'?: Linter.RuleEntry<[]>
|
|
3725
|
-
/**
|
|
3726
|
-
* disallow duplicate `use:` directives
|
|
3727
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dupe-use-directives/
|
|
3728
|
-
*/
|
|
3729
|
-
'svelte/no-dupe-use-directives'?: Linter.RuleEntry<[]>
|
|
3730
|
-
/**
|
|
3731
|
-
* disallow dynamic slot name
|
|
3732
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-dynamic-slot-name/
|
|
3733
|
-
*/
|
|
3734
|
-
'svelte/no-dynamic-slot-name'?: Linter.RuleEntry<[]>
|
|
3735
|
-
/**
|
|
3736
|
-
* disallow exporting load functions in `*.svelte` module in SvelteKit page components.
|
|
3737
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-export-load-in-svelte-module-in-kit-pages/
|
|
3738
|
-
*/
|
|
3739
|
-
'svelte/no-export-load-in-svelte-module-in-kit-pages'?: Linter.RuleEntry<[]>
|
|
3740
|
-
/**
|
|
3741
|
-
* disallow wrapping single reactive statements in curly braces
|
|
3742
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-extra-reactive-curlies/
|
|
3743
|
-
*/
|
|
3744
|
-
'svelte/no-extra-reactive-curlies'?: Linter.RuleEntry<[]>
|
|
3745
|
-
/**
|
|
3746
|
-
* disallow using goto() without the base path
|
|
3747
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-goto-without-base/
|
|
3748
|
-
*/
|
|
3749
|
-
'svelte/no-goto-without-base'?: Linter.RuleEntry<[]>
|
|
3750
|
-
/**
|
|
3751
|
-
* disallow ignoring the unsubscribe method returned by the `subscribe()` on Svelte stores.
|
|
3752
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-ignored-unsubscribe/
|
|
3753
|
-
*/
|
|
3754
|
-
'svelte/no-ignored-unsubscribe'?: Linter.RuleEntry<[]>
|
|
3755
|
-
/**
|
|
3756
|
-
* disallow reactive statements that don't reference reactive values.
|
|
3757
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-immutable-reactive-statements/
|
|
3758
|
-
*/
|
|
3759
|
-
'svelte/no-immutable-reactive-statements'?: Linter.RuleEntry<[]>
|
|
3760
|
-
/**
|
|
3761
|
-
* disallow attributes and directives that produce inline styles
|
|
3762
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inline-styles/
|
|
3763
|
-
*/
|
|
3764
|
-
'svelte/no-inline-styles'?: Linter.RuleEntry<SvelteNoInlineStyles>
|
|
3765
|
-
/**
|
|
3766
|
-
* disallow variable or `function` declarations in nested blocks
|
|
3767
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/
|
|
3768
|
-
*/
|
|
3769
|
-
'svelte/no-inner-declarations'?: Linter.RuleEntry<SvelteNoInnerDeclarations>
|
|
3770
|
-
/**
|
|
3771
|
-
* disallow use of not function in event handler
|
|
3772
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
3773
|
-
*/
|
|
3774
|
-
'svelte/no-not-function-handler'?: Linter.RuleEntry<[]>
|
|
3775
|
-
/**
|
|
3776
|
-
* disallow objects in text mustache interpolation
|
|
3777
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-object-in-text-mustaches/
|
|
3778
|
-
*/
|
|
3779
|
-
'svelte/no-object-in-text-mustaches'?: Linter.RuleEntry<[]>
|
|
3780
|
-
/**
|
|
3781
|
-
* it's not necessary to define functions in reactive statements
|
|
3782
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-functions/
|
|
3783
|
-
*/
|
|
3784
|
-
'svelte/no-reactive-functions'?: Linter.RuleEntry<[]>
|
|
3785
|
-
/**
|
|
3786
|
-
* don't assign literal values in reactive statements
|
|
3787
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-literals/
|
|
3788
|
-
*/
|
|
3789
|
-
'svelte/no-reactive-literals'?: Linter.RuleEntry<[]>
|
|
3790
|
-
/**
|
|
3791
|
-
* disallow reassigning reactive values
|
|
3792
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-reactive-reassign/
|
|
3793
|
-
*/
|
|
3794
|
-
'svelte/no-reactive-reassign'?: Linter.RuleEntry<SvelteNoReactiveReassign>
|
|
3795
|
-
/**
|
|
3796
|
-
* disallow specific HTML elements
|
|
3797
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-restricted-html-elements/
|
|
3798
|
-
*/
|
|
3799
|
-
'svelte/no-restricted-html-elements'?: Linter.RuleEntry<SvelteNoRestrictedHtmlElements>
|
|
3800
|
-
/**
|
|
3801
|
-
* disallow shorthand style properties that override related longhand properties
|
|
3802
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-shorthand-style-property-overrides/
|
|
3803
|
-
*/
|
|
3804
|
-
'svelte/no-shorthand-style-property-overrides'?: Linter.RuleEntry<[]>
|
|
3805
|
-
/**
|
|
3806
|
-
* disallow spaces around equal signs in attribute
|
|
3807
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-spaces-around-equal-signs-in-attribute/
|
|
3808
|
-
*/
|
|
3809
|
-
'svelte/no-spaces-around-equal-signs-in-attribute'?: Linter.RuleEntry<[]>
|
|
3810
|
-
/**
|
|
3811
|
-
* disallow using async/await inside svelte stores because it causes issues with the auto-unsubscribing features
|
|
3812
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-store-async/
|
|
3813
|
-
*/
|
|
3814
|
-
'svelte/no-store-async'?: Linter.RuleEntry<[]>
|
|
3815
|
-
/**
|
|
3816
|
-
* disallow `target="_blank"` attribute without `rel="noopener noreferrer"`
|
|
3817
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
|
|
3818
|
-
*/
|
|
3819
|
-
'svelte/no-target-blank'?: Linter.RuleEntry<SvelteNoTargetBlank>
|
|
3820
|
-
/**
|
|
3821
|
-
* disallow trailing whitespace at the end of lines
|
|
3822
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/
|
|
3823
|
-
*/
|
|
3824
|
-
'svelte/no-trailing-spaces'?: Linter.RuleEntry<SvelteNoTrailingSpaces>
|
|
3825
|
-
/**
|
|
3826
|
-
* disallow unknown `style:property`
|
|
3827
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unknown-style-directive-property/
|
|
3828
|
-
*/
|
|
3829
|
-
'svelte/no-unknown-style-directive-property'?: Linter.RuleEntry<SvelteNoUnknownStyleDirectiveProperty>
|
|
3830
|
-
/**
|
|
3831
|
-
* disallow the use of a class in the template without a corresponding style
|
|
3832
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-class-name/
|
|
3833
|
-
*/
|
|
3834
|
-
'svelte/no-unused-class-name'?: Linter.RuleEntry<SvelteNoUnusedClassName>
|
|
3835
|
-
/**
|
|
3836
|
-
* disallow unused svelte-ignore comments
|
|
3837
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-unused-svelte-ignore/
|
|
3838
|
-
*/
|
|
3839
|
-
'svelte/no-unused-svelte-ignore'?: Linter.RuleEntry<[]>
|
|
3840
|
-
/**
|
|
3841
|
-
* disallow unnecessary mustache interpolations
|
|
3842
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-useless-mustaches/
|
|
3843
|
-
*/
|
|
3844
|
-
'svelte/no-useless-mustaches'?: Linter.RuleEntry<SvelteNoUselessMustaches>
|
|
3845
|
-
/**
|
|
3846
|
-
* require class directives instead of ternary expressions
|
|
3847
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-class-directive/
|
|
3848
|
-
*/
|
|
3849
|
-
'svelte/prefer-class-directive'?: Linter.RuleEntry<SveltePreferClassDirective>
|
|
3850
|
-
/**
|
|
3851
|
-
* destructure values from object stores for better change tracking & fewer redraws
|
|
3852
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-destructured-store-props/
|
|
3853
|
-
*/
|
|
3854
|
-
'svelte/prefer-destructured-store-props'?: Linter.RuleEntry<[]>
|
|
3855
|
-
/**
|
|
3856
|
-
* require style directives instead of style attribute
|
|
3857
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-style-directive/
|
|
3858
|
-
*/
|
|
3859
|
-
'svelte/prefer-style-directive'?: Linter.RuleEntry<[]>
|
|
3860
|
-
/**
|
|
3861
|
-
* require keyed `{#each}` block
|
|
3862
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-each-key/
|
|
3863
|
-
*/
|
|
3864
|
-
'svelte/require-each-key'?: Linter.RuleEntry<[]>
|
|
3865
|
-
/**
|
|
3866
|
-
* require type parameters for `createEventDispatcher`
|
|
3867
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/
|
|
3868
|
-
*/
|
|
3869
|
-
'svelte/require-event-dispatcher-types'?: Linter.RuleEntry<[]>
|
|
3870
|
-
/**
|
|
3871
|
-
* require style attributes that can be optimized
|
|
3872
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/
|
|
3873
|
-
*/
|
|
3874
|
-
'svelte/require-optimized-style-attribute'?: Linter.RuleEntry<[]>
|
|
3875
|
-
/**
|
|
3876
|
-
* store callbacks must use `set` param
|
|
3877
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-callbacks-use-set-param/
|
|
3878
|
-
*/
|
|
3879
|
-
'svelte/require-store-callbacks-use-set-param'?: Linter.RuleEntry<[]>
|
|
3880
|
-
/**
|
|
3881
|
-
* disallow to use of the store itself as an operand. Need to use $ prefix or get function.
|
|
3882
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-store-reactive-access/
|
|
3883
|
-
*/
|
|
3884
|
-
'svelte/require-store-reactive-access'?: Linter.RuleEntry<[]>
|
|
3885
|
-
/**
|
|
3886
|
-
* require initial value in store
|
|
3887
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-stores-init/
|
|
3888
|
-
*/
|
|
3889
|
-
'svelte/require-stores-init'?: Linter.RuleEntry<[]>
|
|
3890
|
-
/**
|
|
3891
|
-
* enforce use of shorthand syntax in attribute
|
|
3892
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/shorthand-attribute/
|
|
3893
|
-
*/
|
|
3894
|
-
'svelte/shorthand-attribute'?: Linter.RuleEntry<SvelteShorthandAttribute>
|
|
3895
|
-
/**
|
|
3896
|
-
* enforce use of shorthand syntax in directives
|
|
3897
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/shorthand-directive/
|
|
3898
|
-
*/
|
|
3899
|
-
'svelte/shorthand-directive'?: Linter.RuleEntry<SvelteShorthandDirective>
|
|
3900
|
-
/**
|
|
3901
|
-
* enforce order of attributes
|
|
3902
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/sort-attributes/
|
|
3903
|
-
*/
|
|
3904
|
-
'svelte/sort-attributes'?: Linter.RuleEntry<SvelteSortAttributes>
|
|
3905
|
-
/**
|
|
3906
|
-
* enforce consistent spacing after the `<!--` and before the `-->` in a HTML comment
|
|
3907
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/spaced-html-comment/
|
|
3908
|
-
*/
|
|
3909
|
-
'svelte/spaced-html-comment'?: Linter.RuleEntry<SvelteSpacedHtmlComment>
|
|
3910
|
-
/**
|
|
3911
|
-
* system rule for working this plugin
|
|
3912
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/system/
|
|
3913
|
-
*/
|
|
3914
|
-
'svelte/system'?: Linter.RuleEntry<[]>
|
|
3915
|
-
/**
|
|
3916
|
-
* disallow warnings when compiling.
|
|
3917
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-compile/
|
|
3918
|
-
*/
|
|
3919
|
-
'svelte/valid-compile'?: Linter.RuleEntry<SvelteValidCompile>
|
|
3920
|
-
/**
|
|
3921
|
-
* enforce keys to use variables defined in the `{#each}` block
|
|
3922
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-each-key/
|
|
3923
|
-
*/
|
|
3924
|
-
'svelte/valid-each-key'?: Linter.RuleEntry<[]>
|
|
3925
|
-
/**
|
|
3926
|
-
* disallow props other than data or errors in SvelteKit page components.
|
|
3927
|
-
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/valid-prop-names-in-kit-pages/
|
|
3928
|
-
*/
|
|
3929
|
-
'svelte/valid-prop-names-in-kit-pages'?: Linter.RuleEntry<[]>
|
|
3930
3552
|
/**
|
|
3931
3553
|
* Enforce spacing around colons of switch statements
|
|
3932
3554
|
* @see https://eslint.org/docs/latest/rules/switch-colon-spacing
|
|
@@ -4782,6 +4404,11 @@ interface RuleOptions {
|
|
|
4782
4404
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
4783
4405
|
*/
|
|
4784
4406
|
'ts/no-unnecessary-qualifier'?: Linter.RuleEntry<[]>
|
|
4407
|
+
/**
|
|
4408
|
+
* Disallow unnecessary template expressions
|
|
4409
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-template-expression
|
|
4410
|
+
*/
|
|
4411
|
+
'ts/no-unnecessary-template-expression'?: Linter.RuleEntry<[]>
|
|
4785
4412
|
/**
|
|
4786
4413
|
* Disallow type arguments that are equal to the default
|
|
4787
4414
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-arguments
|
|
@@ -4863,8 +4490,9 @@ interface RuleOptions {
|
|
|
4863
4490
|
*/
|
|
4864
4491
|
'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
4865
4492
|
/**
|
|
4866
|
-
* Disallow unnecessary template
|
|
4493
|
+
* Disallow unnecessary template expressions
|
|
4867
4494
|
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
4495
|
+
* @deprecated
|
|
4868
4496
|
*/
|
|
4869
4497
|
'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
4870
4498
|
/**
|
|
@@ -4992,6 +4620,7 @@ interface RuleOptions {
|
|
|
4992
4620
|
/**
|
|
4993
4621
|
* Enforce using `@ts-expect-error` over `@ts-ignore`
|
|
4994
4622
|
* @see https://typescript-eslint.io/rules/prefer-ts-expect-error
|
|
4623
|
+
* @deprecated
|
|
4995
4624
|
*/
|
|
4996
4625
|
'ts/prefer-ts-expect-error'?: Linter.RuleEntry<[]>
|
|
4997
4626
|
/**
|
|
@@ -5011,7 +4640,7 @@ interface RuleOptions {
|
|
|
5011
4640
|
*/
|
|
5012
4641
|
'ts/require-array-sort-compare'?: Linter.RuleEntry<TsRequireArraySortCompare>
|
|
5013
4642
|
/**
|
|
5014
|
-
* Disallow async functions which have no `await` expression
|
|
4643
|
+
* Disallow async functions which do not return promises and have no `await` expression
|
|
5015
4644
|
* @see https://typescript-eslint.io/rules/require-await
|
|
5016
4645
|
*/
|
|
5017
4646
|
'ts/require-await'?: Linter.RuleEntry<[]>
|
|
@@ -5107,652 +4736,677 @@ interface RuleOptions {
|
|
|
5107
4736
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5108
4737
|
/**
|
|
5109
4738
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5110
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4739
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/better-regex.md
|
|
5111
4740
|
*/
|
|
5112
4741
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5113
4742
|
/**
|
|
5114
4743
|
* Enforce a specific parameter name in catch clauses.
|
|
5115
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4744
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/catch-error-name.md
|
|
5116
4745
|
*/
|
|
5117
4746
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5118
4747
|
/**
|
|
5119
4748
|
* Use destructured variables over properties.
|
|
5120
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4749
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-destructuring.md
|
|
5121
4750
|
*/
|
|
5122
4751
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4752
|
+
/**
|
|
4753
|
+
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4754
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4755
|
+
*/
|
|
4756
|
+
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5123
4757
|
/**
|
|
5124
4758
|
* Move function definitions to the highest possible scope.
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4759
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/consistent-function-scoping.md
|
|
5126
4760
|
*/
|
|
5127
4761
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5128
4762
|
/**
|
|
5129
4763
|
* Enforce correct `Error` subclassing.
|
|
5130
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4764
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/custom-error-definition.md
|
|
5131
4765
|
*/
|
|
5132
4766
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5133
4767
|
/**
|
|
5134
4768
|
* Enforce no spaces between braces.
|
|
5135
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4769
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/empty-brace-spaces.md
|
|
5136
4770
|
*/
|
|
5137
4771
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5138
4772
|
/**
|
|
5139
4773
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5140
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4774
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/error-message.md
|
|
5141
4775
|
*/
|
|
5142
4776
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5143
4777
|
/**
|
|
5144
4778
|
* Require escape sequences to use uppercase values.
|
|
5145
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4779
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/escape-case.md
|
|
5146
4780
|
*/
|
|
5147
4781
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5148
4782
|
/**
|
|
5149
4783
|
* Add expiration conditions to TODO comments.
|
|
5150
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4784
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/expiring-todo-comments.md
|
|
5151
4785
|
*/
|
|
5152
4786
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5153
4787
|
/**
|
|
5154
4788
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5155
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4789
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/explicit-length-check.md
|
|
5156
4790
|
*/
|
|
5157
4791
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5158
4792
|
/**
|
|
5159
4793
|
* Enforce a case style for filenames.
|
|
5160
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4794
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/filename-case.md
|
|
5161
4795
|
*/
|
|
5162
4796
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5163
4797
|
/**
|
|
5164
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4798
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#import-index
|
|
5165
4799
|
* @deprecated
|
|
5166
4800
|
*/
|
|
5167
4801
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5168
4802
|
/**
|
|
5169
4803
|
* Enforce specific import styles per module.
|
|
5170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4804
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/import-style.md
|
|
5171
4805
|
*/
|
|
5172
4806
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5173
4807
|
/**
|
|
5174
4808
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5175
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4809
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/new-for-builtins.md
|
|
5176
4810
|
*/
|
|
5177
4811
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5178
4812
|
/**
|
|
5179
4813
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5180
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4814
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
5181
4815
|
*/
|
|
5182
4816
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5183
4817
|
/**
|
|
5184
4818
|
* Disallow anonymous functions and classes as the default export.
|
|
5185
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4819
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-anonymous-default-export.md
|
|
5186
4820
|
*/
|
|
5187
4821
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5188
4822
|
/**
|
|
5189
4823
|
* Prevent passing a function reference directly to iterator methods.
|
|
5190
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4824
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-callback-reference.md
|
|
5191
4825
|
*/
|
|
5192
4826
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5193
4827
|
/**
|
|
5194
4828
|
* Prefer `for…of` over the `forEach` method.
|
|
5195
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4829
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-for-each.md
|
|
5196
4830
|
*/
|
|
5197
4831
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5198
4832
|
/**
|
|
5199
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4833
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
5200
4834
|
* @deprecated
|
|
5201
4835
|
*/
|
|
5202
4836
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5203
4837
|
/**
|
|
5204
4838
|
* Disallow using the `this` argument in array methods.
|
|
5205
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4839
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-method-this-argument.md
|
|
5206
4840
|
*/
|
|
5207
4841
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5208
4842
|
/**
|
|
5209
4843
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5210
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4844
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-push-push.md
|
|
5211
4845
|
*/
|
|
5212
4846
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5213
4847
|
/**
|
|
5214
4848
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5215
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4849
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-array-reduce.md
|
|
5216
4850
|
*/
|
|
5217
4851
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5218
4852
|
/**
|
|
5219
4853
|
* Disallow member access from await expression.
|
|
5220
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4854
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-expression-member.md
|
|
5221
4855
|
*/
|
|
5222
4856
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5223
4857
|
/**
|
|
5224
4858
|
* Disallow using `await` in `Promise` method parameters.
|
|
5225
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4859
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-await-in-promise-methods.md
|
|
5226
4860
|
*/
|
|
5227
4861
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5228
4862
|
/**
|
|
5229
4863
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5230
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4864
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-console-spaces.md
|
|
5231
4865
|
*/
|
|
5232
4866
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5233
4867
|
/**
|
|
5234
4868
|
* Do not use `document.cookie` directly.
|
|
5235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4869
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-document-cookie.md
|
|
5236
4870
|
*/
|
|
5237
4871
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5238
4872
|
/**
|
|
5239
4873
|
* Disallow empty files.
|
|
5240
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4874
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-empty-file.md
|
|
5241
4875
|
*/
|
|
5242
4876
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5243
4877
|
/**
|
|
5244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4878
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5245
4879
|
* @deprecated
|
|
5246
4880
|
*/
|
|
5247
4881
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5248
4882
|
/**
|
|
5249
4883
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5250
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4884
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-for-loop.md
|
|
5251
4885
|
*/
|
|
5252
4886
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5253
4887
|
/**
|
|
5254
4888
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5255
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4889
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-hex-escape.md
|
|
5256
4890
|
*/
|
|
5257
4891
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5258
4892
|
/**
|
|
5259
4893
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4894
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-instanceof-array.md
|
|
5261
4895
|
*/
|
|
5262
4896
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4897
|
+
/**
|
|
4898
|
+
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4899
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4900
|
+
*/
|
|
4901
|
+
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5263
4902
|
/**
|
|
5264
4903
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5265
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4904
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
5266
4905
|
*/
|
|
5267
4906
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5268
4907
|
/**
|
|
5269
4908
|
* Disallow identifiers starting with `new` or `class`.
|
|
5270
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4909
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-keyword-prefix.md
|
|
5271
4910
|
*/
|
|
5272
4911
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5273
4912
|
/**
|
|
5274
4913
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5275
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4914
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-lonely-if.md
|
|
5276
4915
|
*/
|
|
5277
4916
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4917
|
+
/**
|
|
4918
|
+
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4919
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4920
|
+
*/
|
|
4921
|
+
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5278
4922
|
/**
|
|
5279
4923
|
* Disallow negated conditions.
|
|
5280
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4924
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-negated-condition.md
|
|
5281
4925
|
*/
|
|
5282
4926
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5283
4927
|
/**
|
|
5284
4928
|
* Disallow nested ternary expressions.
|
|
5285
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4929
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-nested-ternary.md
|
|
5286
4930
|
*/
|
|
5287
4931
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5288
4932
|
/**
|
|
5289
4933
|
* Disallow `new Array()`.
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4934
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-array.md
|
|
5291
4935
|
*/
|
|
5292
4936
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5293
4937
|
/**
|
|
5294
4938
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5295
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4939
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-new-buffer.md
|
|
5296
4940
|
*/
|
|
5297
4941
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5298
4942
|
/**
|
|
5299
4943
|
* Disallow the use of the `null` literal.
|
|
5300
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4944
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-null.md
|
|
5301
4945
|
*/
|
|
5302
4946
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5303
4947
|
/**
|
|
5304
4948
|
* Disallow the use of objects as default parameters.
|
|
5305
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4949
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-object-as-default-parameter.md
|
|
5306
4950
|
*/
|
|
5307
4951
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5308
4952
|
/**
|
|
5309
4953
|
* Disallow `process.exit()`.
|
|
5310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4954
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-process-exit.md
|
|
5311
4955
|
*/
|
|
5312
4956
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5313
4957
|
/**
|
|
5314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4958
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-reduce
|
|
5315
4959
|
* @deprecated
|
|
5316
4960
|
*/
|
|
5317
4961
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5318
4962
|
/**
|
|
5319
4963
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5320
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
5321
4965
|
*/
|
|
5322
4966
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5323
4967
|
/**
|
|
5324
4968
|
* Disallow classes that only have static members.
|
|
5325
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4969
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-static-only-class.md
|
|
5326
4970
|
*/
|
|
5327
4971
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5328
4972
|
/**
|
|
5329
4973
|
* Disallow `then` property.
|
|
5330
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4974
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-thenable.md
|
|
5331
4975
|
*/
|
|
5332
4976
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5333
4977
|
/**
|
|
5334
4978
|
* Disallow assigning `this` to a variable.
|
|
5335
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4979
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-this-assignment.md
|
|
5336
4980
|
*/
|
|
5337
4981
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5338
4982
|
/**
|
|
5339
4983
|
* Disallow comparing `undefined` using `typeof`.
|
|
5340
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4984
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-typeof-undefined.md
|
|
5341
4985
|
*/
|
|
5342
4986
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5343
4987
|
/**
|
|
5344
4988
|
* Disallow awaiting non-promise values.
|
|
5345
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4989
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-await.md
|
|
5346
4990
|
*/
|
|
5347
4991
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5348
4992
|
/**
|
|
5349
4993
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5350
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4994
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5351
4995
|
*/
|
|
5352
4996
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5353
4997
|
/**
|
|
5354
4998
|
* Disallow unreadable array destructuring.
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5356
5000
|
*/
|
|
5357
5001
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5358
5002
|
/**
|
|
5359
5003
|
* Disallow unreadable IIFEs.
|
|
5360
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5004
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unreadable-iife.md
|
|
5361
5005
|
*/
|
|
5362
5006
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5363
5007
|
/**
|
|
5364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5008
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5365
5009
|
* @deprecated
|
|
5366
5010
|
*/
|
|
5367
5011
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5368
5012
|
/**
|
|
5369
5013
|
* Disallow unused object properties.
|
|
5370
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5014
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-unused-properties.md
|
|
5371
5015
|
*/
|
|
5372
5016
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5373
5017
|
/**
|
|
5374
5018
|
* Disallow useless fallback when spreading in object literals.
|
|
5375
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5019
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5376
5020
|
*/
|
|
5377
5021
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5378
5022
|
/**
|
|
5379
5023
|
* Disallow useless array length check.
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5024
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-length-check.md
|
|
5381
5025
|
*/
|
|
5382
5026
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5383
5027
|
/**
|
|
5384
5028
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5385
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5029
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5386
5030
|
*/
|
|
5387
5031
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5388
5032
|
/**
|
|
5389
5033
|
* Disallow unnecessary spread.
|
|
5390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5034
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-spread.md
|
|
5391
5035
|
*/
|
|
5392
5036
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5393
5037
|
/**
|
|
5394
5038
|
* Disallow useless case in switch statements.
|
|
5395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5039
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-switch-case.md
|
|
5396
5040
|
*/
|
|
5397
5041
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5398
5042
|
/**
|
|
5399
5043
|
* Disallow useless `undefined`.
|
|
5400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-useless-undefined.md
|
|
5401
5045
|
*/
|
|
5402
5046
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5403
5047
|
/**
|
|
5404
5048
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5049
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/no-zero-fractions.md
|
|
5406
5050
|
*/
|
|
5407
5051
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5408
5052
|
/**
|
|
5409
5053
|
* Enforce proper case for numeric literals.
|
|
5410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5054
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/number-literal-case.md
|
|
5411
5055
|
*/
|
|
5412
5056
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5413
5057
|
/**
|
|
5414
5058
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5059
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/numeric-separators-style.md
|
|
5416
5060
|
*/
|
|
5417
5061
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5418
5062
|
/**
|
|
5419
5063
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5064
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-add-event-listener.md
|
|
5421
5065
|
*/
|
|
5422
5066
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5423
5067
|
/**
|
|
5424
5068
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5069
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-find.md
|
|
5426
5070
|
*/
|
|
5427
5071
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5428
5072
|
/**
|
|
5429
5073
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5074
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat.md
|
|
5431
5075
|
*/
|
|
5432
5076
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5433
5077
|
/**
|
|
5434
5078
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5435
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5079
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-flat-map.md
|
|
5436
5080
|
*/
|
|
5437
5081
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5438
5082
|
/**
|
|
5439
5083
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5440
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5084
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-index-of.md
|
|
5441
5085
|
*/
|
|
5442
5086
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5443
5087
|
/**
|
|
5444
5088
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast}(…)`.
|
|
5445
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5089
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-array-some.md
|
|
5446
5090
|
*/
|
|
5447
5091
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5448
5092
|
/**
|
|
5449
5093
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5450
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5094
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-at.md
|
|
5451
5095
|
*/
|
|
5452
5096
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5453
5097
|
/**
|
|
5454
5098
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5455
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5099
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5456
5100
|
*/
|
|
5457
5101
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5458
5102
|
/**
|
|
5459
5103
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5460
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5104
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-code-point.md
|
|
5461
5105
|
*/
|
|
5462
5106
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5463
5107
|
/**
|
|
5464
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5108
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
5465
5109
|
* @deprecated
|
|
5466
5110
|
*/
|
|
5467
5111
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5468
5112
|
/**
|
|
5469
5113
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5470
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5114
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-date-now.md
|
|
5471
5115
|
*/
|
|
5472
5116
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5473
5117
|
/**
|
|
5474
5118
|
* Prefer default parameters over reassignment.
|
|
5475
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5119
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-default-parameters.md
|
|
5476
5120
|
*/
|
|
5477
5121
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5478
5122
|
/**
|
|
5479
5123
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5480
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5124
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-append.md
|
|
5481
5125
|
*/
|
|
5482
5126
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5483
5127
|
/**
|
|
5484
5128
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5485
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5129
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5486
5130
|
*/
|
|
5487
5131
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5488
5132
|
/**
|
|
5489
5133
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5490
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5491
5135
|
*/
|
|
5492
5136
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5493
5137
|
/**
|
|
5494
5138
|
* Prefer `.textContent` over `.innerText`.
|
|
5495
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5139
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5496
5140
|
*/
|
|
5497
5141
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5498
5142
|
/**
|
|
5499
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5143
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
5500
5144
|
* @deprecated
|
|
5501
5145
|
*/
|
|
5502
5146
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5503
5147
|
/**
|
|
5504
5148
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5505
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5149
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-event-target.md
|
|
5506
5150
|
*/
|
|
5507
5151
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5508
5152
|
/**
|
|
5509
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5153
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5510
5154
|
* @deprecated
|
|
5511
5155
|
*/
|
|
5512
5156
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5513
5157
|
/**
|
|
5514
5158
|
* Prefer `export…from` when re-exporting.
|
|
5515
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5159
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-export-from.md
|
|
5516
5160
|
*/
|
|
5517
5161
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5518
5162
|
/**
|
|
5519
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5163
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
5520
5164
|
* @deprecated
|
|
5521
5165
|
*/
|
|
5522
5166
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5523
5167
|
/**
|
|
5524
5168
|
* Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence.
|
|
5525
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5169
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-includes.md
|
|
5526
5170
|
*/
|
|
5527
5171
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5528
5172
|
/**
|
|
5529
5173
|
* Prefer reading a JSON file as a buffer.
|
|
5530
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5174
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5531
5175
|
*/
|
|
5532
5176
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5533
5177
|
/**
|
|
5534
5178
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5535
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5179
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5536
5180
|
*/
|
|
5537
5181
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5538
5182
|
/**
|
|
5539
5183
|
* Prefer using a logical operator over a ternary.
|
|
5540
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5541
5185
|
*/
|
|
5542
5186
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5543
5187
|
/**
|
|
5544
5188
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5545
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5189
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-math-trunc.md
|
|
5546
5190
|
*/
|
|
5547
5191
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5548
5192
|
/**
|
|
5549
5193
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5550
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5194
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5551
5195
|
*/
|
|
5552
5196
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5553
5197
|
/**
|
|
5554
5198
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5555
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5199
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5556
5200
|
*/
|
|
5557
5201
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5558
5202
|
/**
|
|
5559
5203
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5560
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5204
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-module.md
|
|
5561
5205
|
*/
|
|
5562
5206
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5563
5207
|
/**
|
|
5564
5208
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5565
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5209
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5566
5210
|
*/
|
|
5567
5211
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5568
5212
|
/**
|
|
5569
5213
|
* Prefer negative index over `.length - index` when possible.
|
|
5570
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5214
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-negative-index.md
|
|
5571
5215
|
*/
|
|
5572
5216
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5573
5217
|
/**
|
|
5574
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5218
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5575
5219
|
* @deprecated
|
|
5576
5220
|
*/
|
|
5577
5221
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5578
5222
|
/**
|
|
5579
5223
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5580
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5224
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-node-protocol.md
|
|
5581
5225
|
*/
|
|
5582
5226
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5583
5227
|
/**
|
|
5584
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5228
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5585
5229
|
* @deprecated
|
|
5586
5230
|
*/
|
|
5587
5231
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5588
5232
|
/**
|
|
5589
5233
|
* Prefer `Number` static properties over global ones.
|
|
5590
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5234
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-number-properties.md
|
|
5591
5235
|
*/
|
|
5592
5236
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5593
5237
|
/**
|
|
5594
5238
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5595
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5239
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-object-from-entries.md
|
|
5596
5240
|
*/
|
|
5597
5241
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5598
5242
|
/**
|
|
5599
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5243
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5600
5244
|
* @deprecated
|
|
5601
5245
|
*/
|
|
5602
5246
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5603
5247
|
/**
|
|
5604
5248
|
* Prefer omitting the `catch` binding parameter.
|
|
5605
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5249
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5606
5250
|
*/
|
|
5607
5251
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5608
5252
|
/**
|
|
5609
5253
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5610
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5254
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-prototype-methods.md
|
|
5611
5255
|
*/
|
|
5612
5256
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5613
5257
|
/**
|
|
5614
5258
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5615
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5259
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-query-selector.md
|
|
5616
5260
|
*/
|
|
5617
5261
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5618
5262
|
/**
|
|
5619
5263
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5620
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5264
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-reflect-apply.md
|
|
5621
5265
|
*/
|
|
5622
5266
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5623
5267
|
/**
|
|
5624
5268
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5625
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5269
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-regexp-test.md
|
|
5626
5270
|
*/
|
|
5627
5271
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5628
5272
|
/**
|
|
5629
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5273
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5630
5274
|
* @deprecated
|
|
5631
5275
|
*/
|
|
5632
5276
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5633
5277
|
/**
|
|
5634
5278
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5635
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-has.md
|
|
5636
5280
|
*/
|
|
5637
5281
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5638
5282
|
/**
|
|
5639
5283
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5640
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-set-size.md
|
|
5641
5285
|
*/
|
|
5642
5286
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5643
5287
|
/**
|
|
5644
5288
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5645
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-spread.md
|
|
5646
5290
|
*/
|
|
5647
5291
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5648
5292
|
/**
|
|
5649
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5293
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5650
5294
|
* @deprecated
|
|
5651
5295
|
*/
|
|
5652
5296
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5297
|
+
/**
|
|
5298
|
+
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-raw.md
|
|
5300
|
+
*/
|
|
5301
|
+
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5653
5302
|
/**
|
|
5654
5303
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5655
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-replace-all.md
|
|
5656
5305
|
*/
|
|
5657
5306
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5658
5307
|
/**
|
|
5659
5308
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5660
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-slice.md
|
|
5661
5310
|
*/
|
|
5662
5311
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5663
5312
|
/**
|
|
5664
5313
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5665
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5666
5315
|
*/
|
|
5667
5316
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5668
5317
|
/**
|
|
5669
5318
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5670
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5671
5320
|
*/
|
|
5672
5321
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5322
|
+
/**
|
|
5323
|
+
* Prefer using `structuredClone` to create a deep clone.
|
|
5324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-structured-clone.md
|
|
5325
|
+
*/
|
|
5326
|
+
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5673
5327
|
/**
|
|
5674
5328
|
* Prefer `switch` over multiple `else-if`.
|
|
5675
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-switch.md
|
|
5676
5330
|
*/
|
|
5677
5331
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5678
5332
|
/**
|
|
5679
5333
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5680
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-ternary.md
|
|
5681
5335
|
*/
|
|
5682
5336
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5683
5337
|
/**
|
|
5684
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5338
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5685
5339
|
* @deprecated
|
|
5686
5340
|
*/
|
|
5687
5341
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5688
5342
|
/**
|
|
5689
5343
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5690
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-top-level-await.md
|
|
5691
5345
|
*/
|
|
5692
5346
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5693
5347
|
/**
|
|
5694
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5348
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5695
5349
|
* @deprecated
|
|
5696
5350
|
*/
|
|
5697
5351
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5698
5352
|
/**
|
|
5699
5353
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5700
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prefer-type-error.md
|
|
5701
5355
|
*/
|
|
5702
5356
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5703
5357
|
/**
|
|
5704
5358
|
* Prevent abbreviations.
|
|
5705
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/prevent-abbreviations.md
|
|
5706
5360
|
*/
|
|
5707
5361
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5708
5362
|
/**
|
|
5709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5363
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5710
5364
|
* @deprecated
|
|
5711
5365
|
*/
|
|
5712
5366
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5713
5367
|
/**
|
|
5714
5368
|
* Enforce consistent relative URL style.
|
|
5715
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/relative-url-style.md
|
|
5716
5370
|
*/
|
|
5717
5371
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5718
5372
|
/**
|
|
5719
5373
|
* Enforce using the separator argument with `Array#join()`.
|
|
5720
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-array-join-separator.md
|
|
5721
5375
|
*/
|
|
5722
5376
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5723
5377
|
/**
|
|
5724
5378
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5725
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5726
5380
|
*/
|
|
5727
5381
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5728
5382
|
/**
|
|
5729
5383
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5730
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/require-post-message-target-origin.md
|
|
5731
5385
|
*/
|
|
5732
5386
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5733
5387
|
/**
|
|
5734
5388
|
* Enforce better string content.
|
|
5735
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/string-content.md
|
|
5736
5390
|
*/
|
|
5737
5391
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5738
5392
|
/**
|
|
5739
5393
|
* Enforce consistent brace style for `case` clauses.
|
|
5740
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5394
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/switch-case-braces.md
|
|
5741
5395
|
*/
|
|
5742
5396
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5743
5397
|
/**
|
|
5744
5398
|
* Fix whitespace-insensitive template indentation.
|
|
5745
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5399
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/template-indent.md
|
|
5746
5400
|
*/
|
|
5747
5401
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5748
5402
|
/**
|
|
5749
5403
|
* Enforce consistent case for text encoding identifiers.
|
|
5750
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5751
5405
|
*/
|
|
5752
5406
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5753
5407
|
/**
|
|
5754
|
-
* Require `new` when
|
|
5755
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5408
|
+
* Require `new` when creating an error.
|
|
5409
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v53.0.0/docs/rules/throw-new-error.md
|
|
5756
5410
|
*/
|
|
5757
5411
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5758
5412
|
/**
|
|
@@ -5780,21 +5434,11 @@ interface RuleOptions {
|
|
|
5780
5434
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5781
5435
|
*/
|
|
5782
5436
|
'unused-imports/no-unused-imports'?: Linter.RuleEntry<UnusedImportsNoUnusedImports>
|
|
5783
|
-
/**
|
|
5784
|
-
* Disallow unused variables
|
|
5785
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5786
|
-
*/
|
|
5787
|
-
'unused-imports/no-unused-imports-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedImportsTs>
|
|
5788
5437
|
/**
|
|
5789
5438
|
* Disallow unused variables
|
|
5790
5439
|
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5791
5440
|
*/
|
|
5792
5441
|
'unused-imports/no-unused-vars'?: Linter.RuleEntry<UnusedImportsNoUnusedVars>
|
|
5793
|
-
/**
|
|
5794
|
-
* Disallow unused variables
|
|
5795
|
-
* @see https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
|
|
5796
|
-
*/
|
|
5797
|
-
'unused-imports/no-unused-vars-ts'?: Linter.RuleEntry<UnusedImportsNoUnusedVarsTs>
|
|
5798
5442
|
/**
|
|
5799
5443
|
* Require calls to `isNaN()` when checking for `NaN`
|
|
5800
5444
|
* @see https://eslint.org/docs/latest/rules/use-isnan
|
|
@@ -7211,6 +6855,14 @@ type AntfuConsistentListNewline = []|[{
|
|
|
7211
6855
|
TSTypeParameterInstantiation?: boolean
|
|
7212
6856
|
ObjectPattern?: boolean
|
|
7213
6857
|
ArrayPattern?: boolean
|
|
6858
|
+
JSXOpeningElement?: boolean
|
|
6859
|
+
JSONArrayExpression?: boolean
|
|
6860
|
+
JSONObjectExpression?: boolean
|
|
6861
|
+
}]
|
|
6862
|
+
// ----- antfu/indent-unindent -----
|
|
6863
|
+
type AntfuIndentUnindent = []|[{
|
|
6864
|
+
indent?: number
|
|
6865
|
+
tags?: string[]
|
|
7214
6866
|
}]
|
|
7215
6867
|
// ----- array-bracket-newline -----
|
|
7216
6868
|
type ArrayBracketNewline = []|[(("always" | "never" | "consistent") | {
|
|
@@ -7403,6 +7055,9 @@ type _FuncNamesValue = ("always" | "as-needed" | "never")
|
|
|
7403
7055
|
// ----- func-style -----
|
|
7404
7056
|
type FuncStyle = []|[("declaration" | "expression")]|[("declaration" | "expression"), {
|
|
7405
7057
|
allowArrowFunctions?: boolean
|
|
7058
|
+
overrides?: {
|
|
7059
|
+
namedExports?: ("declaration" | "expression" | "ignore")
|
|
7060
|
+
}
|
|
7406
7061
|
}]
|
|
7407
7062
|
// ----- function-call-argument-newline -----
|
|
7408
7063
|
type FunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
@@ -9012,9 +8667,11 @@ type NoExtendNative = []|[{
|
|
|
9012
8667
|
exceptions?: string[]
|
|
9013
8668
|
}]
|
|
9014
8669
|
// ----- no-extra-boolean-cast -----
|
|
9015
|
-
type NoExtraBooleanCast = []|[{
|
|
8670
|
+
type NoExtraBooleanCast = []|[({
|
|
8671
|
+
enforceForInnerExpressions?: boolean
|
|
8672
|
+
} | {
|
|
9016
8673
|
enforceForLogicalOperands?: boolean
|
|
9017
|
-
}]
|
|
8674
|
+
})]
|
|
9018
8675
|
// ----- no-extra-parens -----
|
|
9019
8676
|
type NoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
9020
8677
|
conditionalAssign?: boolean
|
|
@@ -9088,6 +8745,10 @@ type NoMagicNumbers = []|[{
|
|
|
9088
8745
|
ignoreDefaultValues?: boolean
|
|
9089
8746
|
ignoreClassFieldInitialValues?: boolean
|
|
9090
8747
|
}]
|
|
8748
|
+
// ----- no-misleading-character-class -----
|
|
8749
|
+
type NoMisleadingCharacterClass = []|[{
|
|
8750
|
+
allowEscape?: boolean
|
|
8751
|
+
}]
|
|
9091
8752
|
// ----- no-mixed-operators -----
|
|
9092
8753
|
type NoMixedOperators = []|[{
|
|
9093
8754
|
groups?: [("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"), ...(("+" | "-" | "*" | "/" | "%" | "**" | "&" | "|" | "^" | "~" | "<<" | ">>" | ">>>" | "==" | "!=" | "===" | "!==" | ">" | ">=" | "<" | "<=" | "&&" | "||" | "in" | "instanceof" | "?:" | "??"))[]][]
|
|
@@ -9144,8 +8805,10 @@ type NoRedeclare = []|[{
|
|
|
9144
8805
|
// ----- no-restricted-exports -----
|
|
9145
8806
|
type NoRestrictedExports = []|[({
|
|
9146
8807
|
restrictedNamedExports?: string[]
|
|
8808
|
+
restrictedNamedExportsPattern?: string
|
|
9147
8809
|
} | {
|
|
9148
8810
|
restrictedNamedExports?: string[]
|
|
8811
|
+
restrictedNamedExportsPattern?: string
|
|
9149
8812
|
restrictDefaultExports?: {
|
|
9150
8813
|
direct?: boolean
|
|
9151
8814
|
named?: boolean
|
|
@@ -9353,6 +9016,9 @@ type NodeHashbang = []|[{
|
|
|
9353
9016
|
})[]])
|
|
9354
9017
|
ignoreUnpublished?: boolean
|
|
9355
9018
|
additionalExecutables?: string[]
|
|
9019
|
+
executableMap?: {
|
|
9020
|
+
[k: string]: string
|
|
9021
|
+
}
|
|
9356
9022
|
}]
|
|
9357
9023
|
// ----- node/no-deprecated-api -----
|
|
9358
9024
|
type NodeNoDeprecatedApi = []|[{
|
|
@@ -9512,7 +9178,7 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
9512
9178
|
// ----- node/no-unsupported-features/es-builtins -----
|
|
9513
9179
|
type NodeNoUnsupportedFeaturesEsBuiltins = []|[{
|
|
9514
9180
|
version?: string
|
|
9515
|
-
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape"
|
|
9181
|
+
ignores?: ("AggregateError" | "Array" | "Array.from" | "Array.isArray" | "Array.length" | "Array.of" | "Array.toLocaleString" | "ArrayBuffer" | "ArrayBuffer.isView" | "Atomics" | "Atomics.add" | "Atomics.and" | "Atomics.compareExchange" | "Atomics.exchange" | "Atomics.isLockFree" | "Atomics.load" | "Atomics.notify" | "Atomics.or" | "Atomics.store" | "Atomics.sub" | "Atomics.wait" | "Atomics.waitAsync" | "Atomics.xor" | "BigInt" | "BigInt.asIntN" | "BigInt.asUintN" | "BigInt64Array" | "BigInt64Array.BYTES_PER_ELEMENT" | "BigInt64Array.from" | "BigInt64Array.name" | "BigInt64Array.of" | "BigUint64Array" | "BigUint64Array.BYTES_PER_ELEMENT" | "BigUint64Array.from" | "BigUint64Array.name" | "BigUint64Array.of" | "Boolean" | "DataView" | "Date" | "Date.UTC" | "Date.now" | "Date.parse" | "Date.toLocaleDateString" | "Date.toLocaleString" | "Date.toLocaleTimeString" | "Error" | "Error.cause" | "EvalError" | "FinalizationRegistry" | "Float32Array" | "Float32Array.BYTES_PER_ELEMENT" | "Float32Array.from" | "Float32Array.name" | "Float32Array.of" | "Float64Array" | "Float64Array.BYTES_PER_ELEMENT" | "Float64Array.from" | "Float64Array.name" | "Float64Array.of" | "Function" | "Function.length" | "Function.name" | "Infinity" | "Int16Array" | "Int16Array.BYTES_PER_ELEMENT" | "Int16Array.from" | "Int16Array.name" | "Int16Array.of" | "Int32Array" | "Int32Array.BYTES_PER_ELEMENT" | "Int32Array.from" | "Int32Array.name" | "Int32Array.of" | "Int8Array" | "Int8Array.BYTES_PER_ELEMENT" | "Int8Array.from" | "Int8Array.name" | "Int8Array.of" | "Intl" | "Intl.Collator" | "Intl.DateTimeFormat" | "Intl.DisplayNames" | "Intl.ListFormat" | "Intl.Locale" | "Intl.NumberFormat" | "Intl.PluralRules" | "Intl.RelativeTimeFormat" | "Intl.Segmenter" | "Intl.Segments" | "Intl.getCanonicalLocales" | "Intl.supportedValuesOf" | "JSON" | "JSON.parse" | "JSON.stringify" | "Map" | "Map.groupBy" | "Math" | "Math.E" | "Math.LN10" | "Math.LN2" | "Math.LOG10E" | "Math.LOG2E" | "Math.PI" | "Math.SQRT1_2" | "Math.SQRT2" | "Math.abs" | "Math.acos" | "Math.acosh" | "Math.asin" | "Math.asinh" | "Math.atan" | "Math.atan2" | "Math.atanh" | "Math.cbrt" | "Math.ceil" | "Math.clz32" | "Math.cos" | "Math.cosh" | "Math.exp" | "Math.expm1" | "Math.floor" | "Math.fround" | "Math.hypot" | "Math.imul" | "Math.log" | "Math.log10" | "Math.log1p" | "Math.log2" | "Math.max" | "Math.min" | "Math.pow" | "Math.random" | "Math.round" | "Math.sign" | "Math.sin" | "Math.sinh" | "Math.sqrt" | "Math.tan" | "Math.tanh" | "Math.trunc" | "NaN" | "Number.EPSILON" | "Number.MAX_SAFE_INTEGER" | "Number.MAX_VALUE" | "Number.MIN_SAFE_INTEGER" | "Number.MIN_VALUE" | "Number.NEGATIVE_INFINITY" | "Number.NaN" | "Number.POSITIVE_INFINITY" | "Number.isFinite" | "Number.isInteger" | "Number.isNaN" | "Number.isSafeInteger" | "Number.parseFloat" | "Number.parseInt" | "Number.toLocaleString" | "Object.assign" | "Object.create" | "Object.defineGetter" | "Object.defineProperties" | "Object.defineProperty" | "Object.defineSetter" | "Object.entries" | "Object.freeze" | "Object.fromEntries" | "Object.getOwnPropertyDescriptor" | "Object.getOwnPropertyDescriptors" | "Object.getOwnPropertyNames" | "Object.getOwnPropertySymbols" | "Object.getPrototypeOf" | "Object.groupBy" | "Object.hasOwn" | "Object.is" | "Object.isExtensible" | "Object.isFrozen" | "Object.isSealed" | "Object.keys" | "Object.lookupGetter" | "Object.lookupSetter" | "Object.preventExtensions" | "Object.proto" | "Object.seal" | "Object.setPrototypeOf" | "Object.values" | "Promise" | "Promise.all" | "Promise.allSettled" | "Promise.any" | "Promise.race" | "Promise.reject" | "Promise.resolve" | "Proxy" | "Proxy.revocable" | "RangeError" | "ReferenceError" | "Reflect" | "Reflect.apply" | "Reflect.construct" | "Reflect.defineProperty" | "Reflect.deleteProperty" | "Reflect.get" | "Reflect.getOwnPropertyDescriptor" | "Reflect.getPrototypeOf" | "Reflect.has" | "Reflect.isExtensible" | "Reflect.ownKeys" | "Reflect.preventExtensions" | "Reflect.set" | "Reflect.setPrototypeOf" | "RegExp" | "RegExp.dotAll" | "RegExp.hasIndices" | "RegExp.input" | "RegExp.lastIndex" | "RegExp.lastMatch" | "RegExp.lastParen" | "RegExp.leftContext" | "RegExp.n" | "RegExp.rightContext" | "Set" | "SharedArrayBuffer" | "String" | "String.fromCharCode" | "String.fromCodePoint" | "String.length" | "String.localeCompare" | "String.raw" | "String.toLocaleLowerCase" | "String.toLocaleUpperCase" | "Symbol" | "Symbol.asyncIterator" | "Symbol.for" | "Symbol.hasInstance" | "Symbol.isConcatSpreadable" | "Symbol.iterator" | "Symbol.keyFor" | "Symbol.match" | "Symbol.matchAll" | "Symbol.replace" | "Symbol.search" | "Symbol.species" | "Symbol.split" | "Symbol.toPrimitive" | "Symbol.toStringTag" | "Symbol.unscopables" | "SyntaxError" | "TypeError" | "URIError" | "Uint16Array" | "Uint16Array.BYTES_PER_ELEMENT" | "Uint16Array.from" | "Uint16Array.name" | "Uint16Array.of" | "Uint32Array" | "Uint32Array.BYTES_PER_ELEMENT" | "Uint32Array.from" | "Uint32Array.name" | "Uint32Array.of" | "Uint8Array" | "Uint8Array.BYTES_PER_ELEMENT" | "Uint8Array.from" | "Uint8Array.name" | "Uint8Array.of" | "Uint8ClampedArray" | "Uint8ClampedArray.BYTES_PER_ELEMENT" | "Uint8ClampedArray.from" | "Uint8ClampedArray.name" | "Uint8ClampedArray.of" | "WeakMap" | "WeakRef" | "WeakSet" | "decodeURI" | "decodeURIComponent" | "encodeURI" | "encodeURIComponent" | "escape" | "eval" | "globalThis" | "isFinite" | "isNaN" | "parseFloat" | "parseInt" | "unescape")[]
|
|
9516
9182
|
}]
|
|
9517
9183
|
// ----- node/no-unsupported-features/es-syntax -----
|
|
9518
9184
|
type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
@@ -9522,7 +9188,8 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9522
9188
|
// ----- node/no-unsupported-features/node-builtins -----
|
|
9523
9189
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9524
9190
|
version?: string
|
|
9525
|
-
ignores?: ("queueMicrotask" | "require.resolve.paths" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "TextDecoder" | "TextEncoder" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "process" | "process.allowedNodeEnvironmentFlags" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.getRandomValues" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.randomUUID" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.constants" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.lutimes" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readdir" | "fs.promises.readFile" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rmdir" | "fs.promises.rm" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.promises.FileHandle" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.lchmod" | "fs.lchown" | "fs.lutimes" | "fs.link" | "fs.lstat" | "fs.mkdir" | "fs.mkdtemp" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.native" | "fs.rename" | "fs.rmdir" | "fs.rm" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.lutimesSync" | "fs.linkSync" | "fs.lstatSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statSync" | "fs.statfsSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.constants" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.lutimes" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readdir" | "fs/promises.readFile" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rmdir" | "fs/promises.rm" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "fs/promises.FileHandle" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9191
|
+
allowExperimental?: boolean
|
|
9192
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9526
9193
|
}]
|
|
9527
9194
|
// ----- node/prefer-global/buffer -----
|
|
9528
9195
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -9562,6 +9229,9 @@ type NodeShebang = []|[{
|
|
|
9562
9229
|
})[]])
|
|
9563
9230
|
ignoreUnpublished?: boolean
|
|
9564
9231
|
additionalExecutables?: string[]
|
|
9232
|
+
executableMap?: {
|
|
9233
|
+
[k: string]: string
|
|
9234
|
+
}
|
|
9565
9235
|
}]
|
|
9566
9236
|
// ----- nonblock-statement-body-position -----
|
|
9567
9237
|
type NonblockStatementBodyPosition = []|[("beside" | "below" | "any")]|[("beside" | "below" | "any"), {
|
|
@@ -9769,62 +9439,6 @@ type SemiSpacing = []|[{
|
|
|
9769
9439
|
}]
|
|
9770
9440
|
// ----- semi-style -----
|
|
9771
9441
|
type SemiStyle = []|[("last" | "first")]
|
|
9772
|
-
// ----- solid/event-handlers -----
|
|
9773
|
-
type SolidEventHandlers = []|[{
|
|
9774
|
-
|
|
9775
|
-
ignoreCase?: boolean
|
|
9776
|
-
|
|
9777
|
-
warnOnSpread?: boolean
|
|
9778
|
-
}]
|
|
9779
|
-
// ----- solid/jsx-no-duplicate-props -----
|
|
9780
|
-
type SolidJsxNoDuplicateProps = []|[{
|
|
9781
|
-
|
|
9782
|
-
ignoreCase?: boolean
|
|
9783
|
-
[k: string]: unknown | undefined
|
|
9784
|
-
}]
|
|
9785
|
-
// ----- solid/jsx-no-undef -----
|
|
9786
|
-
type SolidJsxNoUndef = []|[{
|
|
9787
|
-
|
|
9788
|
-
allowGlobals?: boolean
|
|
9789
|
-
|
|
9790
|
-
autoImport?: boolean
|
|
9791
|
-
|
|
9792
|
-
typescriptEnabled?: boolean
|
|
9793
|
-
}]
|
|
9794
|
-
// ----- solid/no-innerhtml -----
|
|
9795
|
-
type SolidNoInnerhtml = []|[{
|
|
9796
|
-
|
|
9797
|
-
allowStatic?: boolean
|
|
9798
|
-
}]
|
|
9799
|
-
// ----- solid/no-unknown-namespaces -----
|
|
9800
|
-
type SolidNoUnknownNamespaces = []|[{
|
|
9801
|
-
|
|
9802
|
-
allowedNamespaces?: [string, ...(string)[]]
|
|
9803
|
-
}]
|
|
9804
|
-
// ----- solid/prefer-classlist -----
|
|
9805
|
-
type SolidPreferClasslist = []|[{
|
|
9806
|
-
|
|
9807
|
-
classnames?: [string, ...(string)[]]
|
|
9808
|
-
}]
|
|
9809
|
-
// ----- solid/reactivity -----
|
|
9810
|
-
type SolidReactivity = []|[{
|
|
9811
|
-
|
|
9812
|
-
customReactiveFunctions?: string[]
|
|
9813
|
-
}]
|
|
9814
|
-
// ----- solid/self-closing-comp -----
|
|
9815
|
-
type SolidSelfClosingComp = []|[{
|
|
9816
|
-
|
|
9817
|
-
component?: ("all" | "none")
|
|
9818
|
-
|
|
9819
|
-
html?: ("all" | "void" | "none")
|
|
9820
|
-
}]
|
|
9821
|
-
// ----- solid/style-prop -----
|
|
9822
|
-
type SolidStyleProp = []|[{
|
|
9823
|
-
|
|
9824
|
-
styleProps?: [string, ...(string)[]]
|
|
9825
|
-
|
|
9826
|
-
allowString?: boolean
|
|
9827
|
-
}]
|
|
9828
9442
|
// ----- sort-imports -----
|
|
9829
9443
|
type SortImports = []|[{
|
|
9830
9444
|
ignoreCase?: boolean
|
|
@@ -10476,6 +10090,13 @@ type StyleKeywordSpacing = []|[{
|
|
|
10476
10090
|
}
|
|
10477
10091
|
}
|
|
10478
10092
|
}]
|
|
10093
|
+
// ----- style/line-comment-position -----
|
|
10094
|
+
type StyleLineCommentPosition = []|[(("above" | "beside") | {
|
|
10095
|
+
position?: ("above" | "beside")
|
|
10096
|
+
ignorePattern?: string
|
|
10097
|
+
applyDefaultPatterns?: boolean
|
|
10098
|
+
applyDefaultIgnorePatterns?: boolean
|
|
10099
|
+
})]
|
|
10479
10100
|
// ----- style/linebreak-style -----
|
|
10480
10101
|
type StyleLinebreakStyle = []|[("unix" | "windows")]
|
|
10481
10102
|
// ----- style/lines-around-comment -----
|
|
@@ -10629,6 +10250,10 @@ interface _StyleMemberDelimiterStyle_DelimiterConfig {
|
|
|
10629
10250
|
requireLast?: boolean
|
|
10630
10251
|
}
|
|
10631
10252
|
}
|
|
10253
|
+
// ----- style/multiline-comment-style -----
|
|
10254
|
+
type StyleMultilineCommentStyle = ([]|[("starred-block" | "bare-block")] | []|["separate-lines"]|["separate-lines", {
|
|
10255
|
+
checkJSDoc?: boolean
|
|
10256
|
+
}])
|
|
10632
10257
|
// ----- style/multiline-ternary -----
|
|
10633
10258
|
type StyleMultilineTernary = []|[("always" | "always-multiline" | "never")]|[("always" | "always-multiline" | "never"), {
|
|
10634
10259
|
ignoreJSX?: boolean
|
|
@@ -10867,156 +10492,6 @@ type StyleYieldStarSpacing = []|[(("before" | "after" | "both" | "neither") | {
|
|
|
10867
10492
|
before?: boolean
|
|
10868
10493
|
after?: boolean
|
|
10869
10494
|
})]
|
|
10870
|
-
// ----- svelte/@typescript-eslint/no-unnecessary-condition -----
|
|
10871
|
-
type SvelteTypescriptEslintNoUnnecessaryCondition = []|[{
|
|
10872
|
-
|
|
10873
|
-
allowConstantLoopConditions?: boolean
|
|
10874
|
-
|
|
10875
|
-
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
10876
|
-
}]
|
|
10877
|
-
// ----- svelte/block-lang -----
|
|
10878
|
-
type SvelteBlockLang = []|[{
|
|
10879
|
-
enforceScriptPresent?: boolean
|
|
10880
|
-
enforceStylePresent?: boolean
|
|
10881
|
-
script?: ((string | null) | [(string | null), ...((string | null))[]])
|
|
10882
|
-
style?: ((string | null) | [(string | null), ...((string | null))[]])
|
|
10883
|
-
}]
|
|
10884
|
-
// ----- svelte/button-has-type -----
|
|
10885
|
-
type SvelteButtonHasType = []|[{
|
|
10886
|
-
button?: boolean
|
|
10887
|
-
submit?: boolean
|
|
10888
|
-
reset?: boolean
|
|
10889
|
-
}]
|
|
10890
|
-
// ----- svelte/comment-directive -----
|
|
10891
|
-
type SvelteCommentDirective = []|[{
|
|
10892
|
-
reportUnusedDisableDirectives?: boolean
|
|
10893
|
-
}]
|
|
10894
|
-
// ----- svelte/first-attribute-linebreak -----
|
|
10895
|
-
type SvelteFirstAttributeLinebreak = []|[{
|
|
10896
|
-
multiline?: ("below" | "beside")
|
|
10897
|
-
singleline?: ("below" | "beside")
|
|
10898
|
-
}]
|
|
10899
|
-
// ----- svelte/html-closing-bracket-spacing -----
|
|
10900
|
-
type SvelteHtmlClosingBracketSpacing = []|[{
|
|
10901
|
-
startTag?: ("always" | "never" | "ignore")
|
|
10902
|
-
endTag?: ("always" | "never" | "ignore")
|
|
10903
|
-
selfClosingTag?: ("always" | "never" | "ignore")
|
|
10904
|
-
}]
|
|
10905
|
-
// ----- svelte/html-quotes -----
|
|
10906
|
-
type SvelteHtmlQuotes = []|[{
|
|
10907
|
-
prefer?: ("double" | "single")
|
|
10908
|
-
dynamic?: {
|
|
10909
|
-
quoted?: boolean
|
|
10910
|
-
avoidInvalidUnquotedInHTML?: boolean
|
|
10911
|
-
}
|
|
10912
|
-
}]
|
|
10913
|
-
// ----- svelte/html-self-closing -----
|
|
10914
|
-
type SvelteHtmlSelfClosing = []|[({
|
|
10915
|
-
void?: ("never" | "always" | "ignore")
|
|
10916
|
-
normal?: ("never" | "always" | "ignore")
|
|
10917
|
-
component?: ("never" | "always" | "ignore")
|
|
10918
|
-
svelte?: ("never" | "always" | "ignore")
|
|
10919
|
-
} | ("all" | "html" | "none"))]
|
|
10920
|
-
// ----- svelte/indent -----
|
|
10921
|
-
type SvelteIndent = []|[{
|
|
10922
|
-
indent?: (number | "tab")
|
|
10923
|
-
indentScript?: boolean
|
|
10924
|
-
switchCase?: number
|
|
10925
|
-
alignAttributesVertically?: boolean
|
|
10926
|
-
ignoredNodes?: (string & {
|
|
10927
|
-
[k: string]: unknown | undefined
|
|
10928
|
-
} & {
|
|
10929
|
-
[k: string]: unknown | undefined
|
|
10930
|
-
})[]
|
|
10931
|
-
}]
|
|
10932
|
-
// ----- svelte/max-attributes-per-line -----
|
|
10933
|
-
type SvelteMaxAttributesPerLine = []|[{
|
|
10934
|
-
multiline?: number
|
|
10935
|
-
singleline?: number
|
|
10936
|
-
}]
|
|
10937
|
-
// ----- svelte/mustache-spacing -----
|
|
10938
|
-
type SvelteMustacheSpacing = []|[{
|
|
10939
|
-
textExpressions?: ("never" | "always")
|
|
10940
|
-
attributesAndProps?: ("never" | "always")
|
|
10941
|
-
directiveExpressions?: ("never" | "always")
|
|
10942
|
-
tags?: {
|
|
10943
|
-
openingBrace?: ("never" | "always")
|
|
10944
|
-
closingBrace?: ("never" | "always" | "always-after-expression")
|
|
10945
|
-
}
|
|
10946
|
-
}]
|
|
10947
|
-
// ----- svelte/no-inline-styles -----
|
|
10948
|
-
type SvelteNoInlineStyles = []|[{
|
|
10949
|
-
allowTransitions?: boolean
|
|
10950
|
-
}]
|
|
10951
|
-
// ----- svelte/no-inner-declarations -----
|
|
10952
|
-
type SvelteNoInnerDeclarations = []|[("functions" | "both")]|[("functions" | "both"), {
|
|
10953
|
-
blockScopedFunctions?: ("allow" | "disallow")
|
|
10954
|
-
}]
|
|
10955
|
-
// ----- svelte/no-reactive-reassign -----
|
|
10956
|
-
type SvelteNoReactiveReassign = []|[{
|
|
10957
|
-
props?: boolean
|
|
10958
|
-
}]
|
|
10959
|
-
// ----- svelte/no-restricted-html-elements -----
|
|
10960
|
-
type SvelteNoRestrictedHtmlElements = [(string | {
|
|
10961
|
-
|
|
10962
|
-
elements?: [string, ...(string)[]]
|
|
10963
|
-
message?: string
|
|
10964
|
-
}), ...((string | {
|
|
10965
|
-
|
|
10966
|
-
elements?: [string, ...(string)[]]
|
|
10967
|
-
message?: string
|
|
10968
|
-
}))[]]
|
|
10969
|
-
// ----- svelte/no-target-blank -----
|
|
10970
|
-
type SvelteNoTargetBlank = []|[{
|
|
10971
|
-
allowReferrer?: boolean
|
|
10972
|
-
enforceDynamicLinks?: ("always" | "never")
|
|
10973
|
-
}]
|
|
10974
|
-
// ----- svelte/no-trailing-spaces -----
|
|
10975
|
-
type SvelteNoTrailingSpaces = []|[{
|
|
10976
|
-
skipBlankLines?: boolean
|
|
10977
|
-
ignoreComments?: boolean
|
|
10978
|
-
}]
|
|
10979
|
-
// ----- svelte/no-unknown-style-directive-property -----
|
|
10980
|
-
type SvelteNoUnknownStyleDirectiveProperty = []|[{
|
|
10981
|
-
|
|
10982
|
-
ignoreProperties?: [string, ...(string)[]]
|
|
10983
|
-
ignorePrefixed?: boolean
|
|
10984
|
-
}]
|
|
10985
|
-
// ----- svelte/no-unused-class-name -----
|
|
10986
|
-
type SvelteNoUnusedClassName = []|[{
|
|
10987
|
-
allowedClassNames?: string[]
|
|
10988
|
-
}]
|
|
10989
|
-
// ----- svelte/no-useless-mustaches -----
|
|
10990
|
-
type SvelteNoUselessMustaches = []|[{
|
|
10991
|
-
ignoreIncludesComment?: boolean
|
|
10992
|
-
ignoreStringEscape?: boolean
|
|
10993
|
-
}]
|
|
10994
|
-
// ----- svelte/prefer-class-directive -----
|
|
10995
|
-
type SveltePreferClassDirective = []|[{
|
|
10996
|
-
prefer?: ("always" | "empty")
|
|
10997
|
-
}]
|
|
10998
|
-
// ----- svelte/shorthand-attribute -----
|
|
10999
|
-
type SvelteShorthandAttribute = []|[{
|
|
11000
|
-
prefer?: ("always" | "never")
|
|
11001
|
-
}]
|
|
11002
|
-
// ----- svelte/shorthand-directive -----
|
|
11003
|
-
type SvelteShorthandDirective = []|[{
|
|
11004
|
-
prefer?: ("always" | "never")
|
|
11005
|
-
}]
|
|
11006
|
-
// ----- svelte/sort-attributes -----
|
|
11007
|
-
type SvelteSortAttributes = []|[{
|
|
11008
|
-
order?: (string | [string, ...(string)[]] | {
|
|
11009
|
-
match: (string | [string, ...(string)[]])
|
|
11010
|
-
sort: ("alphabetical" | "ignore")
|
|
11011
|
-
})[]
|
|
11012
|
-
alphabetical?: boolean
|
|
11013
|
-
}]
|
|
11014
|
-
// ----- svelte/spaced-html-comment -----
|
|
11015
|
-
type SvelteSpacedHtmlComment = []|[("always" | "never")]
|
|
11016
|
-
// ----- svelte/valid-compile -----
|
|
11017
|
-
type SvelteValidCompile = []|[{
|
|
11018
|
-
ignoreWarnings?: boolean
|
|
11019
|
-
}]
|
|
11020
10495
|
// ----- switch-colon-spacing -----
|
|
11021
10496
|
type SwitchColonSpacing = []|[{
|
|
11022
10497
|
before?: boolean
|
|
@@ -12338,6 +11813,18 @@ type TsNoFloatingPromises = []|[{
|
|
|
12338
11813
|
ignoreVoid?: boolean
|
|
12339
11814
|
|
|
12340
11815
|
ignoreIIFE?: boolean
|
|
11816
|
+
allowForKnownSafePromises?: (string | {
|
|
11817
|
+
from: "file"
|
|
11818
|
+
name: (string | [string, ...(string)[]])
|
|
11819
|
+
path?: string
|
|
11820
|
+
} | {
|
|
11821
|
+
from: "lib"
|
|
11822
|
+
name: (string | [string, ...(string)[]])
|
|
11823
|
+
} | {
|
|
11824
|
+
from: "package"
|
|
11825
|
+
name: (string | [string, ...(string)[]])
|
|
11826
|
+
package: string
|
|
11827
|
+
})[]
|
|
12341
11828
|
}]
|
|
12342
11829
|
// ----- ts/no-inferrable-types -----
|
|
12343
11830
|
type TsNoInferrableTypes = []|[{
|
|
@@ -12713,6 +12200,8 @@ type TsSortTypeConstituents = []|[{
|
|
|
12713
12200
|
|
|
12714
12201
|
checkUnions?: boolean
|
|
12715
12202
|
|
|
12203
|
+
caseSensitive?: boolean
|
|
12204
|
+
|
|
12716
12205
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12717
12206
|
}]
|
|
12718
12207
|
// ----- ts/space-before-blocks -----
|
|
@@ -12934,11 +12423,16 @@ type UnicornPreferExportFrom = []|[{
|
|
|
12934
12423
|
// ----- unicorn/prefer-number-properties -----
|
|
12935
12424
|
type UnicornPreferNumberProperties = []|[{
|
|
12936
12425
|
checkInfinity?: boolean
|
|
12426
|
+
checkNaN?: boolean
|
|
12937
12427
|
}]
|
|
12938
12428
|
// ----- unicorn/prefer-object-from-entries -----
|
|
12939
12429
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12940
12430
|
functions?: unknown[]
|
|
12941
12431
|
}]
|
|
12432
|
+
// ----- unicorn/prefer-structured-clone -----
|
|
12433
|
+
type UnicornPreferStructuredClone = []|[{
|
|
12434
|
+
functions?: unknown[]
|
|
12435
|
+
}]
|
|
12942
12436
|
// ----- unicorn/prefer-switch -----
|
|
12943
12437
|
type UnicornPreferSwitch = []|[{
|
|
12944
12438
|
minimumCases?: number
|
|
@@ -13005,17 +12499,6 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
13005
12499
|
caughtErrorsIgnorePattern?: string
|
|
13006
12500
|
destructuredArrayIgnorePattern?: string
|
|
13007
12501
|
})]
|
|
13008
|
-
// ----- unused-imports/no-unused-imports-ts -----
|
|
13009
|
-
type UnusedImportsNoUnusedImportsTs = []|[(("all" | "local") | {
|
|
13010
|
-
vars?: ("all" | "local")
|
|
13011
|
-
varsIgnorePattern?: string
|
|
13012
|
-
args?: ("all" | "after-used" | "none")
|
|
13013
|
-
ignoreRestSiblings?: boolean
|
|
13014
|
-
argsIgnorePattern?: string
|
|
13015
|
-
caughtErrors?: ("all" | "none")
|
|
13016
|
-
caughtErrorsIgnorePattern?: string
|
|
13017
|
-
destructuredArrayIgnorePattern?: string
|
|
13018
|
-
})]
|
|
13019
12502
|
// ----- unused-imports/no-unused-vars -----
|
|
13020
12503
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
13021
12504
|
vars?: ("all" | "local")
|
|
@@ -13027,17 +12510,6 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
13027
12510
|
caughtErrorsIgnorePattern?: string
|
|
13028
12511
|
destructuredArrayIgnorePattern?: string
|
|
13029
12512
|
})]
|
|
13030
|
-
// ----- unused-imports/no-unused-vars-ts -----
|
|
13031
|
-
type UnusedImportsNoUnusedVarsTs = []|[(("all" | "local") | {
|
|
13032
|
-
vars?: ("all" | "local")
|
|
13033
|
-
varsIgnorePattern?: string
|
|
13034
|
-
args?: ("all" | "after-used" | "none")
|
|
13035
|
-
ignoreRestSiblings?: boolean
|
|
13036
|
-
argsIgnorePattern?: string
|
|
13037
|
-
caughtErrors?: ("all" | "none")
|
|
13038
|
-
caughtErrorsIgnorePattern?: string
|
|
13039
|
-
destructuredArrayIgnorePattern?: string
|
|
13040
|
-
})]
|
|
13041
12513
|
// ----- use-isnan -----
|
|
13042
12514
|
type UseIsnan = []|[{
|
|
13043
12515
|
enforceForSwitchCase?: boolean
|
|
@@ -14425,7 +13897,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
14425
13897
|
onlyEquality?: boolean
|
|
14426
13898
|
}]
|
|
14427
13899
|
// Names of all the configs
|
|
14428
|
-
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/
|
|
13900
|
+
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript' | 'luxass/disables/cli' | 'luxass/jsdoc' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss/setup' | 'luxass/tailwindcss/rules' | 'luxass/sort/tsconfig' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/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'
|
|
14429
13901
|
|
|
14430
13902
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
14431
13903
|
|
|
@@ -14463,32 +13935,6 @@ interface StylisticOptions {
|
|
|
14463
13935
|
}
|
|
14464
13936
|
declare function stylistic(options?: StylisticOptions): Promise<TypedFlatConfigItem[]>;
|
|
14465
13937
|
|
|
14466
|
-
interface SvelteOptions {
|
|
14467
|
-
/**
|
|
14468
|
-
* Override rules.
|
|
14469
|
-
*/
|
|
14470
|
-
overrides?: TypedFlatConfigItem['rules'];
|
|
14471
|
-
/**
|
|
14472
|
-
* Enable TypeScript support.
|
|
14473
|
-
*
|
|
14474
|
-
* @default true
|
|
14475
|
-
*/
|
|
14476
|
-
typescript?: boolean;
|
|
14477
|
-
/**
|
|
14478
|
-
* Enable stylistic rules.
|
|
14479
|
-
*
|
|
14480
|
-
* @default true
|
|
14481
|
-
*/
|
|
14482
|
-
stylistic?: boolean | StylisticConfig;
|
|
14483
|
-
/**
|
|
14484
|
-
* Glob patterns for Svelte files.
|
|
14485
|
-
*
|
|
14486
|
-
* @default
|
|
14487
|
-
*/
|
|
14488
|
-
files?: string[];
|
|
14489
|
-
}
|
|
14490
|
-
declare function svelte(options?: SvelteOptions): Promise<TypedFlatConfigItem[]>;
|
|
14491
|
-
|
|
14492
13938
|
interface ImportsOptions {
|
|
14493
13939
|
/**
|
|
14494
13940
|
* Enable stylistic rules.
|
|
@@ -14721,7 +14167,7 @@ interface ReactOptions {
|
|
|
14721
14167
|
/**
|
|
14722
14168
|
* Glob patterns for JSX & TSX files.
|
|
14723
14169
|
*
|
|
14724
|
-
* @default [GLOB_JSX,GLOB_TSX]
|
|
14170
|
+
* @default [GLOB_JS,GLOB_JSX,GLOB_TS,GLOB_TSX]
|
|
14725
14171
|
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
14726
14172
|
*/
|
|
14727
14173
|
files?: string[];
|
|
@@ -14733,12 +14179,6 @@ interface AstroOptions {
|
|
|
14733
14179
|
* Override rules.
|
|
14734
14180
|
*/
|
|
14735
14181
|
overrides?: TypedFlatConfigItem['rules'];
|
|
14736
|
-
/**
|
|
14737
|
-
* Enable TypeScript support.
|
|
14738
|
-
*
|
|
14739
|
-
* @default true
|
|
14740
|
-
*/
|
|
14741
|
-
typescript?: boolean;
|
|
14742
14182
|
/**
|
|
14743
14183
|
* Glob patterns for Astro files.
|
|
14744
14184
|
*
|
|
@@ -14936,31 +14376,19 @@ interface TOMLOptions {
|
|
|
14936
14376
|
}
|
|
14937
14377
|
declare function toml(options?: TOMLOptions): Promise<TypedFlatConfigItem[]>;
|
|
14938
14378
|
|
|
14939
|
-
interface
|
|
14379
|
+
interface RegExpOptions {
|
|
14940
14380
|
/**
|
|
14941
14381
|
* Override rules.
|
|
14942
14382
|
*/
|
|
14943
14383
|
overrides?: TypedFlatConfigItem['rules'];
|
|
14944
14384
|
/**
|
|
14945
|
-
*
|
|
14946
|
-
*
|
|
14947
|
-
* @default true
|
|
14385
|
+
* Override rulelevels
|
|
14948
14386
|
*/
|
|
14949
|
-
|
|
14950
|
-
/**
|
|
14951
|
-
* When this options is provided, type aware rules will be enabled.
|
|
14952
|
-
* @see https://typescript-eslint.io/linting/typed-linting/
|
|
14953
|
-
*/
|
|
14954
|
-
tsconfigPath?: string | string[];
|
|
14955
|
-
/**
|
|
14956
|
-
* Glob patterns for JSX & TSX files.
|
|
14957
|
-
*
|
|
14958
|
-
* @default [GLOB_JSX,GLOB_TSX]
|
|
14959
|
-
* @see https://github.com/luxass/eslint-config/blob/main/src/globs.ts
|
|
14960
|
-
*/
|
|
14961
|
-
files?: string[];
|
|
14387
|
+
level?: 'error' | 'warn';
|
|
14962
14388
|
}
|
|
14963
|
-
declare function
|
|
14389
|
+
declare function regexp(options?: RegExpOptions): Promise<TypedFlatConfigItem[]>;
|
|
14390
|
+
|
|
14391
|
+
declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
14964
14392
|
|
|
14965
14393
|
type Awaitable<T> = T | Promise<T>;
|
|
14966
14394
|
type Rules = RuleOptions;
|
|
@@ -15115,29 +14543,18 @@ interface ConfigOptions {
|
|
|
15115
14543
|
*/
|
|
15116
14544
|
exts?: string[];
|
|
15117
14545
|
/**
|
|
15118
|
-
*
|
|
15119
|
-
*
|
|
15120
|
-
* Requires installing:
|
|
15121
|
-
* - `eslint-plugin-solid`
|
|
15122
|
-
*
|
|
15123
|
-
* @default false
|
|
15124
|
-
*/
|
|
15125
|
-
solid?: boolean | SolidOptions;
|
|
15126
|
-
/**
|
|
15127
|
-
* Enable Svelte support.
|
|
15128
|
-
*
|
|
15129
|
-
* Requires installing:
|
|
15130
|
-
* - `eslint-plugin-svelte`
|
|
14546
|
+
* Automatically rename plugins in the config.
|
|
15131
14547
|
*
|
|
15132
|
-
* @default
|
|
14548
|
+
* @default true
|
|
15133
14549
|
*/
|
|
15134
|
-
|
|
14550
|
+
autoRenamePlugins?: boolean;
|
|
15135
14551
|
/**
|
|
15136
|
-
*
|
|
14552
|
+
* Enable regexp rules.
|
|
15137
14553
|
*
|
|
14554
|
+
* @see https://ota-meshi.github.io/eslint-plugin-regexp/
|
|
15138
14555
|
* @default true
|
|
15139
14556
|
*/
|
|
15140
|
-
|
|
14557
|
+
regexp?: boolean | RegExpOptions;
|
|
15141
14558
|
}
|
|
15142
14559
|
|
|
15143
14560
|
/**
|
|
@@ -15222,4 +14639,4 @@ type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
|
15222
14639
|
declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
|
|
15223
14640
|
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): any;
|
|
15224
14641
|
|
|
15225
|
-
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ReactOptions, type
|
|
14642
|
+
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, react, regexp, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|