@luxass/eslint-config 4.8.3 → 4.10.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/dist/index.cjs +98 -93
- package/dist/index.d.cts +433 -958
- package/dist/index.d.ts +433 -958
- package/dist/index.js +96 -93
- package/package.json +32 -40
package/dist/index.d.cts
CHANGED
|
@@ -637,42 +637,42 @@ interface RuleOptions {
|
|
|
637
637
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
638
638
|
/**
|
|
639
639
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
|
|
641
641
|
*/
|
|
642
642
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
643
643
|
/**
|
|
644
644
|
* Ensure a default export is present, given a default import.
|
|
645
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
645
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
|
|
646
646
|
*/
|
|
647
647
|
'import/default'?: Linter.RuleEntry<[]>
|
|
648
648
|
/**
|
|
649
649
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
650
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
650
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
|
|
651
651
|
*/
|
|
652
652
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
653
653
|
/**
|
|
654
654
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
655
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
655
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
|
|
656
656
|
*/
|
|
657
657
|
'import/export'?: Linter.RuleEntry<[]>
|
|
658
658
|
/**
|
|
659
659
|
* Ensure all exports appear after other statements.
|
|
660
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
660
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
|
|
661
661
|
*/
|
|
662
662
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
663
663
|
/**
|
|
664
664
|
* Ensure consistent use of file extension within the import path.
|
|
665
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
665
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
|
|
666
666
|
*/
|
|
667
667
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
668
668
|
/**
|
|
669
669
|
* Ensure all imports appear before other statements.
|
|
670
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
670
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
|
|
671
671
|
*/
|
|
672
672
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
673
673
|
/**
|
|
674
674
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
675
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
675
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
|
|
676
676
|
*/
|
|
677
677
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
678
678
|
/**
|
|
@@ -683,182 +683,182 @@ interface RuleOptions {
|
|
|
683
683
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
684
684
|
/**
|
|
685
685
|
* Enforce the maximum number of dependencies a module can have.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
|
|
687
687
|
*/
|
|
688
688
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
689
689
|
/**
|
|
690
690
|
* Ensure named imports correspond to a named export in the remote file.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
|
|
692
692
|
*/
|
|
693
693
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
694
694
|
/**
|
|
695
695
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
|
|
697
697
|
*/
|
|
698
698
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
699
699
|
/**
|
|
700
700
|
* Enforce a newline after import statements.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
|
|
702
702
|
*/
|
|
703
703
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
704
704
|
/**
|
|
705
705
|
* Forbid import of modules using absolute paths.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
|
|
707
707
|
*/
|
|
708
708
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
709
709
|
/**
|
|
710
710
|
* Forbid AMD `require` and `define` calls.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
|
|
712
712
|
*/
|
|
713
713
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
714
714
|
/**
|
|
715
715
|
* Forbid anonymous values as default exports.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
|
|
717
717
|
*/
|
|
718
718
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
719
719
|
/**
|
|
720
720
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
|
|
722
722
|
*/
|
|
723
723
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
724
724
|
/**
|
|
725
725
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
|
|
727
727
|
*/
|
|
728
728
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
729
729
|
/**
|
|
730
730
|
* Forbid default exports.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
|
|
732
732
|
*/
|
|
733
733
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
734
734
|
/**
|
|
735
735
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
|
|
737
737
|
*/
|
|
738
738
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
739
739
|
/**
|
|
740
740
|
* Forbid repeated import of the same module in multiple places.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
|
|
742
742
|
*/
|
|
743
743
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
744
744
|
/**
|
|
745
745
|
* Forbid `require()` calls with expressions.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
|
|
747
747
|
*/
|
|
748
748
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
749
749
|
/**
|
|
750
750
|
* Forbid empty named import blocks.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
|
|
752
752
|
*/
|
|
753
753
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
754
754
|
/**
|
|
755
755
|
* Forbid the use of extraneous packages.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
|
|
757
757
|
*/
|
|
758
758
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
759
759
|
/**
|
|
760
760
|
* Forbid import statements with CommonJS module.exports.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
|
|
762
762
|
*/
|
|
763
763
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
764
764
|
/**
|
|
765
765
|
* Forbid importing the submodules of other modules.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
|
|
767
767
|
*/
|
|
768
768
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
769
769
|
/**
|
|
770
770
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
|
|
772
772
|
*/
|
|
773
773
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
774
774
|
/**
|
|
775
775
|
* Forbid use of exported name as identifier of default export.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
|
|
777
777
|
*/
|
|
778
778
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
779
779
|
/**
|
|
780
780
|
* Forbid use of exported name as property of default export.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
|
|
782
782
|
*/
|
|
783
783
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
784
784
|
/**
|
|
785
785
|
* Forbid named default exports.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
|
|
787
787
|
*/
|
|
788
788
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
789
789
|
/**
|
|
790
790
|
* Forbid named exports.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
|
|
792
792
|
*/
|
|
793
793
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
794
794
|
/**
|
|
795
795
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
|
|
797
797
|
*/
|
|
798
798
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
799
799
|
/**
|
|
800
800
|
* Forbid Node.js builtin modules.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
|
|
802
802
|
*/
|
|
803
803
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
804
804
|
/**
|
|
805
805
|
* Forbid importing packages through relative paths.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
|
|
807
807
|
*/
|
|
808
808
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
809
809
|
/**
|
|
810
810
|
* Forbid importing modules from parent directories.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
|
|
812
812
|
*/
|
|
813
813
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
814
814
|
/**
|
|
815
815
|
* Enforce which files can be imported in a given folder.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
|
|
817
817
|
*/
|
|
818
818
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
819
819
|
/**
|
|
820
820
|
* Forbid a module from importing itself.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
|
|
822
822
|
*/
|
|
823
823
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
824
824
|
/**
|
|
825
825
|
* Forbid unassigned imports.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
|
|
827
827
|
*/
|
|
828
828
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
829
829
|
/**
|
|
830
830
|
* Ensure imports point to a file/module that can be resolved.
|
|
831
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
831
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
|
|
832
832
|
*/
|
|
833
833
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
834
834
|
/**
|
|
835
835
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
836
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
836
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
|
|
837
837
|
*/
|
|
838
838
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
839
839
|
/**
|
|
840
840
|
* Forbid unnecessary path segments in import and require statements.
|
|
841
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
841
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
|
|
842
842
|
*/
|
|
843
843
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
844
844
|
/**
|
|
845
845
|
* Forbid webpack loader syntax in imports.
|
|
846
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
846
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
|
|
847
847
|
*/
|
|
848
848
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
849
849
|
/**
|
|
850
850
|
* Enforce a convention in module import order.
|
|
851
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
851
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
|
|
852
852
|
*/
|
|
853
853
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
854
854
|
/**
|
|
855
855
|
* Prefer a default export if module exports a single name or multiple names.
|
|
856
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
856
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
|
|
857
857
|
*/
|
|
858
858
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
859
859
|
/**
|
|
860
860
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
861
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
861
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
|
|
862
862
|
*/
|
|
863
863
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
864
864
|
/**
|
|
@@ -923,6 +923,11 @@ interface RuleOptions {
|
|
|
923
923
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-tag-names.md#repos-sticky-header
|
|
924
924
|
*/
|
|
925
925
|
'jsdoc/check-tag-names'?: Linter.RuleEntry<JsdocCheckTagNames>
|
|
926
|
+
/**
|
|
927
|
+
* Checks that any `@template` names are actually used in the connected `@typedef` or type alias.
|
|
928
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
929
|
+
*/
|
|
930
|
+
'jsdoc/check-template-names'?: Linter.RuleEntry<[]>
|
|
926
931
|
/**
|
|
927
932
|
* Reports invalid types.
|
|
928
933
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-types.md#repos-sticky-header
|
|
@@ -933,6 +938,11 @@ interface RuleOptions {
|
|
|
933
938
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/check-values.md#repos-sticky-header
|
|
934
939
|
*/
|
|
935
940
|
'jsdoc/check-values'?: Linter.RuleEntry<JsdocCheckValues>
|
|
941
|
+
/**
|
|
942
|
+
* Converts non-JSDoc comments preceding or following nodes into JSDoc ones
|
|
943
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/convert-to-jsdoc-comments.md#repos-sticky-header
|
|
944
|
+
*/
|
|
945
|
+
'jsdoc/convert-to-jsdoc-comments'?: Linter.RuleEntry<JsdocConvertToJsdocComments>
|
|
936
946
|
/**
|
|
937
947
|
* Expects specific tags to be empty of any content.
|
|
938
948
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/empty-tags.md#repos-sticky-header
|
|
@@ -1107,6 +1117,11 @@ interface RuleOptions {
|
|
|
1107
1117
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns-type.md#repos-sticky-header
|
|
1108
1118
|
*/
|
|
1109
1119
|
'jsdoc/require-returns-type'?: Linter.RuleEntry<JsdocRequireReturnsType>
|
|
1120
|
+
/**
|
|
1121
|
+
* Requires template tags for each generic type parameter
|
|
1122
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-template.md#repos-sticky-header
|
|
1123
|
+
*/
|
|
1124
|
+
'jsdoc/require-template'?: Linter.RuleEntry<JsdocRequireTemplate>
|
|
1110
1125
|
/**
|
|
1111
1126
|
* Requires that throw statements are documented.
|
|
1112
1127
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-throws.md#repos-sticky-header
|
|
@@ -2726,6 +2741,16 @@ interface RuleOptions {
|
|
|
2726
2741
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-ensure-use-memo-has-non-empty-deps
|
|
2727
2742
|
*/
|
|
2728
2743
|
'react-hooks-extra/ensure-use-memo-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2744
|
+
/**
|
|
2745
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useEffect'
|
|
2746
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2747
|
+
*/
|
|
2748
|
+
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2749
|
+
/**
|
|
2750
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
2751
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2752
|
+
*/
|
|
2753
|
+
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2729
2754
|
/**
|
|
2730
2755
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2731
2756
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -2763,17 +2788,17 @@ interface RuleOptions {
|
|
|
2763
2788
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2764
2789
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2765
2790
|
/**
|
|
2766
|
-
*
|
|
2791
|
+
* avoid using shorthand boolean attribute
|
|
2767
2792
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
2768
2793
|
*/
|
|
2769
2794
|
'react/avoid-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2770
2795
|
/**
|
|
2771
|
-
*
|
|
2796
|
+
* avoid using shorthand fragment syntax
|
|
2772
2797
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-fragment
|
|
2773
2798
|
*/
|
|
2774
2799
|
'react/avoid-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
2775
2800
|
/**
|
|
2776
|
-
* require
|
|
2801
|
+
* require a 'ref' parameter to be set when using 'forwardRef'
|
|
2777
2802
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2778
2803
|
*/
|
|
2779
2804
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
@@ -2783,47 +2808,47 @@ interface RuleOptions {
|
|
|
2783
2808
|
*/
|
|
2784
2809
|
'react/no-access-state-in-setstate'?: Linter.RuleEntry<[]>
|
|
2785
2810
|
/**
|
|
2786
|
-
* disallow using Array index as key
|
|
2811
|
+
* disallow using Array index as 'key'
|
|
2787
2812
|
* @see https://eslint-react.xyz/docs/rules/no-array-index-key
|
|
2788
2813
|
*/
|
|
2789
2814
|
'react/no-array-index-key'?: Linter.RuleEntry<[]>
|
|
2790
2815
|
/**
|
|
2791
|
-
* disallow 'Children.count'
|
|
2816
|
+
* disallow using 'Children.count'
|
|
2792
2817
|
* @see https://eslint-react.xyz/docs/rules/no-children-count
|
|
2793
2818
|
*/
|
|
2794
2819
|
'react/no-children-count'?: Linter.RuleEntry<[]>
|
|
2795
2820
|
/**
|
|
2796
|
-
* disallow 'Children.forEach'
|
|
2821
|
+
* disallow using 'Children.forEach'
|
|
2797
2822
|
* @see https://eslint-react.xyz/docs/rules/no-children-for-each
|
|
2798
2823
|
*/
|
|
2799
2824
|
'react/no-children-for-each'?: Linter.RuleEntry<[]>
|
|
2800
2825
|
/**
|
|
2801
|
-
* disallow 'Children.map'
|
|
2826
|
+
* disallow using 'Children.map'
|
|
2802
2827
|
* @see https://eslint-react.xyz/docs/rules/no-children-map
|
|
2803
2828
|
*/
|
|
2804
2829
|
'react/no-children-map'?: Linter.RuleEntry<[]>
|
|
2805
2830
|
/**
|
|
2806
|
-
* disallow 'Children.only'
|
|
2831
|
+
* disallow using 'Children.only'
|
|
2807
2832
|
* @see https://eslint-react.xyz/docs/rules/no-children-only
|
|
2808
2833
|
*/
|
|
2809
2834
|
'react/no-children-only'?: Linter.RuleEntry<[]>
|
|
2810
2835
|
/**
|
|
2811
|
-
* disallow passing
|
|
2836
|
+
* disallow passing 'children' as props
|
|
2812
2837
|
* @see https://eslint-react.xyz/docs/rules/no-children-prop
|
|
2813
2838
|
*/
|
|
2814
2839
|
'react/no-children-prop'?: Linter.RuleEntry<[]>
|
|
2815
2840
|
/**
|
|
2816
|
-
* disallow 'Children.toArray'
|
|
2841
|
+
* disallow using 'Children.toArray'
|
|
2817
2842
|
* @see https://eslint-react.xyz/docs/rules/no-children-to-array
|
|
2818
2843
|
*/
|
|
2819
2844
|
'react/no-children-to-array'?: Linter.RuleEntry<[]>
|
|
2820
2845
|
/**
|
|
2821
|
-
* disallow class
|
|
2846
|
+
* disallow using class components
|
|
2822
2847
|
* @see https://eslint-react.xyz/docs/rules/no-class-component
|
|
2823
2848
|
*/
|
|
2824
2849
|
'react/no-class-component'?: Linter.RuleEntry<[]>
|
|
2825
2850
|
/**
|
|
2826
|
-
* disallow 'cloneElement'
|
|
2851
|
+
* disallow using 'cloneElement'
|
|
2827
2852
|
* @see https://eslint-react.xyz/docs/rules/no-clone-element
|
|
2828
2853
|
*/
|
|
2829
2854
|
'react/no-clone-element'?: Linter.RuleEntry<[]>
|
|
@@ -2833,31 +2858,42 @@ interface RuleOptions {
|
|
|
2833
2858
|
*/
|
|
2834
2859
|
'react/no-comment-textnodes'?: Linter.RuleEntry<[]>
|
|
2835
2860
|
/**
|
|
2836
|
-
* disallow
|
|
2837
|
-
* @see https://eslint-react.xyz/docs/rules/no-
|
|
2861
|
+
* disallow complex conditional rendering
|
|
2862
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2863
|
+
* @deprecated
|
|
2864
|
+
*/
|
|
2865
|
+
'react/no-complex-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2866
|
+
/**
|
|
2867
|
+
* disallow complex conditional rendering
|
|
2868
|
+
* @see https://eslint-react.xyz/docs/rules/no-complex-conditional-rendering
|
|
2838
2869
|
* @deprecated
|
|
2839
2870
|
*/
|
|
2840
2871
|
'react/no-complicated-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2841
2872
|
/**
|
|
2842
|
-
* disallow
|
|
2873
|
+
* disallow using 'componentWillMount'
|
|
2843
2874
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-mount
|
|
2844
2875
|
*/
|
|
2845
2876
|
'react/no-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2846
2877
|
/**
|
|
2847
|
-
* disallow
|
|
2878
|
+
* disallow using 'componentWillReceiveProps'
|
|
2848
2879
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-receive-props
|
|
2849
2880
|
*/
|
|
2850
2881
|
'react/no-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2851
2882
|
/**
|
|
2852
|
-
* disallow
|
|
2883
|
+
* disallow using 'componentWillReceiveProps'
|
|
2853
2884
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
2854
2885
|
*/
|
|
2855
2886
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
2856
2887
|
/**
|
|
2857
|
-
* disallow 'createRef' in function components
|
|
2888
|
+
* disallow using 'createRef' in function components
|
|
2858
2889
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
2859
2890
|
*/
|
|
2860
2891
|
'react/no-create-ref'?: Linter.RuleEntry<[]>
|
|
2892
|
+
/**
|
|
2893
|
+
* disallow using 'defaultProps' property in components
|
|
2894
|
+
* @see https://eslint-react.xyz/docs/rules/no-default-props
|
|
2895
|
+
*/
|
|
2896
|
+
'react/no-default-props'?: Linter.RuleEntry<[]>
|
|
2861
2897
|
/**
|
|
2862
2898
|
* disallow direct mutation of state
|
|
2863
2899
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
@@ -2869,9 +2905,8 @@ interface RuleOptions {
|
|
|
2869
2905
|
*/
|
|
2870
2906
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
2871
2907
|
/**
|
|
2872
|
-
* disallow
|
|
2908
|
+
* disallow implicit 'key' props
|
|
2873
2909
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
2874
|
-
* @deprecated
|
|
2875
2910
|
*/
|
|
2876
2911
|
'react/no-implicit-key'?: Linter.RuleEntry<[]>
|
|
2877
2912
|
/**
|
|
@@ -2880,7 +2915,7 @@ interface RuleOptions {
|
|
|
2880
2915
|
*/
|
|
2881
2916
|
'react/no-leaked-conditional-rendering'?: Linter.RuleEntry<[]>
|
|
2882
2917
|
/**
|
|
2883
|
-
* require 'displayName' for memo and forwardRef components
|
|
2918
|
+
* require 'displayName' for 'memo' and 'forwardRef' components
|
|
2884
2919
|
* @see https://eslint-react.xyz/docs/rules/no-missing-component-display-name
|
|
2885
2920
|
*/
|
|
2886
2921
|
'react/no-missing-component-display-name'?: Linter.RuleEntry<[]>
|
|
@@ -2890,27 +2925,32 @@ interface RuleOptions {
|
|
|
2890
2925
|
*/
|
|
2891
2926
|
'react/no-missing-key'?: Linter.RuleEntry<[]>
|
|
2892
2927
|
/**
|
|
2893
|
-
* disallow
|
|
2928
|
+
* disallow using unstable nested components
|
|
2894
2929
|
* @see https://eslint-react.xyz/docs/rules/no-nested-components
|
|
2895
2930
|
*/
|
|
2896
2931
|
'react/no-nested-components'?: Linter.RuleEntry<[]>
|
|
2897
2932
|
/**
|
|
2898
|
-
* disallow
|
|
2933
|
+
* disallow using 'propTypes' property in components
|
|
2934
|
+
* @see https://eslint-react.xyz/docs/rules/no-prop-types
|
|
2935
|
+
*/
|
|
2936
|
+
'react/no-prop-types'?: Linter.RuleEntry<[]>
|
|
2937
|
+
/**
|
|
2938
|
+
* disallow using 'shouldComponentUpdate' in class component extends 'React.PureComponent'
|
|
2899
2939
|
* @see https://eslint-react.xyz/docs/rules/no-redundant-should-component-update
|
|
2900
2940
|
*/
|
|
2901
2941
|
'react/no-redundant-should-component-update'?: Linter.RuleEntry<[]>
|
|
2902
2942
|
/**
|
|
2903
|
-
* disallow 'setState' in 'componentDidMount'
|
|
2943
|
+
* disallow using 'setState' in 'componentDidMount'
|
|
2904
2944
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-mount
|
|
2905
2945
|
*/
|
|
2906
2946
|
'react/no-set-state-in-component-did-mount'?: Linter.RuleEntry<[]>
|
|
2907
2947
|
/**
|
|
2908
|
-
* disallow 'setState' in 'componentDidUpdate'
|
|
2948
|
+
* disallow using 'setState' in 'componentDidUpdate'
|
|
2909
2949
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-did-update
|
|
2910
2950
|
*/
|
|
2911
2951
|
'react/no-set-state-in-component-did-update'?: Linter.RuleEntry<[]>
|
|
2912
2952
|
/**
|
|
2913
|
-
* disallow 'setState' in 'componentWillUpdate'
|
|
2953
|
+
* disallow using 'setState' in 'componentWillUpdate'
|
|
2914
2954
|
* @see https://eslint-react.xyz/docs/rules/no-set-state-in-component-will-update
|
|
2915
2955
|
*/
|
|
2916
2956
|
'react/no-set-state-in-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2920,17 +2960,17 @@ interface RuleOptions {
|
|
|
2920
2960
|
*/
|
|
2921
2961
|
'react/no-string-refs'?: Linter.RuleEntry<[]>
|
|
2922
2962
|
/**
|
|
2923
|
-
* disallow
|
|
2963
|
+
* disallow using 'UNSAFE_componentWillMount'
|
|
2924
2964
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-mount
|
|
2925
2965
|
*/
|
|
2926
2966
|
'react/no-unsafe-component-will-mount'?: Linter.RuleEntry<[]>
|
|
2927
2967
|
/**
|
|
2928
|
-
* disallow
|
|
2968
|
+
* disallow using 'UNSAFE_componentWillReceiveProps'
|
|
2929
2969
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-receive-props
|
|
2930
2970
|
*/
|
|
2931
2971
|
'react/no-unsafe-component-will-receive-props'?: Linter.RuleEntry<[]>
|
|
2932
2972
|
/**
|
|
2933
|
-
* disallow
|
|
2973
|
+
* disallow using 'UNSAFE_componentWillUpdate'
|
|
2934
2974
|
* @see https://eslint-react.xyz/docs/rules/no-unsafe-component-will-update
|
|
2935
2975
|
*/
|
|
2936
2976
|
'react/no-unsafe-component-will-update'?: Linter.RuleEntry<[]>
|
|
@@ -2940,7 +2980,7 @@ interface RuleOptions {
|
|
|
2940
2980
|
*/
|
|
2941
2981
|
'react/no-unstable-context-value'?: Linter.RuleEntry<[]>
|
|
2942
2982
|
/**
|
|
2943
|
-
* disallow
|
|
2983
|
+
* disallow using unstable value as default param in function component
|
|
2944
2984
|
* @see https://eslint-react.xyz/docs/rules/no-unstable-default-props
|
|
2945
2985
|
*/
|
|
2946
2986
|
'react/no-unstable-default-props'?: Linter.RuleEntry<[]>
|
|
@@ -2950,7 +2990,7 @@ interface RuleOptions {
|
|
|
2950
2990
|
*/
|
|
2951
2991
|
'react/no-unused-class-component-members'?: Linter.RuleEntry<[]>
|
|
2952
2992
|
/**
|
|
2953
|
-
*
|
|
2993
|
+
* disallow unused state of class component
|
|
2954
2994
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
2955
2995
|
*/
|
|
2956
2996
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
@@ -2965,17 +3005,17 @@ interface RuleOptions {
|
|
|
2965
3005
|
*/
|
|
2966
3006
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
2967
3007
|
/**
|
|
2968
|
-
* enforce
|
|
3008
|
+
* enforce read-only props in components
|
|
2969
3009
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
2970
3010
|
*/
|
|
2971
3011
|
'react/prefer-read-only-props'?: Linter.RuleEntry<[]>
|
|
2972
3012
|
/**
|
|
2973
|
-
* enforce boolean attributes
|
|
3013
|
+
* enforce using shorthand boolean attributes
|
|
2974
3014
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-boolean
|
|
2975
3015
|
*/
|
|
2976
3016
|
'react/prefer-shorthand-boolean'?: Linter.RuleEntry<[]>
|
|
2977
3017
|
/**
|
|
2978
|
-
* enforce using fragment syntax instead of Fragment component
|
|
3018
|
+
* enforce using fragment syntax instead of 'Fragment' component
|
|
2979
3019
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
2980
3020
|
*/
|
|
2981
3021
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
@@ -4015,23 +4055,6 @@ interface RuleOptions {
|
|
|
4015
4055
|
* @see https://typescript-eslint.io/rules/ban-tslint-comment
|
|
4016
4056
|
*/
|
|
4017
4057
|
'ts/ban-tslint-comment'?: Linter.RuleEntry<[]>
|
|
4018
|
-
/**
|
|
4019
|
-
* Disallow certain types
|
|
4020
|
-
* @see https://typescript-eslint.io/rules/ban-types
|
|
4021
|
-
*/
|
|
4022
|
-
'ts/ban-types'?: Linter.RuleEntry<TsBanTypes>
|
|
4023
|
-
/**
|
|
4024
|
-
* Disallow or enforce spaces inside of blocks after opening block and before closing block
|
|
4025
|
-
* @see https://typescript-eslint.io/rules/block-spacing
|
|
4026
|
-
* @deprecated
|
|
4027
|
-
*/
|
|
4028
|
-
'ts/block-spacing'?: Linter.RuleEntry<TsBlockSpacing>
|
|
4029
|
-
/**
|
|
4030
|
-
* Enforce consistent brace style for blocks
|
|
4031
|
-
* @see https://typescript-eslint.io/rules/brace-style
|
|
4032
|
-
* @deprecated
|
|
4033
|
-
*/
|
|
4034
|
-
'ts/brace-style'?: Linter.RuleEntry<TsBraceStyle>
|
|
4035
4058
|
/**
|
|
4036
4059
|
* Enforce that literals on classes are exposed in a consistent style
|
|
4037
4060
|
* @see https://typescript-eslint.io/rules/class-literal-property-style
|
|
@@ -4042,18 +4065,6 @@ interface RuleOptions {
|
|
|
4042
4065
|
* @see https://typescript-eslint.io/rules/class-methods-use-this
|
|
4043
4066
|
*/
|
|
4044
4067
|
'ts/class-methods-use-this'?: Linter.RuleEntry<TsClassMethodsUseThis>
|
|
4045
|
-
/**
|
|
4046
|
-
* Require or disallow trailing commas
|
|
4047
|
-
* @see https://typescript-eslint.io/rules/comma-dangle
|
|
4048
|
-
* @deprecated
|
|
4049
|
-
*/
|
|
4050
|
-
'ts/comma-dangle'?: Linter.RuleEntry<TsCommaDangle>
|
|
4051
|
-
/**
|
|
4052
|
-
* Enforce consistent spacing before and after commas
|
|
4053
|
-
* @see https://typescript-eslint.io/rules/comma-spacing
|
|
4054
|
-
* @deprecated
|
|
4055
|
-
*/
|
|
4056
|
-
'ts/comma-spacing'?: Linter.RuleEntry<TsCommaSpacing>
|
|
4057
4068
|
/**
|
|
4058
4069
|
* Enforce specifying generic type arguments on type annotation or constructor name of a constructor call
|
|
4059
4070
|
* @see https://typescript-eslint.io/rules/consistent-generic-constructors
|
|
@@ -4114,58 +4125,16 @@ interface RuleOptions {
|
|
|
4114
4125
|
* @see https://typescript-eslint.io/rules/explicit-module-boundary-types
|
|
4115
4126
|
*/
|
|
4116
4127
|
'ts/explicit-module-boundary-types'?: Linter.RuleEntry<TsExplicitModuleBoundaryTypes>
|
|
4117
|
-
/**
|
|
4118
|
-
* Require or disallow spacing between function identifiers and their invocations
|
|
4119
|
-
* @see https://typescript-eslint.io/rules/func-call-spacing
|
|
4120
|
-
* @deprecated
|
|
4121
|
-
*/
|
|
4122
|
-
'ts/func-call-spacing'?: Linter.RuleEntry<TsFuncCallSpacing>
|
|
4123
|
-
/**
|
|
4124
|
-
* Enforce consistent indentation
|
|
4125
|
-
* @see https://typescript-eslint.io/rules/indent
|
|
4126
|
-
* @deprecated
|
|
4127
|
-
*/
|
|
4128
|
-
'ts/indent'?: Linter.RuleEntry<TsIndent>
|
|
4129
4128
|
/**
|
|
4130
4129
|
* Require or disallow initialization in variable declarations
|
|
4131
4130
|
* @see https://typescript-eslint.io/rules/init-declarations
|
|
4132
4131
|
*/
|
|
4133
4132
|
'ts/init-declarations'?: Linter.RuleEntry<TsInitDeclarations>
|
|
4134
|
-
/**
|
|
4135
|
-
* Enforce consistent spacing between property names and type annotations in types and interfaces
|
|
4136
|
-
* @see https://typescript-eslint.io/rules/key-spacing
|
|
4137
|
-
* @deprecated
|
|
4138
|
-
*/
|
|
4139
|
-
'ts/key-spacing'?: Linter.RuleEntry<TsKeySpacing>
|
|
4140
|
-
/**
|
|
4141
|
-
* Enforce consistent spacing before and after keywords
|
|
4142
|
-
* @see https://typescript-eslint.io/rules/keyword-spacing
|
|
4143
|
-
* @deprecated
|
|
4144
|
-
*/
|
|
4145
|
-
'ts/keyword-spacing'?: Linter.RuleEntry<TsKeywordSpacing>
|
|
4146
|
-
/**
|
|
4147
|
-
* Require empty lines around comments
|
|
4148
|
-
* @see https://typescript-eslint.io/rules/lines-around-comment
|
|
4149
|
-
* @deprecated
|
|
4150
|
-
*/
|
|
4151
|
-
'ts/lines-around-comment'?: Linter.RuleEntry<TsLinesAroundComment>
|
|
4152
|
-
/**
|
|
4153
|
-
* Require or disallow an empty line between class members
|
|
4154
|
-
* @see https://typescript-eslint.io/rules/lines-between-class-members
|
|
4155
|
-
* @deprecated
|
|
4156
|
-
*/
|
|
4157
|
-
'ts/lines-between-class-members'?: Linter.RuleEntry<TsLinesBetweenClassMembers>
|
|
4158
4133
|
/**
|
|
4159
4134
|
* Enforce a maximum number of parameters in function definitions
|
|
4160
4135
|
* @see https://typescript-eslint.io/rules/max-params
|
|
4161
4136
|
*/
|
|
4162
4137
|
'ts/max-params'?: Linter.RuleEntry<TsMaxParams>
|
|
4163
|
-
/**
|
|
4164
|
-
* Require a specific member delimiter style for interfaces and type literals
|
|
4165
|
-
* @see https://typescript-eslint.io/rules/member-delimiter-style
|
|
4166
|
-
* @deprecated
|
|
4167
|
-
*/
|
|
4168
|
-
'ts/member-delimiter-style'?: Linter.RuleEntry<TsMemberDelimiterStyle>
|
|
4169
4138
|
/**
|
|
4170
4139
|
* Require a consistent member declaration order
|
|
4171
4140
|
* @see https://typescript-eslint.io/rules/member-ordering
|
|
@@ -4234,6 +4203,7 @@ interface RuleOptions {
|
|
|
4234
4203
|
/**
|
|
4235
4204
|
* Disallow the declaration of empty interfaces
|
|
4236
4205
|
* @see https://typescript-eslint.io/rules/no-empty-interface
|
|
4206
|
+
* @deprecated
|
|
4237
4207
|
*/
|
|
4238
4208
|
'ts/no-empty-interface'?: Linter.RuleEntry<TsNoEmptyInterface>
|
|
4239
4209
|
/**
|
|
@@ -4251,18 +4221,6 @@ interface RuleOptions {
|
|
|
4251
4221
|
* @see https://typescript-eslint.io/rules/no-extra-non-null-assertion
|
|
4252
4222
|
*/
|
|
4253
4223
|
'ts/no-extra-non-null-assertion'?: Linter.RuleEntry<[]>
|
|
4254
|
-
/**
|
|
4255
|
-
* Disallow unnecessary parentheses
|
|
4256
|
-
* @see https://typescript-eslint.io/rules/no-extra-parens
|
|
4257
|
-
* @deprecated
|
|
4258
|
-
*/
|
|
4259
|
-
'ts/no-extra-parens'?: Linter.RuleEntry<TsNoExtraParens>
|
|
4260
|
-
/**
|
|
4261
|
-
* Disallow unnecessary semicolons
|
|
4262
|
-
* @see https://typescript-eslint.io/rules/no-extra-semi
|
|
4263
|
-
* @deprecated
|
|
4264
|
-
*/
|
|
4265
|
-
'ts/no-extra-semi'?: Linter.RuleEntry<[]>
|
|
4266
4224
|
/**
|
|
4267
4225
|
* Disallow classes used as namespaces
|
|
4268
4226
|
* @see https://typescript-eslint.io/rules/no-extraneous-class
|
|
@@ -4311,6 +4269,7 @@ interface RuleOptions {
|
|
|
4311
4269
|
/**
|
|
4312
4270
|
* Disallow literal numbers that lose precision
|
|
4313
4271
|
* @see https://typescript-eslint.io/rules/no-loss-of-precision
|
|
4272
|
+
* @deprecated
|
|
4314
4273
|
*/
|
|
4315
4274
|
'ts/no-loss-of-precision'?: Linter.RuleEntry<[]>
|
|
4316
4275
|
/**
|
|
@@ -4378,6 +4337,11 @@ interface RuleOptions {
|
|
|
4378
4337
|
* @see https://typescript-eslint.io/rules/no-restricted-imports
|
|
4379
4338
|
*/
|
|
4380
4339
|
'ts/no-restricted-imports'?: Linter.RuleEntry<TsNoRestrictedImports>
|
|
4340
|
+
/**
|
|
4341
|
+
* Disallow certain types
|
|
4342
|
+
* @see https://typescript-eslint.io/rules/no-restricted-types
|
|
4343
|
+
*/
|
|
4344
|
+
'ts/no-restricted-types'?: Linter.RuleEntry<TsNoRestrictedTypes>
|
|
4381
4345
|
/**
|
|
4382
4346
|
* Disallow variable declarations from shadowing variables declared in the outer scope
|
|
4383
4347
|
* @see https://typescript-eslint.io/rules/no-shadow
|
|
@@ -4388,12 +4352,6 @@ interface RuleOptions {
|
|
|
4388
4352
|
* @see https://typescript-eslint.io/rules/no-this-alias
|
|
4389
4353
|
*/
|
|
4390
4354
|
'ts/no-this-alias'?: Linter.RuleEntry<TsNoThisAlias>
|
|
4391
|
-
/**
|
|
4392
|
-
* Disallow throwing literals as exceptions
|
|
4393
|
-
* @see https://typescript-eslint.io/rules/no-throw-literal
|
|
4394
|
-
* @deprecated
|
|
4395
|
-
*/
|
|
4396
|
-
'ts/no-throw-literal'?: Linter.RuleEntry<TsNoThrowLiteral>
|
|
4397
4355
|
/**
|
|
4398
4356
|
* Disallow type aliases
|
|
4399
4357
|
* @see https://typescript-eslint.io/rules/no-type-alias
|
|
@@ -4410,6 +4368,11 @@ interface RuleOptions {
|
|
|
4410
4368
|
* @see https://typescript-eslint.io/rules/no-unnecessary-condition
|
|
4411
4369
|
*/
|
|
4412
4370
|
'ts/no-unnecessary-condition'?: Linter.RuleEntry<TsNoUnnecessaryCondition>
|
|
4371
|
+
/**
|
|
4372
|
+
* Disallow unnecessary assignment of constructor property parameter
|
|
4373
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-parameter-property-assignment
|
|
4374
|
+
*/
|
|
4375
|
+
'ts/no-unnecessary-parameter-property-assignment'?: Linter.RuleEntry<[]>
|
|
4413
4376
|
/**
|
|
4414
4377
|
* Disallow unnecessary namespace qualifiers
|
|
4415
4378
|
* @see https://typescript-eslint.io/rules/no-unnecessary-qualifier
|
|
@@ -4435,6 +4398,11 @@ interface RuleOptions {
|
|
|
4435
4398
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
4436
4399
|
*/
|
|
4437
4400
|
'ts/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
4401
|
+
/**
|
|
4402
|
+
* Disallow type parameters that only appear once
|
|
4403
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
4404
|
+
*/
|
|
4405
|
+
'ts/no-unnecessary-type-parameters'?: Linter.RuleEntry<[]>
|
|
4438
4406
|
/**
|
|
4439
4407
|
* Disallow calling a function with a value with type `any`
|
|
4440
4408
|
* @see https://typescript-eslint.io/rules/no-unsafe-argument
|
|
@@ -4460,6 +4428,11 @@ interface RuleOptions {
|
|
|
4460
4428
|
* @see https://typescript-eslint.io/rules/no-unsafe-enum-comparison
|
|
4461
4429
|
*/
|
|
4462
4430
|
'ts/no-unsafe-enum-comparison'?: Linter.RuleEntry<[]>
|
|
4431
|
+
/**
|
|
4432
|
+
* Disallow using the unsafe built-in Function type
|
|
4433
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-function-type
|
|
4434
|
+
*/
|
|
4435
|
+
'ts/no-unsafe-function-type'?: Linter.RuleEntry<[]>
|
|
4463
4436
|
/**
|
|
4464
4437
|
* Disallow member access on a value with type `any`
|
|
4465
4438
|
* @see https://typescript-eslint.io/rules/no-unsafe-member-access
|
|
@@ -4500,39 +4473,27 @@ interface RuleOptions {
|
|
|
4500
4473
|
* @see https://typescript-eslint.io/rules/no-useless-empty-export
|
|
4501
4474
|
*/
|
|
4502
4475
|
'ts/no-useless-empty-export'?: Linter.RuleEntry<[]>
|
|
4503
|
-
/**
|
|
4504
|
-
* Disallow unnecessary template expressions
|
|
4505
|
-
* @see https://typescript-eslint.io/rules/no-useless-template-literals
|
|
4506
|
-
* @deprecated
|
|
4507
|
-
*/
|
|
4508
|
-
'ts/no-useless-template-literals'?: Linter.RuleEntry<[]>
|
|
4509
4476
|
/**
|
|
4510
4477
|
* Disallow `require` statements except in import statements
|
|
4511
4478
|
* @see https://typescript-eslint.io/rules/no-var-requires
|
|
4479
|
+
* @deprecated
|
|
4512
4480
|
*/
|
|
4513
4481
|
'ts/no-var-requires'?: Linter.RuleEntry<TsNoVarRequires>
|
|
4482
|
+
/**
|
|
4483
|
+
* Disallow using confusing built-in primitive class wrappers
|
|
4484
|
+
* @see https://typescript-eslint.io/rules/no-wrapper-object-types
|
|
4485
|
+
*/
|
|
4486
|
+
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
4514
4487
|
/**
|
|
4515
4488
|
* Enforce non-null assertions over explicit type casts
|
|
4516
4489
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
4517
4490
|
*/
|
|
4518
4491
|
'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
4519
|
-
/**
|
|
4520
|
-
* Enforce consistent spacing inside braces
|
|
4521
|
-
* @see https://typescript-eslint.io/rules/object-curly-spacing
|
|
4522
|
-
* @deprecated
|
|
4523
|
-
*/
|
|
4524
|
-
'ts/object-curly-spacing'?: Linter.RuleEntry<TsObjectCurlySpacing>
|
|
4525
4492
|
/**
|
|
4526
4493
|
* Disallow throwing non-`Error` values as exceptions
|
|
4527
4494
|
* @see https://typescript-eslint.io/rules/only-throw-error
|
|
4528
4495
|
*/
|
|
4529
4496
|
'ts/only-throw-error'?: Linter.RuleEntry<TsOnlyThrowError>
|
|
4530
|
-
/**
|
|
4531
|
-
* Require or disallow padding lines between statements
|
|
4532
|
-
* @see https://typescript-eslint.io/rules/padding-line-between-statements
|
|
4533
|
-
* @deprecated
|
|
4534
|
-
*/
|
|
4535
|
-
'ts/padding-line-between-statements'?: Linter.RuleEntry<TsPaddingLineBetweenStatements>
|
|
4536
4497
|
/**
|
|
4537
4498
|
* Require or disallow parameter properties in class constructors
|
|
4538
4499
|
* @see https://typescript-eslint.io/rules/parameter-properties
|
|
@@ -4639,12 +4600,6 @@ interface RuleOptions {
|
|
|
4639
4600
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
4640
4601
|
*/
|
|
4641
4602
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
4642
|
-
/**
|
|
4643
|
-
* Enforce the consistent use of either backticks, double, or single quotes
|
|
4644
|
-
* @see https://typescript-eslint.io/rules/quotes
|
|
4645
|
-
* @deprecated
|
|
4646
|
-
*/
|
|
4647
|
-
'ts/quotes'?: Linter.RuleEntry<TsQuotes>
|
|
4648
4603
|
/**
|
|
4649
4604
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
4650
4605
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -4670,36 +4625,12 @@ interface RuleOptions {
|
|
|
4670
4625
|
* @see https://typescript-eslint.io/rules/return-await
|
|
4671
4626
|
*/
|
|
4672
4627
|
'ts/return-await'?: Linter.RuleEntry<TsReturnAwait>
|
|
4673
|
-
/**
|
|
4674
|
-
* Require or disallow semicolons instead of ASI
|
|
4675
|
-
* @see https://typescript-eslint.io/rules/semi
|
|
4676
|
-
* @deprecated
|
|
4677
|
-
*/
|
|
4678
|
-
'ts/semi'?: Linter.RuleEntry<TsSemi>
|
|
4679
4628
|
/**
|
|
4680
4629
|
* Enforce constituents of a type union/intersection to be sorted alphabetically
|
|
4681
4630
|
* @see https://typescript-eslint.io/rules/sort-type-constituents
|
|
4682
4631
|
* @deprecated
|
|
4683
4632
|
*/
|
|
4684
4633
|
'ts/sort-type-constituents'?: Linter.RuleEntry<TsSortTypeConstituents>
|
|
4685
|
-
/**
|
|
4686
|
-
* Enforce consistent spacing before blocks
|
|
4687
|
-
* @see https://typescript-eslint.io/rules/space-before-blocks
|
|
4688
|
-
* @deprecated
|
|
4689
|
-
*/
|
|
4690
|
-
'ts/space-before-blocks'?: Linter.RuleEntry<TsSpaceBeforeBlocks>
|
|
4691
|
-
/**
|
|
4692
|
-
* Enforce consistent spacing before function parenthesis
|
|
4693
|
-
* @see https://typescript-eslint.io/rules/space-before-function-paren
|
|
4694
|
-
* @deprecated
|
|
4695
|
-
*/
|
|
4696
|
-
'ts/space-before-function-paren'?: Linter.RuleEntry<TsSpaceBeforeFunctionParen>
|
|
4697
|
-
/**
|
|
4698
|
-
* Require spacing around infix operators
|
|
4699
|
-
* @see https://typescript-eslint.io/rules/space-infix-ops
|
|
4700
|
-
* @deprecated
|
|
4701
|
-
*/
|
|
4702
|
-
'ts/space-infix-ops'?: Linter.RuleEntry<TsSpaceInfixOps>
|
|
4703
4634
|
/**
|
|
4704
4635
|
* Disallow certain types in boolean expressions
|
|
4705
4636
|
* @see https://typescript-eslint.io/rules/strict-boolean-expressions
|
|
@@ -4715,12 +4646,6 @@ interface RuleOptions {
|
|
|
4715
4646
|
* @see https://typescript-eslint.io/rules/triple-slash-reference
|
|
4716
4647
|
*/
|
|
4717
4648
|
'ts/triple-slash-reference'?: Linter.RuleEntry<TsTripleSlashReference>
|
|
4718
|
-
/**
|
|
4719
|
-
* Require consistent spacing around type annotations
|
|
4720
|
-
* @see https://typescript-eslint.io/rules/type-annotation-spacing
|
|
4721
|
-
* @deprecated
|
|
4722
|
-
*/
|
|
4723
|
-
'ts/type-annotation-spacing'?: Linter.RuleEntry<TsTypeAnnotationSpacing>
|
|
4724
4649
|
/**
|
|
4725
4650
|
* Require type annotations in certain places
|
|
4726
4651
|
* @see https://typescript-eslint.io/rules/typedef
|
|
@@ -4748,682 +4673,687 @@ interface RuleOptions {
|
|
|
4748
4673
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4749
4674
|
/**
|
|
4750
4675
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4751
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4676
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/better-regex.md
|
|
4752
4677
|
*/
|
|
4753
4678
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4754
4679
|
/**
|
|
4755
4680
|
* Enforce a specific parameter name in catch clauses.
|
|
4756
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4681
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/catch-error-name.md
|
|
4757
4682
|
*/
|
|
4758
4683
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4759
4684
|
/**
|
|
4760
4685
|
* Use destructured variables over properties.
|
|
4761
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4686
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-destructuring.md
|
|
4762
4687
|
*/
|
|
4763
4688
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4764
4689
|
/**
|
|
4765
4690
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4766
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4691
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-empty-array-spread.md
|
|
4767
4692
|
*/
|
|
4768
4693
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4769
4694
|
/**
|
|
4770
4695
|
* Move function definitions to the highest possible scope.
|
|
4771
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4696
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/consistent-function-scoping.md
|
|
4772
4697
|
*/
|
|
4773
4698
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4774
4699
|
/**
|
|
4775
4700
|
* Enforce correct `Error` subclassing.
|
|
4776
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4701
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/custom-error-definition.md
|
|
4777
4702
|
*/
|
|
4778
4703
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4779
4704
|
/**
|
|
4780
4705
|
* Enforce no spaces between braces.
|
|
4781
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4706
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/empty-brace-spaces.md
|
|
4782
4707
|
*/
|
|
4783
4708
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4784
4709
|
/**
|
|
4785
4710
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4786
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4711
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/error-message.md
|
|
4787
4712
|
*/
|
|
4788
4713
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4789
4714
|
/**
|
|
4790
4715
|
* Require escape sequences to use uppercase values.
|
|
4791
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4716
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/escape-case.md
|
|
4792
4717
|
*/
|
|
4793
4718
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
4794
4719
|
/**
|
|
4795
4720
|
* Add expiration conditions to TODO comments.
|
|
4796
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4721
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/expiring-todo-comments.md
|
|
4797
4722
|
*/
|
|
4798
4723
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4799
4724
|
/**
|
|
4800
4725
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4801
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4726
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/explicit-length-check.md
|
|
4802
4727
|
*/
|
|
4803
4728
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4804
4729
|
/**
|
|
4805
4730
|
* Enforce a case style for filenames.
|
|
4806
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4731
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/filename-case.md
|
|
4807
4732
|
*/
|
|
4808
4733
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4809
4734
|
/**
|
|
4810
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4735
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#import-index
|
|
4811
4736
|
* @deprecated
|
|
4812
4737
|
*/
|
|
4813
4738
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
4814
4739
|
/**
|
|
4815
4740
|
* Enforce specific import styles per module.
|
|
4816
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4741
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/import-style.md
|
|
4817
4742
|
*/
|
|
4818
4743
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4819
4744
|
/**
|
|
4820
4745
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4821
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4746
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/new-for-builtins.md
|
|
4822
4747
|
*/
|
|
4823
4748
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4824
4749
|
/**
|
|
4825
4750
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4826
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4751
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-abusive-eslint-disable.md
|
|
4827
4752
|
*/
|
|
4828
4753
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4829
4754
|
/**
|
|
4830
4755
|
* Disallow anonymous functions and classes as the default export.
|
|
4831
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4756
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-anonymous-default-export.md
|
|
4832
4757
|
*/
|
|
4833
4758
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4834
4759
|
/**
|
|
4835
4760
|
* Prevent passing a function reference directly to iterator methods.
|
|
4836
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4761
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-callback-reference.md
|
|
4837
4762
|
*/
|
|
4838
4763
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4839
4764
|
/**
|
|
4840
4765
|
* Prefer `for…of` over the `forEach` method.
|
|
4841
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4766
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-for-each.md
|
|
4842
4767
|
*/
|
|
4843
4768
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4844
4769
|
/**
|
|
4845
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4770
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-array-instanceof
|
|
4846
4771
|
* @deprecated
|
|
4847
4772
|
*/
|
|
4848
4773
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
4849
4774
|
/**
|
|
4850
4775
|
* Disallow using the `this` argument in array methods.
|
|
4851
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4776
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-method-this-argument.md
|
|
4852
4777
|
*/
|
|
4853
4778
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4854
4779
|
/**
|
|
4855
4780
|
* Enforce combining multiple `Array#push()` into one call.
|
|
4856
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4781
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-push-push.md
|
|
4857
4782
|
*/
|
|
4858
4783
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
4859
4784
|
/**
|
|
4860
4785
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4861
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4786
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-array-reduce.md
|
|
4862
4787
|
*/
|
|
4863
4788
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4864
4789
|
/**
|
|
4865
4790
|
* Disallow member access from await expression.
|
|
4866
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4791
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-expression-member.md
|
|
4867
4792
|
*/
|
|
4868
4793
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4869
4794
|
/**
|
|
4870
4795
|
* Disallow using `await` in `Promise` method parameters.
|
|
4871
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-await-in-promise-methods.md
|
|
4872
4797
|
*/
|
|
4873
4798
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4874
4799
|
/**
|
|
4875
4800
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4876
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-console-spaces.md
|
|
4877
4802
|
*/
|
|
4878
4803
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4879
4804
|
/**
|
|
4880
4805
|
* Do not use `document.cookie` directly.
|
|
4881
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-document-cookie.md
|
|
4882
4807
|
*/
|
|
4883
4808
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4884
4809
|
/**
|
|
4885
4810
|
* Disallow empty files.
|
|
4886
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-empty-file.md
|
|
4887
4812
|
*/
|
|
4888
4813
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4889
4814
|
/**
|
|
4890
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4815
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
4891
4816
|
* @deprecated
|
|
4892
4817
|
*/
|
|
4893
4818
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
4894
4819
|
/**
|
|
4895
4820
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4896
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-for-loop.md
|
|
4897
4822
|
*/
|
|
4898
4823
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4899
4824
|
/**
|
|
4900
4825
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4901
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-hex-escape.md
|
|
4902
4827
|
*/
|
|
4903
4828
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4904
4829
|
/**
|
|
4905
4830
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
4906
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-instanceof-array.md
|
|
4907
4832
|
*/
|
|
4908
4833
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4909
4834
|
/**
|
|
4910
4835
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4911
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-fetch-options.md
|
|
4912
4837
|
*/
|
|
4913
4838
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4914
4839
|
/**
|
|
4915
4840
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4916
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-invalid-remove-event-listener.md
|
|
4917
4842
|
*/
|
|
4918
4843
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4919
4844
|
/**
|
|
4920
4845
|
* Disallow identifiers starting with `new` or `class`.
|
|
4921
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-keyword-prefix.md
|
|
4922
4847
|
*/
|
|
4923
4848
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4849
|
+
/**
|
|
4850
|
+
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-length-as-slice-end.md
|
|
4852
|
+
*/
|
|
4853
|
+
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4924
4854
|
/**
|
|
4925
4855
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4926
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-lonely-if.md
|
|
4927
4857
|
*/
|
|
4928
4858
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4929
4859
|
/**
|
|
4930
4860
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4931
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4861
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-magic-array-flat-depth.md
|
|
4932
4862
|
*/
|
|
4933
4863
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4934
4864
|
/**
|
|
4935
4865
|
* Disallow negated conditions.
|
|
4936
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negated-condition.md
|
|
4937
4867
|
*/
|
|
4938
4868
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4939
4869
|
/**
|
|
4940
4870
|
* Disallow negated expression in equality check.
|
|
4941
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-negation-in-equality-check.md
|
|
4942
4872
|
*/
|
|
4943
4873
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4944
4874
|
/**
|
|
4945
4875
|
* Disallow nested ternary expressions.
|
|
4946
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-nested-ternary.md
|
|
4947
4877
|
*/
|
|
4948
4878
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4949
4879
|
/**
|
|
4950
4880
|
* Disallow `new Array()`.
|
|
4951
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-array.md
|
|
4952
4882
|
*/
|
|
4953
4883
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4954
4884
|
/**
|
|
4955
4885
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4956
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-new-buffer.md
|
|
4957
4887
|
*/
|
|
4958
4888
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4959
4889
|
/**
|
|
4960
4890
|
* Disallow the use of the `null` literal.
|
|
4961
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-null.md
|
|
4962
4892
|
*/
|
|
4963
4893
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4964
4894
|
/**
|
|
4965
4895
|
* Disallow the use of objects as default parameters.
|
|
4966
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4896
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-object-as-default-parameter.md
|
|
4967
4897
|
*/
|
|
4968
4898
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4969
4899
|
/**
|
|
4970
4900
|
* Disallow `process.exit()`.
|
|
4971
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-process-exit.md
|
|
4972
4902
|
*/
|
|
4973
4903
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4974
4904
|
/**
|
|
4975
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-reduce
|
|
4976
4906
|
* @deprecated
|
|
4977
4907
|
*/
|
|
4978
4908
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
4979
4909
|
/**
|
|
4980
4910
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4981
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-single-promise-in-promise-methods.md
|
|
4982
4912
|
*/
|
|
4983
4913
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4984
4914
|
/**
|
|
4985
4915
|
* Disallow classes that only have static members.
|
|
4986
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-static-only-class.md
|
|
4987
4917
|
*/
|
|
4988
4918
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4989
4919
|
/**
|
|
4990
4920
|
* Disallow `then` property.
|
|
4991
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-thenable.md
|
|
4992
4922
|
*/
|
|
4993
4923
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4994
4924
|
/**
|
|
4995
4925
|
* Disallow assigning `this` to a variable.
|
|
4996
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-this-assignment.md
|
|
4997
4927
|
*/
|
|
4998
4928
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4999
4929
|
/**
|
|
5000
4930
|
* Disallow comparing `undefined` using `typeof`.
|
|
5001
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-typeof-undefined.md
|
|
5002
4932
|
*/
|
|
5003
4933
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5004
4934
|
/**
|
|
5005
4935
|
* Disallow awaiting non-promise values.
|
|
5006
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-await.md
|
|
5007
4937
|
*/
|
|
5008
4938
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5009
4939
|
/**
|
|
5010
4940
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5011
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4941
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unnecessary-polyfills.md
|
|
5012
4942
|
*/
|
|
5013
4943
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5014
4944
|
/**
|
|
5015
4945
|
* Disallow unreadable array destructuring.
|
|
5016
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-array-destructuring.md
|
|
5017
4947
|
*/
|
|
5018
4948
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5019
4949
|
/**
|
|
5020
4950
|
* Disallow unreadable IIFEs.
|
|
5021
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unreadable-iife.md
|
|
5022
4952
|
*/
|
|
5023
4953
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5024
4954
|
/**
|
|
5025
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#no-unsafe-regex
|
|
5026
4956
|
* @deprecated
|
|
5027
4957
|
*/
|
|
5028
4958
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5029
4959
|
/**
|
|
5030
4960
|
* Disallow unused object properties.
|
|
5031
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-unused-properties.md
|
|
5032
4962
|
*/
|
|
5033
4963
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5034
4964
|
/**
|
|
5035
4965
|
* Disallow useless fallback when spreading in object literals.
|
|
5036
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-fallback-in-spread.md
|
|
5037
4967
|
*/
|
|
5038
4968
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5039
4969
|
/**
|
|
5040
4970
|
* Disallow useless array length check.
|
|
5041
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-length-check.md
|
|
5042
4972
|
*/
|
|
5043
4973
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
5044
4974
|
/**
|
|
5045
4975
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
5046
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-promise-resolve-reject.md
|
|
5047
4977
|
*/
|
|
5048
4978
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
5049
4979
|
/**
|
|
5050
4980
|
* Disallow unnecessary spread.
|
|
5051
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-spread.md
|
|
5052
4982
|
*/
|
|
5053
4983
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
5054
4984
|
/**
|
|
5055
4985
|
* Disallow useless case in switch statements.
|
|
5056
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-switch-case.md
|
|
5057
4987
|
*/
|
|
5058
4988
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
5059
4989
|
/**
|
|
5060
4990
|
* Disallow useless `undefined`.
|
|
5061
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-useless-undefined.md
|
|
5062
4992
|
*/
|
|
5063
4993
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
5064
4994
|
/**
|
|
5065
4995
|
* Disallow number literals with zero fractions or dangling dots.
|
|
5066
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/no-zero-fractions.md
|
|
5067
4997
|
*/
|
|
5068
4998
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
5069
4999
|
/**
|
|
5070
5000
|
* Enforce proper case for numeric literals.
|
|
5071
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/number-literal-case.md
|
|
5072
5002
|
*/
|
|
5073
5003
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
5074
5004
|
/**
|
|
5075
5005
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
5076
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/numeric-separators-style.md
|
|
5077
5007
|
*/
|
|
5078
5008
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
5079
5009
|
/**
|
|
5080
5010
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
5081
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-add-event-listener.md
|
|
5082
5012
|
*/
|
|
5083
5013
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
5084
5014
|
/**
|
|
5085
5015
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
5086
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-find.md
|
|
5087
5017
|
*/
|
|
5088
5018
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
5089
5019
|
/**
|
|
5090
5020
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
5091
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat.md
|
|
5092
5022
|
*/
|
|
5093
5023
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
5094
5024
|
/**
|
|
5095
5025
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
5096
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-flat-map.md
|
|
5097
5027
|
*/
|
|
5098
5028
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
5099
5029
|
/**
|
|
5100
5030
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
5101
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5031
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-index-of.md
|
|
5102
5032
|
*/
|
|
5103
5033
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
5104
5034
|
/**
|
|
5105
5035
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
5106
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-array-some.md
|
|
5107
5037
|
*/
|
|
5108
5038
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
5109
5039
|
/**
|
|
5110
5040
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
5111
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-at.md
|
|
5112
5042
|
*/
|
|
5113
5043
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
5114
5044
|
/**
|
|
5115
5045
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
5116
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-blob-reading-methods.md
|
|
5117
5047
|
*/
|
|
5118
5048
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
5119
5049
|
/**
|
|
5120
5050
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
5121
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-code-point.md
|
|
5122
5052
|
*/
|
|
5123
5053
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
5124
5054
|
/**
|
|
5125
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-dataset
|
|
5126
5056
|
* @deprecated
|
|
5127
5057
|
*/
|
|
5128
5058
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
5129
5059
|
/**
|
|
5130
5060
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
5131
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-date-now.md
|
|
5132
5062
|
*/
|
|
5133
5063
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
5134
5064
|
/**
|
|
5135
5065
|
* Prefer default parameters over reassignment.
|
|
5136
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-default-parameters.md
|
|
5137
5067
|
*/
|
|
5138
5068
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
5139
5069
|
/**
|
|
5140
5070
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
5141
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-append.md
|
|
5142
5072
|
*/
|
|
5143
5073
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
5144
5074
|
/**
|
|
5145
5075
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
5146
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-dataset.md
|
|
5147
5077
|
*/
|
|
5148
5078
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
5149
5079
|
/**
|
|
5150
5080
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
5151
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5081
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-remove.md
|
|
5152
5082
|
*/
|
|
5153
5083
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
5154
5084
|
/**
|
|
5155
5085
|
* Prefer `.textContent` over `.innerText`.
|
|
5156
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-dom-node-text-content.md
|
|
5157
5087
|
*/
|
|
5158
5088
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
5159
5089
|
/**
|
|
5160
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-event-key
|
|
5161
5091
|
* @deprecated
|
|
5162
5092
|
*/
|
|
5163
5093
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
5164
5094
|
/**
|
|
5165
5095
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
5166
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-event-target.md
|
|
5167
5097
|
*/
|
|
5168
5098
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
5169
5099
|
/**
|
|
5170
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
5171
5101
|
* @deprecated
|
|
5172
5102
|
*/
|
|
5173
5103
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
5174
5104
|
/**
|
|
5175
5105
|
* Prefer `export…from` when re-exporting.
|
|
5176
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-export-from.md
|
|
5177
5107
|
*/
|
|
5178
5108
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
5179
5109
|
/**
|
|
5180
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-flat-map
|
|
5181
5111
|
* @deprecated
|
|
5182
5112
|
*/
|
|
5183
5113
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
5184
5114
|
/**
|
|
5185
5115
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
5186
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-includes.md
|
|
5187
5117
|
*/
|
|
5188
5118
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
5189
5119
|
/**
|
|
5190
5120
|
* Prefer reading a JSON file as a buffer.
|
|
5191
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-json-parse-buffer.md
|
|
5192
5122
|
*/
|
|
5193
5123
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
5194
5124
|
/**
|
|
5195
5125
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
5196
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-keyboard-event-key.md
|
|
5197
5127
|
*/
|
|
5198
5128
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
5199
5129
|
/**
|
|
5200
5130
|
* Prefer using a logical operator over a ternary.
|
|
5201
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-logical-operator-over-ternary.md
|
|
5202
5132
|
*/
|
|
5203
5133
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
5204
5134
|
/**
|
|
5205
5135
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
5206
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-math-trunc.md
|
|
5207
5137
|
*/
|
|
5208
5138
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
5209
5139
|
/**
|
|
5210
5140
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
5211
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-dom-apis.md
|
|
5212
5142
|
*/
|
|
5213
5143
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
5214
5144
|
/**
|
|
5215
5145
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
5216
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-modern-math-apis.md
|
|
5217
5147
|
*/
|
|
5218
5148
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
5219
5149
|
/**
|
|
5220
5150
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
5221
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-module.md
|
|
5222
5152
|
*/
|
|
5223
5153
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
5224
5154
|
/**
|
|
5225
5155
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
5226
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-native-coercion-functions.md
|
|
5227
5157
|
*/
|
|
5228
5158
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
5229
5159
|
/**
|
|
5230
5160
|
* Prefer negative index over `.length - index` when possible.
|
|
5231
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-negative-index.md
|
|
5232
5162
|
*/
|
|
5233
5163
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
5234
5164
|
/**
|
|
5235
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-append
|
|
5236
5166
|
* @deprecated
|
|
5237
5167
|
*/
|
|
5238
5168
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
5239
5169
|
/**
|
|
5240
5170
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
5241
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-node-protocol.md
|
|
5242
5172
|
*/
|
|
5243
5173
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
5244
5174
|
/**
|
|
5245
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-node-remove
|
|
5246
5176
|
* @deprecated
|
|
5247
5177
|
*/
|
|
5248
5178
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
5249
5179
|
/**
|
|
5250
5180
|
* Prefer `Number` static properties over global ones.
|
|
5251
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5181
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-number-properties.md
|
|
5252
5182
|
*/
|
|
5253
5183
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
5254
5184
|
/**
|
|
5255
5185
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
5256
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-object-from-entries.md
|
|
5257
5187
|
*/
|
|
5258
5188
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
5259
5189
|
/**
|
|
5260
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-object-has-own
|
|
5261
5191
|
* @deprecated
|
|
5262
5192
|
*/
|
|
5263
5193
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
5264
5194
|
/**
|
|
5265
5195
|
* Prefer omitting the `catch` binding parameter.
|
|
5266
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-optional-catch-binding.md
|
|
5267
5197
|
*/
|
|
5268
5198
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
5269
5199
|
/**
|
|
5270
5200
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
5271
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-prototype-methods.md
|
|
5272
5202
|
*/
|
|
5273
5203
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
5274
5204
|
/**
|
|
5275
5205
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()`.
|
|
5276
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-query-selector.md
|
|
5277
5207
|
*/
|
|
5278
5208
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
5279
5209
|
/**
|
|
5280
5210
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
5281
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-reflect-apply.md
|
|
5282
5212
|
*/
|
|
5283
5213
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
5284
5214
|
/**
|
|
5285
5215
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
5286
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5216
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-regexp-test.md
|
|
5287
5217
|
*/
|
|
5288
5218
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
5289
5219
|
/**
|
|
5290
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-replace-all
|
|
5291
5221
|
* @deprecated
|
|
5292
5222
|
*/
|
|
5293
5223
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
5294
5224
|
/**
|
|
5295
5225
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
5296
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5226
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-has.md
|
|
5297
5227
|
*/
|
|
5298
5228
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
5299
5229
|
/**
|
|
5300
5230
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
5301
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-set-size.md
|
|
5302
5232
|
*/
|
|
5303
5233
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
5304
5234
|
/**
|
|
5305
5235
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
5306
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5236
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-spread.md
|
|
5307
5237
|
*/
|
|
5308
5238
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
5309
5239
|
/**
|
|
5310
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
5311
5241
|
* @deprecated
|
|
5312
5242
|
*/
|
|
5313
5243
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5314
5244
|
/**
|
|
5315
5245
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
5316
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-raw.md
|
|
5317
5247
|
*/
|
|
5318
5248
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
5319
5249
|
/**
|
|
5320
5250
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
5321
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-replace-all.md
|
|
5322
5252
|
*/
|
|
5323
5253
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
5324
5254
|
/**
|
|
5325
5255
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
5326
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-slice.md
|
|
5327
5257
|
*/
|
|
5328
5258
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
5329
5259
|
/**
|
|
5330
5260
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
5331
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-starts-ends-with.md
|
|
5332
5262
|
*/
|
|
5333
5263
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
5334
5264
|
/**
|
|
5335
5265
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
5336
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-string-trim-start-end.md
|
|
5337
5267
|
*/
|
|
5338
5268
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5339
5269
|
/**
|
|
5340
5270
|
* Prefer using `structuredClone` to create a deep clone.
|
|
5341
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-structured-clone.md
|
|
5342
5272
|
*/
|
|
5343
5273
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
5344
5274
|
/**
|
|
5345
5275
|
* Prefer `switch` over multiple `else-if`.
|
|
5346
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-switch.md
|
|
5347
5277
|
*/
|
|
5348
5278
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
5349
5279
|
/**
|
|
5350
5280
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
5351
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-ternary.md
|
|
5352
5282
|
*/
|
|
5353
5283
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
5354
5284
|
/**
|
|
5355
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5285
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-text-content
|
|
5356
5286
|
* @deprecated
|
|
5357
5287
|
*/
|
|
5358
5288
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
5359
5289
|
/**
|
|
5360
5290
|
* Prefer top-level await over top-level promises and async function calls.
|
|
5361
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-top-level-await.md
|
|
5362
5292
|
*/
|
|
5363
5293
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
5364
5294
|
/**
|
|
5365
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#prefer-trim-start-end
|
|
5366
5296
|
* @deprecated
|
|
5367
5297
|
*/
|
|
5368
5298
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
5369
5299
|
/**
|
|
5370
5300
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
5371
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5301
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prefer-type-error.md
|
|
5372
5302
|
*/
|
|
5373
5303
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
5374
5304
|
/**
|
|
5375
5305
|
* Prevent abbreviations.
|
|
5376
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/prevent-abbreviations.md
|
|
5377
5307
|
*/
|
|
5378
5308
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
5379
5309
|
/**
|
|
5380
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/deprecated-rules.md#regex-shorthand
|
|
5381
5311
|
* @deprecated
|
|
5382
5312
|
*/
|
|
5383
5313
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
5384
5314
|
/**
|
|
5385
5315
|
* Enforce consistent relative URL style.
|
|
5386
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/relative-url-style.md
|
|
5387
5317
|
*/
|
|
5388
5318
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
5389
5319
|
/**
|
|
5390
5320
|
* Enforce using the separator argument with `Array#join()`.
|
|
5391
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-array-join-separator.md
|
|
5392
5322
|
*/
|
|
5393
5323
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
5394
5324
|
/**
|
|
5395
5325
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
5396
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5326
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-number-to-fixed-digits-argument.md
|
|
5397
5327
|
*/
|
|
5398
5328
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
5399
5329
|
/**
|
|
5400
5330
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
5401
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/require-post-message-target-origin.md
|
|
5402
5332
|
*/
|
|
5403
5333
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
5404
5334
|
/**
|
|
5405
5335
|
* Enforce better string content.
|
|
5406
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/string-content.md
|
|
5407
5337
|
*/
|
|
5408
5338
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
5409
5339
|
/**
|
|
5410
5340
|
* Enforce consistent brace style for `case` clauses.
|
|
5411
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/switch-case-braces.md
|
|
5412
5342
|
*/
|
|
5413
5343
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
5414
5344
|
/**
|
|
5415
5345
|
* Fix whitespace-insensitive template indentation.
|
|
5416
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/template-indent.md
|
|
5417
5347
|
*/
|
|
5418
5348
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
5419
5349
|
/**
|
|
5420
5350
|
* Enforce consistent case for text encoding identifiers.
|
|
5421
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/text-encoding-identifier-case.md
|
|
5422
5352
|
*/
|
|
5423
5353
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
5424
5354
|
/**
|
|
5425
5355
|
* Require `new` when creating an error.
|
|
5426
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
5356
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v55.0.0/docs/rules/throw-new-error.md
|
|
5427
5357
|
*/
|
|
5428
5358
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
5429
5359
|
/**
|
|
@@ -7494,6 +7424,25 @@ type JsdocCheckValues = []|[{
|
|
|
7494
7424
|
licensePattern?: string
|
|
7495
7425
|
numericOnlyVariation?: boolean
|
|
7496
7426
|
}]
|
|
7427
|
+
// ----- jsdoc/convert-to-jsdoc-comments -----
|
|
7428
|
+
type JsdocConvertToJsdocComments = []|[{
|
|
7429
|
+
allowedPrefixes?: string[]
|
|
7430
|
+
contexts?: (string | {
|
|
7431
|
+
context?: string
|
|
7432
|
+
inlineCommentBlock?: boolean
|
|
7433
|
+
})[]
|
|
7434
|
+
contextsAfter?: (string | {
|
|
7435
|
+
context?: string
|
|
7436
|
+
inlineCommentBlock?: boolean
|
|
7437
|
+
})[]
|
|
7438
|
+
contextsBeforeAndAfter?: (string | {
|
|
7439
|
+
context?: string
|
|
7440
|
+
inlineCommentBlock?: boolean
|
|
7441
|
+
})[]
|
|
7442
|
+
enableFixer?: boolean
|
|
7443
|
+
enforceJsdocLineStyle?: ("multi" | "single")
|
|
7444
|
+
lineOrBlockStyle?: ("block" | "line" | "both")
|
|
7445
|
+
}]
|
|
7497
7446
|
// ----- jsdoc/empty-tags -----
|
|
7498
7447
|
type JsdocEmptyTags = []|[{
|
|
7499
7448
|
tags?: string[]
|
|
@@ -7781,6 +7730,10 @@ type JsdocRequireReturnsType = []|[{
|
|
|
7781
7730
|
context?: string
|
|
7782
7731
|
})[]
|
|
7783
7732
|
}]
|
|
7733
|
+
// ----- jsdoc/require-template -----
|
|
7734
|
+
type JsdocRequireTemplate = []|[{
|
|
7735
|
+
requireSeparateTemplates?: boolean
|
|
7736
|
+
}]
|
|
7784
7737
|
// ----- jsdoc/require-throws -----
|
|
7785
7738
|
type JsdocRequireThrows = []|[{
|
|
7786
7739
|
contexts?: (string | {
|
|
@@ -8852,18 +8805,11 @@ type NoRestrictedImports = ((string | {
|
|
|
8852
8805
|
importNames?: string[]
|
|
8853
8806
|
allowImportNames?: string[]
|
|
8854
8807
|
})[]
|
|
8855
|
-
patterns?: (string[] | {
|
|
8856
|
-
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
|
|
8861
|
-
group: [string, ...(string)[]]
|
|
8862
|
-
importNamePattern?: string
|
|
8863
|
-
allowImportNamePattern?: string
|
|
8864
|
-
message?: string
|
|
8865
|
-
caseSensitive?: boolean
|
|
8866
|
-
}[])
|
|
8808
|
+
patterns?: (string[] | ({
|
|
8809
|
+
[k: string]: unknown | undefined
|
|
8810
|
+
} | {
|
|
8811
|
+
[k: string]: unknown | undefined
|
|
8812
|
+
})[])
|
|
8867
8813
|
}])
|
|
8868
8814
|
// ----- no-restricted-modules -----
|
|
8869
8815
|
type NoRestrictedModules = ((string | {
|
|
@@ -9208,7 +9154,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
9208
9154
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
9209
9155
|
version?: string
|
|
9210
9156
|
allowExperimental?: boolean
|
|
9211
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.MockFunctionContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.MockFunctionContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9157
|
+
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.createRequire" | "module.createRequireFromPath" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress" | "zlib.BrotliDecompress" | "zlib.Deflate" | "zlib.DeflateRaw" | "zlib.Gunzip" | "zlib.Gzip" | "zlib.Inflate" | "zlib.InflateRaw" | "zlib.Unzip" | "zlib")[]
|
|
9212
9158
|
}]
|
|
9213
9159
|
// ----- node/prefer-global/buffer -----
|
|
9214
9160
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10412,7 +10358,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
10412
10358
|
}]
|
|
10413
10359
|
// ----- style/padding-line-between-statements -----
|
|
10414
10360
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
10415
|
-
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "interface" | "type" | "function-overload"))[]])
|
|
10361
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "cjs-export" | "cjs-import" | "enum" | "interface" | "type" | "function-overload"))[]])
|
|
10416
10362
|
type StylePaddingLineBetweenStatements = {
|
|
10417
10363
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
10418
10364
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -10853,26 +10799,6 @@ type TsBanTsComment = []|[{
|
|
|
10853
10799
|
})
|
|
10854
10800
|
minimumDescriptionLength?: number
|
|
10855
10801
|
}]
|
|
10856
|
-
// ----- ts/ban-types -----
|
|
10857
|
-
type TsBanTypes = []|[{
|
|
10858
|
-
types?: {
|
|
10859
|
-
[k: string]: (null | false | true | string | {
|
|
10860
|
-
|
|
10861
|
-
message?: string
|
|
10862
|
-
|
|
10863
|
-
fixWith?: string
|
|
10864
|
-
|
|
10865
|
-
suggest?: string[]
|
|
10866
|
-
}) | undefined
|
|
10867
|
-
}
|
|
10868
|
-
extendDefaults?: boolean
|
|
10869
|
-
}]
|
|
10870
|
-
// ----- ts/block-spacing -----
|
|
10871
|
-
type TsBlockSpacing = []|[("always" | "never")]
|
|
10872
|
-
// ----- ts/brace-style -----
|
|
10873
|
-
type TsBraceStyle = []|[("1tbs" | "stroustrup" | "allman")]|[("1tbs" | "stroustrup" | "allman"), {
|
|
10874
|
-
allowSingleLine?: boolean
|
|
10875
|
-
}]
|
|
10876
10802
|
// ----- ts/class-literal-property-style -----
|
|
10877
10803
|
type TsClassLiteralPropertyStyle = []|[("fields" | "getters")]
|
|
10878
10804
|
// ----- ts/class-methods-use-this -----
|
|
@@ -10886,24 +10812,6 @@ type TsClassMethodsUseThis = []|[{
|
|
|
10886
10812
|
|
|
10887
10813
|
ignoreClassesThatImplementAnInterface?: (boolean | "public-fields")
|
|
10888
10814
|
}]
|
|
10889
|
-
// ----- ts/comma-dangle -----
|
|
10890
|
-
type TsCommaDangle = []|[(_TsCommaDangleValue | {
|
|
10891
|
-
arrays?: _TsCommaDangleValueWithIgnore
|
|
10892
|
-
objects?: _TsCommaDangleValueWithIgnore
|
|
10893
|
-
imports?: _TsCommaDangleValueWithIgnore
|
|
10894
|
-
exports?: _TsCommaDangleValueWithIgnore
|
|
10895
|
-
functions?: _TsCommaDangleValueWithIgnore
|
|
10896
|
-
enums?: _TsCommaDangleValueWithIgnore
|
|
10897
|
-
generics?: _TsCommaDangleValueWithIgnore
|
|
10898
|
-
tuples?: _TsCommaDangleValueWithIgnore
|
|
10899
|
-
})]
|
|
10900
|
-
type _TsCommaDangleValue = ("always-multiline" | "always" | "never" | "only-multiline")
|
|
10901
|
-
type _TsCommaDangleValueWithIgnore = ("always-multiline" | "always" | "never" | "only-multiline" | "ignore")
|
|
10902
|
-
// ----- ts/comma-spacing -----
|
|
10903
|
-
type TsCommaSpacing = []|[{
|
|
10904
|
-
before?: boolean
|
|
10905
|
-
after?: boolean
|
|
10906
|
-
}]
|
|
10907
10815
|
// ----- ts/consistent-generic-constructors -----
|
|
10908
10816
|
type TsConsistentGenericConstructors = []|[("type-annotation" | "constructor")]
|
|
10909
10817
|
// ----- ts/consistent-indexed-object-style -----
|
|
@@ -10983,465 +10891,22 @@ type TsExplicitModuleBoundaryTypes = []|[{
|
|
|
10983
10891
|
|
|
10984
10892
|
allowTypedFunctionExpressions?: boolean
|
|
10985
10893
|
}]
|
|
10986
|
-
// ----- ts/func-call-spacing -----
|
|
10987
|
-
type TsFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
10988
|
-
allowNewlines?: boolean
|
|
10989
|
-
}])
|
|
10990
|
-
// ----- ts/indent -----
|
|
10991
|
-
type TsIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
10992
|
-
SwitchCase?: number
|
|
10993
|
-
VariableDeclarator?: ((number | ("first" | "off")) | {
|
|
10994
|
-
var?: (number | ("first" | "off"))
|
|
10995
|
-
let?: (number | ("first" | "off"))
|
|
10996
|
-
const?: (number | ("first" | "off"))
|
|
10997
|
-
})
|
|
10998
|
-
outerIIFEBody?: (number | "off")
|
|
10999
|
-
MemberExpression?: (number | "off")
|
|
11000
|
-
FunctionDeclaration?: {
|
|
11001
|
-
parameters?: (number | ("first" | "off"))
|
|
11002
|
-
body?: number
|
|
11003
|
-
}
|
|
11004
|
-
FunctionExpression?: {
|
|
11005
|
-
parameters?: (number | ("first" | "off"))
|
|
11006
|
-
body?: number
|
|
11007
|
-
}
|
|
11008
|
-
StaticBlock?: {
|
|
11009
|
-
body?: number
|
|
11010
|
-
}
|
|
11011
|
-
CallExpression?: {
|
|
11012
|
-
arguments?: (number | ("first" | "off"))
|
|
11013
|
-
}
|
|
11014
|
-
ArrayExpression?: (number | ("first" | "off"))
|
|
11015
|
-
ObjectExpression?: (number | ("first" | "off"))
|
|
11016
|
-
ImportDeclaration?: (number | ("first" | "off"))
|
|
11017
|
-
flatTernaryExpressions?: boolean
|
|
11018
|
-
offsetTernaryExpressions?: boolean
|
|
11019
|
-
ignoredNodes?: string[]
|
|
11020
|
-
ignoreComments?: boolean
|
|
11021
|
-
}]
|
|
11022
10894
|
// ----- ts/init-declarations -----
|
|
11023
10895
|
type TsInitDeclarations = ([]|["always"] | []|["never"]|["never", {
|
|
11024
10896
|
ignoreForLoopInit?: boolean
|
|
11025
10897
|
}])
|
|
11026
|
-
// ----- ts/
|
|
11027
|
-
type
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
11038
|
-
singleLine?: {
|
|
11039
|
-
mode?: ("strict" | "minimum")
|
|
11040
|
-
beforeColon?: boolean
|
|
11041
|
-
afterColon?: boolean
|
|
11042
|
-
}
|
|
11043
|
-
multiLine?: {
|
|
11044
|
-
align?: (("colon" | "value") | {
|
|
11045
|
-
mode?: ("strict" | "minimum")
|
|
11046
|
-
on?: ("colon" | "value")
|
|
11047
|
-
beforeColon?: boolean
|
|
11048
|
-
afterColon?: boolean
|
|
11049
|
-
})
|
|
11050
|
-
mode?: ("strict" | "minimum")
|
|
11051
|
-
beforeColon?: boolean
|
|
11052
|
-
afterColon?: boolean
|
|
11053
|
-
}
|
|
11054
|
-
} | {
|
|
11055
|
-
singleLine?: {
|
|
11056
|
-
mode?: ("strict" | "minimum")
|
|
11057
|
-
beforeColon?: boolean
|
|
11058
|
-
afterColon?: boolean
|
|
11059
|
-
}
|
|
11060
|
-
multiLine?: {
|
|
11061
|
-
mode?: ("strict" | "minimum")
|
|
11062
|
-
beforeColon?: boolean
|
|
11063
|
-
afterColon?: boolean
|
|
11064
|
-
}
|
|
11065
|
-
align?: {
|
|
11066
|
-
mode?: ("strict" | "minimum")
|
|
11067
|
-
on?: ("colon" | "value")
|
|
11068
|
-
beforeColon?: boolean
|
|
11069
|
-
afterColon?: boolean
|
|
11070
|
-
}
|
|
11071
|
-
})]
|
|
11072
|
-
// ----- ts/keyword-spacing -----
|
|
11073
|
-
type TsKeywordSpacing = []|[{
|
|
11074
|
-
before?: boolean
|
|
11075
|
-
after?: boolean
|
|
11076
|
-
overrides?: {
|
|
11077
|
-
abstract?: {
|
|
11078
|
-
before?: boolean
|
|
11079
|
-
after?: boolean
|
|
11080
|
-
}
|
|
11081
|
-
as?: {
|
|
11082
|
-
before?: boolean
|
|
11083
|
-
after?: boolean
|
|
11084
|
-
}
|
|
11085
|
-
async?: {
|
|
11086
|
-
before?: boolean
|
|
11087
|
-
after?: boolean
|
|
11088
|
-
}
|
|
11089
|
-
await?: {
|
|
11090
|
-
before?: boolean
|
|
11091
|
-
after?: boolean
|
|
11092
|
-
}
|
|
11093
|
-
boolean?: {
|
|
11094
|
-
before?: boolean
|
|
11095
|
-
after?: boolean
|
|
11096
|
-
}
|
|
11097
|
-
break?: {
|
|
11098
|
-
before?: boolean
|
|
11099
|
-
after?: boolean
|
|
11100
|
-
}
|
|
11101
|
-
byte?: {
|
|
11102
|
-
before?: boolean
|
|
11103
|
-
after?: boolean
|
|
11104
|
-
}
|
|
11105
|
-
case?: {
|
|
11106
|
-
before?: boolean
|
|
11107
|
-
after?: boolean
|
|
11108
|
-
}
|
|
11109
|
-
catch?: {
|
|
11110
|
-
before?: boolean
|
|
11111
|
-
after?: boolean
|
|
11112
|
-
}
|
|
11113
|
-
char?: {
|
|
11114
|
-
before?: boolean
|
|
11115
|
-
after?: boolean
|
|
11116
|
-
}
|
|
11117
|
-
class?: {
|
|
11118
|
-
before?: boolean
|
|
11119
|
-
after?: boolean
|
|
11120
|
-
}
|
|
11121
|
-
const?: {
|
|
11122
|
-
before?: boolean
|
|
11123
|
-
after?: boolean
|
|
11124
|
-
}
|
|
11125
|
-
continue?: {
|
|
11126
|
-
before?: boolean
|
|
11127
|
-
after?: boolean
|
|
11128
|
-
}
|
|
11129
|
-
debugger?: {
|
|
11130
|
-
before?: boolean
|
|
11131
|
-
after?: boolean
|
|
11132
|
-
}
|
|
11133
|
-
default?: {
|
|
11134
|
-
before?: boolean
|
|
11135
|
-
after?: boolean
|
|
11136
|
-
}
|
|
11137
|
-
delete?: {
|
|
11138
|
-
before?: boolean
|
|
11139
|
-
after?: boolean
|
|
11140
|
-
}
|
|
11141
|
-
do?: {
|
|
11142
|
-
before?: boolean
|
|
11143
|
-
after?: boolean
|
|
11144
|
-
}
|
|
11145
|
-
double?: {
|
|
11146
|
-
before?: boolean
|
|
11147
|
-
after?: boolean
|
|
11148
|
-
}
|
|
11149
|
-
else?: {
|
|
11150
|
-
before?: boolean
|
|
11151
|
-
after?: boolean
|
|
11152
|
-
}
|
|
11153
|
-
enum?: {
|
|
11154
|
-
before?: boolean
|
|
11155
|
-
after?: boolean
|
|
11156
|
-
}
|
|
11157
|
-
export?: {
|
|
11158
|
-
before?: boolean
|
|
11159
|
-
after?: boolean
|
|
11160
|
-
}
|
|
11161
|
-
extends?: {
|
|
11162
|
-
before?: boolean
|
|
11163
|
-
after?: boolean
|
|
11164
|
-
}
|
|
11165
|
-
false?: {
|
|
11166
|
-
before?: boolean
|
|
11167
|
-
after?: boolean
|
|
11168
|
-
}
|
|
11169
|
-
final?: {
|
|
11170
|
-
before?: boolean
|
|
11171
|
-
after?: boolean
|
|
11172
|
-
}
|
|
11173
|
-
finally?: {
|
|
11174
|
-
before?: boolean
|
|
11175
|
-
after?: boolean
|
|
11176
|
-
}
|
|
11177
|
-
float?: {
|
|
11178
|
-
before?: boolean
|
|
11179
|
-
after?: boolean
|
|
11180
|
-
}
|
|
11181
|
-
for?: {
|
|
11182
|
-
before?: boolean
|
|
11183
|
-
after?: boolean
|
|
11184
|
-
}
|
|
11185
|
-
from?: {
|
|
11186
|
-
before?: boolean
|
|
11187
|
-
after?: boolean
|
|
11188
|
-
}
|
|
11189
|
-
function?: {
|
|
11190
|
-
before?: boolean
|
|
11191
|
-
after?: boolean
|
|
11192
|
-
}
|
|
11193
|
-
get?: {
|
|
11194
|
-
before?: boolean
|
|
11195
|
-
after?: boolean
|
|
11196
|
-
}
|
|
11197
|
-
goto?: {
|
|
11198
|
-
before?: boolean
|
|
11199
|
-
after?: boolean
|
|
11200
|
-
}
|
|
11201
|
-
if?: {
|
|
11202
|
-
before?: boolean
|
|
11203
|
-
after?: boolean
|
|
11204
|
-
}
|
|
11205
|
-
implements?: {
|
|
11206
|
-
before?: boolean
|
|
11207
|
-
after?: boolean
|
|
11208
|
-
}
|
|
11209
|
-
import?: {
|
|
11210
|
-
before?: boolean
|
|
11211
|
-
after?: boolean
|
|
11212
|
-
}
|
|
11213
|
-
in?: {
|
|
11214
|
-
before?: boolean
|
|
11215
|
-
after?: boolean
|
|
11216
|
-
}
|
|
11217
|
-
instanceof?: {
|
|
11218
|
-
before?: boolean
|
|
11219
|
-
after?: boolean
|
|
11220
|
-
}
|
|
11221
|
-
int?: {
|
|
11222
|
-
before?: boolean
|
|
11223
|
-
after?: boolean
|
|
11224
|
-
}
|
|
11225
|
-
interface?: {
|
|
11226
|
-
before?: boolean
|
|
11227
|
-
after?: boolean
|
|
11228
|
-
}
|
|
11229
|
-
let?: {
|
|
11230
|
-
before?: boolean
|
|
11231
|
-
after?: boolean
|
|
11232
|
-
}
|
|
11233
|
-
long?: {
|
|
11234
|
-
before?: boolean
|
|
11235
|
-
after?: boolean
|
|
11236
|
-
}
|
|
11237
|
-
native?: {
|
|
11238
|
-
before?: boolean
|
|
11239
|
-
after?: boolean
|
|
11240
|
-
}
|
|
11241
|
-
new?: {
|
|
11242
|
-
before?: boolean
|
|
11243
|
-
after?: boolean
|
|
11244
|
-
}
|
|
11245
|
-
null?: {
|
|
11246
|
-
before?: boolean
|
|
11247
|
-
after?: boolean
|
|
11248
|
-
}
|
|
11249
|
-
of?: {
|
|
11250
|
-
before?: boolean
|
|
11251
|
-
after?: boolean
|
|
11252
|
-
}
|
|
11253
|
-
package?: {
|
|
11254
|
-
before?: boolean
|
|
11255
|
-
after?: boolean
|
|
11256
|
-
}
|
|
11257
|
-
private?: {
|
|
11258
|
-
before?: boolean
|
|
11259
|
-
after?: boolean
|
|
11260
|
-
}
|
|
11261
|
-
protected?: {
|
|
11262
|
-
before?: boolean
|
|
11263
|
-
after?: boolean
|
|
11264
|
-
}
|
|
11265
|
-
public?: {
|
|
11266
|
-
before?: boolean
|
|
11267
|
-
after?: boolean
|
|
11268
|
-
}
|
|
11269
|
-
return?: {
|
|
11270
|
-
before?: boolean
|
|
11271
|
-
after?: boolean
|
|
11272
|
-
}
|
|
11273
|
-
set?: {
|
|
11274
|
-
before?: boolean
|
|
11275
|
-
after?: boolean
|
|
11276
|
-
}
|
|
11277
|
-
short?: {
|
|
11278
|
-
before?: boolean
|
|
11279
|
-
after?: boolean
|
|
11280
|
-
}
|
|
11281
|
-
static?: {
|
|
11282
|
-
before?: boolean
|
|
11283
|
-
after?: boolean
|
|
11284
|
-
}
|
|
11285
|
-
super?: {
|
|
11286
|
-
before?: boolean
|
|
11287
|
-
after?: boolean
|
|
11288
|
-
}
|
|
11289
|
-
switch?: {
|
|
11290
|
-
before?: boolean
|
|
11291
|
-
after?: boolean
|
|
11292
|
-
}
|
|
11293
|
-
synchronized?: {
|
|
11294
|
-
before?: boolean
|
|
11295
|
-
after?: boolean
|
|
11296
|
-
}
|
|
11297
|
-
this?: {
|
|
11298
|
-
before?: boolean
|
|
11299
|
-
after?: boolean
|
|
11300
|
-
}
|
|
11301
|
-
throw?: {
|
|
11302
|
-
before?: boolean
|
|
11303
|
-
after?: boolean
|
|
11304
|
-
}
|
|
11305
|
-
throws?: {
|
|
11306
|
-
before?: boolean
|
|
11307
|
-
after?: boolean
|
|
11308
|
-
}
|
|
11309
|
-
transient?: {
|
|
11310
|
-
before?: boolean
|
|
11311
|
-
after?: boolean
|
|
11312
|
-
}
|
|
11313
|
-
true?: {
|
|
11314
|
-
before?: boolean
|
|
11315
|
-
after?: boolean
|
|
11316
|
-
}
|
|
11317
|
-
try?: {
|
|
11318
|
-
before?: boolean
|
|
11319
|
-
after?: boolean
|
|
11320
|
-
}
|
|
11321
|
-
typeof?: {
|
|
11322
|
-
before?: boolean
|
|
11323
|
-
after?: boolean
|
|
11324
|
-
}
|
|
11325
|
-
var?: {
|
|
11326
|
-
before?: boolean
|
|
11327
|
-
after?: boolean
|
|
11328
|
-
}
|
|
11329
|
-
void?: {
|
|
11330
|
-
before?: boolean
|
|
11331
|
-
after?: boolean
|
|
11332
|
-
}
|
|
11333
|
-
volatile?: {
|
|
11334
|
-
before?: boolean
|
|
11335
|
-
after?: boolean
|
|
11336
|
-
}
|
|
11337
|
-
while?: {
|
|
11338
|
-
before?: boolean
|
|
11339
|
-
after?: boolean
|
|
11340
|
-
}
|
|
11341
|
-
with?: {
|
|
11342
|
-
before?: boolean
|
|
11343
|
-
after?: boolean
|
|
11344
|
-
}
|
|
11345
|
-
yield?: {
|
|
11346
|
-
before?: boolean
|
|
11347
|
-
after?: boolean
|
|
11348
|
-
}
|
|
11349
|
-
type?: {
|
|
11350
|
-
before?: boolean
|
|
11351
|
-
after?: boolean
|
|
11352
|
-
}
|
|
11353
|
-
}
|
|
11354
|
-
}]
|
|
11355
|
-
// ----- ts/lines-around-comment -----
|
|
11356
|
-
type TsLinesAroundComment = []|[{
|
|
11357
|
-
beforeBlockComment?: boolean
|
|
11358
|
-
afterBlockComment?: boolean
|
|
11359
|
-
beforeLineComment?: boolean
|
|
11360
|
-
afterLineComment?: boolean
|
|
11361
|
-
allowBlockStart?: boolean
|
|
11362
|
-
allowBlockEnd?: boolean
|
|
11363
|
-
allowClassStart?: boolean
|
|
11364
|
-
allowClassEnd?: boolean
|
|
11365
|
-
allowObjectStart?: boolean
|
|
11366
|
-
allowObjectEnd?: boolean
|
|
11367
|
-
allowArrayStart?: boolean
|
|
11368
|
-
allowArrayEnd?: boolean
|
|
11369
|
-
allowInterfaceStart?: boolean
|
|
11370
|
-
allowInterfaceEnd?: boolean
|
|
11371
|
-
allowTypeStart?: boolean
|
|
11372
|
-
allowTypeEnd?: boolean
|
|
11373
|
-
allowEnumStart?: boolean
|
|
11374
|
-
allowEnumEnd?: boolean
|
|
11375
|
-
allowModuleStart?: boolean
|
|
11376
|
-
allowModuleEnd?: boolean
|
|
11377
|
-
ignorePattern?: string
|
|
11378
|
-
applyDefaultIgnorePatterns?: boolean
|
|
11379
|
-
}]
|
|
11380
|
-
// ----- ts/lines-between-class-members -----
|
|
11381
|
-
type TsLinesBetweenClassMembers = []|[({
|
|
11382
|
-
|
|
11383
|
-
enforce: [{
|
|
11384
|
-
blankLine: ("always" | "never")
|
|
11385
|
-
prev: ("method" | "field" | "*")
|
|
11386
|
-
next: ("method" | "field" | "*")
|
|
11387
|
-
}, ...({
|
|
11388
|
-
blankLine: ("always" | "never")
|
|
11389
|
-
prev: ("method" | "field" | "*")
|
|
11390
|
-
next: ("method" | "field" | "*")
|
|
11391
|
-
})[]]
|
|
11392
|
-
} | ("always" | "never"))]|[({
|
|
11393
|
-
|
|
11394
|
-
enforce: [{
|
|
11395
|
-
blankLine: ("always" | "never")
|
|
11396
|
-
prev: ("method" | "field" | "*")
|
|
11397
|
-
next: ("method" | "field" | "*")
|
|
11398
|
-
}, ...({
|
|
11399
|
-
blankLine: ("always" | "never")
|
|
11400
|
-
prev: ("method" | "field" | "*")
|
|
11401
|
-
next: ("method" | "field" | "*")
|
|
11402
|
-
})[]]
|
|
11403
|
-
} | ("always" | "never")), {
|
|
11404
|
-
exceptAfterSingleLine?: boolean
|
|
11405
|
-
exceptAfterOverload?: boolean
|
|
11406
|
-
}]
|
|
11407
|
-
// ----- ts/max-params -----
|
|
11408
|
-
type TsMaxParams = []|[{
|
|
11409
|
-
maximum?: number
|
|
11410
|
-
max?: number
|
|
11411
|
-
countVoidThis?: boolean
|
|
11412
|
-
}]
|
|
11413
|
-
// ----- ts/member-delimiter-style -----
|
|
11414
|
-
type TsMemberDelimiterStyle = []|[{
|
|
11415
|
-
multiline?: {
|
|
11416
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
11417
|
-
requireLast?: boolean
|
|
11418
|
-
}
|
|
11419
|
-
singleline?: {
|
|
11420
|
-
delimiter?: ("semi" | "comma")
|
|
11421
|
-
requireLast?: boolean
|
|
11422
|
-
}
|
|
11423
|
-
overrides?: {
|
|
11424
|
-
interface?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
11425
|
-
typeLiteral?: _TsMemberDelimiterStyle_DelimiterConfig
|
|
11426
|
-
}
|
|
11427
|
-
multilineDetection?: ("brackets" | "last-member")
|
|
11428
|
-
}]
|
|
11429
|
-
interface _TsMemberDelimiterStyle_DelimiterConfig {
|
|
11430
|
-
multiline?: {
|
|
11431
|
-
delimiter?: ("none" | "semi" | "comma")
|
|
11432
|
-
requireLast?: boolean
|
|
11433
|
-
}
|
|
11434
|
-
singleline?: {
|
|
11435
|
-
delimiter?: ("semi" | "comma")
|
|
11436
|
-
requireLast?: boolean
|
|
11437
|
-
}
|
|
11438
|
-
}
|
|
11439
|
-
// ----- ts/member-ordering -----
|
|
11440
|
-
type TsMemberOrdering = []|[{
|
|
11441
|
-
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
11442
|
-
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
11443
|
-
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
11444
|
-
optionalityOrder?: ("optional-first" | "required-first")
|
|
10898
|
+
// ----- ts/max-params -----
|
|
10899
|
+
type TsMaxParams = []|[{
|
|
10900
|
+
maximum?: number
|
|
10901
|
+
max?: number
|
|
10902
|
+
countVoidThis?: boolean
|
|
10903
|
+
}]
|
|
10904
|
+
// ----- ts/member-ordering -----
|
|
10905
|
+
type TsMemberOrdering = []|[{
|
|
10906
|
+
default?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
10907
|
+
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
10908
|
+
order?: ("alphabetically" | "alphabetically-case-insensitive" | "as-written" | "natural" | "natural-case-insensitive")
|
|
10909
|
+
optionalityOrder?: ("optional-first" | "required-first")
|
|
11445
10910
|
})
|
|
11446
10911
|
classes?: ("never" | (("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | {
|
|
11447
10912
|
memberTypes?: ((("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization") | ("readonly-signature" | "signature" | "readonly-field" | "public-readonly-field" | "public-decorated-readonly-field" | "decorated-readonly-field" | "static-readonly-field" | "public-static-readonly-field" | "instance-readonly-field" | "public-instance-readonly-field" | "abstract-readonly-field" | "public-abstract-readonly-field" | "protected-readonly-field" | "protected-decorated-readonly-field" | "protected-static-readonly-field" | "protected-instance-readonly-field" | "protected-abstract-readonly-field" | "private-readonly-field" | "private-decorated-readonly-field" | "private-static-readonly-field" | "private-instance-readonly-field" | "#private-readonly-field" | "#private-static-readonly-field" | "#private-instance-readonly-field" | "field" | "public-field" | "public-decorated-field" | "decorated-field" | "static-field" | "public-static-field" | "instance-field" | "public-instance-field" | "abstract-field" | "public-abstract-field" | "protected-field" | "protected-decorated-field" | "protected-static-field" | "protected-instance-field" | "protected-abstract-field" | "private-field" | "private-decorated-field" | "private-static-field" | "private-instance-field" | "#private-field" | "#private-static-field" | "#private-instance-field" | "method" | "public-method" | "public-decorated-method" | "decorated-method" | "static-method" | "public-static-method" | "instance-method" | "public-instance-method" | "abstract-method" | "public-abstract-method" | "protected-method" | "protected-decorated-method" | "protected-static-method" | "protected-instance-method" | "protected-abstract-method" | "private-method" | "private-decorated-method" | "private-static-method" | "private-instance-method" | "#private-method" | "#private-static-method" | "#private-instance-method" | "call-signature" | "constructor" | "public-constructor" | "protected-constructor" | "private-constructor" | "accessor" | "public-accessor" | "public-decorated-accessor" | "decorated-accessor" | "static-accessor" | "public-static-accessor" | "instance-accessor" | "public-instance-accessor" | "abstract-accessor" | "public-abstract-accessor" | "protected-accessor" | "protected-decorated-accessor" | "protected-static-accessor" | "protected-instance-accessor" | "protected-abstract-accessor" | "private-accessor" | "private-decorated-accessor" | "private-static-accessor" | "private-instance-accessor" | "#private-accessor" | "#private-static-accessor" | "#private-instance-accessor" | "get" | "public-get" | "public-decorated-get" | "decorated-get" | "static-get" | "public-static-get" | "instance-get" | "public-instance-get" | "abstract-get" | "public-abstract-get" | "protected-get" | "protected-decorated-get" | "protected-static-get" | "protected-instance-get" | "protected-abstract-get" | "private-get" | "private-decorated-get" | "private-static-get" | "private-instance-get" | "#private-get" | "#private-static-get" | "#private-instance-get" | "set" | "public-set" | "public-decorated-set" | "decorated-set" | "static-set" | "public-static-set" | "instance-set" | "public-instance-set" | "abstract-set" | "public-abstract-set" | "protected-set" | "protected-decorated-set" | "protected-static-set" | "protected-instance-set" | "protected-abstract-set" | "private-set" | "private-decorated-set" | "private-static-set" | "private-instance-set" | "#private-set" | "#private-static-set" | "#private-instance-set" | "static-initialization" | "static-static-initialization" | "public-static-static-initialization" | "instance-static-initialization" | "public-instance-static-initialization" | "abstract-static-initialization" | "public-abstract-static-initialization" | "protected-static-static-initialization" | "protected-instance-static-initialization" | "protected-abstract-static-initialization" | "private-static-static-initialization" | "private-instance-static-initialization" | "#private-static-static-initialization" | "#private-instance-static-initialization")[])[] | "never")
|
|
@@ -11810,7 +11275,7 @@ type TsNoEmptyInterface = []|[{
|
|
|
11810
11275
|
// ----- ts/no-empty-object-type -----
|
|
11811
11276
|
type TsNoEmptyObjectType = []|[{
|
|
11812
11277
|
allowInterfaces?: ("always" | "never" | "with-single-extends")
|
|
11813
|
-
allowObjectTypes?: ("always" | "
|
|
11278
|
+
allowObjectTypes?: ("always" | "never")
|
|
11814
11279
|
allowWithName?: string
|
|
11815
11280
|
}]
|
|
11816
11281
|
// ----- ts/no-explicit-any -----
|
|
@@ -11820,19 +11285,6 @@ type TsNoExplicitAny = []|[{
|
|
|
11820
11285
|
|
|
11821
11286
|
ignoreRestArgs?: boolean
|
|
11822
11287
|
}]
|
|
11823
|
-
// ----- ts/no-extra-parens -----
|
|
11824
|
-
type TsNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
11825
|
-
conditionalAssign?: boolean
|
|
11826
|
-
ternaryOperandBinaryExpressions?: boolean
|
|
11827
|
-
nestedBinaryExpressions?: boolean
|
|
11828
|
-
returnAssign?: boolean
|
|
11829
|
-
ignoreJSX?: ("none" | "all" | "single-line" | "multi-line")
|
|
11830
|
-
enforceForArrowConditionals?: boolean
|
|
11831
|
-
enforceForSequenceExpressions?: boolean
|
|
11832
|
-
enforceForNewInMemberExpressions?: boolean
|
|
11833
|
-
enforceForFunctionPrototypeMethods?: boolean
|
|
11834
|
-
allowParensAfterCommentPattern?: string
|
|
11835
|
-
}])
|
|
11836
11288
|
// ----- ts/no-extraneous-class -----
|
|
11837
11289
|
type TsNoExtraneousClass = []|[{
|
|
11838
11290
|
|
|
@@ -11846,10 +11298,6 @@ type TsNoExtraneousClass = []|[{
|
|
|
11846
11298
|
}]
|
|
11847
11299
|
// ----- ts/no-floating-promises -----
|
|
11848
11300
|
type TsNoFloatingPromises = []|[{
|
|
11849
|
-
|
|
11850
|
-
ignoreVoid?: boolean
|
|
11851
|
-
|
|
11852
|
-
ignoreIIFE?: boolean
|
|
11853
11301
|
allowForKnownSafePromises?: (string | {
|
|
11854
11302
|
from: "file"
|
|
11855
11303
|
name: (string | [string, ...(string)[]])
|
|
@@ -11862,6 +11310,24 @@ type TsNoFloatingPromises = []|[{
|
|
|
11862
11310
|
name: (string | [string, ...(string)[]])
|
|
11863
11311
|
package: string
|
|
11864
11312
|
})[]
|
|
11313
|
+
allowForKnownSafeCalls?: (string | {
|
|
11314
|
+
from: "file"
|
|
11315
|
+
name: (string | [string, ...(string)[]])
|
|
11316
|
+
path?: string
|
|
11317
|
+
} | {
|
|
11318
|
+
from: "lib"
|
|
11319
|
+
name: (string | [string, ...(string)[]])
|
|
11320
|
+
} | {
|
|
11321
|
+
from: "package"
|
|
11322
|
+
name: (string | [string, ...(string)[]])
|
|
11323
|
+
package: string
|
|
11324
|
+
})[]
|
|
11325
|
+
|
|
11326
|
+
checkThenables?: boolean
|
|
11327
|
+
|
|
11328
|
+
ignoreVoid?: boolean
|
|
11329
|
+
|
|
11330
|
+
ignoreIIFE?: boolean
|
|
11865
11331
|
}]
|
|
11866
11332
|
// ----- ts/no-inferrable-types -----
|
|
11867
11333
|
type TsNoInferrableTypes = []|[{
|
|
@@ -11922,6 +11388,8 @@ type TsNoRedeclare = []|[{
|
|
|
11922
11388
|
type TsNoRequireImports = []|[{
|
|
11923
11389
|
|
|
11924
11390
|
allow?: string[]
|
|
11391
|
+
|
|
11392
|
+
allowAsImport?: boolean
|
|
11925
11393
|
}]
|
|
11926
11394
|
// ----- ts/no-restricted-imports -----
|
|
11927
11395
|
type TsNoRestrictedImports = ((string | {
|
|
@@ -11946,7 +11414,8 @@ type TsNoRestrictedImports = ((string | {
|
|
|
11946
11414
|
|
|
11947
11415
|
allowImportNames?: [string, ...(string)[]]
|
|
11948
11416
|
|
|
11949
|
-
group
|
|
11417
|
+
group?: [string, ...(string)[]]
|
|
11418
|
+
regex?: string
|
|
11950
11419
|
importNamePattern?: string
|
|
11951
11420
|
allowImportNamePattern?: string
|
|
11952
11421
|
message?: string
|
|
@@ -11955,6 +11424,19 @@ type TsNoRestrictedImports = ((string | {
|
|
|
11955
11424
|
allowTypeImports?: boolean
|
|
11956
11425
|
}[])
|
|
11957
11426
|
}])
|
|
11427
|
+
// ----- ts/no-restricted-types -----
|
|
11428
|
+
type TsNoRestrictedTypes = []|[{
|
|
11429
|
+
types?: {
|
|
11430
|
+
[k: string]: (true | string | {
|
|
11431
|
+
|
|
11432
|
+
message?: string
|
|
11433
|
+
|
|
11434
|
+
fixWith?: string
|
|
11435
|
+
|
|
11436
|
+
suggest?: string[]
|
|
11437
|
+
}) | undefined
|
|
11438
|
+
}
|
|
11439
|
+
}]
|
|
11958
11440
|
// ----- ts/no-shadow -----
|
|
11959
11441
|
type TsNoShadow = []|[{
|
|
11960
11442
|
builtinGlobals?: boolean
|
|
@@ -11971,11 +11453,6 @@ type TsNoThisAlias = []|[{
|
|
|
11971
11453
|
|
|
11972
11454
|
allowedNames?: string[]
|
|
11973
11455
|
}]
|
|
11974
|
-
// ----- ts/no-throw-literal -----
|
|
11975
|
-
type TsNoThrowLiteral = []|[{
|
|
11976
|
-
allowThrowingAny?: boolean
|
|
11977
|
-
allowThrowingUnknown?: boolean
|
|
11978
|
-
}]
|
|
11979
11456
|
// ----- ts/no-type-alias -----
|
|
11980
11457
|
type TsNoTypeAlias = []|[{
|
|
11981
11458
|
|
|
@@ -12031,6 +11508,8 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12031
11508
|
caughtErrors?: ("all" | "none")
|
|
12032
11509
|
caughtErrorsIgnorePattern?: string
|
|
12033
11510
|
destructuredArrayIgnorePattern?: string
|
|
11511
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
11512
|
+
reportUsedIgnorePattern?: boolean
|
|
12034
11513
|
})]
|
|
12035
11514
|
// ----- ts/no-use-before-define -----
|
|
12036
11515
|
type TsNoUseBeforeDefine = []|[("nofunc" | {
|
|
@@ -12047,24 +11526,11 @@ type TsNoVarRequires = []|[{
|
|
|
12047
11526
|
|
|
12048
11527
|
allow?: string[]
|
|
12049
11528
|
}]
|
|
12050
|
-
// ----- ts/object-curly-spacing -----
|
|
12051
|
-
type TsObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
12052
|
-
arraysInObjects?: boolean
|
|
12053
|
-
objectsInObjects?: boolean
|
|
12054
|
-
}]
|
|
12055
11529
|
// ----- ts/only-throw-error -----
|
|
12056
11530
|
type TsOnlyThrowError = []|[{
|
|
12057
11531
|
allowThrowingAny?: boolean
|
|
12058
11532
|
allowThrowingUnknown?: boolean
|
|
12059
11533
|
}]
|
|
12060
|
-
// ----- ts/padding-line-between-statements -----
|
|
12061
|
-
type _TsPaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
12062
|
-
type _TsPaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type") | [("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"), ...(("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "break" | "case" | "class" | "const" | "continue" | "debugger" | "default" | "do" | "export" | "for" | "if" | "import" | "let" | "return" | "switch" | "throw" | "try" | "var" | "while" | "with" | "interface" | "type"))[]])
|
|
12063
|
-
type TsPaddingLineBetweenStatements = {
|
|
12064
|
-
blankLine: _TsPaddingLineBetweenStatementsPaddingType
|
|
12065
|
-
prev: _TsPaddingLineBetweenStatementsStatementType
|
|
12066
|
-
next: _TsPaddingLineBetweenStatementsStatementType
|
|
12067
|
-
}[]
|
|
12068
11534
|
// ----- ts/parameter-properties -----
|
|
12069
11535
|
type TsParameterProperties = []|[{
|
|
12070
11536
|
allow?: ("readonly" | "private" | "protected" | "public" | "private readonly" | "protected readonly" | "public readonly")[]
|
|
@@ -12179,11 +11645,6 @@ type TsPromiseFunctionAsync = []|[{
|
|
|
12179
11645
|
checkFunctionExpressions?: boolean
|
|
12180
11646
|
checkMethodDeclarations?: boolean
|
|
12181
11647
|
}]
|
|
12182
|
-
// ----- ts/quotes -----
|
|
12183
|
-
type TsQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
12184
|
-
avoidEscape?: boolean
|
|
12185
|
-
allowTemplateLiterals?: boolean
|
|
12186
|
-
})]
|
|
12187
11648
|
// ----- ts/require-array-sort-compare -----
|
|
12188
11649
|
type TsRequireArraySortCompare = []|[{
|
|
12189
11650
|
|
|
@@ -12222,14 +11683,7 @@ type TsRestrictTemplateExpressions = []|[{
|
|
|
12222
11683
|
allowNever?: boolean
|
|
12223
11684
|
}]
|
|
12224
11685
|
// ----- ts/return-await -----
|
|
12225
|
-
type TsReturnAwait = []|[("in-try-catch" | "always" | "never")]
|
|
12226
|
-
// ----- ts/semi -----
|
|
12227
|
-
type TsSemi = ([]|["never"]|["never", {
|
|
12228
|
-
beforeStatementContinuationChars?: ("always" | "any" | "never")
|
|
12229
|
-
}] | []|["always"]|["always", {
|
|
12230
|
-
omitLastInOneLineBlock?: boolean
|
|
12231
|
-
omitLastInOneLineClassBody?: boolean
|
|
12232
|
-
}])
|
|
11686
|
+
type TsReturnAwait = []|[("in-try-catch" | "always" | "never" | "error-handling-correctness-only")]
|
|
12233
11687
|
// ----- ts/sort-type-constituents -----
|
|
12234
11688
|
type TsSortTypeConstituents = []|[{
|
|
12235
11689
|
|
|
@@ -12241,22 +11695,6 @@ type TsSortTypeConstituents = []|[{
|
|
|
12241
11695
|
|
|
12242
11696
|
groupOrder?: ("conditional" | "function" | "import" | "intersection" | "keyword" | "nullish" | "literal" | "named" | "object" | "operator" | "tuple" | "union")[]
|
|
12243
11697
|
}]
|
|
12244
|
-
// ----- ts/space-before-blocks -----
|
|
12245
|
-
type TsSpaceBeforeBlocks = []|[(("always" | "never") | {
|
|
12246
|
-
keywords?: ("always" | "never" | "off")
|
|
12247
|
-
functions?: ("always" | "never" | "off")
|
|
12248
|
-
classes?: ("always" | "never" | "off")
|
|
12249
|
-
})]
|
|
12250
|
-
// ----- ts/space-before-function-paren -----
|
|
12251
|
-
type TsSpaceBeforeFunctionParen = []|[(("always" | "never") | {
|
|
12252
|
-
anonymous?: ("always" | "never" | "ignore")
|
|
12253
|
-
named?: ("always" | "never" | "ignore")
|
|
12254
|
-
asyncArrow?: ("always" | "never" | "ignore")
|
|
12255
|
-
})]
|
|
12256
|
-
// ----- ts/space-infix-ops -----
|
|
12257
|
-
type TsSpaceInfixOps = []|[{
|
|
12258
|
-
int32Hint?: boolean
|
|
12259
|
-
}]
|
|
12260
11698
|
// ----- ts/strict-boolean-expressions -----
|
|
12261
11699
|
type TsStrictBooleanExpressions = []|[{
|
|
12262
11700
|
allowString?: boolean
|
|
@@ -12282,23 +11720,6 @@ type TsTripleSlashReference = []|[{
|
|
|
12282
11720
|
path?: ("always" | "never")
|
|
12283
11721
|
types?: ("always" | "never" | "prefer-import")
|
|
12284
11722
|
}]
|
|
12285
|
-
// ----- ts/type-annotation-spacing -----
|
|
12286
|
-
type TsTypeAnnotationSpacing = []|[{
|
|
12287
|
-
before?: boolean
|
|
12288
|
-
after?: boolean
|
|
12289
|
-
overrides?: {
|
|
12290
|
-
colon?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12291
|
-
arrow?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12292
|
-
variable?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12293
|
-
parameter?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12294
|
-
property?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12295
|
-
returnType?: _TsTypeAnnotationSpacing_SpacingConfig
|
|
12296
|
-
}
|
|
12297
|
-
}]
|
|
12298
|
-
interface _TsTypeAnnotationSpacing_SpacingConfig {
|
|
12299
|
-
before?: boolean
|
|
12300
|
-
after?: boolean
|
|
12301
|
-
}
|
|
12302
11723
|
// ----- ts/typedef -----
|
|
12303
11724
|
type TsTypedef = []|[{
|
|
12304
11725
|
arrayDestructuring?: boolean
|
|
@@ -12535,6 +11956,8 @@ type UnusedImportsNoUnusedImports = []|[(("all" | "local") | {
|
|
|
12535
11956
|
caughtErrors?: ("all" | "none")
|
|
12536
11957
|
caughtErrorsIgnorePattern?: string
|
|
12537
11958
|
destructuredArrayIgnorePattern?: string
|
|
11959
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
11960
|
+
reportUsedIgnorePattern?: boolean
|
|
12538
11961
|
})]
|
|
12539
11962
|
// ----- unused-imports/no-unused-vars -----
|
|
12540
11963
|
type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -12546,6 +11969,8 @@ type UnusedImportsNoUnusedVars = []|[(("all" | "local") | {
|
|
|
12546
11969
|
caughtErrors?: ("all" | "none")
|
|
12547
11970
|
caughtErrorsIgnorePattern?: string
|
|
12548
11971
|
destructuredArrayIgnorePattern?: string
|
|
11972
|
+
ignoreClassWithStaticInitBlock?: boolean
|
|
11973
|
+
reportUsedIgnorePattern?: boolean
|
|
12549
11974
|
})]
|
|
12550
11975
|
// ----- use-isnan -----
|
|
12551
11976
|
type UseIsnan = []|[{
|
|
@@ -13945,7 +13370,7 @@ type Yoda = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
13945
13370
|
onlyEquality?: boolean
|
|
13946
13371
|
}]
|
|
13947
13372
|
// Names of all the configs
|
|
13948
|
-
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript' | 'luxass/disables/cli' | 'luxass/jsdoc' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/
|
|
13373
|
+
type ConfigNames = 'luxass/astro/setup' | 'luxass/astro/rules' | 'luxass/eslint-comments' | 'luxass/formatter/setup' | 'luxass/imports' | 'luxass/disables/imports-bin' | 'luxass/javascript/setup' | 'luxass/javascript/rules' | 'luxass/disables/cli' | 'luxass/jsdoc/rules' | 'luxass/jsonc/setup' | 'luxass/jsonc/rules' | 'luxass/markdown/setup' | 'luxass/markdown/processor' | 'luxass/markdown/parser' | 'luxass/markdown/disables' | 'luxass/node' | 'luxass/react/setup' | 'luxass/react/rules' | 'luxass/sort/package-json' | 'luxass/stylistic' | 'luxass/tailwindcss' | 'luxass/sort/tsconfig' | 'luxass/test/setup' | 'luxass/test/rules' | 'luxass/toml/setup' | 'luxass/toml/rules' | 'luxass/typescript/setup' | 'luxass/typescript/parser' | 'luxass/typescript/rules' | 'luxass/typescript/disables/dts' | 'luxass/typescript/disables/test' | 'luxass/typescript/disables/cjs' | 'luxass/unicorn' | 'luxass/unocss' | 'luxass/vue/setup' | 'luxass/vue/rules' | 'luxass/yaml/setup' | 'luxass/yaml/rules' | 'luxass/yaml/github-actions'
|
|
13949
13374
|
|
|
13950
13375
|
declare function comments(): Promise<TypedFlatConfigItem[]>;
|
|
13951
13376
|
|
|
@@ -14089,13 +13514,24 @@ interface TypeScriptOptions {
|
|
|
14089
13514
|
files?: string[];
|
|
14090
13515
|
/**
|
|
14091
13516
|
* Glob patterns for files that should be type aware.
|
|
14092
|
-
* @default
|
|
13517
|
+
* @default ['**\/*.{ts,tsx}']
|
|
14093
13518
|
*/
|
|
14094
|
-
|
|
13519
|
+
filesTypeAware?: string[];
|
|
13520
|
+
/**
|
|
13521
|
+
* Glob patterns for files that should not be type aware.
|
|
13522
|
+
* @default ['**\/*.md\/**', '**\/*.astro/*.ts']
|
|
13523
|
+
*/
|
|
13524
|
+
ignoresTypeAware?: string[];
|
|
14095
13525
|
/**
|
|
14096
13526
|
* Overrides for the config.
|
|
14097
13527
|
*/
|
|
14098
13528
|
overrides?: TypedFlatConfigItem["rules"];
|
|
13529
|
+
/**
|
|
13530
|
+
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
13531
|
+
*
|
|
13532
|
+
* @default "app"
|
|
13533
|
+
*/
|
|
13534
|
+
type?: ProjectType;
|
|
14099
13535
|
}
|
|
14100
13536
|
declare function typescript(options?: TypeScriptOptions): Promise<TypedFlatConfigItem[]>;
|
|
14101
13537
|
|
|
@@ -14435,7 +13871,7 @@ declare function jsx(): Promise<TypedFlatConfigItem[]>;
|
|
|
14435
13871
|
type Awaitable<T> = T | Promise<T>;
|
|
14436
13872
|
type Rules = RuleOptions;
|
|
14437
13873
|
|
|
14438
|
-
type TypedFlatConfigItem = Omit<Linter.
|
|
13874
|
+
type TypedFlatConfigItem = Omit<Linter.Config<Linter.RulesRecord & Rules>, "plugins"> & {
|
|
14439
13875
|
/**
|
|
14440
13876
|
* An object containing a name-value mapping of plugin names to plugin objects. When `files` is specified, these plugins are only available to the matching files.
|
|
14441
13877
|
*
|
|
@@ -14443,8 +13879,15 @@ type TypedFlatConfigItem = Omit<Linter.FlatConfig<Linter.RulesRecord & Rules>, "
|
|
|
14443
13879
|
*/
|
|
14444
13880
|
plugins?: Record<string, any>;
|
|
14445
13881
|
};
|
|
14446
|
-
type UserConfigItem = TypedFlatConfigItem | Linter.
|
|
13882
|
+
type UserConfigItem = TypedFlatConfigItem | Linter.Config;
|
|
13883
|
+
type ProjectType = "app" | "lib";
|
|
14447
13884
|
interface ConfigOptions {
|
|
13885
|
+
/**
|
|
13886
|
+
* Type of the project. `lib` will enable more strict rules for libraries.
|
|
13887
|
+
*
|
|
13888
|
+
* @default "app"
|
|
13889
|
+
*/
|
|
13890
|
+
type?: ProjectType;
|
|
14448
13891
|
/**
|
|
14449
13892
|
* Enable gitignore support.
|
|
14450
13893
|
*
|
|
@@ -14609,7 +14052,7 @@ interface ConfigOptions {
|
|
|
14609
14052
|
* @returns {Promise<TypedFlatConfigItem[]>}
|
|
14610
14053
|
* The merged ESLint configurations.
|
|
14611
14054
|
*/
|
|
14612
|
-
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, ConfigNames> | Linter.
|
|
14055
|
+
declare function luxass(options?: ConfigOptions & TypedFlatConfigItem, ...userConfigs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[] | FlatConfigComposer<any, ConfigNames> | Linter.Config[]>[]): FlatConfigComposer<TypedFlatConfigItem, ConfigNames>;
|
|
14613
14056
|
|
|
14614
14057
|
declare const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
14615
14058
|
declare const GLOB_SRC = "**/*.?([cm])[jt]s?(x)";
|
|
@@ -14633,6 +14076,7 @@ declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
|
14633
14076
|
declare const GLOB_TOML = "**/*.toml";
|
|
14634
14077
|
declare const GLOB_HTML = "**/*.htm?(l)";
|
|
14635
14078
|
declare const GLOB_ASTRO = "**/*.astro";
|
|
14079
|
+
declare const GLOB_ASTRO_TS = "**/*.astro/*.ts";
|
|
14636
14080
|
declare const GLOB_GRAPHQL = "**/*.{g,graph}ql";
|
|
14637
14081
|
declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
|
|
14638
14082
|
declare const GLOB_TESTS: string[];
|
|
@@ -14669,9 +14113,40 @@ declare const parserPlain: {
|
|
|
14669
14113
|
* Combine array and non-array configs into a single array.
|
|
14670
14114
|
*/
|
|
14671
14115
|
declare function combine(...configs: Awaitable<TypedFlatConfigItem | TypedFlatConfigItem[]>[]): Promise<TypedFlatConfigItem[]>;
|
|
14672
|
-
|
|
14673
|
-
|
|
14674
|
-
|
|
14116
|
+
/**
|
|
14117
|
+
* Rename plugin prefixes in a rule object.
|
|
14118
|
+
* Accepts a map of prefixes to rename.
|
|
14119
|
+
*
|
|
14120
|
+
* @example
|
|
14121
|
+
* ```ts
|
|
14122
|
+
* import { renameRules } from '@luxass/eslint-config'
|
|
14123
|
+
*
|
|
14124
|
+
* export default [{
|
|
14125
|
+
* rules: renameRules(
|
|
14126
|
+
* {
|
|
14127
|
+
* '@typescript-eslint/indent': 'error'
|
|
14128
|
+
* },
|
|
14129
|
+
* { '@typescript-eslint': 'ts' }
|
|
14130
|
+
* )
|
|
14131
|
+
* }]
|
|
14132
|
+
* ```
|
|
14133
|
+
*/
|
|
14134
|
+
declare function renameRules(rules: Record<string, any>, map: Record<string, string>): Record<string, any>;
|
|
14135
|
+
/**
|
|
14136
|
+
* Rename plugin names a flat configs array
|
|
14137
|
+
*
|
|
14138
|
+
* @example
|
|
14139
|
+
* ```ts
|
|
14140
|
+
* import { renamePluginInConfigs } from '@antfu/eslint-config'
|
|
14141
|
+
* import someConfigs from './some-configs'
|
|
14142
|
+
*
|
|
14143
|
+
* export default renamePluginInConfigs(someConfigs, {
|
|
14144
|
+
* '@typescript-eslint': 'ts',
|
|
14145
|
+
* 'import-x': 'import',
|
|
14146
|
+
* })
|
|
14147
|
+
* ```
|
|
14148
|
+
*/
|
|
14149
|
+
declare function renamePluginInConfigs(configs: TypedFlatConfigItem[], map: Record<string, string>): TypedFlatConfigItem[];
|
|
14675
14150
|
declare function toArray<T>(value: T | T[]): T[];
|
|
14676
14151
|
declare function interop<T>(m: Awaitable<T>): Promise<T extends {
|
|
14677
14152
|
default: infer U;
|
|
@@ -14679,6 +14154,6 @@ declare function interop<T>(m: Awaitable<T>): Promise<T extends {
|
|
|
14679
14154
|
declare function ensure(packages: (string | undefined)[]): Promise<void>;
|
|
14680
14155
|
type ResolvedOptions<T> = T extends boolean ? never : NonNullable<T>;
|
|
14681
14156
|
declare function resolveSubOptions<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): ResolvedOptions<ConfigOptions[K]>;
|
|
14682
|
-
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K):
|
|
14157
|
+
declare function getOverrides<K extends keyof ConfigOptions>(options: ConfigOptions, key: K): Partial<Linter.RulesRecord & RuleOptions>;
|
|
14683
14158
|
|
|
14684
|
-
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 };
|
|
14159
|
+
export { type AstroOptions, type Awaitable, type ConfigNames, type ConfigOptions, type FormattersOptions, GLOB_ASTRO, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MARKDOWN_IN_MARKDOWN, GLOB_NEXTJS_OG, GLOB_NEXTJS_ROUTES, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type ImportsOptions, type JSDOCOptions, type JSONOptions, type JavaScriptOptions, type MarkdownOptions, type ProjectType, type ReactOptions, type RegExpOptions, type ResolvedOptions, type Rules, type StylisticConfig, type StylisticOptions, type TOMLOptions, type TailwindCSSOptions, type TestOptions, type TypeScriptOptions, type TypedFlatConfigItem, type UnoCSSOptions, type UserConfigItem, type VueOptions, type YAMLOptions, astro, combine, comments, luxass as default, ensure, formatters, getOverrides, ignores, imports, interop, javascript, jsdoc, jsonc, jsx, luxass, markdown, node, parserPlain, react, regexp, renamePluginInConfigs, renameRules, resolveSubOptions, sortPackageJson, sortTsconfig, stylistic, tailwindcss, test, toArray, toml, typescript, unicorn, unocss, vue, yaml };
|