@vinicunca/eslint-config 2.12.0 → 2.12.3
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 +6 -4
- package/dist/index.d.cts +642 -439
- package/dist/index.d.ts +642 -439
- package/dist/index.js +5 -3
- package/package.json +27 -27
package/dist/index.d.cts
CHANGED
|
@@ -374,6 +374,11 @@ interface RuleOptions {
|
|
|
374
374
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/semi/
|
|
375
375
|
*/
|
|
376
376
|
'astro/semi'?: Linter.RuleEntry<AstroSemi>
|
|
377
|
+
/**
|
|
378
|
+
* enforce sorting of attributes
|
|
379
|
+
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/sort-attributes/
|
|
380
|
+
*/
|
|
381
|
+
'astro/sort-attributes'?: Linter.RuleEntry<AstroSortAttributes>
|
|
377
382
|
/**
|
|
378
383
|
* disallow warnings when compiling.
|
|
379
384
|
* @see https://ota-meshi.github.io/eslint-plugin-astro/rules/valid-compile/
|
|
@@ -656,233 +661,233 @@ interface RuleOptions {
|
|
|
656
661
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
657
662
|
/**
|
|
658
663
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/consistent-type-specifier-style.md
|
|
660
665
|
*/
|
|
661
666
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
662
667
|
/**
|
|
663
668
|
* Ensure a default export is present, given a default import.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/default.md
|
|
665
670
|
*/
|
|
666
671
|
'import/default'?: Linter.RuleEntry<[]>
|
|
667
672
|
/**
|
|
668
673
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/dynamic-import-chunkname.md
|
|
670
675
|
*/
|
|
671
676
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
672
677
|
/**
|
|
673
678
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/export.md
|
|
675
680
|
*/
|
|
676
681
|
'import/export'?: Linter.RuleEntry<[]>
|
|
677
682
|
/**
|
|
678
683
|
* Ensure all exports appear after other statements.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/exports-last.md
|
|
680
685
|
*/
|
|
681
686
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
682
687
|
/**
|
|
683
688
|
* Ensure consistent use of file extension within the import path.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/extensions.md
|
|
685
690
|
*/
|
|
686
691
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
687
692
|
/**
|
|
688
693
|
* Ensure all imports appear before other statements.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
694
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/first.md
|
|
690
695
|
*/
|
|
691
696
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
692
697
|
/**
|
|
693
698
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
694
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
699
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/group-exports.md
|
|
695
700
|
*/
|
|
696
701
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
697
702
|
/**
|
|
698
703
|
* Replaced by `import-x/first`.
|
|
699
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
704
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/imports-first.md
|
|
700
705
|
* @deprecated
|
|
701
706
|
*/
|
|
702
707
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
703
708
|
/**
|
|
704
709
|
* Enforce the maximum number of dependencies a module can have.
|
|
705
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
710
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/max-dependencies.md
|
|
706
711
|
*/
|
|
707
712
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
708
713
|
/**
|
|
709
714
|
* Ensure named imports correspond to a named export in the remote file.
|
|
710
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
715
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/named.md
|
|
711
716
|
*/
|
|
712
717
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
713
718
|
/**
|
|
714
719
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
715
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
720
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/namespace.md
|
|
716
721
|
*/
|
|
717
722
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
718
723
|
/**
|
|
719
724
|
* Enforce a newline after import statements.
|
|
720
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
725
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/newline-after-import.md
|
|
721
726
|
*/
|
|
722
727
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
723
728
|
/**
|
|
724
729
|
* Forbid import of modules using absolute paths.
|
|
725
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
730
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-absolute-path.md
|
|
726
731
|
*/
|
|
727
732
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
728
733
|
/**
|
|
729
734
|
* Forbid AMD `require` and `define` calls.
|
|
730
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
735
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-amd.md
|
|
731
736
|
*/
|
|
732
737
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
733
738
|
/**
|
|
734
739
|
* Forbid anonymous values as default exports.
|
|
735
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-anonymous-default-export.md
|
|
736
741
|
*/
|
|
737
742
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
738
743
|
/**
|
|
739
744
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
740
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-commonjs.md
|
|
741
746
|
*/
|
|
742
747
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
743
748
|
/**
|
|
744
749
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
745
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-cycle.md
|
|
746
751
|
*/
|
|
747
752
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
748
753
|
/**
|
|
749
754
|
* Forbid default exports.
|
|
750
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-default-export.md
|
|
751
756
|
*/
|
|
752
757
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
753
758
|
/**
|
|
754
759
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
755
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-deprecated.md
|
|
756
761
|
*/
|
|
757
762
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
758
763
|
/**
|
|
759
764
|
* Forbid repeated import of the same module in multiple places.
|
|
760
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-duplicates.md
|
|
761
766
|
*/
|
|
762
767
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
763
768
|
/**
|
|
764
769
|
* Forbid `require()` calls with expressions.
|
|
765
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-dynamic-require.md
|
|
766
771
|
*/
|
|
767
772
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
768
773
|
/**
|
|
769
774
|
* Forbid empty named import blocks.
|
|
770
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-empty-named-blocks.md
|
|
771
776
|
*/
|
|
772
777
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
773
778
|
/**
|
|
774
779
|
* Forbid the use of extraneous packages.
|
|
775
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-extraneous-dependencies.md
|
|
776
781
|
*/
|
|
777
782
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
778
783
|
/**
|
|
779
784
|
* Forbid import statements with CommonJS module.exports.
|
|
780
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
785
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-import-module-exports.md
|
|
781
786
|
*/
|
|
782
787
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
783
788
|
/**
|
|
784
789
|
* Forbid importing the submodules of other modules.
|
|
785
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
790
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-internal-modules.md
|
|
786
791
|
*/
|
|
787
792
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
788
793
|
/**
|
|
789
794
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
790
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
795
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-mutable-exports.md
|
|
791
796
|
*/
|
|
792
797
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
793
798
|
/**
|
|
794
799
|
* Forbid use of exported name as identifier of default export.
|
|
795
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
800
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default.md
|
|
796
801
|
*/
|
|
797
802
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
798
803
|
/**
|
|
799
804
|
* Forbid use of exported name as property of default export.
|
|
800
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
805
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default-member.md
|
|
801
806
|
*/
|
|
802
807
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
803
808
|
/**
|
|
804
809
|
* Forbid named default exports.
|
|
805
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
810
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-default.md
|
|
806
811
|
*/
|
|
807
812
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
808
813
|
/**
|
|
809
814
|
* Forbid named exports.
|
|
810
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
815
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-export.md
|
|
811
816
|
*/
|
|
812
817
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
813
818
|
/**
|
|
814
819
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
815
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
820
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-namespace.md
|
|
816
821
|
*/
|
|
817
822
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
818
823
|
/**
|
|
819
824
|
* Forbid Node.js builtin modules.
|
|
820
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
825
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-nodejs-modules.md
|
|
821
826
|
*/
|
|
822
827
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
823
828
|
/**
|
|
824
829
|
* Forbid importing packages through relative paths.
|
|
825
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
830
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-packages.md
|
|
826
831
|
*/
|
|
827
832
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
828
833
|
/**
|
|
829
834
|
* Forbid importing modules from parent directories.
|
|
830
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-parent-imports.md
|
|
831
836
|
*/
|
|
832
837
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
833
838
|
/**
|
|
834
839
|
* Forbid importing a default export by a different name.
|
|
835
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-rename-default.md
|
|
836
841
|
*/
|
|
837
842
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
838
843
|
/**
|
|
839
844
|
* Enforce which files can be imported in a given folder.
|
|
840
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-restricted-paths.md
|
|
841
846
|
*/
|
|
842
847
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
843
848
|
/**
|
|
844
849
|
* Forbid a module from importing itself.
|
|
845
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
850
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-self-import.md
|
|
846
851
|
*/
|
|
847
852
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
848
853
|
/**
|
|
849
854
|
* Forbid unassigned imports.
|
|
850
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
855
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unassigned-import.md
|
|
851
856
|
*/
|
|
852
857
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
853
858
|
/**
|
|
854
859
|
* Ensure imports point to a file/module that can be resolved.
|
|
855
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
860
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unresolved.md
|
|
856
861
|
*/
|
|
857
862
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
858
863
|
/**
|
|
859
864
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
860
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
865
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unused-modules.md
|
|
861
866
|
*/
|
|
862
867
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
863
868
|
/**
|
|
864
869
|
* Forbid unnecessary path segments in import and require statements.
|
|
865
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
870
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-useless-path-segments.md
|
|
866
871
|
*/
|
|
867
872
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
868
873
|
/**
|
|
869
874
|
* Forbid webpack loader syntax in imports.
|
|
870
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
875
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-webpack-loader-syntax.md
|
|
871
876
|
*/
|
|
872
877
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
873
878
|
/**
|
|
874
879
|
* Enforce a convention in module import order.
|
|
875
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
880
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/order.md
|
|
876
881
|
*/
|
|
877
882
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
878
883
|
/**
|
|
879
884
|
* Prefer a default export if module exports a single name or multiple names.
|
|
880
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
885
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/prefer-default-export.md
|
|
881
886
|
*/
|
|
882
887
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
883
888
|
/**
|
|
884
889
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
885
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.3
|
|
890
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
|
|
886
891
|
*/
|
|
887
892
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
888
893
|
/**
|
|
@@ -2647,17 +2652,16 @@ interface RuleOptions {
|
|
|
2647
2652
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2648
2653
|
*/
|
|
2649
2654
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2650
|
-
/**
|
|
2651
|
-
* Enforce sorted Astro attributes.
|
|
2652
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2653
|
-
* @deprecated
|
|
2654
|
-
*/
|
|
2655
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2656
2655
|
/**
|
|
2657
2656
|
* Enforce sorted classes.
|
|
2658
2657
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2659
2658
|
*/
|
|
2660
2659
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
2660
|
+
/**
|
|
2661
|
+
* Enforce sorted decorators.
|
|
2662
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
2663
|
+
*/
|
|
2664
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
2661
2665
|
/**
|
|
2662
2666
|
* Enforce sorted TypeScript enums.
|
|
2663
2667
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2668,6 +2672,11 @@ interface RuleOptions {
|
|
|
2668
2672
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2669
2673
|
*/
|
|
2670
2674
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
2675
|
+
/**
|
|
2676
|
+
* Enforce sorted heritage clauses.
|
|
2677
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
2678
|
+
*/
|
|
2679
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
2671
2680
|
/**
|
|
2672
2681
|
* Enforce sorted imports.
|
|
2673
2682
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2693,6 +2702,11 @@ interface RuleOptions {
|
|
|
2693
2702
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2694
2703
|
*/
|
|
2695
2704
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
2705
|
+
/**
|
|
2706
|
+
* Enforce sorted modules.
|
|
2707
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
2708
|
+
*/
|
|
2709
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
2696
2710
|
/**
|
|
2697
2711
|
* Enforce sorted named exports.
|
|
2698
2712
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2718,12 +2732,6 @@ interface RuleOptions {
|
|
|
2718
2732
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2719
2733
|
*/
|
|
2720
2734
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2721
|
-
/**
|
|
2722
|
-
* Enforce sorted Svelte attributes.
|
|
2723
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2724
|
-
* @deprecated
|
|
2725
|
-
*/
|
|
2726
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2727
2735
|
/**
|
|
2728
2736
|
* Enforce sorted switch cases.
|
|
2729
2737
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2739,12 +2747,6 @@ interface RuleOptions {
|
|
|
2739
2747
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2740
2748
|
*/
|
|
2741
2749
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2742
|
-
/**
|
|
2743
|
-
* Enforce sorted Vue attributes.
|
|
2744
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2745
|
-
* @deprecated
|
|
2746
|
-
*/
|
|
2747
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2748
2750
|
/**
|
|
2749
2751
|
* Require using arrow functions for callbacks
|
|
2750
2752
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -2878,6 +2880,11 @@ interface RuleOptions {
|
|
|
2878
2880
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2879
2881
|
*/
|
|
2880
2882
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2883
|
+
/**
|
|
2884
|
+
* disallow usage of unknown DOM property
|
|
2885
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
2886
|
+
*/
|
|
2887
|
+
'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
|
|
2881
2888
|
/**
|
|
2882
2889
|
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2883
2890
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
@@ -2904,8 +2911,8 @@ interface RuleOptions {
|
|
|
2904
2911
|
*/
|
|
2905
2912
|
'react-hooks-extra/no-direct-set-state-in-use-effect'?: Linter.RuleEntry<[]>
|
|
2906
2913
|
/**
|
|
2907
|
-
* disallow direct calls to the 'set' function of 'useState' in '
|
|
2908
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-effect
|
|
2914
|
+
* disallow direct calls to the 'set' function of 'useState' in 'useLayoutEffect'
|
|
2915
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-direct-set-state-in-use-layout-effect
|
|
2909
2916
|
*/
|
|
2910
2917
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2911
2918
|
/**
|
|
@@ -2974,6 +2981,16 @@ interface RuleOptions {
|
|
|
2974
2981
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2975
2982
|
*/
|
|
2976
2983
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
2984
|
+
/**
|
|
2985
|
+
* disallow duplicate props
|
|
2986
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
2987
|
+
*/
|
|
2988
|
+
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
2989
|
+
/**
|
|
2990
|
+
* a helper rule to mark variables as used
|
|
2991
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-uses-vars
|
|
2992
|
+
*/
|
|
2993
|
+
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2977
2994
|
/**
|
|
2978
2995
|
* disallow accessing 'this.state' within 'setState'
|
|
2979
2996
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -3168,12 +3185,17 @@ interface RuleOptions {
|
|
|
3168
3185
|
* disallow unnecessary fragments
|
|
3169
3186
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
3170
3187
|
*/
|
|
3171
|
-
'react/no-useless-fragment'?: Linter.RuleEntry<
|
|
3188
|
+
'react/no-useless-fragment'?: Linter.RuleEntry<ReactNoUselessFragment>
|
|
3172
3189
|
/**
|
|
3173
3190
|
* enforce using destructuring assignment in component props and context
|
|
3174
3191
|
* @see https://eslint-react.xyz/docs/rules/prefer-destructuring-assignment
|
|
3175
3192
|
*/
|
|
3176
3193
|
'react/prefer-destructuring-assignment'?: Linter.RuleEntry<[]>
|
|
3194
|
+
/**
|
|
3195
|
+
* enforce React is imported via a namespace import
|
|
3196
|
+
* @see https://eslint-react.xyz/docs/rules/prefer-react-namespace-import
|
|
3197
|
+
*/
|
|
3198
|
+
'react/prefer-react-namespace-import'?: Linter.RuleEntry<[]>
|
|
3177
3199
|
/**
|
|
3178
3200
|
* enforce read-only props in components
|
|
3179
3201
|
* @see https://eslint-react.xyz/docs/rules/prefer-read-only-props
|
|
@@ -3645,103 +3667,103 @@ interface RuleOptions {
|
|
|
3645
3667
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3646
3668
|
/**
|
|
3647
3669
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
3648
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/components-return-once.md
|
|
3670
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/components-return-once.md
|
|
3649
3671
|
*/
|
|
3650
3672
|
'solid/components-return-once'?: Linter.RuleEntry<[]>
|
|
3651
3673
|
/**
|
|
3652
3674
|
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
3653
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/event-handlers.md
|
|
3675
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/event-handlers.md
|
|
3654
3676
|
*/
|
|
3655
3677
|
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>
|
|
3656
3678
|
/**
|
|
3657
3679
|
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
3658
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/imports.md
|
|
3680
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/imports.md
|
|
3659
3681
|
*/
|
|
3660
3682
|
'solid/imports'?: Linter.RuleEntry<[]>
|
|
3661
3683
|
/**
|
|
3662
3684
|
* Disallow passing the same prop twice in JSX.
|
|
3663
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-duplicate-props.md
|
|
3685
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-duplicate-props.md
|
|
3664
3686
|
*/
|
|
3665
3687
|
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>
|
|
3666
3688
|
/**
|
|
3667
3689
|
* Disallow javascript: URLs.
|
|
3668
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-script-url.md
|
|
3690
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-script-url.md
|
|
3669
3691
|
*/
|
|
3670
3692
|
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>
|
|
3671
3693
|
/**
|
|
3672
3694
|
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
3673
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-undef.md
|
|
3695
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-undef.md
|
|
3674
3696
|
*/
|
|
3675
3697
|
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>
|
|
3676
3698
|
/**
|
|
3677
3699
|
* Prevent variables used in JSX from being marked as unused.
|
|
3678
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-uses-vars.md
|
|
3700
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-uses-vars.md
|
|
3679
3701
|
*/
|
|
3680
3702
|
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3681
3703
|
/**
|
|
3682
3704
|
* Disallow usage of type-unsafe event handlers.
|
|
3683
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-array-handlers.md
|
|
3705
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-array-handlers.md
|
|
3684
3706
|
*/
|
|
3685
3707
|
'solid/no-array-handlers'?: Linter.RuleEntry<[]>
|
|
3686
3708
|
/**
|
|
3687
3709
|
* Disallow destructuring props. In Solid, props must be used with property accesses (`props.foo`) to preserve reactivity. This rule only tracks destructuring in the parameter list.
|
|
3688
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-destructure.md
|
|
3710
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-destructure.md
|
|
3689
3711
|
*/
|
|
3690
3712
|
'solid/no-destructure'?: Linter.RuleEntry<[]>
|
|
3691
3713
|
/**
|
|
3692
3714
|
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
3693
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-innerhtml.md
|
|
3715
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-innerhtml.md
|
|
3694
3716
|
*/
|
|
3695
3717
|
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>
|
|
3696
3718
|
/**
|
|
3697
3719
|
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
3698
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-proxy-apis.md
|
|
3720
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-proxy-apis.md
|
|
3699
3721
|
*/
|
|
3700
3722
|
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>
|
|
3701
3723
|
/**
|
|
3702
3724
|
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
3703
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-deps.md
|
|
3725
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-deps.md
|
|
3704
3726
|
*/
|
|
3705
3727
|
'solid/no-react-deps'?: Linter.RuleEntry<[]>
|
|
3706
3728
|
/**
|
|
3707
3729
|
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
3708
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-specific-props.md
|
|
3730
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-specific-props.md
|
|
3709
3731
|
*/
|
|
3710
3732
|
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>
|
|
3711
3733
|
/**
|
|
3712
3734
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
3713
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-unknown-namespaces.md
|
|
3735
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
|
|
3714
3736
|
*/
|
|
3715
3737
|
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>
|
|
3716
3738
|
/**
|
|
3717
3739
|
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
3718
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-classlist.md
|
|
3740
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-classlist.md
|
|
3719
3741
|
* @deprecated
|
|
3720
3742
|
*/
|
|
3721
3743
|
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>
|
|
3722
3744
|
/**
|
|
3723
3745
|
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
3724
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-for.md
|
|
3746
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-for.md
|
|
3725
3747
|
*/
|
|
3726
3748
|
'solid/prefer-for'?: Linter.RuleEntry<[]>
|
|
3727
3749
|
/**
|
|
3728
3750
|
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
3729
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-show.md
|
|
3751
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-show.md
|
|
3730
3752
|
*/
|
|
3731
3753
|
'solid/prefer-show'?: Linter.RuleEntry<[]>
|
|
3732
3754
|
/**
|
|
3733
3755
|
* Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
|
|
3734
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md
|
|
3756
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/reactivity.md
|
|
3735
3757
|
*/
|
|
3736
3758
|
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>
|
|
3737
3759
|
/**
|
|
3738
3760
|
* Disallow extra closing tags for components without children.
|
|
3739
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/self-closing-comp.md
|
|
3761
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/self-closing-comp.md
|
|
3740
3762
|
*/
|
|
3741
3763
|
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>
|
|
3742
3764
|
/**
|
|
3743
3765
|
* Require CSS properties in the `style` prop to be valid and kebab-cased (ex. 'font-size'), not camel-cased (ex. 'fontSize') like in React, and that property values with dimensions are strings, not numbers with implicit 'px' units.
|
|
3744
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/style-prop.md
|
|
3766
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/style-prop.md
|
|
3745
3767
|
*/
|
|
3746
3768
|
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>
|
|
3747
3769
|
/**
|
|
@@ -4482,6 +4504,11 @@ interface RuleOptions {
|
|
|
4482
4504
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/first-attribute-linebreak/
|
|
4483
4505
|
*/
|
|
4484
4506
|
'svelte/first-attribute-linebreak'?: Linter.RuleEntry<SvelteFirstAttributeLinebreak>
|
|
4507
|
+
/**
|
|
4508
|
+
* Require or disallow a line break before tag's closing brackets
|
|
4509
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-new-line/
|
|
4510
|
+
*/
|
|
4511
|
+
'svelte/html-closing-bracket-new-line'?: Linter.RuleEntry<SvelteHtmlClosingBracketNewLine>
|
|
4485
4512
|
/**
|
|
4486
4513
|
* require or disallow a space before tag's closing brackets
|
|
4487
4514
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/html-closing-bracket-spacing/
|
|
@@ -4592,6 +4619,11 @@ interface RuleOptions {
|
|
|
4592
4619
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inner-declarations/
|
|
4593
4620
|
*/
|
|
4594
4621
|
'svelte/no-inner-declarations'?: Linter.RuleEntry<SvelteNoInnerDeclarations>
|
|
4622
|
+
/**
|
|
4623
|
+
* Warns against the use of `$inspect` directive
|
|
4624
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-inspect/
|
|
4625
|
+
*/
|
|
4626
|
+
'svelte/no-inspect'?: Linter.RuleEntry<[]>
|
|
4595
4627
|
/**
|
|
4596
4628
|
* disallow use of not function in event handler
|
|
4597
4629
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-not-function-handler/
|
|
@@ -5086,6 +5118,11 @@ interface RuleOptions {
|
|
|
5086
5118
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
5087
5119
|
*/
|
|
5088
5120
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
5121
|
+
/**
|
|
5122
|
+
* Require promises that have expectations in their chain to be valid
|
|
5123
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
5124
|
+
*/
|
|
5125
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
5089
5126
|
/**
|
|
5090
5127
|
* enforce valid titles
|
|
5091
5128
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -5620,6 +5657,11 @@ interface RuleOptions {
|
|
|
5620
5657
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
5621
5658
|
*/
|
|
5622
5659
|
'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
5660
|
+
/**
|
|
5661
|
+
* Disallow type assertions that narrow a type
|
|
5662
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
5663
|
+
*/
|
|
5664
|
+
'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
5623
5665
|
/**
|
|
5624
5666
|
* Require unary negation to take a number
|
|
5625
5667
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -5777,6 +5819,11 @@ interface RuleOptions {
|
|
|
5777
5819
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
5778
5820
|
*/
|
|
5779
5821
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
5822
|
+
/**
|
|
5823
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
5824
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
5825
|
+
*/
|
|
5826
|
+
'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
5780
5827
|
/**
|
|
5781
5828
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
5782
5829
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -5850,702 +5897,702 @@ interface RuleOptions {
|
|
|
5850
5897
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5851
5898
|
/**
|
|
5852
5899
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5900
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
5854
5901
|
*/
|
|
5855
5902
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5856
5903
|
/**
|
|
5857
5904
|
* Enforce a specific parameter name in catch clauses.
|
|
5858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5905
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
5859
5906
|
*/
|
|
5860
5907
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5861
5908
|
/**
|
|
5862
5909
|
* Use destructured variables over properties.
|
|
5863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5910
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
5864
5911
|
*/
|
|
5865
5912
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5866
5913
|
/**
|
|
5867
5914
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5915
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
5869
5916
|
*/
|
|
5870
5917
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5871
5918
|
/**
|
|
5872
5919
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5920
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
5874
5921
|
*/
|
|
5875
5922
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5876
5923
|
/**
|
|
5877
5924
|
* Move function definitions to the highest possible scope.
|
|
5878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5925
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
5879
5926
|
*/
|
|
5880
5927
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5881
5928
|
/**
|
|
5882
5929
|
* Enforce correct `Error` subclassing.
|
|
5883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5930
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
5884
5931
|
*/
|
|
5885
5932
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5886
5933
|
/**
|
|
5887
5934
|
* Enforce no spaces between braces.
|
|
5888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5935
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
5889
5936
|
*/
|
|
5890
5937
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5891
5938
|
/**
|
|
5892
5939
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5940
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
5894
5941
|
*/
|
|
5895
5942
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5896
5943
|
/**
|
|
5897
5944
|
* Require escape sequences to use uppercase values.
|
|
5898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5945
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
5899
5946
|
*/
|
|
5900
5947
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5901
5948
|
/**
|
|
5902
5949
|
* Add expiration conditions to TODO comments.
|
|
5903
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5950
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
5904
5951
|
*/
|
|
5905
5952
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5906
5953
|
/**
|
|
5907
5954
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5908
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5955
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
5909
5956
|
*/
|
|
5910
5957
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5911
5958
|
/**
|
|
5912
5959
|
* Enforce a case style for filenames.
|
|
5913
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5960
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
5914
5961
|
*/
|
|
5915
5962
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5916
5963
|
/**
|
|
5917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5964
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
5918
5965
|
* @deprecated
|
|
5919
5966
|
*/
|
|
5920
5967
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5921
5968
|
/**
|
|
5922
5969
|
* Enforce specific import styles per module.
|
|
5923
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5970
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
5924
5971
|
*/
|
|
5925
5972
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5926
5973
|
/**
|
|
5927
5974
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5928
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5975
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
5929
5976
|
*/
|
|
5930
5977
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5931
5978
|
/**
|
|
5932
5979
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5933
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5980
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
5934
5981
|
*/
|
|
5935
5982
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5936
5983
|
/**
|
|
5937
5984
|
* Disallow anonymous functions and classes as the default export.
|
|
5938
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5985
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
5939
5986
|
*/
|
|
5940
5987
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5941
5988
|
/**
|
|
5942
5989
|
* Prevent passing a function reference directly to iterator methods.
|
|
5943
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5990
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
5944
5991
|
*/
|
|
5945
5992
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5946
5993
|
/**
|
|
5947
5994
|
* Prefer `for…of` over the `forEach` method.
|
|
5948
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5995
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
5949
5996
|
*/
|
|
5950
5997
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5951
5998
|
/**
|
|
5952
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5999
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
5953
6000
|
* @deprecated
|
|
5954
6001
|
*/
|
|
5955
6002
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5956
6003
|
/**
|
|
5957
6004
|
* Disallow using the `this` argument in array methods.
|
|
5958
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6005
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
5959
6006
|
*/
|
|
5960
6007
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5961
6008
|
/**
|
|
5962
6009
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5963
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6010
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
5964
6011
|
*/
|
|
5965
6012
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5966
6013
|
/**
|
|
5967
6014
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5968
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6015
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
5969
6016
|
*/
|
|
5970
6017
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5971
6018
|
/**
|
|
5972
6019
|
* Disallow member access from await expression.
|
|
5973
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6020
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
5974
6021
|
*/
|
|
5975
6022
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5976
6023
|
/**
|
|
5977
6024
|
* Disallow using `await` in `Promise` method parameters.
|
|
5978
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6025
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
5979
6026
|
*/
|
|
5980
6027
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5981
6028
|
/**
|
|
5982
6029
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5983
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6030
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
5984
6031
|
*/
|
|
5985
6032
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5986
6033
|
/**
|
|
5987
6034
|
* Do not use `document.cookie` directly.
|
|
5988
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6035
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
5989
6036
|
*/
|
|
5990
6037
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5991
6038
|
/**
|
|
5992
6039
|
* Disallow empty files.
|
|
5993
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6040
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
5994
6041
|
*/
|
|
5995
6042
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5996
6043
|
/**
|
|
5997
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6044
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5998
6045
|
* @deprecated
|
|
5999
6046
|
*/
|
|
6000
6047
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
6001
6048
|
/**
|
|
6002
6049
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
6003
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6050
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
6004
6051
|
*/
|
|
6005
6052
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
6006
6053
|
/**
|
|
6007
6054
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
6008
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6055
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
6009
6056
|
*/
|
|
6010
6057
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
6011
6058
|
/**
|
|
6012
6059
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
6013
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6060
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
6014
6061
|
*/
|
|
6015
6062
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
6016
6063
|
/**
|
|
6017
6064
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
6018
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6065
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
6019
6066
|
*/
|
|
6020
6067
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
6021
6068
|
/**
|
|
6022
6069
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
6023
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6070
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
6024
6071
|
*/
|
|
6025
6072
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
6026
6073
|
/**
|
|
6027
6074
|
* Disallow identifiers starting with `new` or `class`.
|
|
6028
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6075
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
6029
6076
|
*/
|
|
6030
6077
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
6031
6078
|
/**
|
|
6032
6079
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
6033
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6080
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
6034
6081
|
*/
|
|
6035
6082
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
6036
6083
|
/**
|
|
6037
6084
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
6038
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6085
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
6039
6086
|
*/
|
|
6040
6087
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
6041
6088
|
/**
|
|
6042
6089
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
6043
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6090
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
6044
6091
|
*/
|
|
6045
6092
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
6046
6093
|
/**
|
|
6047
6094
|
* Disallow negated conditions.
|
|
6048
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6095
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
6049
6096
|
*/
|
|
6050
6097
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
6051
6098
|
/**
|
|
6052
6099
|
* Disallow negated expression in equality check.
|
|
6053
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6100
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
6054
6101
|
*/
|
|
6055
6102
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
6056
6103
|
/**
|
|
6057
6104
|
* Disallow nested ternary expressions.
|
|
6058
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6105
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
6059
6106
|
*/
|
|
6060
6107
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
6061
6108
|
/**
|
|
6062
6109
|
* Disallow `new Array()`.
|
|
6063
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6110
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
6064
6111
|
*/
|
|
6065
6112
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
6066
6113
|
/**
|
|
6067
6114
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
6068
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6115
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
6069
6116
|
*/
|
|
6070
6117
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
6071
6118
|
/**
|
|
6072
6119
|
* Disallow the use of the `null` literal.
|
|
6073
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6120
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
6074
6121
|
*/
|
|
6075
6122
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
6076
6123
|
/**
|
|
6077
6124
|
* Disallow the use of objects as default parameters.
|
|
6078
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6125
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
6079
6126
|
*/
|
|
6080
6127
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
6081
6128
|
/**
|
|
6082
6129
|
* Disallow `process.exit()`.
|
|
6083
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6130
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
6084
6131
|
*/
|
|
6085
6132
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
6086
6133
|
/**
|
|
6087
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6134
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-reduce
|
|
6088
6135
|
* @deprecated
|
|
6089
6136
|
*/
|
|
6090
6137
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
6091
6138
|
/**
|
|
6092
6139
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
6093
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6140
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
6094
6141
|
*/
|
|
6095
6142
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
6096
6143
|
/**
|
|
6097
6144
|
* Disallow classes that only have static members.
|
|
6098
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6145
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
6099
6146
|
*/
|
|
6100
6147
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
6101
6148
|
/**
|
|
6102
6149
|
* Disallow `then` property.
|
|
6103
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6150
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
6104
6151
|
*/
|
|
6105
6152
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
6106
6153
|
/**
|
|
6107
6154
|
* Disallow assigning `this` to a variable.
|
|
6108
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6155
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
6109
6156
|
*/
|
|
6110
6157
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
6111
6158
|
/**
|
|
6112
6159
|
* Disallow comparing `undefined` using `typeof`.
|
|
6113
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6160
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
6114
6161
|
*/
|
|
6115
6162
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
6116
6163
|
/**
|
|
6117
6164
|
* Disallow awaiting non-promise values.
|
|
6118
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6165
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
6119
6166
|
*/
|
|
6120
6167
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
6121
6168
|
/**
|
|
6122
6169
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
6123
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6170
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
6124
6171
|
*/
|
|
6125
6172
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
6126
6173
|
/**
|
|
6127
6174
|
* Disallow unreadable array destructuring.
|
|
6128
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6175
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
6129
6176
|
*/
|
|
6130
6177
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
6131
6178
|
/**
|
|
6132
6179
|
* Disallow unreadable IIFEs.
|
|
6133
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6180
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
6134
6181
|
*/
|
|
6135
6182
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
6136
6183
|
/**
|
|
6137
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6184
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-unsafe-regex
|
|
6138
6185
|
* @deprecated
|
|
6139
6186
|
*/
|
|
6140
6187
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
6141
6188
|
/**
|
|
6142
6189
|
* Disallow unused object properties.
|
|
6143
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6190
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
6144
6191
|
*/
|
|
6145
6192
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
6146
6193
|
/**
|
|
6147
6194
|
* Disallow useless fallback when spreading in object literals.
|
|
6148
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6195
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
6149
6196
|
*/
|
|
6150
6197
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
6151
6198
|
/**
|
|
6152
6199
|
* Disallow useless array length check.
|
|
6153
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6200
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
6154
6201
|
*/
|
|
6155
6202
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
6156
6203
|
/**
|
|
6157
6204
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6158
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6205
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
6159
6206
|
*/
|
|
6160
6207
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
6161
6208
|
/**
|
|
6162
6209
|
* Disallow unnecessary spread.
|
|
6163
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6210
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
6164
6211
|
*/
|
|
6165
6212
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
6166
6213
|
/**
|
|
6167
6214
|
* Disallow useless case in switch statements.
|
|
6168
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6215
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
6169
6216
|
*/
|
|
6170
6217
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
6171
6218
|
/**
|
|
6172
6219
|
* Disallow useless `undefined`.
|
|
6173
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6220
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
6174
6221
|
*/
|
|
6175
6222
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
6176
6223
|
/**
|
|
6177
6224
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6178
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6225
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
6179
6226
|
*/
|
|
6180
6227
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
6181
6228
|
/**
|
|
6182
6229
|
* Enforce proper case for numeric literals.
|
|
6183
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6230
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
6184
6231
|
*/
|
|
6185
6232
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
6186
6233
|
/**
|
|
6187
6234
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6188
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6235
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
6189
6236
|
*/
|
|
6190
6237
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
6191
6238
|
/**
|
|
6192
6239
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6193
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6240
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
6194
6241
|
*/
|
|
6195
6242
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
6196
6243
|
/**
|
|
6197
6244
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6198
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6245
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
6199
6246
|
*/
|
|
6200
6247
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
6201
6248
|
/**
|
|
6202
6249
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6203
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6250
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
6204
6251
|
*/
|
|
6205
6252
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
6206
6253
|
/**
|
|
6207
6254
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6208
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6255
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
6209
6256
|
*/
|
|
6210
6257
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
6211
6258
|
/**
|
|
6212
6259
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6213
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6260
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
6214
6261
|
*/
|
|
6215
6262
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
6216
6263
|
/**
|
|
6217
6264
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6218
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6265
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
6219
6266
|
*/
|
|
6220
6267
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
6221
6268
|
/**
|
|
6222
6269
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6223
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6270
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
6224
6271
|
*/
|
|
6225
6272
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
6226
6273
|
/**
|
|
6227
6274
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6228
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6275
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
6229
6276
|
*/
|
|
6230
6277
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
6231
6278
|
/**
|
|
6232
6279
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6233
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6280
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
6234
6281
|
*/
|
|
6235
6282
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
6236
6283
|
/**
|
|
6237
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-dataset
|
|
6238
6285
|
* @deprecated
|
|
6239
6286
|
*/
|
|
6240
6287
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
6241
6288
|
/**
|
|
6242
6289
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6243
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6290
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
6244
6291
|
*/
|
|
6245
6292
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
6246
6293
|
/**
|
|
6247
6294
|
* Prefer default parameters over reassignment.
|
|
6248
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6295
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
6249
6296
|
*/
|
|
6250
6297
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
6251
6298
|
/**
|
|
6252
6299
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6253
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6300
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
6254
6301
|
*/
|
|
6255
6302
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6256
6303
|
/**
|
|
6257
6304
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6258
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6305
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
6259
6306
|
*/
|
|
6260
6307
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6261
6308
|
/**
|
|
6262
6309
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6263
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6310
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
6264
6311
|
*/
|
|
6265
6312
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6266
6313
|
/**
|
|
6267
6314
|
* Prefer `.textContent` over `.innerText`.
|
|
6268
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6315
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
6269
6316
|
*/
|
|
6270
6317
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6271
6318
|
/**
|
|
6272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-event-key
|
|
6273
6320
|
* @deprecated
|
|
6274
6321
|
*/
|
|
6275
6322
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6276
6323
|
/**
|
|
6277
6324
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6278
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6325
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
6279
6326
|
*/
|
|
6280
6327
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6281
6328
|
/**
|
|
6282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-exponentiation-operator
|
|
6283
6330
|
* @deprecated
|
|
6284
6331
|
*/
|
|
6285
6332
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6286
6333
|
/**
|
|
6287
6334
|
* Prefer `export…from` when re-exporting.
|
|
6288
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6335
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
6289
6336
|
*/
|
|
6290
6337
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6291
6338
|
/**
|
|
6292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-flat-map
|
|
6293
6340
|
* @deprecated
|
|
6294
6341
|
*/
|
|
6295
6342
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6296
6343
|
/**
|
|
6297
6344
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6298
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6345
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
6299
6346
|
*/
|
|
6300
6347
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6301
6348
|
/**
|
|
6302
6349
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6303
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6350
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
6304
6351
|
*/
|
|
6305
6352
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6306
6353
|
/**
|
|
6307
6354
|
* Prefer reading a JSON file as a buffer.
|
|
6308
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6355
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
6309
6356
|
*/
|
|
6310
6357
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6311
6358
|
/**
|
|
6312
6359
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6313
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6360
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
6314
6361
|
*/
|
|
6315
6362
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6316
6363
|
/**
|
|
6317
6364
|
* Prefer using a logical operator over a ternary.
|
|
6318
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6365
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6319
6366
|
*/
|
|
6320
6367
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6321
6368
|
/**
|
|
6322
6369
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6323
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6370
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
6324
6371
|
*/
|
|
6325
6372
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6326
6373
|
/**
|
|
6327
6374
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6328
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6375
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
6329
6376
|
*/
|
|
6330
6377
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6331
6378
|
/**
|
|
6332
6379
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6333
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6380
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
6334
6381
|
*/
|
|
6335
6382
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6336
6383
|
/**
|
|
6337
6384
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6338
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6385
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
6339
6386
|
*/
|
|
6340
6387
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6341
6388
|
/**
|
|
6342
6389
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6343
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6390
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
6344
6391
|
*/
|
|
6345
6392
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6346
6393
|
/**
|
|
6347
6394
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6348
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
6349
6396
|
*/
|
|
6350
6397
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6351
6398
|
/**
|
|
6352
6399
|
* Prefer negative index over `.length - index` when possible.
|
|
6353
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
6354
6401
|
*/
|
|
6355
6402
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6356
6403
|
/**
|
|
6357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6404
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-append
|
|
6358
6405
|
* @deprecated
|
|
6359
6406
|
*/
|
|
6360
6407
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6361
6408
|
/**
|
|
6362
6409
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6363
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
6364
6411
|
*/
|
|
6365
6412
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6366
6413
|
/**
|
|
6367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6414
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-node-remove
|
|
6368
6415
|
* @deprecated
|
|
6369
6416
|
*/
|
|
6370
6417
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6371
6418
|
/**
|
|
6372
6419
|
* Prefer `Number` static properties over global ones.
|
|
6373
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
6374
6421
|
*/
|
|
6375
6422
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6376
6423
|
/**
|
|
6377
6424
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6378
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
6379
6426
|
*/
|
|
6380
6427
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6381
6428
|
/**
|
|
6382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6429
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-object-has-own
|
|
6383
6430
|
* @deprecated
|
|
6384
6431
|
*/
|
|
6385
6432
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6386
6433
|
/**
|
|
6387
6434
|
* Prefer omitting the `catch` binding parameter.
|
|
6388
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
6389
6436
|
*/
|
|
6390
6437
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6391
6438
|
/**
|
|
6392
6439
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6393
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6440
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
6394
6441
|
*/
|
|
6395
6442
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6396
6443
|
/**
|
|
6397
6444
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6398
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6445
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
6399
6446
|
*/
|
|
6400
6447
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6401
6448
|
/**
|
|
6402
6449
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6403
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6450
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
6404
6451
|
*/
|
|
6405
6452
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6406
6453
|
/**
|
|
6407
6454
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6408
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6455
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
6409
6456
|
*/
|
|
6410
6457
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6411
6458
|
/**
|
|
6412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6459
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-replace-all
|
|
6413
6460
|
* @deprecated
|
|
6414
6461
|
*/
|
|
6415
6462
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6416
6463
|
/**
|
|
6417
6464
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6418
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6465
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
6419
6466
|
*/
|
|
6420
6467
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6421
6468
|
/**
|
|
6422
6469
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6423
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6470
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
6424
6471
|
*/
|
|
6425
6472
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6426
6473
|
/**
|
|
6427
6474
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6428
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6475
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
6429
6476
|
*/
|
|
6430
6477
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6431
6478
|
/**
|
|
6432
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6479
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-starts-ends-with
|
|
6433
6480
|
* @deprecated
|
|
6434
6481
|
*/
|
|
6435
6482
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6436
6483
|
/**
|
|
6437
6484
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6438
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6485
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
6439
6486
|
*/
|
|
6440
6487
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6441
6488
|
/**
|
|
6442
6489
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6443
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6490
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
6444
6491
|
*/
|
|
6445
6492
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6446
6493
|
/**
|
|
6447
6494
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6448
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6495
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
6449
6496
|
*/
|
|
6450
6497
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6451
6498
|
/**
|
|
6452
6499
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6453
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6500
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
6454
6501
|
*/
|
|
6455
6502
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6456
6503
|
/**
|
|
6457
6504
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6458
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6505
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
6459
6506
|
*/
|
|
6460
6507
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6461
6508
|
/**
|
|
6462
6509
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6463
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6510
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
6464
6511
|
*/
|
|
6465
6512
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6466
6513
|
/**
|
|
6467
6514
|
* Prefer `switch` over multiple `else-if`.
|
|
6468
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6515
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
6469
6516
|
*/
|
|
6470
6517
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6471
6518
|
/**
|
|
6472
6519
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6473
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6520
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
6474
6521
|
*/
|
|
6475
6522
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6476
6523
|
/**
|
|
6477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6524
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-text-content
|
|
6478
6525
|
* @deprecated
|
|
6479
6526
|
*/
|
|
6480
6527
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6481
6528
|
/**
|
|
6482
6529
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6483
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6530
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
6484
6531
|
*/
|
|
6485
6532
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6486
6533
|
/**
|
|
6487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6534
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6488
6535
|
* @deprecated
|
|
6489
6536
|
*/
|
|
6490
6537
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6491
6538
|
/**
|
|
6492
6539
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6493
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6540
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
6494
6541
|
*/
|
|
6495
6542
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6496
6543
|
/**
|
|
6497
6544
|
* Prevent abbreviations.
|
|
6498
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6545
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
6499
6546
|
*/
|
|
6500
6547
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6501
6548
|
/**
|
|
6502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6549
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#regex-shorthand
|
|
6503
6550
|
* @deprecated
|
|
6504
6551
|
*/
|
|
6505
6552
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6506
6553
|
/**
|
|
6507
6554
|
* Enforce consistent relative URL style.
|
|
6508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6555
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
6509
6556
|
*/
|
|
6510
6557
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6511
6558
|
/**
|
|
6512
6559
|
* Enforce using the separator argument with `Array#join()`.
|
|
6513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6560
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
6514
6561
|
*/
|
|
6515
6562
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6516
6563
|
/**
|
|
6517
6564
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6518
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6565
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6519
6566
|
*/
|
|
6520
6567
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6521
6568
|
/**
|
|
6522
6569
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6570
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
6524
6571
|
*/
|
|
6525
6572
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6526
6573
|
/**
|
|
6527
6574
|
* Enforce better string content.
|
|
6528
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6575
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
6529
6576
|
*/
|
|
6530
6577
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6531
6578
|
/**
|
|
6532
6579
|
* Enforce consistent brace style for `case` clauses.
|
|
6533
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6580
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
6534
6581
|
*/
|
|
6535
6582
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6536
6583
|
/**
|
|
6537
6584
|
* Fix whitespace-insensitive template indentation.
|
|
6538
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6585
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
6539
6586
|
*/
|
|
6540
6587
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6541
6588
|
/**
|
|
6542
6589
|
* Enforce consistent case for text encoding identifiers.
|
|
6543
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6590
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
6544
6591
|
*/
|
|
6545
6592
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6546
6593
|
/**
|
|
6547
6594
|
* Require `new` when creating an error.
|
|
6548
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6595
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
6549
6596
|
*/
|
|
6550
6597
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6551
6598
|
/**
|
|
@@ -7487,6 +7534,11 @@ interface RuleOptions {
|
|
|
7487
7534
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
7488
7535
|
*/
|
|
7489
7536
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
7537
|
+
/**
|
|
7538
|
+
* require using `useTemplateRef` instead of `ref` for template refs
|
|
7539
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
7540
|
+
*/
|
|
7541
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
7490
7542
|
/**
|
|
7491
7543
|
* enforce specific casing for the Prop name in Vue components
|
|
7492
7544
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -8079,6 +8131,12 @@ type AstroSemi = ([]|["never"]|["never", {
|
|
|
8079
8131
|
omitLastInOneLineBlock?: boolean
|
|
8080
8132
|
omitLastInOneLineClassBody?: boolean
|
|
8081
8133
|
}])
|
|
8134
|
+
// ----- astro/sort-attributes -----
|
|
8135
|
+
type AstroSortAttributes = []|[{
|
|
8136
|
+
type?: ("alphabetical" | "line-length")
|
|
8137
|
+
ignoreCase?: boolean
|
|
8138
|
+
order?: ("asc" | "desc")
|
|
8139
|
+
}]
|
|
8082
8140
|
// ----- block-spacing -----
|
|
8083
8141
|
type BlockSpacing = []|[("always" | "never")]
|
|
8084
8142
|
// ----- brace-style -----
|
|
@@ -8143,6 +8201,7 @@ type CommaStyle = []|[("first" | "last")]|[("first" | "last"), {
|
|
|
8143
8201
|
type Complexity = []|[(number | {
|
|
8144
8202
|
maximum?: number
|
|
8145
8203
|
max?: number
|
|
8204
|
+
variant?: ("classic" | "modified")
|
|
8146
8205
|
})]
|
|
8147
8206
|
// ----- computed-property-spacing -----
|
|
8148
8207
|
type ComputedPropertySpacing = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -8291,17 +8350,19 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
8291
8350
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8292
8351
|
}
|
|
8293
8352
|
ignorePackages?: boolean
|
|
8353
|
+
checkTypeImports?: boolean
|
|
8294
8354
|
[k: string]: unknown | undefined
|
|
8295
8355
|
}] | []|[{
|
|
8296
8356
|
pattern?: {
|
|
8297
8357
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8298
8358
|
}
|
|
8299
8359
|
ignorePackages?: boolean
|
|
8360
|
+
checkTypeImports?: boolean
|
|
8300
8361
|
[k: string]: unknown | undefined
|
|
8301
|
-
}] | []|[{
|
|
8302
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8303
8362
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
8304
8363
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8364
|
+
}] | []|[{
|
|
8365
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8305
8366
|
}])
|
|
8306
8367
|
// ----- import/first -----
|
|
8307
8368
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -10317,6 +10378,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
10317
10378
|
// ----- node/no-sync -----
|
|
10318
10379
|
type NodeNoSync = []|[{
|
|
10319
10380
|
allowAtRootLevel?: boolean
|
|
10381
|
+
ignores?: string[]
|
|
10320
10382
|
}]
|
|
10321
10383
|
// ----- node/no-unpublished-bin -----
|
|
10322
10384
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -10398,7 +10460,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10398
10460
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10399
10461
|
version?: string
|
|
10400
10462
|
allowExperimental?: boolean
|
|
10401
|
-
ignores?: ("__filename" | "__dirname" | "require" | "require.cache" | "require.extensions" | "require.main" | "require.resolve" | "require.resolve.paths" | "module" | "module.children" | "module.exports" | "module.filename" | "module.id" | "module.isPreloading" | "module.loaded" | "module.parent" | "module.path" | "module.paths" | "module.require" | "exports" | "AbortController" | "AbortSignal" | "AbortSignal.abort" | "AbortSignal.timeout" | "AbortSignal.any" | "DOMException" | "FormData" | "Headers" | "MessageEvent" | "Navigator" | "Request" | "Response" | "WebAssembly" | "WebSocket" | "fetch" | "global" | "queueMicrotask" | "navigator" | "navigator.hardwareConcurrency" | "navigator.language" | "navigator.languages" | "navigator.platform" | "navigator.userAgent" | "structuredClone" | "localStorage" | "sessionStorage" | "Storage" | "Blob" | "new Buffer()" | "Buffer" | "Buffer.alloc" | "Buffer.allocUnsafe" | "Buffer.allocUnsafeSlow" | "Buffer.byteLength" | "Buffer.compare" | "Buffer.concat" | "Buffer.copyBytesFrom" | "Buffer.from" | "Buffer.isBuffer" | "Buffer.isEncoding" | "File" | "atob" | "btoa" | "console" | "console.profile" | "console.profileEnd" | "console.timeStamp" | "console.Console" | "console.assert" | "console.clear" | "console.count" | "console.countReset" | "console.debug" | "console.dir" | "console.dirxml" | "console.error" | "console.group" | "console.groupCollapsed" | "console.groupEnd" | "console.info" | "console.log" | "console.table" | "console.time" | "console.timeEnd" | "console.timeLog" | "console.trace" | "console.warn" | "crypto" | "crypto.subtle" | "crypto.subtle.decrypt" | "crypto.subtle.deriveBits" | "crypto.subtle.deriveKey" | "crypto.subtle.digest" | "crypto.subtle.encrypt" | "crypto.subtle.exportKey" | "crypto.subtle.generateKey" | "crypto.subtle.importKey" | "crypto.subtle.sign" | "crypto.subtle.unwrapKey" | "crypto.subtle.verify" | "crypto.subtle.wrapKey" | "crypto.getRandomValues" | "crypto.randomUUID" | "Crypto" | "CryptoKey" | "SubtleCrypto" | "CustomEvent" | "Event" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.finalization.register" | "process.finalization.registerBeforeExit" | "process.finalization.unregister" | "process.getBuiltinModule" | "process.mainModule" | "process.noDeprecation" | "process.permission" | "process.pid" | "process.platform" | "process.ppid" | "process.release" | "process.report" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.test.isSea" | "sea.test.getAsset" | "sea.test.getAssetAsBlob" | "sea.test.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.inherits" | "util.inspect" | "util.inspect.custom" | "util.inspect.defaultOptions" | "util.inspect.replDefaults" | "util.isDeepStrictEqual" | "util.parseArgs" | "util.parseEnv" | "util.stripVTControlCharacters" | "util.styleText" | "util.toUSVString" | "util.transferableAbortController" | "util.transferableAbortSignal" | "util.aborted" | "util.MIMEType" | "util.MIMEParams" | "util.TextDecoder" | "util.TextEncoder" | "util.types" | "util.types.isExternal" | "util.types.isDate" | "util.types.isArgumentsObject" | "util.types.isBigIntObject" | "util.types.isBooleanObject" | "util.types.isNumberObject" | "util.types.isStringObject" | "util.types.isSymbolObject" | "util.types.isNativeError" | "util.types.isRegExp" | "util.types.isAsyncFunction" | "util.types.isGeneratorFunction" | "util.types.isGeneratorObject" | "util.types.isPromise" | "util.types.isMap" | "util.types.isSet" | "util.types.isMapIterator" | "util.types.isSetIterator" | "util.types.isWeakMap" | "util.types.isWeakSet" | "util.types.isArrayBuffer" | "util.types.isDataView" | "util.types.isSharedArrayBuffer" | "util.types.isProxy" | "util.types.isModuleNamespaceObject" | "util.types.isAnyArrayBuffer" | "util.types.isBoxedPrimitive" | "util.types.isArrayBufferView" | "util.types.isTypedArray" | "util.types.isUint8Array" | "util.types.isUint8ClampedArray" | "util.types.isUint16Array" | "util.types.isUint32Array" | "util.types.isInt8Array" | "util.types.isInt16Array" | "util.types.isInt32Array" | "util.types.isFloat32Array" | "util.types.isFloat64Array" | "util.types.isBigInt64Array" | "util.types.isBigUint64Array" | "util.types.isKeyObject" | "util.types.isCryptoKey" | "util.types.isWebAssemblyCompiledModule" | "util._extend" | "util.isArray" | "util.isBoolean" | "util.isBuffer" | "util.isDate" | "util.isError" | "util.isFunction" | "util.isNull" | "util.isNullOrUndefined" | "util.isNumber" | "util.isObject" | "util.isPrimitive" | "util.isRegExp" | "util.isString" | "util.isSymbol" | "util.isUndefined" | "util.log" | "util" | "util/types" | "util/types.isExternal" | "util/types.isDate" | "util/types.isArgumentsObject" | "util/types.isBigIntObject" | "util/types.isBooleanObject" | "util/types.isNumberObject" | "util/types.isStringObject" | "util/types.isSymbolObject" | "util/types.isNativeError" | "util/types.isRegExp" | "util/types.isAsyncFunction" | "util/types.isGeneratorFunction" | "util/types.isGeneratorObject" | "util/types.isPromise" | "util/types.isMap" | "util/types.isSet" | "util/types.isMapIterator" | "util/types.isSetIterator" | "util/types.isWeakMap" | "util/types.isWeakSet" | "util/types.isArrayBuffer" | "util/types.isDataView" | "util/types.isSharedArrayBuffer" | "util/types.isProxy" | "util/types.isModuleNamespaceObject" | "util/types.isAnyArrayBuffer" | "util/types.isBoxedPrimitive" | "util/types.isArrayBufferView" | "util/types.isTypedArray" | "util/types.isUint8Array" | "util/types.isUint8ClampedArray" | "util/types.isUint16Array" | "util/types.isUint32Array" | "util/types.isInt8Array" | "util/types.isInt16Array" | "util/types.isInt32Array" | "util/types.isFloat32Array" | "util/types.isFloat64Array" | "util/types.isBigInt64Array" | "util/types.isBigUint64Array" | "util/types.isKeyObject" | "util/types.isCryptoKey" | "util/types.isWebAssemblyCompiledModule" | "v8" | "v8.serialize" | "v8.deserialize" | "v8.Serializer" | "v8.Deserializer" | "v8.DefaultSerializer" | "v8.DefaultDeserializer" | "v8.promiseHooks" | "v8.promiseHooks.onInit" | "v8.promiseHooks.onSettled" | "v8.promiseHooks.onBefore" | "v8.promiseHooks.onAfter" | "v8.promiseHooks.createHook" | "v8.startupSnapshot" | "v8.startupSnapshot.addSerializeCallback" | "v8.startupSnapshot.addDeserializeCallback" | "v8.startupSnapshot.setDeserializeMainFunction" | "v8.startupSnapshot.isBuildingSnapshot" | "v8.cachedDataVersionTag" | "v8.getHeapCodeStatistics" | "v8.getHeapSnapshot" | "v8.getHeapSpaceStatistics" | "v8.getHeapStatistics" | "v8.queryObjects" | "v8.setFlagsFromString" | "v8.stopCoverage" | "v8.takeCoverage" | "v8.writeHeapSnapshot" | "v8.setHeapSnapshotNearHeapLimit" | "v8.GCProfiler" | "vm.constants" | "vm.compileFunction" | "vm.createContext" | "vm.isContext" | "vm.measureMemory" | "vm.runInContext" | "vm.runInNewContext" | "vm.runInThisContext" | "vm.Script" | "vm.Module" | "vm.SourceTextModule" | "vm.SyntheticModule" | "vm" | "wasi.WASI" | "wasi" | "worker_threads" | "worker_threads.isMainThread" | "worker_threads.parentPort" | "worker_threads.resourceLimits" | "worker_threads.SHARE_ENV" | "worker_threads.threadId" | "worker_threads.workerData" | "worker_threads.getEnvironmentData" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10463
|
+
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" | "CloseEvent" | "CustomEvent" | "Event" | "EventSource" | "EventTarget" | "PerformanceEntry" | "PerformanceMark" | "PerformanceMeasure" | "PerformanceObserver" | "PerformanceObserverEntryList" | "PerformanceResourceTiming" | "performance" | "performance.clearMarks" | "performance.clearMeasures" | "performance.clearResourceTimings" | "performance.eventLoopUtilization" | "performance.getEntries" | "performance.getEntriesByName" | "performance.getEntriesByType" | "performance.mark" | "performance.markResourceTiming" | "performance.measure" | "performance.nodeTiming" | "performance.nodeTiming.bootstrapComplete" | "performance.nodeTiming.environment" | "performance.nodeTiming.idleTime" | "performance.nodeTiming.loopExit" | "performance.nodeTiming.loopStart" | "performance.nodeTiming.nodeStart" | "performance.nodeTiming.uvMetricsInfo" | "performance.nodeTiming.v8Start" | "performance.now" | "performance.onresourcetimingbufferfull" | "performance.setResourceTimingBufferSize" | "performance.timeOrigin" | "performance.timerify" | "performance.toJSON" | "process" | "process.allowedNodeEnvironmentFlags" | "process.availableMemory" | "process.arch" | "process.argv" | "process.argv0" | "process.channel" | "process.config" | "process.connected" | "process.debugPort" | "process.env" | "process.execArgv" | "process.execPath" | "process.exitCode" | "process.features.cached_builtins" | "process.features.debug" | "process.features.inspector" | "process.features.ipv6" | "process.features.require_module" | "process.features.tls" | "process.features.tls_alpn" | "process.features.tls_ocsp" | "process.features.tls_sni" | "process.features.typescript" | "process.features.uv" | "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.report.excludeEnv" | "process.sourceMapsEnabled" | "process.stdin" | "process.stdin.isRaw" | "process.stdin.isTTY" | "process.stdin.setRawMode" | "process.stdout" | "process.stdout.clearLine" | "process.stdout.clearScreenDown" | "process.stdout.columns" | "process.stdout.cursorTo" | "process.stdout.getColorDepth" | "process.stdout.getWindowSize" | "process.stdout.hasColors" | "process.stdout.isTTY" | "process.stdout.moveCursor" | "process.stdout.rows" | "process.stderr" | "process.stderr.clearLine" | "process.stderr.clearScreenDown" | "process.stderr.columns" | "process.stderr.cursorTo" | "process.stderr.getColorDepth" | "process.stderr.getWindowSize" | "process.stderr.hasColors" | "process.stderr.isTTY" | "process.stderr.moveCursor" | "process.stderr.rows" | "process.throwDeprecation" | "process.title" | "process.traceDeprecation" | "process.version" | "process.versions" | "process.abort" | "process.chdir" | "process.constrainedMemory" | "process.cpuUsage" | "process.cwd" | "process.disconnect" | "process.dlopen" | "process.emitWarning" | "process.exit" | "process.getActiveResourcesInfo" | "process.getegid" | "process.geteuid" | "process.getgid" | "process.getgroups" | "process.getuid" | "process.hasUncaughtExceptionCaptureCallback" | "process.hrtime" | "process.hrtime.bigint" | "process.initgroups" | "process.kill" | "process.loadEnvFile" | "process.memoryUsage" | "process.rss" | "process.nextTick" | "process.resourceUsage" | "process.send" | "process.setegid" | "process.seteuid" | "process.setgid" | "process.setgroups" | "process.setuid" | "process.setSourceMapsEnabled" | "process.setUncaughtExceptionCaptureCallback" | "process.umask" | "process.uptime" | "ReadableStream" | "ReadableStream.from" | "ReadableStreamDefaultReader" | "ReadableStreamBYOBReader" | "ReadableStreamDefaultController" | "ReadableByteStreamController" | "ReadableStreamBYOBRequest" | "WritableStream" | "WritableStreamDefaultWriter" | "WritableStreamDefaultController" | "TransformStream" | "TransformStreamDefaultController" | "ByteLengthQueuingStrategy" | "CountQueuingStrategy" | "TextEncoderStream" | "TextDecoderStream" | "CompressionStream" | "DecompressionStream" | "setInterval" | "clearInterval" | "setTimeout" | "clearTimeout" | "setImmediate" | "clearImmediate" | "URL" | "URL.canParse" | "URL.createObjectURL" | "URL.revokeObjectURL" | "URLSearchParams" | "TextDecoder" | "TextEncoder" | "BroadcastChannel" | "MessageChannel" | "MessagePort" | "assert" | "assert.assert" | "assert.deepEqual" | "assert.deepStrictEqual" | "assert.doesNotMatch" | "assert.doesNotReject" | "assert.doesNotThrow" | "assert.equal" | "assert.fail" | "assert.ifError" | "assert.match" | "assert.notDeepEqual" | "assert.notDeepStrictEqual" | "assert.notEqual" | "assert.notStrictEqual" | "assert.ok" | "assert.rejects" | "assert.strictEqual" | "assert.throws" | "assert.CallTracker" | "assert.strict" | "assert.strict.assert" | "assert.strict.deepEqual" | "assert.strict.deepStrictEqual" | "assert.strict.doesNotMatch" | "assert.strict.doesNotReject" | "assert.strict.doesNotThrow" | "assert.strict.equal" | "assert.strict.fail" | "assert.strict.ifError" | "assert.strict.match" | "assert.strict.notDeepEqual" | "assert.strict.notDeepStrictEqual" | "assert.strict.notEqual" | "assert.strict.notStrictEqual" | "assert.strict.ok" | "assert.strict.rejects" | "assert.strict.strictEqual" | "assert.strict.throws" | "assert.strict.CallTracker" | "assert/strict" | "assert/strict.assert" | "assert/strict.deepEqual" | "assert/strict.deepStrictEqual" | "assert/strict.doesNotMatch" | "assert/strict.doesNotReject" | "assert/strict.doesNotThrow" | "assert/strict.equal" | "assert/strict.fail" | "assert/strict.ifError" | "assert/strict.match" | "assert/strict.notDeepEqual" | "assert/strict.notDeepStrictEqual" | "assert/strict.notEqual" | "assert/strict.notStrictEqual" | "assert/strict.ok" | "assert/strict.rejects" | "assert/strict.strictEqual" | "assert/strict.throws" | "assert/strict.CallTracker" | "async_hooks" | "async_hooks.createHook" | "async_hooks.executionAsyncResource" | "async_hooks.executionAsyncId" | "async_hooks.triggerAsyncId" | "async_hooks.AsyncLocalStorage" | "async_hooks.AsyncLocalStorage.bind" | "async_hooks.AsyncLocalStorage.snapshot" | "async_hooks.AsyncResource" | "async_hooks.AsyncResource.bind" | "buffer" | "buffer.constants" | "buffer.INSPECT_MAX_BYTES" | "buffer.kMaxLength" | "buffer.kStringMaxLength" | "buffer.atob" | "buffer.btoa" | "buffer.isAscii" | "buffer.isUtf8" | "buffer.resolveObjectURL" | "buffer.transcode" | "buffer.SlowBuffer" | "buffer.Blob" | "new buffer.Buffer()" | "buffer.Buffer" | "buffer.Buffer.alloc" | "buffer.Buffer.allocUnsafe" | "buffer.Buffer.allocUnsafeSlow" | "buffer.Buffer.byteLength" | "buffer.Buffer.compare" | "buffer.Buffer.concat" | "buffer.Buffer.copyBytesFrom" | "buffer.Buffer.from" | "buffer.Buffer.isBuffer" | "buffer.Buffer.isEncoding" | "buffer.File" | "child_process" | "child_process.exec" | "child_process.execFile" | "child_process.fork" | "child_process.spawn" | "child_process.execFileSync" | "child_process.execSync" | "child_process.spawnSync" | "child_process.ChildProcess" | "cluster" | "cluster.isMaster" | "cluster.isPrimary" | "cluster.isWorker" | "cluster.schedulingPolicy" | "cluster.settings" | "cluster.worker" | "cluster.workers" | "cluster.disconnect" | "cluster.fork" | "cluster.setupMaster" | "cluster.setupPrimary" | "cluster.Worker" | "crypto.constants" | "crypto.fips" | "crypto.webcrypto" | "crypto.webcrypto.subtle" | "crypto.webcrypto.subtle.decrypt" | "crypto.webcrypto.subtle.deriveBits" | "crypto.webcrypto.subtle.deriveKey" | "crypto.webcrypto.subtle.digest" | "crypto.webcrypto.subtle.encrypt" | "crypto.webcrypto.subtle.exportKey" | "crypto.webcrypto.subtle.generateKey" | "crypto.webcrypto.subtle.importKey" | "crypto.webcrypto.subtle.sign" | "crypto.webcrypto.subtle.unwrapKey" | "crypto.webcrypto.subtle.verify" | "crypto.webcrypto.subtle.wrapKey" | "crypto.webcrypto.getRandomValues" | "crypto.webcrypto.randomUUID" | "crypto.checkPrime" | "crypto.checkPrimeSync" | "crypto.createCipher" | "crypto.createCipheriv" | "crypto.createDecipher" | "crypto.createDecipheriv" | "crypto.createDiffieHellman" | "crypto.createDiffieHellmanGroup" | "crypto.createECDH" | "crypto.createHash" | "crypto.createHmac" | "crypto.createPrivateKey" | "crypto.createPublicKey" | "crypto.createSecretKey" | "crypto.createSign" | "crypto.createVerify" | "crypto.diffieHellman" | "crypto.generateKey" | "crypto.generateKeyPair" | "crypto.generateKeyPairSync" | "crypto.generateKeySync" | "crypto.generatePrime" | "crypto.generatePrimeSync" | "crypto.getCipherInfo" | "crypto.getCiphers" | "crypto.getCurves" | "crypto.getDiffieHellman" | "crypto.getFips" | "crypto.getHashes" | "crypto.hash" | "crypto.hkdf" | "crypto.hkdfSync" | "crypto.pbkdf2" | "crypto.pbkdf2Sync" | "crypto.privateDecrypt" | "crypto.privateEncrypt" | "crypto.publicDecrypt" | "crypto.publicEncrypt" | "crypto.randomBytes" | "crypto.randomFillSync" | "crypto.randomFill" | "crypto.randomInt" | "crypto.scrypt" | "crypto.scryptSync" | "crypto.secureHeapUsed" | "crypto.setEngine" | "crypto.setFips" | "crypto.sign" | "crypto.timingSafeEqual" | "crypto.verify" | "crypto.Certificate" | "crypto.Certificate.exportChallenge" | "crypto.Certificate.exportPublicKey" | "crypto.Certificate.verifySpkac" | "crypto.Cipher" | "crypto.Decipher" | "crypto.DiffieHellman" | "crypto.DiffieHellmanGroup" | "crypto.ECDH" | "crypto.ECDH.convertKey" | "crypto.Hash()" | "new crypto.Hash()" | "crypto.Hash" | "crypto.Hmac()" | "new crypto.Hmac()" | "crypto.Hmac" | "crypto.KeyObject" | "crypto.KeyObject.from" | "crypto.Sign" | "crypto.Verify" | "crypto.X509Certificate" | "dgram" | "dgram.createSocket" | "dgram.Socket" | "diagnostics_channel" | "diagnostics_channel.hasSubscribers" | "diagnostics_channel.channel" | "diagnostics_channel.subscribe" | "diagnostics_channel.unsubscribe" | "diagnostics_channel.tracingChannel" | "diagnostics_channel.Channel" | "diagnostics_channel.TracingChannel" | "dns" | "dns.Resolver" | "dns.getServers" | "dns.lookup" | "dns.lookupService" | "dns.resolve" | "dns.resolve4" | "dns.resolve6" | "dns.resolveAny" | "dns.resolveCname" | "dns.resolveCaa" | "dns.resolveMx" | "dns.resolveNaptr" | "dns.resolveNs" | "dns.resolvePtr" | "dns.resolveSoa" | "dns.resolveSrv" | "dns.resolveTxt" | "dns.reverse" | "dns.setDefaultResultOrder" | "dns.getDefaultResultOrder" | "dns.setServers" | "dns.promises" | "dns.promises.Resolver" | "dns.promises.cancel" | "dns.promises.getServers" | "dns.promises.lookup" | "dns.promises.lookupService" | "dns.promises.resolve" | "dns.promises.resolve4" | "dns.promises.resolve6" | "dns.promises.resolveAny" | "dns.promises.resolveCaa" | "dns.promises.resolveCname" | "dns.promises.resolveMx" | "dns.promises.resolveNaptr" | "dns.promises.resolveNs" | "dns.promises.resolvePtr" | "dns.promises.resolveSoa" | "dns.promises.resolveSrv" | "dns.promises.resolveTxt" | "dns.promises.reverse" | "dns.promises.setDefaultResultOrder" | "dns.promises.getDefaultResultOrder" | "dns.promises.setServers" | "dns/promises" | "dns/promises.Resolver" | "dns/promises.cancel" | "dns/promises.getServers" | "dns/promises.lookup" | "dns/promises.lookupService" | "dns/promises.resolve" | "dns/promises.resolve4" | "dns/promises.resolve6" | "dns/promises.resolveAny" | "dns/promises.resolveCaa" | "dns/promises.resolveCname" | "dns/promises.resolveMx" | "dns/promises.resolveNaptr" | "dns/promises.resolveNs" | "dns/promises.resolvePtr" | "dns/promises.resolveSoa" | "dns/promises.resolveSrv" | "dns/promises.resolveTxt" | "dns/promises.reverse" | "dns/promises.setDefaultResultOrder" | "dns/promises.getDefaultResultOrder" | "dns/promises.setServers" | "domain" | "domain.create" | "domain.Domain" | "events" | "events.Event" | "events.EventTarget" | "events.CustomEvent" | "events.NodeEventTarget" | "events.EventEmitter" | "events.EventEmitter.defaultMaxListeners" | "events.EventEmitter.errorMonitor" | "events.EventEmitter.captureRejections" | "events.EventEmitter.captureRejectionSymbol" | "events.EventEmitter.getEventListeners" | "events.EventEmitter.getMaxListeners" | "events.EventEmitter.once" | "events.EventEmitter.listenerCount" | "events.EventEmitter.on" | "events.EventEmitter.setMaxListeners" | "events.EventEmitter.addAbortListener" | "events.EventEmitterAsyncResource" | "events.EventEmitterAsyncResource.defaultMaxListeners" | "events.EventEmitterAsyncResource.errorMonitor" | "events.EventEmitterAsyncResource.captureRejections" | "events.EventEmitterAsyncResource.captureRejectionSymbol" | "events.EventEmitterAsyncResource.getEventListeners" | "events.EventEmitterAsyncResource.getMaxListeners" | "events.EventEmitterAsyncResource.once" | "events.EventEmitterAsyncResource.listenerCount" | "events.EventEmitterAsyncResource.on" | "events.EventEmitterAsyncResource.setMaxListeners" | "events.EventEmitterAsyncResource.addAbortListener" | "events.defaultMaxListeners" | "events.errorMonitor" | "events.captureRejections" | "events.captureRejectionSymbol" | "events.getEventListeners" | "events.getMaxListeners" | "events.once" | "events.listenerCount" | "events.on" | "events.setMaxListeners" | "events.addAbortListener" | "fs" | "fs.promises" | "fs.promises.FileHandle" | "fs.promises.access" | "fs.promises.appendFile" | "fs.promises.chmod" | "fs.promises.chown" | "fs.promises.constants" | "fs.promises.copyFile" | "fs.promises.cp" | "fs.promises.glob" | "fs.promises.lchmod" | "fs.promises.lchown" | "fs.promises.link" | "fs.promises.lstat" | "fs.promises.lutimes" | "fs.promises.mkdir" | "fs.promises.mkdtemp" | "fs.promises.open" | "fs.promises.opendir" | "fs.promises.readFile" | "fs.promises.readdir" | "fs.promises.readlink" | "fs.promises.realpath" | "fs.promises.rename" | "fs.promises.rm" | "fs.promises.rmdir" | "fs.promises.stat" | "fs.promises.statfs" | "fs.promises.symlink" | "fs.promises.truncate" | "fs.promises.unlink" | "fs.promises.utimes" | "fs.promises.watch" | "fs.promises.writeFile" | "fs.access" | "fs.appendFile" | "fs.chmod" | "fs.chown" | "fs.close" | "fs.copyFile" | "fs.cp" | "fs.createReadStream" | "fs.createWriteStream" | "fs.exists" | "fs.fchmod" | "fs.fchown" | "fs.fdatasync" | "fs.fstat" | "fs.fsync" | "fs.ftruncate" | "fs.futimes" | "fs.glob" | "fs.lchmod" | "fs.lchown" | "fs.link" | "fs.lstat" | "fs.lutimes" | "fs.mkdir" | "fs.mkdtemp" | "fs.native" | "fs.open" | "fs.openAsBlob" | "fs.opendir" | "fs.read" | "fs.readdir" | "fs.readFile" | "fs.readlink" | "fs.readv" | "fs.realpath" | "fs.realpath.native" | "fs.rename" | "fs.rm" | "fs.rmdir" | "fs.stat" | "fs.statfs" | "fs.symlink" | "fs.truncate" | "fs.unlink" | "fs.unwatchFile" | "fs.utimes" | "fs.watch" | "fs.watchFile" | "fs.write" | "fs.writeFile" | "fs.writev" | "fs.accessSync" | "fs.appendFileSync" | "fs.chmodSync" | "fs.chownSync" | "fs.closeSync" | "fs.copyFileSync" | "fs.cpSync" | "fs.existsSync" | "fs.fchmodSync" | "fs.fchownSync" | "fs.fdatasyncSync" | "fs.fstatSync" | "fs.fsyncSync" | "fs.ftruncateSync" | "fs.futimesSync" | "fs.globSync" | "fs.lchmodSync" | "fs.lchownSync" | "fs.linkSync" | "fs.lstatSync" | "fs.lutimesSync" | "fs.mkdirSync" | "fs.mkdtempSync" | "fs.opendirSync" | "fs.openSync" | "fs.readdirSync" | "fs.readFileSync" | "fs.readlinkSync" | "fs.readSync" | "fs.readvSync" | "fs.realpathSync" | "fs.realpathSync.native" | "fs.renameSync" | "fs.rmdirSync" | "fs.rmSync" | "fs.statfsSync" | "fs.statSync" | "fs.symlinkSync" | "fs.truncateSync" | "fs.unlinkSync" | "fs.utimesSync" | "fs.writeFileSync" | "fs.writeSync" | "fs.writevSync" | "fs.constants" | "fs.Dir" | "fs.Dirent" | "fs.FSWatcher" | "fs.StatWatcher" | "fs.ReadStream" | "fs.Stats()" | "new fs.Stats()" | "fs.Stats" | "fs.StatFs" | "fs.WriteStream" | "fs.common_objects" | "fs/promises" | "fs/promises.FileHandle" | "fs/promises.access" | "fs/promises.appendFile" | "fs/promises.chmod" | "fs/promises.chown" | "fs/promises.constants" | "fs/promises.copyFile" | "fs/promises.cp" | "fs/promises.glob" | "fs/promises.lchmod" | "fs/promises.lchown" | "fs/promises.link" | "fs/promises.lstat" | "fs/promises.lutimes" | "fs/promises.mkdir" | "fs/promises.mkdtemp" | "fs/promises.open" | "fs/promises.opendir" | "fs/promises.readFile" | "fs/promises.readdir" | "fs/promises.readlink" | "fs/promises.realpath" | "fs/promises.rename" | "fs/promises.rm" | "fs/promises.rmdir" | "fs/promises.stat" | "fs/promises.statfs" | "fs/promises.symlink" | "fs/promises.truncate" | "fs/promises.unlink" | "fs/promises.utimes" | "fs/promises.watch" | "fs/promises.writeFile" | "http2" | "http2.constants" | "http2.sensitiveHeaders" | "http2.createServer" | "http2.createSecureServer" | "http2.connect" | "http2.getDefaultSettings" | "http2.getPackedSettings" | "http2.getUnpackedSettings" | "http2.performServerHandshake" | "http2.Http2Session" | "http2.ServerHttp2Session" | "http2.ClientHttp2Session" | "http2.Http2Stream" | "http2.ClientHttp2Stream" | "http2.ServerHttp2Stream" | "http2.Http2Server" | "http2.Http2SecureServer" | "http2.Http2ServerRequest" | "http2.Http2ServerResponse" | "http" | "http.globalAgent" | "http.createServer" | "http.get" | "http.request" | "http.Agent" | "http.Server" | "inspector" | "inspector.Session" | "inspector.Network.loadingFailed" | "inspector.Network.loadingFinished" | "inspector.Network.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.findPackageJSON" | "module.flushCompileCache" | "module.getCompileCacheDir" | "module.isBuiltin" | "module.register" | "module.stripTypeScriptTypes" | "module.syncBuiltinESMExports" | "module.findSourceMap" | "module.SourceMap" | "module.Module.builtinModules" | "module.Module.createRequire" | "module.Module.createRequireFromPath" | "module.Module.enableCompileCache" | "module.Module.findPackageJSON" | "module.Module.flushCompileCache" | "module.Module.getCompileCacheDir" | "module.Module.isBuiltin" | "module.Module.register" | "module.Module.stripTypeScriptTypes" | "module.Module.syncBuiltinESMExports" | "module.Module.findSourceMap" | "module.Module.SourceMap" | "net" | "net.connect" | "net.createConnection" | "net.createServer" | "net.getDefaultAutoSelectFamily" | "net.setDefaultAutoSelectFamily" | "net.getDefaultAutoSelectFamilyAttemptTimeout" | "net.setDefaultAutoSelectFamilyAttemptTimeout" | "net.isIP" | "net.isIPv4" | "net.isIPv6" | "net.BlockList" | "net.SocketAddress" | "net.Server" | "net.Socket" | "os" | "os.EOL" | "os.constants" | "os.constants.priority" | "os.devNull" | "os.availableParallelism" | "os.arch" | "os.cpus" | "os.endianness" | "os.freemem" | "os.getPriority" | "os.homedir" | "os.hostname" | "os.loadavg" | "os.machine" | "os.networkInterfaces" | "os.platform" | "os.release" | "os.setPriority" | "os.tmpdir" | "os.totalmem" | "os.type" | "os.uptime" | "os.userInfo" | "os.version" | "path" | "path.posix" | "path.posix.delimiter" | "path.posix.sep" | "path.posix.basename" | "path.posix.dirname" | "path.posix.extname" | "path.posix.format" | "path.posix.matchesGlob" | "path.posix.isAbsolute" | "path.posix.join" | "path.posix.normalize" | "path.posix.parse" | "path.posix.relative" | "path.posix.resolve" | "path.posix.toNamespacedPath" | "path.win32" | "path.win32.delimiter" | "path.win32.sep" | "path.win32.basename" | "path.win32.dirname" | "path.win32.extname" | "path.win32.format" | "path.win32.matchesGlob" | "path.win32.isAbsolute" | "path.win32.join" | "path.win32.normalize" | "path.win32.parse" | "path.win32.relative" | "path.win32.resolve" | "path.win32.toNamespacedPath" | "path.delimiter" | "path.sep" | "path.basename" | "path.dirname" | "path.extname" | "path.format" | "path.matchesGlob" | "path.isAbsolute" | "path.join" | "path.normalize" | "path.parse" | "path.relative" | "path.resolve" | "path.toNamespacedPath" | "path/posix" | "path/posix.delimiter" | "path/posix.sep" | "path/posix.basename" | "path/posix.dirname" | "path/posix.extname" | "path/posix.format" | "path/posix.matchesGlob" | "path/posix.isAbsolute" | "path/posix.join" | "path/posix.normalize" | "path/posix.parse" | "path/posix.relative" | "path/posix.resolve" | "path/posix.toNamespacedPath" | "path/win32" | "path/win32.delimiter" | "path/win32.sep" | "path/win32.basename" | "path/win32.dirname" | "path/win32.extname" | "path/win32.format" | "path/win32.matchesGlob" | "path/win32.isAbsolute" | "path/win32.join" | "path/win32.normalize" | "path/win32.parse" | "path/win32.relative" | "path/win32.resolve" | "path/win32.toNamespacedPath" | "perf_hooks" | "perf_hooks.performance" | "perf_hooks.performance.clearMarks" | "perf_hooks.performance.clearMeasures" | "perf_hooks.performance.clearResourceTimings" | "perf_hooks.performance.eventLoopUtilization" | "perf_hooks.performance.getEntries" | "perf_hooks.performance.getEntriesByName" | "perf_hooks.performance.getEntriesByType" | "perf_hooks.performance.mark" | "perf_hooks.performance.markResourceTiming" | "perf_hooks.performance.measure" | "perf_hooks.performance.nodeTiming" | "perf_hooks.performance.nodeTiming.bootstrapComplete" | "perf_hooks.performance.nodeTiming.environment" | "perf_hooks.performance.nodeTiming.idleTime" | "perf_hooks.performance.nodeTiming.loopExit" | "perf_hooks.performance.nodeTiming.loopStart" | "perf_hooks.performance.nodeTiming.nodeStart" | "perf_hooks.performance.nodeTiming.uvMetricsInfo" | "perf_hooks.performance.nodeTiming.v8Start" | "perf_hooks.performance.now" | "perf_hooks.performance.onresourcetimingbufferfull" | "perf_hooks.performance.setResourceTimingBufferSize" | "perf_hooks.performance.timeOrigin" | "perf_hooks.performance.timerify" | "perf_hooks.performance.toJSON" | "perf_hooks.createHistogram" | "perf_hooks.monitorEventLoopDelay" | "perf_hooks.PerformanceEntry" | "perf_hooks.PerformanceMark" | "perf_hooks.PerformanceMeasure" | "perf_hooks.PerformanceNodeEntry" | "perf_hooks.PerformanceNodeTiming" | "perf_hooks.PerformanceResourceTiming" | "perf_hooks.PerformanceObserver" | "perf_hooks.PerformanceObserverEntryList" | "perf_hooks.Histogram" | "perf_hooks.IntervalHistogram" | "perf_hooks.RecordableHistogram" | "punycode" | "punycode.ucs2" | "punycode.version" | "punycode.decode" | "punycode.encode" | "punycode.toASCII" | "punycode.toUnicode" | "querystring" | "querystring.decode" | "querystring.encode" | "querystring.escape" | "querystring.parse" | "querystring.stringify" | "querystring.unescape" | "readline" | "readline.promises" | "readline.promises.createInterface" | "readline.promises.Interface" | "readline.promises.Readline" | "readline.clearLine" | "readline.clearScreenDown" | "readline.createInterface" | "readline.cursorTo" | "readline.moveCursor" | "readline.Interface" | "readline.emitKeypressEvents" | "readline.InterfaceConstructor" | "readline/promises" | "readline/promises.createInterface" | "readline/promises.Interface" | "readline/promises.Readline" | "repl" | "repl.start" | "repl.writer" | "repl.REPLServer()" | "repl.REPLServer" | "repl.REPL_MODE_MAGIC" | "repl.REPL_MODE_SLOPPY" | "repl.REPL_MODE_STRICT" | "repl.Recoverable()" | "repl.Recoverable" | "repl.builtinModules" | "sea" | "sea.isSea" | "sea.getAsset" | "sea.getAssetAsBlob" | "sea.getRawAsset" | "sea.sea.isSea" | "sea.sea.getAsset" | "sea.sea.getAssetAsBlob" | "sea.sea.getRawAsset" | "stream" | "stream.promises" | "stream.promises.pipeline" | "stream.promises.finished" | "stream.finished" | "stream.pipeline" | "stream.compose" | "stream.duplexPair" | "stream.Readable" | "stream.Readable.from" | "stream.Readable.isDisturbed" | "stream.Readable.fromWeb" | "stream.Readable.toWeb" | "stream.Writable" | "stream.Writable.fromWeb" | "stream.Writable.toWeb" | "stream.Duplex" | "stream.Duplex.from" | "stream.Duplex.fromWeb" | "stream.Duplex.toWeb" | "stream.Transform" | "stream.isErrored" | "stream.isReadable" | "stream.addAbortSignal" | "stream.getDefaultHighWaterMark" | "stream.setDefaultHighWaterMark" | "stream/promises.pipeline" | "stream/promises.finished" | "stream/web" | "stream/web.ReadableStream" | "stream/web.ReadableStream.from" | "stream/web.ReadableStreamDefaultReader" | "stream/web.ReadableStreamBYOBReader" | "stream/web.ReadableStreamDefaultController" | "stream/web.ReadableByteStreamController" | "stream/web.ReadableStreamBYOBRequest" | "stream/web.WritableStream" | "stream/web.WritableStreamDefaultWriter" | "stream/web.WritableStreamDefaultController" | "stream/web.TransformStream" | "stream/web.TransformStreamDefaultController" | "stream/web.ByteLengthQueuingStrategy" | "stream/web.CountQueuingStrategy" | "stream/web.TextEncoderStream" | "stream/web.TextDecoderStream" | "stream/web.CompressionStream" | "stream/web.DecompressionStream" | "stream/consumers" | "stream/consumers.arrayBuffer" | "stream/consumers.blob" | "stream/consumers.buffer" | "stream/consumers.json" | "stream/consumers.text" | "string_decoder" | "string_decoder.StringDecoder" | "test" | "test.after" | "test.afterEach" | "test.before" | "test.beforeEach" | "test.describe" | "test.describe.only" | "test.describe.skip" | "test.describe.todo" | "test.it" | "test.it.only" | "test.it.skip" | "test.it.todo" | "test.mock" | "test.mock.fn" | "test.mock.getter" | "test.mock.method" | "test.mock.module" | "test.mock.reset" | "test.mock.restoreAll" | "test.mock.setter" | "test.mock.timers" | "test.mock.timers.enable" | "test.mock.timers.reset" | "test.mock.timers.tick" | "test.only" | "test.run" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.skip" | "test.suite" | "test.test" | "test.test.only" | "test.test.skip" | "test.test.todo" | "test.todo" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getCallSites" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.getSystemErrorMessage" | "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.markAsUncloneable" | "worker_threads.markAsUntransferable" | "worker_threads.isMarkedAsUntransferable" | "worker_threads.moveMessagePortToContext" | "worker_threads.postMessageToThread" | "worker_threads.receiveMessageOnPort" | "worker_threads.setEnvironmentData" | "worker_threads.BroadcastChannel" | "worker_threads.MessageChannel" | "worker_threads.MessagePort" | "worker_threads.Worker" | "zlib.constants" | "zlib.crc32" | "zlib.createBrotliCompress" | "zlib.createBrotliDecompress" | "zlib.createDeflate" | "zlib.createDeflateRaw" | "zlib.createGunzip" | "zlib.createGzip" | "zlib.createInflate" | "zlib.createInflateRaw" | "zlib.createUnzip" | "zlib.brotliCompress" | "zlib.brotliCompressSync" | "zlib.brotliDecompress" | "zlib.brotliDecompressSync" | "zlib.deflate" | "zlib.deflateSync" | "zlib.deflateRaw" | "zlib.deflateRawSync" | "zlib.gunzip" | "zlib.gunzipSync" | "zlib.gzip" | "zlib.gzipSync" | "zlib.inflate" | "zlib.inflateSync" | "zlib.inflateRaw" | "zlib.inflateRawSync" | "zlib.unzip" | "zlib.unzipSync" | "zlib.BrotliCompress()" | "zlib.BrotliCompress" | "zlib.BrotliDecompress()" | "zlib.BrotliDecompress" | "zlib.Deflate()" | "zlib.Deflate" | "zlib.DeflateRaw()" | "zlib.DeflateRaw" | "zlib.Gunzip()" | "zlib.Gunzip" | "zlib.Gzip()" | "zlib.Gzip" | "zlib.Inflate()" | "zlib.Inflate" | "zlib.InflateRaw()" | "zlib.InflateRaw" | "zlib.Unzip()" | "zlib.Unzip" | "zlib")[]
|
|
10402
10464
|
}]
|
|
10403
10465
|
// ----- node/prefer-global/buffer -----
|
|
10404
10466
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10541,61 +10603,26 @@ type PaddingLineBetweenStatements = {
|
|
|
10541
10603
|
// ----- perfectionist/sort-array-includes -----
|
|
10542
10604
|
type PerfectionistSortArrayIncludes = []|[{
|
|
10543
10605
|
|
|
10544
|
-
|
|
10545
|
-
|
|
10546
|
-
order?: ("asc" | "desc")
|
|
10547
|
-
|
|
10548
|
-
matcher?: ("minimatch" | "regex")
|
|
10549
|
-
|
|
10550
|
-
ignoreCase?: boolean
|
|
10551
|
-
|
|
10552
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10606
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10553
10607
|
|
|
10554
10608
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10555
10609
|
|
|
10556
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10557
|
-
|
|
10558
10610
|
partitionByNewLine?: boolean
|
|
10559
|
-
}]
|
|
10560
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
10561
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
10562
|
-
|
|
10563
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10564
|
-
|
|
10565
|
-
order?: ("asc" | "desc")
|
|
10566
10611
|
|
|
10567
|
-
|
|
10612
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10568
10613
|
|
|
10569
10614
|
ignoreCase?: boolean
|
|
10570
10615
|
|
|
10571
|
-
|
|
10616
|
+
locales?: (string | string[])
|
|
10572
10617
|
|
|
10573
|
-
|
|
10618
|
+
order?: ("asc" | "desc")
|
|
10574
10619
|
|
|
10575
|
-
|
|
10576
|
-
[k: string]: (string | string[]) | undefined
|
|
10577
|
-
}
|
|
10620
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10578
10621
|
}]
|
|
10579
10622
|
// ----- perfectionist/sort-classes -----
|
|
10580
10623
|
type PerfectionistSortClasses = []|[{
|
|
10581
10624
|
|
|
10582
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10583
|
-
|
|
10584
|
-
order?: ("asc" | "desc")
|
|
10585
|
-
|
|
10586
|
-
matcher?: ("minimatch" | "regex")
|
|
10587
|
-
|
|
10588
|
-
ignoreCase?: boolean
|
|
10589
|
-
|
|
10590
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10591
|
-
|
|
10592
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10593
|
-
|
|
10594
|
-
groups?: (string | string[])[]
|
|
10595
|
-
|
|
10596
10625
|
customGroups?: ({
|
|
10597
|
-
[k: string]: (string | string[]) | undefined
|
|
10598
|
-
} | ({
|
|
10599
10626
|
|
|
10600
10627
|
groupName?: string
|
|
10601
10628
|
|
|
@@ -10604,15 +10631,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
10604
10631
|
order?: ("desc" | "asc")
|
|
10605
10632
|
anyOf?: {
|
|
10606
10633
|
|
|
10607
|
-
|
|
10608
|
-
|
|
10609
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10610
|
-
|
|
10611
|
-
elementNamePattern?: string
|
|
10634
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10612
10635
|
|
|
10613
10636
|
elementValuePattern?: string
|
|
10614
10637
|
|
|
10615
10638
|
decoratorNamePattern?: string
|
|
10639
|
+
|
|
10640
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10641
|
+
|
|
10642
|
+
elementNamePattern?: string
|
|
10616
10643
|
}[]
|
|
10617
10644
|
} | {
|
|
10618
10645
|
|
|
@@ -10622,91 +10649,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
10622
10649
|
|
|
10623
10650
|
order?: ("desc" | "asc")
|
|
10624
10651
|
|
|
10625
|
-
|
|
10626
|
-
|
|
10627
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10628
|
-
|
|
10629
|
-
elementNamePattern?: string
|
|
10652
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10630
10653
|
|
|
10631
10654
|
elementValuePattern?: string
|
|
10632
10655
|
|
|
10633
10656
|
decoratorNamePattern?: string
|
|
10634
|
-
|
|
10635
|
-
|
|
10636
|
-
|
|
10637
|
-
|
|
10657
|
+
|
|
10658
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10659
|
+
|
|
10660
|
+
elementNamePattern?: string
|
|
10661
|
+
})[]
|
|
10638
10662
|
|
|
10639
|
-
|
|
10663
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
10640
10664
|
|
|
10641
|
-
|
|
10665
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10666
|
+
|
|
10667
|
+
partitionByNewLine?: boolean
|
|
10668
|
+
|
|
10669
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10642
10670
|
|
|
10643
|
-
|
|
10671
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10644
10672
|
|
|
10645
10673
|
ignoreCase?: boolean
|
|
10646
10674
|
|
|
10647
|
-
|
|
10675
|
+
locales?: (string | string[])
|
|
10648
10676
|
|
|
10649
|
-
|
|
10677
|
+
groups?: (string | string[])[]
|
|
10650
10678
|
|
|
10651
|
-
|
|
10679
|
+
order?: ("asc" | "desc")
|
|
10680
|
+
|
|
10681
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10682
|
+
}]
|
|
10683
|
+
// ----- perfectionist/sort-decorators -----
|
|
10684
|
+
type PerfectionistSortDecorators = []|[{
|
|
10652
10685
|
|
|
10653
10686
|
partitionByComment?: (string[] | boolean | string)
|
|
10654
10687
|
|
|
10655
|
-
|
|
10656
|
-
}]
|
|
10657
|
-
// ----- perfectionist/sort-exports -----
|
|
10658
|
-
type PerfectionistSortExports = []|[{
|
|
10688
|
+
sortOnParameters?: boolean
|
|
10659
10689
|
|
|
10660
|
-
|
|
10690
|
+
sortOnProperties?: boolean
|
|
10661
10691
|
|
|
10662
|
-
|
|
10692
|
+
sortOnAccessors?: boolean
|
|
10663
10693
|
|
|
10664
|
-
|
|
10694
|
+
sortOnMethods?: boolean
|
|
10665
10695
|
|
|
10666
|
-
|
|
10696
|
+
sortOnClasses?: boolean
|
|
10667
10697
|
|
|
10668
10698
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10669
10699
|
|
|
10700
|
+
customGroups?: {
|
|
10701
|
+
[k: string]: (string | string[]) | undefined
|
|
10702
|
+
}
|
|
10703
|
+
|
|
10704
|
+
ignoreCase?: boolean
|
|
10705
|
+
|
|
10706
|
+
locales?: (string | string[])
|
|
10707
|
+
|
|
10708
|
+
groups?: (string | string[])[]
|
|
10709
|
+
|
|
10710
|
+
order?: ("asc" | "desc")
|
|
10711
|
+
|
|
10712
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10713
|
+
}]
|
|
10714
|
+
// ----- perfectionist/sort-enums -----
|
|
10715
|
+
type PerfectionistSortEnums = []|[{
|
|
10716
|
+
|
|
10670
10717
|
partitionByComment?: (string[] | boolean | string)
|
|
10671
10718
|
|
|
10719
|
+
forceNumericSort?: boolean
|
|
10720
|
+
|
|
10721
|
+
sortByValue?: boolean
|
|
10722
|
+
|
|
10672
10723
|
partitionByNewLine?: boolean
|
|
10673
10724
|
|
|
10674
|
-
|
|
10675
|
-
}]
|
|
10676
|
-
// ----- perfectionist/sort-imports -----
|
|
10677
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10678
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10725
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10679
10726
|
|
|
10680
|
-
|
|
10727
|
+
ignoreCase?: boolean
|
|
10728
|
+
|
|
10729
|
+
locales?: (string | string[])
|
|
10681
10730
|
|
|
10682
10731
|
order?: ("asc" | "desc")
|
|
10683
10732
|
|
|
10684
|
-
|
|
10733
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10734
|
+
}]
|
|
10735
|
+
// ----- perfectionist/sort-exports -----
|
|
10736
|
+
type PerfectionistSortExports = []|[{
|
|
10737
|
+
|
|
10738
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10739
|
+
|
|
10740
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10685
10741
|
|
|
10686
|
-
|
|
10742
|
+
partitionByNewLine?: boolean
|
|
10687
10743
|
|
|
10688
10744
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10689
10745
|
|
|
10690
|
-
|
|
10746
|
+
ignoreCase?: boolean
|
|
10691
10747
|
|
|
10692
|
-
|
|
10748
|
+
locales?: (string | string[])
|
|
10693
10749
|
|
|
10694
|
-
|
|
10750
|
+
order?: ("asc" | "desc")
|
|
10695
10751
|
|
|
10696
|
-
|
|
10752
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10753
|
+
}]
|
|
10754
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
10755
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
10756
|
+
|
|
10757
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10758
|
+
|
|
10759
|
+
customGroups?: {
|
|
10760
|
+
[k: string]: (string | string[]) | undefined
|
|
10761
|
+
}
|
|
10762
|
+
|
|
10763
|
+
ignoreCase?: boolean
|
|
10764
|
+
|
|
10765
|
+
locales?: (string | string[])
|
|
10697
10766
|
|
|
10698
10767
|
groups?: (string | string[])[]
|
|
10699
10768
|
|
|
10769
|
+
order?: ("asc" | "desc")
|
|
10770
|
+
|
|
10771
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10772
|
+
}]
|
|
10773
|
+
// ----- perfectionist/sort-imports -----
|
|
10774
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10775
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10776
|
+
|
|
10700
10777
|
customGroups?: {
|
|
10701
|
-
|
|
10778
|
+
|
|
10779
|
+
value?: {
|
|
10702
10780
|
[k: string]: unknown | undefined
|
|
10703
10781
|
}
|
|
10704
|
-
|
|
10782
|
+
|
|
10783
|
+
type?: {
|
|
10705
10784
|
[k: string]: unknown | undefined
|
|
10706
10785
|
}
|
|
10707
10786
|
}
|
|
10708
10787
|
|
|
10788
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10789
|
+
|
|
10790
|
+
internalPattern?: string[]
|
|
10791
|
+
|
|
10792
|
+
maxLineLength?: number
|
|
10793
|
+
|
|
10794
|
+
sortSideEffects?: boolean
|
|
10795
|
+
|
|
10709
10796
|
environment?: ("node" | "bun")
|
|
10797
|
+
|
|
10798
|
+
tsconfigRootDir?: string
|
|
10799
|
+
|
|
10800
|
+
partitionByNewLine?: boolean
|
|
10801
|
+
|
|
10802
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10803
|
+
|
|
10804
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10805
|
+
|
|
10806
|
+
ignoreCase?: boolean
|
|
10807
|
+
|
|
10808
|
+
locales?: (string | string[])
|
|
10809
|
+
|
|
10810
|
+
groups?: (string | string[])[]
|
|
10811
|
+
|
|
10812
|
+
order?: ("asc" | "desc")
|
|
10813
|
+
|
|
10814
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10710
10815
|
})
|
|
10711
10816
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10712
10817
|
[k: string]: unknown | undefined
|
|
@@ -10718,284 +10823,324 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10718
10823
|
// ----- perfectionist/sort-interfaces -----
|
|
10719
10824
|
type PerfectionistSortInterfaces = []|[{
|
|
10720
10825
|
|
|
10721
|
-
|
|
10826
|
+
ignorePattern?: string[]
|
|
10722
10827
|
|
|
10723
|
-
|
|
10828
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10724
10829
|
|
|
10725
|
-
|
|
10830
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
10726
10831
|
|
|
10727
|
-
|
|
10832
|
+
partitionByNewLine?: boolean
|
|
10728
10833
|
|
|
10729
10834
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10730
10835
|
|
|
10731
|
-
|
|
10836
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10732
10837
|
|
|
10733
|
-
|
|
10838
|
+
customGroups?: {
|
|
10839
|
+
[k: string]: (string | string[]) | undefined
|
|
10840
|
+
}
|
|
10734
10841
|
|
|
10735
|
-
|
|
10842
|
+
ignoreCase?: boolean
|
|
10736
10843
|
|
|
10737
|
-
|
|
10844
|
+
locales?: (string | string[])
|
|
10738
10845
|
|
|
10739
10846
|
groups?: (string | string[])[]
|
|
10740
10847
|
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10848
|
+
order?: ("asc" | "desc")
|
|
10849
|
+
|
|
10850
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10744
10851
|
}]
|
|
10745
10852
|
// ----- perfectionist/sort-intersection-types -----
|
|
10746
10853
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10747
10854
|
|
|
10748
|
-
|
|
10855
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10749
10856
|
|
|
10750
|
-
|
|
10857
|
+
partitionByNewLine?: boolean
|
|
10751
10858
|
|
|
10752
|
-
|
|
10859
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10860
|
+
|
|
10861
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10753
10862
|
|
|
10754
10863
|
ignoreCase?: boolean
|
|
10755
10864
|
|
|
10756
|
-
|
|
10865
|
+
locales?: (string | string[])
|
|
10757
10866
|
|
|
10758
10867
|
groups?: (string | string[])[]
|
|
10759
10868
|
|
|
10760
|
-
|
|
10869
|
+
order?: ("asc" | "desc")
|
|
10761
10870
|
|
|
10762
|
-
|
|
10871
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10763
10872
|
}]
|
|
10764
10873
|
// ----- perfectionist/sort-jsx-props -----
|
|
10765
10874
|
type PerfectionistSortJsxProps = []|[{
|
|
10766
10875
|
|
|
10767
|
-
|
|
10876
|
+
ignorePattern?: string[]
|
|
10768
10877
|
|
|
10769
|
-
|
|
10878
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10770
10879
|
|
|
10771
|
-
|
|
10880
|
+
customGroups?: {
|
|
10881
|
+
[k: string]: (string | string[]) | undefined
|
|
10882
|
+
}
|
|
10772
10883
|
|
|
10773
10884
|
ignoreCase?: boolean
|
|
10774
10885
|
|
|
10775
|
-
|
|
10776
|
-
|
|
10777
|
-
ignorePattern?: string[]
|
|
10886
|
+
locales?: (string | string[])
|
|
10778
10887
|
|
|
10779
10888
|
groups?: (string | string[])[]
|
|
10780
10889
|
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10890
|
+
order?: ("asc" | "desc")
|
|
10891
|
+
|
|
10892
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10784
10893
|
}]
|
|
10785
10894
|
// ----- perfectionist/sort-maps -----
|
|
10786
10895
|
type PerfectionistSortMaps = []|[{
|
|
10787
10896
|
|
|
10788
|
-
|
|
10897
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10789
10898
|
|
|
10790
|
-
|
|
10899
|
+
partitionByNewLine?: boolean
|
|
10791
10900
|
|
|
10792
|
-
|
|
10901
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10793
10902
|
|
|
10794
10903
|
ignoreCase?: boolean
|
|
10795
10904
|
|
|
10796
|
-
|
|
10905
|
+
locales?: (string | string[])
|
|
10906
|
+
|
|
10907
|
+
order?: ("asc" | "desc")
|
|
10908
|
+
|
|
10909
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10910
|
+
}]
|
|
10911
|
+
// ----- perfectionist/sort-modules -----
|
|
10912
|
+
type PerfectionistSortModules = []|[{
|
|
10913
|
+
|
|
10914
|
+
customGroups?: ({
|
|
10915
|
+
|
|
10916
|
+
groupName?: string
|
|
10917
|
+
|
|
10918
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10919
|
+
|
|
10920
|
+
order?: ("desc" | "asc")
|
|
10921
|
+
anyOf?: {
|
|
10922
|
+
|
|
10923
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10924
|
+
|
|
10925
|
+
elementValuePattern?: string
|
|
10926
|
+
|
|
10927
|
+
decoratorNamePattern?: string
|
|
10928
|
+
|
|
10929
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10930
|
+
|
|
10931
|
+
elementNamePattern?: string
|
|
10932
|
+
}[]
|
|
10933
|
+
} | {
|
|
10934
|
+
|
|
10935
|
+
groupName?: string
|
|
10936
|
+
|
|
10937
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10938
|
+
|
|
10939
|
+
order?: ("desc" | "asc")
|
|
10940
|
+
|
|
10941
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
10942
|
+
|
|
10943
|
+
elementValuePattern?: string
|
|
10944
|
+
|
|
10945
|
+
decoratorNamePattern?: string
|
|
10946
|
+
|
|
10947
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
10948
|
+
|
|
10949
|
+
elementNamePattern?: string
|
|
10950
|
+
})[]
|
|
10797
10951
|
|
|
10798
10952
|
partitionByComment?: (string[] | boolean | string)
|
|
10799
10953
|
|
|
10800
10954
|
partitionByNewLine?: boolean
|
|
10955
|
+
|
|
10956
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10957
|
+
|
|
10958
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10959
|
+
|
|
10960
|
+
ignoreCase?: boolean
|
|
10961
|
+
|
|
10962
|
+
locales?: (string | string[])
|
|
10963
|
+
|
|
10964
|
+
groups?: (string | string[])[]
|
|
10965
|
+
|
|
10966
|
+
order?: ("asc" | "desc")
|
|
10967
|
+
|
|
10968
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10801
10969
|
}]
|
|
10802
10970
|
// ----- perfectionist/sort-named-exports -----
|
|
10803
10971
|
type PerfectionistSortNamedExports = []|[{
|
|
10804
10972
|
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
order?: ("asc" | "desc")
|
|
10973
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10808
10974
|
|
|
10809
|
-
|
|
10975
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10810
10976
|
|
|
10811
|
-
|
|
10977
|
+
partitionByNewLine?: boolean
|
|
10812
10978
|
|
|
10813
10979
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10814
10980
|
|
|
10815
|
-
|
|
10981
|
+
ignoreCase?: boolean
|
|
10816
10982
|
|
|
10817
|
-
|
|
10983
|
+
locales?: (string | string[])
|
|
10818
10984
|
|
|
10819
|
-
|
|
10985
|
+
order?: ("asc" | "desc")
|
|
10986
|
+
|
|
10987
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10820
10988
|
}]
|
|
10821
10989
|
// ----- perfectionist/sort-named-imports -----
|
|
10822
10990
|
type PerfectionistSortNamedImports = []|[{
|
|
10823
10991
|
|
|
10824
|
-
|
|
10992
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10825
10993
|
|
|
10826
|
-
|
|
10994
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10827
10995
|
|
|
10828
|
-
|
|
10996
|
+
ignoreAlias?: boolean
|
|
10829
10997
|
|
|
10830
|
-
|
|
10998
|
+
partitionByNewLine?: boolean
|
|
10831
10999
|
|
|
10832
11000
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10833
11001
|
|
|
10834
|
-
|
|
11002
|
+
ignoreCase?: boolean
|
|
10835
11003
|
|
|
10836
|
-
|
|
11004
|
+
locales?: (string | string[])
|
|
10837
11005
|
|
|
10838
|
-
|
|
11006
|
+
order?: ("asc" | "desc")
|
|
10839
11007
|
|
|
10840
|
-
|
|
11008
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10841
11009
|
}]
|
|
10842
11010
|
// ----- perfectionist/sort-object-types -----
|
|
10843
11011
|
type PerfectionistSortObjectTypes = []|[{
|
|
10844
11012
|
|
|
10845
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10846
|
-
|
|
10847
|
-
order?: ("asc" | "desc")
|
|
10848
|
-
|
|
10849
|
-
matcher?: ("minimatch" | "regex")
|
|
10850
|
-
|
|
10851
|
-
ignoreCase?: boolean
|
|
10852
|
-
|
|
10853
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10854
|
-
|
|
10855
11013
|
partitionByComment?: (string[] | boolean | string)
|
|
10856
11014
|
|
|
11015
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11016
|
+
|
|
10857
11017
|
partitionByNewLine?: boolean
|
|
10858
11018
|
|
|
10859
|
-
|
|
11019
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10860
11020
|
|
|
10861
|
-
|
|
11021
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10862
11022
|
|
|
10863
11023
|
customGroups?: {
|
|
10864
11024
|
[k: string]: (string | string[]) | undefined
|
|
10865
11025
|
}
|
|
10866
|
-
}]
|
|
10867
|
-
// ----- perfectionist/sort-objects -----
|
|
10868
|
-
type PerfectionistSortObjects = []|[{
|
|
10869
11026
|
|
|
10870
|
-
|
|
11027
|
+
ignoreCase?: boolean
|
|
11028
|
+
|
|
11029
|
+
locales?: (string | string[])
|
|
11030
|
+
|
|
11031
|
+
groups?: (string | string[])[]
|
|
10871
11032
|
|
|
10872
11033
|
order?: ("asc" | "desc")
|
|
10873
11034
|
|
|
10874
|
-
|
|
11035
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
11036
|
+
}]
|
|
11037
|
+
// ----- perfectionist/sort-objects -----
|
|
11038
|
+
type PerfectionistSortObjects = []|[{
|
|
10875
11039
|
|
|
10876
|
-
|
|
11040
|
+
destructuredObjects?: (boolean | {
|
|
11041
|
+
|
|
11042
|
+
groups?: boolean
|
|
11043
|
+
})
|
|
10877
11044
|
|
|
10878
|
-
|
|
11045
|
+
ignorePattern?: string[]
|
|
10879
11046
|
|
|
10880
11047
|
partitionByComment?: (string[] | boolean | string)
|
|
10881
11048
|
|
|
10882
|
-
|
|
11049
|
+
destructureOnly?: boolean
|
|
11050
|
+
|
|
11051
|
+
objectDeclarations?: boolean
|
|
10883
11052
|
|
|
10884
11053
|
styledComponents?: boolean
|
|
10885
11054
|
|
|
10886
|
-
|
|
11055
|
+
partitionByNewLine?: boolean
|
|
10887
11056
|
|
|
10888
|
-
|
|
11057
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10889
11058
|
|
|
10890
|
-
|
|
11059
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10891
11060
|
|
|
10892
11061
|
customGroups?: {
|
|
10893
11062
|
[k: string]: (string | string[]) | undefined
|
|
10894
11063
|
}
|
|
10895
|
-
}]
|
|
10896
|
-
// ----- perfectionist/sort-sets -----
|
|
10897
|
-
type PerfectionistSortSets = []|[{
|
|
10898
|
-
|
|
10899
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10900
|
-
|
|
10901
|
-
order?: ("asc" | "desc")
|
|
10902
|
-
|
|
10903
|
-
matcher?: ("minimatch" | "regex")
|
|
10904
11064
|
|
|
10905
11065
|
ignoreCase?: boolean
|
|
10906
11066
|
|
|
10907
|
-
|
|
11067
|
+
locales?: (string | string[])
|
|
10908
11068
|
|
|
10909
|
-
|
|
11069
|
+
groups?: (string | string[])[]
|
|
10910
11070
|
|
|
10911
|
-
|
|
11071
|
+
order?: ("asc" | "desc")
|
|
10912
11072
|
|
|
10913
|
-
|
|
11073
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10914
11074
|
}]
|
|
10915
|
-
// ----- perfectionist/sort-
|
|
10916
|
-
type
|
|
11075
|
+
// ----- perfectionist/sort-sets -----
|
|
11076
|
+
type PerfectionistSortSets = []|[{
|
|
10917
11077
|
|
|
10918
|
-
|
|
11078
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10919
11079
|
|
|
10920
|
-
|
|
11080
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10921
11081
|
|
|
10922
|
-
|
|
11082
|
+
partitionByNewLine?: boolean
|
|
11083
|
+
|
|
11084
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10923
11085
|
|
|
10924
11086
|
ignoreCase?: boolean
|
|
10925
11087
|
|
|
10926
|
-
|
|
11088
|
+
locales?: (string | string[])
|
|
10927
11089
|
|
|
10928
|
-
|
|
11090
|
+
order?: ("asc" | "desc")
|
|
10929
11091
|
|
|
10930
|
-
|
|
10931
|
-
[k: string]: (string | string[]) | undefined
|
|
10932
|
-
}
|
|
11092
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10933
11093
|
}]
|
|
10934
11094
|
// ----- perfectionist/sort-switch-case -----
|
|
10935
11095
|
type PerfectionistSortSwitchCase = []|[{
|
|
10936
11096
|
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
order?: ("asc" | "desc")
|
|
11097
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10940
11098
|
|
|
10941
11099
|
ignoreCase?: boolean
|
|
10942
11100
|
|
|
10943
|
-
|
|
11101
|
+
locales?: (string | string[])
|
|
11102
|
+
|
|
11103
|
+
order?: ("asc" | "desc")
|
|
11104
|
+
|
|
11105
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10944
11106
|
}]
|
|
10945
11107
|
// ----- perfectionist/sort-union-types -----
|
|
10946
11108
|
type PerfectionistSortUnionTypes = []|[{
|
|
10947
11109
|
|
|
10948
|
-
|
|
11110
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10949
11111
|
|
|
10950
|
-
|
|
11112
|
+
partitionByNewLine?: boolean
|
|
11113
|
+
|
|
11114
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10951
11115
|
|
|
10952
|
-
|
|
11116
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10953
11117
|
|
|
10954
11118
|
ignoreCase?: boolean
|
|
10955
11119
|
|
|
10956
|
-
|
|
11120
|
+
locales?: (string | string[])
|
|
10957
11121
|
|
|
10958
11122
|
groups?: (string | string[])[]
|
|
10959
11123
|
|
|
10960
|
-
|
|
11124
|
+
order?: ("asc" | "desc")
|
|
10961
11125
|
|
|
10962
|
-
|
|
11126
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10963
11127
|
}]
|
|
10964
11128
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10965
11129
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10966
11130
|
|
|
10967
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10968
|
-
|
|
10969
|
-
order?: ("asc" | "desc")
|
|
10970
|
-
|
|
10971
|
-
matcher?: ("minimatch" | "regex")
|
|
10972
|
-
|
|
10973
|
-
ignoreCase?: boolean
|
|
10974
|
-
|
|
10975
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10976
|
-
|
|
10977
11131
|
partitionByComment?: (string[] | boolean | string)
|
|
10978
11132
|
|
|
10979
11133
|
partitionByNewLine?: boolean
|
|
10980
|
-
}]
|
|
10981
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
10982
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
10983
|
-
|
|
10984
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10985
|
-
|
|
10986
|
-
order?: ("asc" | "desc")
|
|
10987
11134
|
|
|
10988
|
-
|
|
11135
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10989
11136
|
|
|
10990
11137
|
ignoreCase?: boolean
|
|
10991
11138
|
|
|
10992
|
-
|
|
11139
|
+
locales?: (string | string[])
|
|
10993
11140
|
|
|
10994
|
-
|
|
11141
|
+
order?: ("asc" | "desc")
|
|
10995
11142
|
|
|
10996
|
-
|
|
10997
|
-
[k: string]: (string | string[]) | undefined
|
|
10998
|
-
}
|
|
11143
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10999
11144
|
}]
|
|
11000
11145
|
// ----- prefer-arrow-callback -----
|
|
11001
11146
|
type PreferArrowCallback = []|[{
|
|
@@ -11060,6 +11205,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
11060
11205
|
})]
|
|
11061
11206
|
// ----- radix -----
|
|
11062
11207
|
type Radix = []|[("always" | "as-needed")]
|
|
11208
|
+
// ----- react-dom/no-unknown-property -----
|
|
11209
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
11210
|
+
ignore?: string[]
|
|
11211
|
+
requireDataLowercase?: boolean
|
|
11212
|
+
}]
|
|
11063
11213
|
// ----- react-hooks/exhaustive-deps -----
|
|
11064
11214
|
type ReactHooksExhaustiveDeps = []|[{
|
|
11065
11215
|
additionalHooks?: string
|
|
@@ -11083,6 +11233,7 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
11083
11233
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
11084
11234
|
allow?: ("always" | "as-needed")
|
|
11085
11235
|
extensions?: string[]
|
|
11236
|
+
ignoreFilesWithoutCode?: boolean
|
|
11086
11237
|
})]
|
|
11087
11238
|
// ----- react-refresh/only-export-components -----
|
|
11088
11239
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
@@ -11090,6 +11241,11 @@ type ReactRefreshOnlyExportComponents = []|[{
|
|
|
11090
11241
|
checkJS?: boolean
|
|
11091
11242
|
allowExportNames?: string[]
|
|
11092
11243
|
}]
|
|
11244
|
+
// ----- react/no-useless-fragment -----
|
|
11245
|
+
type ReactNoUselessFragment = []|[{
|
|
11246
|
+
|
|
11247
|
+
allowExpressions?: boolean
|
|
11248
|
+
}]
|
|
11093
11249
|
// ----- regexp/hexadecimal-escape -----
|
|
11094
11250
|
type RegexpHexadecimalEscape = []|[("always" | "never")]
|
|
11095
11251
|
// ----- regexp/letter-case -----
|
|
@@ -11427,6 +11583,8 @@ type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
|
|
|
11427
11583
|
imports?: _StyleCommaDangleValueWithIgnore
|
|
11428
11584
|
exports?: _StyleCommaDangleValueWithIgnore
|
|
11429
11585
|
functions?: _StyleCommaDangleValueWithIgnore
|
|
11586
|
+
importAttributes?: _StyleCommaDangleValueWithIgnore
|
|
11587
|
+
dynamicImports?: _StyleCommaDangleValueWithIgnore
|
|
11430
11588
|
enums?: _StyleCommaDangleValueWithIgnore
|
|
11431
11589
|
generics?: _StyleCommaDangleValueWithIgnore
|
|
11432
11590
|
tuples?: _StyleCommaDangleValueWithIgnore
|
|
@@ -11576,12 +11734,20 @@ type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
11576
11734
|
// ----- style/func-call-spacing -----
|
|
11577
11735
|
type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11578
11736
|
allowNewlines?: boolean
|
|
11737
|
+
optionalChain?: {
|
|
11738
|
+
before?: boolean
|
|
11739
|
+
after?: boolean
|
|
11740
|
+
}
|
|
11579
11741
|
}])
|
|
11580
11742
|
// ----- style/function-call-argument-newline -----
|
|
11581
11743
|
type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
11582
11744
|
// ----- style/function-call-spacing -----
|
|
11583
11745
|
type StyleFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11584
11746
|
allowNewlines?: boolean
|
|
11747
|
+
optionalChain?: {
|
|
11748
|
+
before?: boolean
|
|
11749
|
+
after?: boolean
|
|
11750
|
+
}
|
|
11585
11751
|
}])
|
|
11586
11752
|
// ----- style/function-paren-newline -----
|
|
11587
11753
|
type StyleFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -12233,6 +12399,7 @@ type StyleMaxLen = []|[({
|
|
|
12233
12399
|
// ----- style/max-statements-per-line -----
|
|
12234
12400
|
type StyleMaxStatementsPerLine = []|[{
|
|
12235
12401
|
max?: number
|
|
12402
|
+
ignoredNodes?: ("BreakStatement" | "ClassDeclaration" | "ContinueStatement" | "DebuggerStatement" | "DoWhileStatement" | "ExpressionStatement" | "ForInStatement" | "ForOfStatement" | "ForStatement" | "FunctionDeclaration" | "IfStatement" | "ImportDeclaration" | "LabeledStatement" | "ReturnStatement" | "SwitchStatement" | "ThrowStatement" | "TryStatement" | "VariableDeclaration" | "WhileStatement" | "WithStatement" | "ExportNamedDeclaration" | "ExportDefaultDeclaration" | "ExportAllDeclaration")[]
|
|
12236
12403
|
}]
|
|
12237
12404
|
// ----- style/member-delimiter-style -----
|
|
12238
12405
|
type StyleMemberDelimiterStyle = []|[{
|
|
@@ -12402,7 +12569,7 @@ type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
|
12402
12569
|
}]
|
|
12403
12570
|
// ----- style/padding-line-between-statements -----
|
|
12404
12571
|
type _StylePaddingLineBetweenStatementsPaddingType = ("any" | "never" | "always")
|
|
12405
|
-
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" | "ts-method" | "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" | "ts-method" | "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" | "ts-method" | "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"))[]])
|
|
12572
|
+
type _StylePaddingLineBetweenStatementsStatementType = (("*" | "block-like" | "exports" | "require" | "directive" | "expression" | "iife" | "multiline-block-like" | "multiline-expression" | "multiline-const" | "multiline-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "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-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "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-export" | "multiline-let" | "multiline-var" | "singleline-const" | "singleline-export" | "singleline-let" | "singleline-var" | "block" | "empty" | "function" | "ts-method" | "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"))[]])
|
|
12406
12573
|
type StylePaddingLineBetweenStatements = {
|
|
12407
12574
|
blankLine: _StylePaddingLineBetweenStatementsPaddingType
|
|
12408
12575
|
prev: _StylePaddingLineBetweenStatementsStatementType
|
|
@@ -12542,6 +12709,15 @@ type SvelteFirstAttributeLinebreak = []|[{
|
|
|
12542
12709
|
multiline?: ("below" | "beside")
|
|
12543
12710
|
singleline?: ("below" | "beside")
|
|
12544
12711
|
}]
|
|
12712
|
+
// ----- svelte/html-closing-bracket-new-line -----
|
|
12713
|
+
type SvelteHtmlClosingBracketNewLine = []|[{
|
|
12714
|
+
singleline?: ("always" | "never")
|
|
12715
|
+
multiline?: ("always" | "never")
|
|
12716
|
+
selfClosingTag?: {
|
|
12717
|
+
singleline?: ("always" | "never")
|
|
12718
|
+
multiline?: ("always" | "never")
|
|
12719
|
+
}
|
|
12720
|
+
}]
|
|
12545
12721
|
// ----- svelte/html-closing-bracket-spacing -----
|
|
12546
12722
|
type SvelteHtmlClosingBracketSpacing = []|[{
|
|
12547
12723
|
startTag?: ("always" | "never" | "ignore")
|
|
@@ -12685,7 +12861,7 @@ type TestConsistentTestIt = []|[{
|
|
|
12685
12861
|
}]
|
|
12686
12862
|
// ----- test/expect-expect -----
|
|
12687
12863
|
type TestExpectExpect = []|[{
|
|
12688
|
-
assertFunctionNames?: []
|
|
12864
|
+
assertFunctionNames?: string[]
|
|
12689
12865
|
additionalTestBlockFunctions?: string[]
|
|
12690
12866
|
}]
|
|
12691
12867
|
// ----- test/max-expects -----
|
|
@@ -13399,6 +13575,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
13399
13575
|
ignoreArrowShorthand?: boolean
|
|
13400
13576
|
|
|
13401
13577
|
ignoreVoidOperator?: boolean
|
|
13578
|
+
|
|
13579
|
+
ignoreVoidReturningFunctions?: boolean
|
|
13402
13580
|
}]
|
|
13403
13581
|
// ----- ts/no-duplicate-type-constituents -----
|
|
13404
13582
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -13726,6 +13904,19 @@ type TsNoVarRequires = []|[{
|
|
|
13726
13904
|
// ----- ts/only-throw-error -----
|
|
13727
13905
|
type TsOnlyThrowError = []|[{
|
|
13728
13906
|
|
|
13907
|
+
allow?: (string | {
|
|
13908
|
+
from: "file"
|
|
13909
|
+
name: (string | [string, ...(string)[]])
|
|
13910
|
+
path?: string
|
|
13911
|
+
} | {
|
|
13912
|
+
from: "lib"
|
|
13913
|
+
name: (string | [string, ...(string)[]])
|
|
13914
|
+
} | {
|
|
13915
|
+
from: "package"
|
|
13916
|
+
name: (string | [string, ...(string)[]])
|
|
13917
|
+
package: string
|
|
13918
|
+
})[]
|
|
13919
|
+
|
|
13729
13920
|
allowThrowingAny?: boolean
|
|
13730
13921
|
|
|
13731
13922
|
allowThrowingUnknown?: boolean
|
|
@@ -13779,6 +13970,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
13779
13970
|
|
|
13780
13971
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13781
13972
|
|
|
13973
|
+
ignoreBooleanCoercion?: boolean
|
|
13974
|
+
|
|
13782
13975
|
ignoreConditionalTests?: boolean
|
|
13783
13976
|
|
|
13784
13977
|
ignoreMixedLogicalExpressions?: boolean
|
|
@@ -14344,6 +14537,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
14344
14537
|
imports?: _VueCommaDangleValueWithIgnore
|
|
14345
14538
|
exports?: _VueCommaDangleValueWithIgnore
|
|
14346
14539
|
functions?: _VueCommaDangleValueWithIgnore
|
|
14540
|
+
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
14541
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
14347
14542
|
enums?: _VueCommaDangleValueWithIgnore
|
|
14348
14543
|
generics?: _VueCommaDangleValueWithIgnore
|
|
14349
14544
|
tuples?: _VueCommaDangleValueWithIgnore
|
|
@@ -14420,6 +14615,10 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
14420
14615
|
// ----- vue/func-call-spacing -----
|
|
14421
14616
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
14422
14617
|
allowNewlines?: boolean
|
|
14618
|
+
optionalChain?: {
|
|
14619
|
+
before?: boolean
|
|
14620
|
+
after?: boolean
|
|
14621
|
+
}
|
|
14423
14622
|
}])
|
|
14424
14623
|
// ----- vue/html-button-has-type -----
|
|
14425
14624
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -15100,6 +15299,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
15100
15299
|
type VueNoReservedComponentNames = []|[{
|
|
15101
15300
|
disallowVueBuiltInComponents?: boolean
|
|
15102
15301
|
disallowVue3BuiltInComponents?: boolean
|
|
15302
|
+
htmlElementCaseSensitive?: boolean
|
|
15103
15303
|
}]
|
|
15104
15304
|
// ----- vue/no-reserved-keys -----
|
|
15105
15305
|
type VueNoReservedKeys = []|[{
|
|
@@ -15569,6 +15769,9 @@ type YamlNoMultipleEmptyLines = []|[{
|
|
|
15569
15769
|
// ----- yaml/plain-scalar -----
|
|
15570
15770
|
type YamlPlainScalar = []|[("always" | "never")]|[("always" | "never"), {
|
|
15571
15771
|
ignorePatterns?: string[]
|
|
15772
|
+
overrides?: {
|
|
15773
|
+
mappingKey?: ("always" | "never" | null)
|
|
15774
|
+
}
|
|
15572
15775
|
}]
|
|
15573
15776
|
// ----- yaml/quotes -----
|
|
15574
15777
|
type YamlQuotes = []|[{
|