@vinicunca/eslint-config 2.12.2 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +25 -4
- package/dist/index.d.cts +576 -435
- package/dist/index.d.ts +576 -435
- package/dist/index.js +24 -3
- package/package.json +20 -20
package/dist/index.d.cts
CHANGED
|
@@ -661,233 +661,233 @@ interface RuleOptions {
|
|
|
661
661
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
662
662
|
/**
|
|
663
663
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/consistent-type-specifier-style.md
|
|
665
665
|
*/
|
|
666
666
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
667
667
|
/**
|
|
668
668
|
* Ensure a default export is present, given a default import.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/default.md
|
|
670
670
|
*/
|
|
671
671
|
'import/default'?: Linter.RuleEntry<[]>
|
|
672
672
|
/**
|
|
673
673
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/dynamic-import-chunkname.md
|
|
675
675
|
*/
|
|
676
676
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
677
677
|
/**
|
|
678
678
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/export.md
|
|
680
680
|
*/
|
|
681
681
|
'import/export'?: Linter.RuleEntry<[]>
|
|
682
682
|
/**
|
|
683
683
|
* Ensure all exports appear after other statements.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/exports-last.md
|
|
685
685
|
*/
|
|
686
686
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
687
687
|
/**
|
|
688
688
|
* Ensure consistent use of file extension within the import path.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/extensions.md
|
|
690
690
|
*/
|
|
691
691
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
692
692
|
/**
|
|
693
693
|
* Ensure all imports appear before other statements.
|
|
694
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
694
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/first.md
|
|
695
695
|
*/
|
|
696
696
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
697
697
|
/**
|
|
698
698
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
699
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
699
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/group-exports.md
|
|
700
700
|
*/
|
|
701
701
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
702
702
|
/**
|
|
703
703
|
* Replaced by `import-x/first`.
|
|
704
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
704
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/imports-first.md
|
|
705
705
|
* @deprecated
|
|
706
706
|
*/
|
|
707
707
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
708
708
|
/**
|
|
709
709
|
* Enforce the maximum number of dependencies a module can have.
|
|
710
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
710
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/max-dependencies.md
|
|
711
711
|
*/
|
|
712
712
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
713
713
|
/**
|
|
714
714
|
* Ensure named imports correspond to a named export in the remote file.
|
|
715
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
715
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/named.md
|
|
716
716
|
*/
|
|
717
717
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
718
718
|
/**
|
|
719
719
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
720
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
720
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/namespace.md
|
|
721
721
|
*/
|
|
722
722
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
723
723
|
/**
|
|
724
724
|
* Enforce a newline after import statements.
|
|
725
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
725
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/newline-after-import.md
|
|
726
726
|
*/
|
|
727
727
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
728
728
|
/**
|
|
729
729
|
* Forbid import of modules using absolute paths.
|
|
730
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
730
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-absolute-path.md
|
|
731
731
|
*/
|
|
732
732
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
733
733
|
/**
|
|
734
734
|
* Forbid AMD `require` and `define` calls.
|
|
735
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
735
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-amd.md
|
|
736
736
|
*/
|
|
737
737
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
738
738
|
/**
|
|
739
739
|
* Forbid anonymous values as default exports.
|
|
740
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-anonymous-default-export.md
|
|
741
741
|
*/
|
|
742
742
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
743
743
|
/**
|
|
744
744
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
745
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-commonjs.md
|
|
746
746
|
*/
|
|
747
747
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
748
748
|
/**
|
|
749
749
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
750
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-cycle.md
|
|
751
751
|
*/
|
|
752
752
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
753
753
|
/**
|
|
754
754
|
* Forbid default exports.
|
|
755
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-default-export.md
|
|
756
756
|
*/
|
|
757
757
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
758
758
|
/**
|
|
759
759
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
760
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-deprecated.md
|
|
761
761
|
*/
|
|
762
762
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
763
763
|
/**
|
|
764
764
|
* Forbid repeated import of the same module in multiple places.
|
|
765
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-duplicates.md
|
|
766
766
|
*/
|
|
767
767
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
768
768
|
/**
|
|
769
769
|
* Forbid `require()` calls with expressions.
|
|
770
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-dynamic-require.md
|
|
771
771
|
*/
|
|
772
772
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
773
773
|
/**
|
|
774
774
|
* Forbid empty named import blocks.
|
|
775
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-empty-named-blocks.md
|
|
776
776
|
*/
|
|
777
777
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
778
778
|
/**
|
|
779
779
|
* Forbid the use of extraneous packages.
|
|
780
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-extraneous-dependencies.md
|
|
781
781
|
*/
|
|
782
782
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
783
783
|
/**
|
|
784
784
|
* Forbid import statements with CommonJS module.exports.
|
|
785
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
785
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-import-module-exports.md
|
|
786
786
|
*/
|
|
787
787
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
788
788
|
/**
|
|
789
789
|
* Forbid importing the submodules of other modules.
|
|
790
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
790
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-internal-modules.md
|
|
791
791
|
*/
|
|
792
792
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
793
793
|
/**
|
|
794
794
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
795
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
795
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-mutable-exports.md
|
|
796
796
|
*/
|
|
797
797
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
798
798
|
/**
|
|
799
799
|
* Forbid use of exported name as identifier of default export.
|
|
800
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
800
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default.md
|
|
801
801
|
*/
|
|
802
802
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
803
803
|
/**
|
|
804
804
|
* Forbid use of exported name as property of default export.
|
|
805
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
805
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-as-default-member.md
|
|
806
806
|
*/
|
|
807
807
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
808
808
|
/**
|
|
809
809
|
* Forbid named default exports.
|
|
810
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
810
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-default.md
|
|
811
811
|
*/
|
|
812
812
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
813
813
|
/**
|
|
814
814
|
* Forbid named exports.
|
|
815
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
815
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-named-export.md
|
|
816
816
|
*/
|
|
817
817
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
818
818
|
/**
|
|
819
819
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
820
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
820
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-namespace.md
|
|
821
821
|
*/
|
|
822
822
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
823
823
|
/**
|
|
824
824
|
* Forbid Node.js builtin modules.
|
|
825
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
825
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-nodejs-modules.md
|
|
826
826
|
*/
|
|
827
827
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
828
828
|
/**
|
|
829
829
|
* Forbid importing packages through relative paths.
|
|
830
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
830
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-packages.md
|
|
831
831
|
*/
|
|
832
832
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
833
833
|
/**
|
|
834
834
|
* Forbid importing modules from parent directories.
|
|
835
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-relative-parent-imports.md
|
|
836
836
|
*/
|
|
837
837
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
838
838
|
/**
|
|
839
839
|
* Forbid importing a default export by a different name.
|
|
840
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-rename-default.md
|
|
841
841
|
*/
|
|
842
842
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
843
843
|
/**
|
|
844
844
|
* Enforce which files can be imported in a given folder.
|
|
845
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-restricted-paths.md
|
|
846
846
|
*/
|
|
847
847
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
848
848
|
/**
|
|
849
849
|
* Forbid a module from importing itself.
|
|
850
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
850
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-self-import.md
|
|
851
851
|
*/
|
|
852
852
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
853
853
|
/**
|
|
854
854
|
* Forbid unassigned imports.
|
|
855
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
855
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unassigned-import.md
|
|
856
856
|
*/
|
|
857
857
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
858
858
|
/**
|
|
859
859
|
* Ensure imports point to a file/module that can be resolved.
|
|
860
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
860
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unresolved.md
|
|
861
861
|
*/
|
|
862
862
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
863
863
|
/**
|
|
864
864
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
865
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
865
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-unused-modules.md
|
|
866
866
|
*/
|
|
867
867
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
868
868
|
/**
|
|
869
869
|
* Forbid unnecessary path segments in import and require statements.
|
|
870
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
870
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-useless-path-segments.md
|
|
871
871
|
*/
|
|
872
872
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
873
873
|
/**
|
|
874
874
|
* Forbid webpack loader syntax in imports.
|
|
875
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
875
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/no-webpack-loader-syntax.md
|
|
876
876
|
*/
|
|
877
877
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
878
878
|
/**
|
|
879
879
|
* Enforce a convention in module import order.
|
|
880
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
880
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/order.md
|
|
881
881
|
*/
|
|
882
882
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
883
883
|
/**
|
|
884
884
|
* Prefer a default export if module exports a single name or multiple names.
|
|
885
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
885
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/prefer-default-export.md
|
|
886
886
|
*/
|
|
887
887
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
888
888
|
/**
|
|
889
889
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
890
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.
|
|
890
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.4.3/docs/rules/unambiguous.md
|
|
891
891
|
*/
|
|
892
892
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
893
893
|
/**
|
|
@@ -2652,17 +2652,16 @@ interface RuleOptions {
|
|
|
2652
2652
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2653
2653
|
*/
|
|
2654
2654
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2655
|
-
/**
|
|
2656
|
-
* Enforce sorted Astro attributes.
|
|
2657
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2658
|
-
* @deprecated
|
|
2659
|
-
*/
|
|
2660
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2661
2655
|
/**
|
|
2662
2656
|
* Enforce sorted classes.
|
|
2663
2657
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2664
2658
|
*/
|
|
2665
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>
|
|
2666
2665
|
/**
|
|
2667
2666
|
* Enforce sorted TypeScript enums.
|
|
2668
2667
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2673,6 +2672,11 @@ interface RuleOptions {
|
|
|
2673
2672
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2674
2673
|
*/
|
|
2675
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>
|
|
2676
2680
|
/**
|
|
2677
2681
|
* Enforce sorted imports.
|
|
2678
2682
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2698,6 +2702,11 @@ interface RuleOptions {
|
|
|
2698
2702
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2699
2703
|
*/
|
|
2700
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>
|
|
2701
2710
|
/**
|
|
2702
2711
|
* Enforce sorted named exports.
|
|
2703
2712
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2723,12 +2732,6 @@ interface RuleOptions {
|
|
|
2723
2732
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2724
2733
|
*/
|
|
2725
2734
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2726
|
-
/**
|
|
2727
|
-
* Enforce sorted Svelte attributes.
|
|
2728
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2729
|
-
* @deprecated
|
|
2730
|
-
*/
|
|
2731
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2732
2735
|
/**
|
|
2733
2736
|
* Enforce sorted switch cases.
|
|
2734
2737
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2744,12 +2747,6 @@ interface RuleOptions {
|
|
|
2744
2747
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2745
2748
|
*/
|
|
2746
2749
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2747
|
-
/**
|
|
2748
|
-
* Enforce sorted Vue attributes.
|
|
2749
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2750
|
-
* @deprecated
|
|
2751
|
-
*/
|
|
2752
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2753
2750
|
/**
|
|
2754
2751
|
* Require using arrow functions for callbacks
|
|
2755
2752
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -2883,6 +2880,11 @@ interface RuleOptions {
|
|
|
2883
2880
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2884
2881
|
*/
|
|
2885
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>
|
|
2886
2888
|
/**
|
|
2887
2889
|
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2888
2890
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
@@ -2979,6 +2981,16 @@ interface RuleOptions {
|
|
|
2979
2981
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2980
2982
|
*/
|
|
2981
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<[]>
|
|
2982
2994
|
/**
|
|
2983
2995
|
* disallow accessing 'this.state' within 'setState'
|
|
2984
2996
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -3655,103 +3667,103 @@ interface RuleOptions {
|
|
|
3655
3667
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3656
3668
|
/**
|
|
3657
3669
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
3658
|
-
* @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
|
|
3659
3671
|
*/
|
|
3660
3672
|
'solid/components-return-once'?: Linter.RuleEntry<[]>
|
|
3661
3673
|
/**
|
|
3662
3674
|
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
3663
|
-
* @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
|
|
3664
3676
|
*/
|
|
3665
3677
|
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>
|
|
3666
3678
|
/**
|
|
3667
3679
|
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
3668
|
-
* @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
|
|
3669
3681
|
*/
|
|
3670
3682
|
'solid/imports'?: Linter.RuleEntry<[]>
|
|
3671
3683
|
/**
|
|
3672
3684
|
* Disallow passing the same prop twice in JSX.
|
|
3673
|
-
* @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
|
|
3674
3686
|
*/
|
|
3675
3687
|
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>
|
|
3676
3688
|
/**
|
|
3677
3689
|
* Disallow javascript: URLs.
|
|
3678
|
-
* @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
|
|
3679
3691
|
*/
|
|
3680
3692
|
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>
|
|
3681
3693
|
/**
|
|
3682
3694
|
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
3683
|
-
* @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
|
|
3684
3696
|
*/
|
|
3685
3697
|
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>
|
|
3686
3698
|
/**
|
|
3687
3699
|
* Prevent variables used in JSX from being marked as unused.
|
|
3688
|
-
* @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
|
|
3689
3701
|
*/
|
|
3690
3702
|
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3691
3703
|
/**
|
|
3692
3704
|
* Disallow usage of type-unsafe event handlers.
|
|
3693
|
-
* @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
|
|
3694
3706
|
*/
|
|
3695
3707
|
'solid/no-array-handlers'?: Linter.RuleEntry<[]>
|
|
3696
3708
|
/**
|
|
3697
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.
|
|
3698
|
-
* @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
|
|
3699
3711
|
*/
|
|
3700
3712
|
'solid/no-destructure'?: Linter.RuleEntry<[]>
|
|
3701
3713
|
/**
|
|
3702
3714
|
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
3703
|
-
* @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
|
|
3704
3716
|
*/
|
|
3705
3717
|
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>
|
|
3706
3718
|
/**
|
|
3707
3719
|
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
3708
|
-
* @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
|
|
3709
3721
|
*/
|
|
3710
3722
|
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>
|
|
3711
3723
|
/**
|
|
3712
3724
|
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
3713
|
-
* @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
|
|
3714
3726
|
*/
|
|
3715
3727
|
'solid/no-react-deps'?: Linter.RuleEntry<[]>
|
|
3716
3728
|
/**
|
|
3717
3729
|
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
3718
|
-
* @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
|
|
3719
3731
|
*/
|
|
3720
3732
|
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>
|
|
3721
3733
|
/**
|
|
3722
3734
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
3723
|
-
* @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
|
|
3724
3736
|
*/
|
|
3725
3737
|
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>
|
|
3726
3738
|
/**
|
|
3727
3739
|
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
3728
|
-
* @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
|
|
3729
3741
|
* @deprecated
|
|
3730
3742
|
*/
|
|
3731
3743
|
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>
|
|
3732
3744
|
/**
|
|
3733
3745
|
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
3734
|
-
* @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
|
|
3735
3747
|
*/
|
|
3736
3748
|
'solid/prefer-for'?: Linter.RuleEntry<[]>
|
|
3737
3749
|
/**
|
|
3738
3750
|
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
3739
|
-
* @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
|
|
3740
3752
|
*/
|
|
3741
3753
|
'solid/prefer-show'?: Linter.RuleEntry<[]>
|
|
3742
3754
|
/**
|
|
3743
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.
|
|
3744
|
-
* @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
|
|
3745
3757
|
*/
|
|
3746
3758
|
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>
|
|
3747
3759
|
/**
|
|
3748
3760
|
* Disallow extra closing tags for components without children.
|
|
3749
|
-
* @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
|
|
3750
3762
|
*/
|
|
3751
3763
|
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>
|
|
3752
3764
|
/**
|
|
3753
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.
|
|
3754
|
-
* @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
|
|
3755
3767
|
*/
|
|
3756
3768
|
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>
|
|
3757
3769
|
/**
|
|
@@ -5106,6 +5118,11 @@ interface RuleOptions {
|
|
|
5106
5118
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
5107
5119
|
*/
|
|
5108
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<[]>
|
|
5109
5126
|
/**
|
|
5110
5127
|
* enforce valid titles
|
|
5111
5128
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -5640,6 +5657,11 @@ interface RuleOptions {
|
|
|
5640
5657
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
5641
5658
|
*/
|
|
5642
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<[]>
|
|
5643
5665
|
/**
|
|
5644
5666
|
* Require unary negation to take a number
|
|
5645
5667
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -5797,6 +5819,11 @@ interface RuleOptions {
|
|
|
5797
5819
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
5798
5820
|
*/
|
|
5799
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<[]>
|
|
5800
5827
|
/**
|
|
5801
5828
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
5802
5829
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -5870,702 +5897,702 @@ interface RuleOptions {
|
|
|
5870
5897
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5871
5898
|
/**
|
|
5872
5899
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5873
|
-
* @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
|
|
5874
5901
|
*/
|
|
5875
5902
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5876
5903
|
/**
|
|
5877
5904
|
* Enforce a specific parameter name in catch clauses.
|
|
5878
|
-
* @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
|
|
5879
5906
|
*/
|
|
5880
5907
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5881
5908
|
/**
|
|
5882
5909
|
* Use destructured variables over properties.
|
|
5883
|
-
* @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
|
|
5884
5911
|
*/
|
|
5885
5912
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5886
5913
|
/**
|
|
5887
5914
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5888
|
-
* @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
|
|
5889
5916
|
*/
|
|
5890
5917
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5891
5918
|
/**
|
|
5892
5919
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5893
|
-
* @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
|
|
5894
5921
|
*/
|
|
5895
5922
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5896
5923
|
/**
|
|
5897
5924
|
* Move function definitions to the highest possible scope.
|
|
5898
|
-
* @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
|
|
5899
5926
|
*/
|
|
5900
5927
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5901
5928
|
/**
|
|
5902
5929
|
* Enforce correct `Error` subclassing.
|
|
5903
|
-
* @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
|
|
5904
5931
|
*/
|
|
5905
5932
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5906
5933
|
/**
|
|
5907
5934
|
* Enforce no spaces between braces.
|
|
5908
|
-
* @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
|
|
5909
5936
|
*/
|
|
5910
5937
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5911
5938
|
/**
|
|
5912
5939
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5913
|
-
* @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
|
|
5914
5941
|
*/
|
|
5915
5942
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5916
5943
|
/**
|
|
5917
5944
|
* Require escape sequences to use uppercase values.
|
|
5918
|
-
* @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
|
|
5919
5946
|
*/
|
|
5920
5947
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5921
5948
|
/**
|
|
5922
5949
|
* Add expiration conditions to TODO comments.
|
|
5923
|
-
* @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
|
|
5924
5951
|
*/
|
|
5925
5952
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5926
5953
|
/**
|
|
5927
5954
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5928
|
-
* @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
|
|
5929
5956
|
*/
|
|
5930
5957
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5931
5958
|
/**
|
|
5932
5959
|
* Enforce a case style for filenames.
|
|
5933
|
-
* @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
|
|
5934
5961
|
*/
|
|
5935
5962
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5936
5963
|
/**
|
|
5937
|
-
* @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
|
|
5938
5965
|
* @deprecated
|
|
5939
5966
|
*/
|
|
5940
5967
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5941
5968
|
/**
|
|
5942
5969
|
* Enforce specific import styles per module.
|
|
5943
|
-
* @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
|
|
5944
5971
|
*/
|
|
5945
5972
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5946
5973
|
/**
|
|
5947
5974
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5948
|
-
* @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
|
|
5949
5976
|
*/
|
|
5950
5977
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5951
5978
|
/**
|
|
5952
5979
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5953
|
-
* @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
|
|
5954
5981
|
*/
|
|
5955
5982
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5956
5983
|
/**
|
|
5957
5984
|
* Disallow anonymous functions and classes as the default export.
|
|
5958
|
-
* @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
|
|
5959
5986
|
*/
|
|
5960
5987
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5961
5988
|
/**
|
|
5962
5989
|
* Prevent passing a function reference directly to iterator methods.
|
|
5963
|
-
* @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
|
|
5964
5991
|
*/
|
|
5965
5992
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5966
5993
|
/**
|
|
5967
5994
|
* Prefer `for…of` over the `forEach` method.
|
|
5968
|
-
* @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
|
|
5969
5996
|
*/
|
|
5970
5997
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5971
5998
|
/**
|
|
5972
|
-
* @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
|
|
5973
6000
|
* @deprecated
|
|
5974
6001
|
*/
|
|
5975
6002
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5976
6003
|
/**
|
|
5977
6004
|
* Disallow using the `this` argument in array methods.
|
|
5978
|
-
* @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
|
|
5979
6006
|
*/
|
|
5980
6007
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5981
6008
|
/**
|
|
5982
6009
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5983
|
-
* @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
|
|
5984
6011
|
*/
|
|
5985
6012
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5986
6013
|
/**
|
|
5987
6014
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5988
|
-
* @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
|
|
5989
6016
|
*/
|
|
5990
6017
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5991
6018
|
/**
|
|
5992
6019
|
* Disallow member access from await expression.
|
|
5993
|
-
* @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
|
|
5994
6021
|
*/
|
|
5995
6022
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5996
6023
|
/**
|
|
5997
6024
|
* Disallow using `await` in `Promise` method parameters.
|
|
5998
|
-
* @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
|
|
5999
6026
|
*/
|
|
6000
6027
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
6001
6028
|
/**
|
|
6002
6029
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
6003
|
-
* @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
|
|
6004
6031
|
*/
|
|
6005
6032
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
6006
6033
|
/**
|
|
6007
6034
|
* Do not use `document.cookie` directly.
|
|
6008
|
-
* @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
|
|
6009
6036
|
*/
|
|
6010
6037
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
6011
6038
|
/**
|
|
6012
6039
|
* Disallow empty files.
|
|
6013
|
-
* @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
|
|
6014
6041
|
*/
|
|
6015
6042
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
6016
6043
|
/**
|
|
6017
|
-
* @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
|
|
6018
6045
|
* @deprecated
|
|
6019
6046
|
*/
|
|
6020
6047
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
6021
6048
|
/**
|
|
6022
6049
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
6023
|
-
* @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
|
|
6024
6051
|
*/
|
|
6025
6052
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
6026
6053
|
/**
|
|
6027
6054
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
6028
|
-
* @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
|
|
6029
6056
|
*/
|
|
6030
6057
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
6031
6058
|
/**
|
|
6032
6059
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
6033
|
-
* @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
|
|
6034
6061
|
*/
|
|
6035
6062
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
6036
6063
|
/**
|
|
6037
6064
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
6038
|
-
* @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
|
|
6039
6066
|
*/
|
|
6040
6067
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
6041
6068
|
/**
|
|
6042
6069
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
6043
|
-
* @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
|
|
6044
6071
|
*/
|
|
6045
6072
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
6046
6073
|
/**
|
|
6047
6074
|
* Disallow identifiers starting with `new` or `class`.
|
|
6048
|
-
* @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
|
|
6049
6076
|
*/
|
|
6050
6077
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
6051
6078
|
/**
|
|
6052
6079
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
6053
|
-
* @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
|
|
6054
6081
|
*/
|
|
6055
6082
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
6056
6083
|
/**
|
|
6057
6084
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
6058
|
-
* @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
|
|
6059
6086
|
*/
|
|
6060
6087
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
6061
6088
|
/**
|
|
6062
6089
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
6063
|
-
* @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
|
|
6064
6091
|
*/
|
|
6065
6092
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
6066
6093
|
/**
|
|
6067
6094
|
* Disallow negated conditions.
|
|
6068
|
-
* @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
|
|
6069
6096
|
*/
|
|
6070
6097
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
6071
6098
|
/**
|
|
6072
6099
|
* Disallow negated expression in equality check.
|
|
6073
|
-
* @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
|
|
6074
6101
|
*/
|
|
6075
6102
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
6076
6103
|
/**
|
|
6077
6104
|
* Disallow nested ternary expressions.
|
|
6078
|
-
* @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
|
|
6079
6106
|
*/
|
|
6080
6107
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
6081
6108
|
/**
|
|
6082
6109
|
* Disallow `new Array()`.
|
|
6083
|
-
* @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
|
|
6084
6111
|
*/
|
|
6085
6112
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
6086
6113
|
/**
|
|
6087
6114
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
6088
|
-
* @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
|
|
6089
6116
|
*/
|
|
6090
6117
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
6091
6118
|
/**
|
|
6092
6119
|
* Disallow the use of the `null` literal.
|
|
6093
|
-
* @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
|
|
6094
6121
|
*/
|
|
6095
6122
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
6096
6123
|
/**
|
|
6097
6124
|
* Disallow the use of objects as default parameters.
|
|
6098
|
-
* @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
|
|
6099
6126
|
*/
|
|
6100
6127
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
6101
6128
|
/**
|
|
6102
6129
|
* Disallow `process.exit()`.
|
|
6103
|
-
* @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
|
|
6104
6131
|
*/
|
|
6105
6132
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
6106
6133
|
/**
|
|
6107
|
-
* @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
|
|
6108
6135
|
* @deprecated
|
|
6109
6136
|
*/
|
|
6110
6137
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
6111
6138
|
/**
|
|
6112
6139
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
6113
|
-
* @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
|
|
6114
6141
|
*/
|
|
6115
6142
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
6116
6143
|
/**
|
|
6117
6144
|
* Disallow classes that only have static members.
|
|
6118
|
-
* @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
|
|
6119
6146
|
*/
|
|
6120
6147
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
6121
6148
|
/**
|
|
6122
6149
|
* Disallow `then` property.
|
|
6123
|
-
* @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
|
|
6124
6151
|
*/
|
|
6125
6152
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
6126
6153
|
/**
|
|
6127
6154
|
* Disallow assigning `this` to a variable.
|
|
6128
|
-
* @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
|
|
6129
6156
|
*/
|
|
6130
6157
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
6131
6158
|
/**
|
|
6132
6159
|
* Disallow comparing `undefined` using `typeof`.
|
|
6133
|
-
* @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
|
|
6134
6161
|
*/
|
|
6135
6162
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
6136
6163
|
/**
|
|
6137
6164
|
* Disallow awaiting non-promise values.
|
|
6138
|
-
* @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
|
|
6139
6166
|
*/
|
|
6140
6167
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
6141
6168
|
/**
|
|
6142
6169
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
6143
|
-
* @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
|
|
6144
6171
|
*/
|
|
6145
6172
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
6146
6173
|
/**
|
|
6147
6174
|
* Disallow unreadable array destructuring.
|
|
6148
|
-
* @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
|
|
6149
6176
|
*/
|
|
6150
6177
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
6151
6178
|
/**
|
|
6152
6179
|
* Disallow unreadable IIFEs.
|
|
6153
|
-
* @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
|
|
6154
6181
|
*/
|
|
6155
6182
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
6156
6183
|
/**
|
|
6157
|
-
* @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
|
|
6158
6185
|
* @deprecated
|
|
6159
6186
|
*/
|
|
6160
6187
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
6161
6188
|
/**
|
|
6162
6189
|
* Disallow unused object properties.
|
|
6163
|
-
* @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
|
|
6164
6191
|
*/
|
|
6165
6192
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
6166
6193
|
/**
|
|
6167
6194
|
* Disallow useless fallback when spreading in object literals.
|
|
6168
|
-
* @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
|
|
6169
6196
|
*/
|
|
6170
6197
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
6171
6198
|
/**
|
|
6172
6199
|
* Disallow useless array length check.
|
|
6173
|
-
* @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
|
|
6174
6201
|
*/
|
|
6175
6202
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
6176
6203
|
/**
|
|
6177
6204
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6178
|
-
* @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
|
|
6179
6206
|
*/
|
|
6180
6207
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
6181
6208
|
/**
|
|
6182
6209
|
* Disallow unnecessary spread.
|
|
6183
|
-
* @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
|
|
6184
6211
|
*/
|
|
6185
6212
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
6186
6213
|
/**
|
|
6187
6214
|
* Disallow useless case in switch statements.
|
|
6188
|
-
* @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
|
|
6189
6216
|
*/
|
|
6190
6217
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
6191
6218
|
/**
|
|
6192
6219
|
* Disallow useless `undefined`.
|
|
6193
|
-
* @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
|
|
6194
6221
|
*/
|
|
6195
6222
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
6196
6223
|
/**
|
|
6197
6224
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6198
|
-
* @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
|
|
6199
6226
|
*/
|
|
6200
6227
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
6201
6228
|
/**
|
|
6202
6229
|
* Enforce proper case for numeric literals.
|
|
6203
|
-
* @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
|
|
6204
6231
|
*/
|
|
6205
6232
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
6206
6233
|
/**
|
|
6207
6234
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6208
|
-
* @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
|
|
6209
6236
|
*/
|
|
6210
6237
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
6211
6238
|
/**
|
|
6212
6239
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6213
|
-
* @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
|
|
6214
6241
|
*/
|
|
6215
6242
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
6216
6243
|
/**
|
|
6217
6244
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6218
|
-
* @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
|
|
6219
6246
|
*/
|
|
6220
6247
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
6221
6248
|
/**
|
|
6222
6249
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6223
|
-
* @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
|
|
6224
6251
|
*/
|
|
6225
6252
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
6226
6253
|
/**
|
|
6227
6254
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6228
|
-
* @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
|
|
6229
6256
|
*/
|
|
6230
6257
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
6231
6258
|
/**
|
|
6232
6259
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6233
|
-
* @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
|
|
6234
6261
|
*/
|
|
6235
6262
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
6236
6263
|
/**
|
|
6237
6264
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6238
|
-
* @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
|
|
6239
6266
|
*/
|
|
6240
6267
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
6241
6268
|
/**
|
|
6242
6269
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6243
|
-
* @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
|
|
6244
6271
|
*/
|
|
6245
6272
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
6246
6273
|
/**
|
|
6247
6274
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6248
|
-
* @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
|
|
6249
6276
|
*/
|
|
6250
6277
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
6251
6278
|
/**
|
|
6252
6279
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6253
|
-
* @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
|
|
6254
6281
|
*/
|
|
6255
6282
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
6256
6283
|
/**
|
|
6257
|
-
* @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
|
|
6258
6285
|
* @deprecated
|
|
6259
6286
|
*/
|
|
6260
6287
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
6261
6288
|
/**
|
|
6262
6289
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6263
|
-
* @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
|
|
6264
6291
|
*/
|
|
6265
6292
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
6266
6293
|
/**
|
|
6267
6294
|
* Prefer default parameters over reassignment.
|
|
6268
|
-
* @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
|
|
6269
6296
|
*/
|
|
6270
6297
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
6271
6298
|
/**
|
|
6272
6299
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6273
|
-
* @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
|
|
6274
6301
|
*/
|
|
6275
6302
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6276
6303
|
/**
|
|
6277
6304
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6278
|
-
* @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
|
|
6279
6306
|
*/
|
|
6280
6307
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6281
6308
|
/**
|
|
6282
6309
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6283
|
-
* @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
|
|
6284
6311
|
*/
|
|
6285
6312
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6286
6313
|
/**
|
|
6287
6314
|
* Prefer `.textContent` over `.innerText`.
|
|
6288
|
-
* @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
|
|
6289
6316
|
*/
|
|
6290
6317
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6291
6318
|
/**
|
|
6292
|
-
* @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
|
|
6293
6320
|
* @deprecated
|
|
6294
6321
|
*/
|
|
6295
6322
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6296
6323
|
/**
|
|
6297
6324
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6298
|
-
* @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
|
|
6299
6326
|
*/
|
|
6300
6327
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6301
6328
|
/**
|
|
6302
|
-
* @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
|
|
6303
6330
|
* @deprecated
|
|
6304
6331
|
*/
|
|
6305
6332
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6306
6333
|
/**
|
|
6307
6334
|
* Prefer `export…from` when re-exporting.
|
|
6308
|
-
* @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
|
|
6309
6336
|
*/
|
|
6310
6337
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6311
6338
|
/**
|
|
6312
|
-
* @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
|
|
6313
6340
|
* @deprecated
|
|
6314
6341
|
*/
|
|
6315
6342
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6316
6343
|
/**
|
|
6317
6344
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6318
|
-
* @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
|
|
6319
6346
|
*/
|
|
6320
6347
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6321
6348
|
/**
|
|
6322
6349
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6323
|
-
* @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
|
|
6324
6351
|
*/
|
|
6325
6352
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6326
6353
|
/**
|
|
6327
6354
|
* Prefer reading a JSON file as a buffer.
|
|
6328
|
-
* @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
|
|
6329
6356
|
*/
|
|
6330
6357
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6331
6358
|
/**
|
|
6332
6359
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6333
|
-
* @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
|
|
6334
6361
|
*/
|
|
6335
6362
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6336
6363
|
/**
|
|
6337
6364
|
* Prefer using a logical operator over a ternary.
|
|
6338
|
-
* @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
|
|
6339
6366
|
*/
|
|
6340
6367
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6341
6368
|
/**
|
|
6342
6369
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6343
|
-
* @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
|
|
6344
6371
|
*/
|
|
6345
6372
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6346
6373
|
/**
|
|
6347
6374
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6348
|
-
* @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
|
|
6349
6376
|
*/
|
|
6350
6377
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6351
6378
|
/**
|
|
6352
6379
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6353
|
-
* @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
|
|
6354
6381
|
*/
|
|
6355
6382
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6356
6383
|
/**
|
|
6357
6384
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6358
|
-
* @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
|
|
6359
6386
|
*/
|
|
6360
6387
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6361
6388
|
/**
|
|
6362
6389
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6363
|
-
* @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
|
|
6364
6391
|
*/
|
|
6365
6392
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6366
6393
|
/**
|
|
6367
6394
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6368
|
-
* @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
|
|
6369
6396
|
*/
|
|
6370
6397
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6371
6398
|
/**
|
|
6372
6399
|
* Prefer negative index over `.length - index` when possible.
|
|
6373
|
-
* @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
|
|
6374
6401
|
*/
|
|
6375
6402
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6376
6403
|
/**
|
|
6377
|
-
* @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
|
|
6378
6405
|
* @deprecated
|
|
6379
6406
|
*/
|
|
6380
6407
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6381
6408
|
/**
|
|
6382
6409
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6383
|
-
* @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
|
|
6384
6411
|
*/
|
|
6385
6412
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6386
6413
|
/**
|
|
6387
|
-
* @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
|
|
6388
6415
|
* @deprecated
|
|
6389
6416
|
*/
|
|
6390
6417
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6391
6418
|
/**
|
|
6392
6419
|
* Prefer `Number` static properties over global ones.
|
|
6393
|
-
* @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
|
|
6394
6421
|
*/
|
|
6395
6422
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6396
6423
|
/**
|
|
6397
6424
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6398
|
-
* @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
|
|
6399
6426
|
*/
|
|
6400
6427
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6401
6428
|
/**
|
|
6402
|
-
* @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
|
|
6403
6430
|
* @deprecated
|
|
6404
6431
|
*/
|
|
6405
6432
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6406
6433
|
/**
|
|
6407
6434
|
* Prefer omitting the `catch` binding parameter.
|
|
6408
|
-
* @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
|
|
6409
6436
|
*/
|
|
6410
6437
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6411
6438
|
/**
|
|
6412
6439
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6413
|
-
* @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
|
|
6414
6441
|
*/
|
|
6415
6442
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6416
6443
|
/**
|
|
6417
6444
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6418
|
-
* @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
|
|
6419
6446
|
*/
|
|
6420
6447
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6421
6448
|
/**
|
|
6422
6449
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6423
|
-
* @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
|
|
6424
6451
|
*/
|
|
6425
6452
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6426
6453
|
/**
|
|
6427
6454
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6428
|
-
* @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
|
|
6429
6456
|
*/
|
|
6430
6457
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6431
6458
|
/**
|
|
6432
|
-
* @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
|
|
6433
6460
|
* @deprecated
|
|
6434
6461
|
*/
|
|
6435
6462
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6436
6463
|
/**
|
|
6437
6464
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6438
|
-
* @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
|
|
6439
6466
|
*/
|
|
6440
6467
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6441
6468
|
/**
|
|
6442
6469
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6443
|
-
* @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
|
|
6444
6471
|
*/
|
|
6445
6472
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6446
6473
|
/**
|
|
6447
6474
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6448
|
-
* @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
|
|
6449
6476
|
*/
|
|
6450
6477
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6451
6478
|
/**
|
|
6452
|
-
* @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
|
|
6453
6480
|
* @deprecated
|
|
6454
6481
|
*/
|
|
6455
6482
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6456
6483
|
/**
|
|
6457
6484
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6458
|
-
* @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
|
|
6459
6486
|
*/
|
|
6460
6487
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6461
6488
|
/**
|
|
6462
6489
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6463
|
-
* @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
|
|
6464
6491
|
*/
|
|
6465
6492
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6466
6493
|
/**
|
|
6467
6494
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6468
|
-
* @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
|
|
6469
6496
|
*/
|
|
6470
6497
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6471
6498
|
/**
|
|
6472
6499
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6473
|
-
* @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
|
|
6474
6501
|
*/
|
|
6475
6502
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6476
6503
|
/**
|
|
6477
6504
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6478
|
-
* @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
|
|
6479
6506
|
*/
|
|
6480
6507
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6481
6508
|
/**
|
|
6482
6509
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6483
|
-
* @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
|
|
6484
6511
|
*/
|
|
6485
6512
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6486
6513
|
/**
|
|
6487
6514
|
* Prefer `switch` over multiple `else-if`.
|
|
6488
|
-
* @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
|
|
6489
6516
|
*/
|
|
6490
6517
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6491
6518
|
/**
|
|
6492
6519
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6493
|
-
* @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
|
|
6494
6521
|
*/
|
|
6495
6522
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6496
6523
|
/**
|
|
6497
|
-
* @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
|
|
6498
6525
|
* @deprecated
|
|
6499
6526
|
*/
|
|
6500
6527
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6501
6528
|
/**
|
|
6502
6529
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6503
|
-
* @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
|
|
6504
6531
|
*/
|
|
6505
6532
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6506
6533
|
/**
|
|
6507
|
-
* @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
|
|
6508
6535
|
* @deprecated
|
|
6509
6536
|
*/
|
|
6510
6537
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6511
6538
|
/**
|
|
6512
6539
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6513
|
-
* @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
|
|
6514
6541
|
*/
|
|
6515
6542
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6516
6543
|
/**
|
|
6517
6544
|
* Prevent abbreviations.
|
|
6518
|
-
* @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
|
|
6519
6546
|
*/
|
|
6520
6547
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6521
6548
|
/**
|
|
6522
|
-
* @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
|
|
6523
6550
|
* @deprecated
|
|
6524
6551
|
*/
|
|
6525
6552
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6526
6553
|
/**
|
|
6527
6554
|
* Enforce consistent relative URL style.
|
|
6528
|
-
* @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
|
|
6529
6556
|
*/
|
|
6530
6557
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6531
6558
|
/**
|
|
6532
6559
|
* Enforce using the separator argument with `Array#join()`.
|
|
6533
|
-
* @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
|
|
6534
6561
|
*/
|
|
6535
6562
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6536
6563
|
/**
|
|
6537
6564
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6538
|
-
* @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
|
|
6539
6566
|
*/
|
|
6540
6567
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6541
6568
|
/**
|
|
6542
6569
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6543
|
-
* @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
|
|
6544
6571
|
*/
|
|
6545
6572
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6546
6573
|
/**
|
|
6547
6574
|
* Enforce better string content.
|
|
6548
|
-
* @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
|
|
6549
6576
|
*/
|
|
6550
6577
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6551
6578
|
/**
|
|
6552
6579
|
* Enforce consistent brace style for `case` clauses.
|
|
6553
|
-
* @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
|
|
6554
6581
|
*/
|
|
6555
6582
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6556
6583
|
/**
|
|
6557
6584
|
* Fix whitespace-insensitive template indentation.
|
|
6558
|
-
* @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
|
|
6559
6586
|
*/
|
|
6560
6587
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6561
6588
|
/**
|
|
6562
6589
|
* Enforce consistent case for text encoding identifiers.
|
|
6563
|
-
* @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
|
|
6564
6591
|
*/
|
|
6565
6592
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6566
6593
|
/**
|
|
6567
6594
|
* Require `new` when creating an error.
|
|
6568
|
-
* @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
|
|
6569
6596
|
*/
|
|
6570
6597
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6571
6598
|
/**
|
|
@@ -7507,6 +7534,11 @@ interface RuleOptions {
|
|
|
7507
7534
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
7508
7535
|
*/
|
|
7509
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<[]>
|
|
7510
7542
|
/**
|
|
7511
7543
|
* enforce specific casing for the Prop name in Vue components
|
|
7512
7544
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -8327,10 +8359,10 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
8327
8359
|
ignorePackages?: boolean
|
|
8328
8360
|
checkTypeImports?: boolean
|
|
8329
8361
|
[k: string]: unknown | undefined
|
|
8330
|
-
}] | []|[{
|
|
8331
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8332
8362
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
8333
8363
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8364
|
+
}] | []|[{
|
|
8365
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8334
8366
|
}])
|
|
8335
8367
|
// ----- import/first -----
|
|
8336
8368
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -10346,6 +10378,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
10346
10378
|
// ----- node/no-sync -----
|
|
10347
10379
|
type NodeNoSync = []|[{
|
|
10348
10380
|
allowAtRootLevel?: boolean
|
|
10381
|
+
ignores?: string[]
|
|
10349
10382
|
}]
|
|
10350
10383
|
// ----- node/no-unpublished-bin -----
|
|
10351
10384
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -10427,7 +10460,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10427
10460
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10428
10461
|
version?: string
|
|
10429
10462
|
allowExperimental?: boolean
|
|
10430
|
-
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.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.flushCompileCache" | "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.flushCompileCache" | "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.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.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")[]
|
|
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")[]
|
|
10431
10464
|
}]
|
|
10432
10465
|
// ----- node/prefer-global/buffer -----
|
|
10433
10466
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10570,61 +10603,26 @@ type PaddingLineBetweenStatements = {
|
|
|
10570
10603
|
// ----- perfectionist/sort-array-includes -----
|
|
10571
10604
|
type PerfectionistSortArrayIncludes = []|[{
|
|
10572
10605
|
|
|
10573
|
-
|
|
10574
|
-
|
|
10575
|
-
order?: ("asc" | "desc")
|
|
10576
|
-
|
|
10577
|
-
matcher?: ("minimatch" | "regex")
|
|
10578
|
-
|
|
10579
|
-
ignoreCase?: boolean
|
|
10580
|
-
|
|
10581
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10606
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10582
10607
|
|
|
10583
10608
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10584
10609
|
|
|
10585
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10586
|
-
|
|
10587
10610
|
partitionByNewLine?: boolean
|
|
10588
|
-
}]
|
|
10589
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
10590
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
10591
|
-
|
|
10592
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10593
10611
|
|
|
10594
|
-
|
|
10595
|
-
|
|
10596
|
-
matcher?: ("minimatch" | "regex")
|
|
10612
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10597
10613
|
|
|
10598
10614
|
ignoreCase?: boolean
|
|
10599
10615
|
|
|
10600
|
-
|
|
10616
|
+
locales?: (string | string[])
|
|
10601
10617
|
|
|
10602
|
-
|
|
10618
|
+
order?: ("asc" | "desc")
|
|
10603
10619
|
|
|
10604
|
-
|
|
10605
|
-
[k: string]: (string | string[]) | undefined
|
|
10606
|
-
}
|
|
10620
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10607
10621
|
}]
|
|
10608
10622
|
// ----- perfectionist/sort-classes -----
|
|
10609
10623
|
type PerfectionistSortClasses = []|[{
|
|
10610
10624
|
|
|
10611
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10612
|
-
|
|
10613
|
-
order?: ("asc" | "desc")
|
|
10614
|
-
|
|
10615
|
-
matcher?: ("minimatch" | "regex")
|
|
10616
|
-
|
|
10617
|
-
ignoreCase?: boolean
|
|
10618
|
-
|
|
10619
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10620
|
-
|
|
10621
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10622
|
-
|
|
10623
|
-
groups?: (string | string[])[]
|
|
10624
|
-
|
|
10625
10625
|
customGroups?: ({
|
|
10626
|
-
[k: string]: (string | string[]) | undefined
|
|
10627
|
-
} | ({
|
|
10628
10626
|
|
|
10629
10627
|
groupName?: string
|
|
10630
10628
|
|
|
@@ -10633,15 +10631,15 @@ type PerfectionistSortClasses = []|[{
|
|
|
10633
10631
|
order?: ("desc" | "asc")
|
|
10634
10632
|
anyOf?: {
|
|
10635
10633
|
|
|
10636
|
-
|
|
10637
|
-
|
|
10638
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10639
|
-
|
|
10640
|
-
elementNamePattern?: string
|
|
10634
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10641
10635
|
|
|
10642
10636
|
elementValuePattern?: string
|
|
10643
10637
|
|
|
10644
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
|
|
10645
10643
|
}[]
|
|
10646
10644
|
} | {
|
|
10647
10645
|
|
|
@@ -10651,91 +10649,169 @@ type PerfectionistSortClasses = []|[{
|
|
|
10651
10649
|
|
|
10652
10650
|
order?: ("desc" | "asc")
|
|
10653
10651
|
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10657
|
-
|
|
10658
|
-
elementNamePattern?: string
|
|
10652
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10659
10653
|
|
|
10660
10654
|
elementValuePattern?: string
|
|
10661
10655
|
|
|
10662
10656
|
decoratorNamePattern?: string
|
|
10663
|
-
|
|
10664
|
-
|
|
10665
|
-
|
|
10666
|
-
|
|
10657
|
+
|
|
10658
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10659
|
+
|
|
10660
|
+
elementNamePattern?: string
|
|
10661
|
+
})[]
|
|
10667
10662
|
|
|
10668
|
-
|
|
10663
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
10669
10664
|
|
|
10670
|
-
|
|
10665
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10671
10666
|
|
|
10672
|
-
|
|
10667
|
+
partitionByNewLine?: boolean
|
|
10668
|
+
|
|
10669
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10670
|
+
|
|
10671
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10673
10672
|
|
|
10674
10673
|
ignoreCase?: boolean
|
|
10675
10674
|
|
|
10676
|
-
|
|
10675
|
+
locales?: (string | string[])
|
|
10677
10676
|
|
|
10678
|
-
|
|
10677
|
+
groups?: (string | string[])[]
|
|
10679
10678
|
|
|
10680
|
-
|
|
10679
|
+
order?: ("asc" | "desc")
|
|
10680
|
+
|
|
10681
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10682
|
+
}]
|
|
10683
|
+
// ----- perfectionist/sort-decorators -----
|
|
10684
|
+
type PerfectionistSortDecorators = []|[{
|
|
10681
10685
|
|
|
10682
10686
|
partitionByComment?: (string[] | boolean | string)
|
|
10683
10687
|
|
|
10684
|
-
|
|
10685
|
-
}]
|
|
10686
|
-
// ----- perfectionist/sort-exports -----
|
|
10687
|
-
type PerfectionistSortExports = []|[{
|
|
10688
|
+
sortOnParameters?: boolean
|
|
10688
10689
|
|
|
10689
|
-
|
|
10690
|
+
sortOnProperties?: boolean
|
|
10690
10691
|
|
|
10691
|
-
|
|
10692
|
+
sortOnAccessors?: boolean
|
|
10692
10693
|
|
|
10693
|
-
|
|
10694
|
+
sortOnMethods?: boolean
|
|
10694
10695
|
|
|
10695
|
-
|
|
10696
|
+
sortOnClasses?: boolean
|
|
10696
10697
|
|
|
10697
10698
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10698
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
|
+
|
|
10699
10717
|
partitionByComment?: (string[] | boolean | string)
|
|
10700
10718
|
|
|
10719
|
+
forceNumericSort?: boolean
|
|
10720
|
+
|
|
10721
|
+
sortByValue?: boolean
|
|
10722
|
+
|
|
10701
10723
|
partitionByNewLine?: boolean
|
|
10702
10724
|
|
|
10703
|
-
|
|
10704
|
-
}]
|
|
10705
|
-
// ----- perfectionist/sort-imports -----
|
|
10706
|
-
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10707
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10725
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10708
10726
|
|
|
10709
|
-
|
|
10727
|
+
ignoreCase?: boolean
|
|
10728
|
+
|
|
10729
|
+
locales?: (string | string[])
|
|
10710
10730
|
|
|
10711
10731
|
order?: ("asc" | "desc")
|
|
10712
10732
|
|
|
10713
|
-
|
|
10733
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10734
|
+
}]
|
|
10735
|
+
// ----- perfectionist/sort-exports -----
|
|
10736
|
+
type PerfectionistSortExports = []|[{
|
|
10714
10737
|
|
|
10715
|
-
|
|
10738
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10739
|
+
|
|
10740
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10741
|
+
|
|
10742
|
+
partitionByNewLine?: boolean
|
|
10716
10743
|
|
|
10717
10744
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10718
10745
|
|
|
10719
|
-
|
|
10746
|
+
ignoreCase?: boolean
|
|
10720
10747
|
|
|
10721
|
-
|
|
10748
|
+
locales?: (string | string[])
|
|
10722
10749
|
|
|
10723
|
-
|
|
10750
|
+
order?: ("asc" | "desc")
|
|
10724
10751
|
|
|
10725
|
-
|
|
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[])
|
|
10726
10766
|
|
|
10727
10767
|
groups?: (string | string[])[]
|
|
10728
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
|
+
|
|
10729
10777
|
customGroups?: {
|
|
10730
|
-
|
|
10778
|
+
|
|
10779
|
+
value?: {
|
|
10731
10780
|
[k: string]: unknown | undefined
|
|
10732
10781
|
}
|
|
10733
|
-
|
|
10782
|
+
|
|
10783
|
+
type?: {
|
|
10734
10784
|
[k: string]: unknown | undefined
|
|
10735
10785
|
}
|
|
10736
10786
|
}
|
|
10737
10787
|
|
|
10788
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10789
|
+
|
|
10790
|
+
internalPattern?: string[]
|
|
10791
|
+
|
|
10792
|
+
maxLineLength?: number
|
|
10793
|
+
|
|
10794
|
+
sortSideEffects?: boolean
|
|
10795
|
+
|
|
10738
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")
|
|
10739
10815
|
})
|
|
10740
10816
|
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10741
10817
|
[k: string]: unknown | undefined
|
|
@@ -10747,284 +10823,324 @@ interface _PerfectionistSortImports_IsLineLength {
|
|
|
10747
10823
|
// ----- perfectionist/sort-interfaces -----
|
|
10748
10824
|
type PerfectionistSortInterfaces = []|[{
|
|
10749
10825
|
|
|
10750
|
-
|
|
10826
|
+
ignorePattern?: string[]
|
|
10751
10827
|
|
|
10752
|
-
|
|
10828
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10753
10829
|
|
|
10754
|
-
|
|
10830
|
+
groupKind?: ("mixed" | "optional-first" | "required-first")
|
|
10755
10831
|
|
|
10756
|
-
|
|
10832
|
+
partitionByNewLine?: boolean
|
|
10757
10833
|
|
|
10758
10834
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10759
10835
|
|
|
10760
|
-
|
|
10836
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10761
10837
|
|
|
10762
|
-
|
|
10838
|
+
customGroups?: {
|
|
10839
|
+
[k: string]: (string | string[]) | undefined
|
|
10840
|
+
}
|
|
10763
10841
|
|
|
10764
|
-
|
|
10842
|
+
ignoreCase?: boolean
|
|
10765
10843
|
|
|
10766
|
-
|
|
10844
|
+
locales?: (string | string[])
|
|
10767
10845
|
|
|
10768
10846
|
groups?: (string | string[])[]
|
|
10769
10847
|
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10848
|
+
order?: ("asc" | "desc")
|
|
10849
|
+
|
|
10850
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10773
10851
|
}]
|
|
10774
10852
|
// ----- perfectionist/sort-intersection-types -----
|
|
10775
10853
|
type PerfectionistSortIntersectionTypes = []|[{
|
|
10776
10854
|
|
|
10777
|
-
|
|
10855
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10778
10856
|
|
|
10779
|
-
|
|
10857
|
+
partitionByNewLine?: boolean
|
|
10858
|
+
|
|
10859
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10780
10860
|
|
|
10781
|
-
|
|
10861
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10782
10862
|
|
|
10783
10863
|
ignoreCase?: boolean
|
|
10784
10864
|
|
|
10785
|
-
|
|
10865
|
+
locales?: (string | string[])
|
|
10786
10866
|
|
|
10787
10867
|
groups?: (string | string[])[]
|
|
10788
10868
|
|
|
10789
|
-
|
|
10869
|
+
order?: ("asc" | "desc")
|
|
10790
10870
|
|
|
10791
|
-
|
|
10871
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10792
10872
|
}]
|
|
10793
10873
|
// ----- perfectionist/sort-jsx-props -----
|
|
10794
10874
|
type PerfectionistSortJsxProps = []|[{
|
|
10795
10875
|
|
|
10796
|
-
|
|
10876
|
+
ignorePattern?: string[]
|
|
10797
10877
|
|
|
10798
|
-
|
|
10878
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10799
10879
|
|
|
10800
|
-
|
|
10880
|
+
customGroups?: {
|
|
10881
|
+
[k: string]: (string | string[]) | undefined
|
|
10882
|
+
}
|
|
10801
10883
|
|
|
10802
10884
|
ignoreCase?: boolean
|
|
10803
10885
|
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
ignorePattern?: string[]
|
|
10886
|
+
locales?: (string | string[])
|
|
10807
10887
|
|
|
10808
10888
|
groups?: (string | string[])[]
|
|
10809
10889
|
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
|
|
10890
|
+
order?: ("asc" | "desc")
|
|
10891
|
+
|
|
10892
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10813
10893
|
}]
|
|
10814
10894
|
// ----- perfectionist/sort-maps -----
|
|
10815
10895
|
type PerfectionistSortMaps = []|[{
|
|
10816
10896
|
|
|
10817
|
-
|
|
10897
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10818
10898
|
|
|
10819
|
-
|
|
10899
|
+
partitionByNewLine?: boolean
|
|
10820
10900
|
|
|
10821
|
-
|
|
10901
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10822
10902
|
|
|
10823
10903
|
ignoreCase?: boolean
|
|
10824
10904
|
|
|
10825
|
-
|
|
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
|
+
})[]
|
|
10826
10951
|
|
|
10827
10952
|
partitionByComment?: (string[] | boolean | string)
|
|
10828
10953
|
|
|
10829
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")
|
|
10830
10969
|
}]
|
|
10831
10970
|
// ----- perfectionist/sort-named-exports -----
|
|
10832
10971
|
type PerfectionistSortNamedExports = []|[{
|
|
10833
10972
|
|
|
10834
|
-
|
|
10835
|
-
|
|
10836
|
-
order?: ("asc" | "desc")
|
|
10973
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10837
10974
|
|
|
10838
|
-
|
|
10975
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10839
10976
|
|
|
10840
|
-
|
|
10977
|
+
partitionByNewLine?: boolean
|
|
10841
10978
|
|
|
10842
10979
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10843
10980
|
|
|
10844
|
-
|
|
10981
|
+
ignoreCase?: boolean
|
|
10845
10982
|
|
|
10846
|
-
|
|
10983
|
+
locales?: (string | string[])
|
|
10847
10984
|
|
|
10848
|
-
|
|
10985
|
+
order?: ("asc" | "desc")
|
|
10986
|
+
|
|
10987
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10849
10988
|
}]
|
|
10850
10989
|
// ----- perfectionist/sort-named-imports -----
|
|
10851
10990
|
type PerfectionistSortNamedImports = []|[{
|
|
10852
10991
|
|
|
10853
|
-
|
|
10992
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10854
10993
|
|
|
10855
|
-
|
|
10994
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10856
10995
|
|
|
10857
|
-
|
|
10996
|
+
ignoreAlias?: boolean
|
|
10858
10997
|
|
|
10859
|
-
|
|
10998
|
+
partitionByNewLine?: boolean
|
|
10860
10999
|
|
|
10861
11000
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10862
11001
|
|
|
10863
|
-
|
|
11002
|
+
ignoreCase?: boolean
|
|
10864
11003
|
|
|
10865
|
-
|
|
11004
|
+
locales?: (string | string[])
|
|
10866
11005
|
|
|
10867
|
-
|
|
11006
|
+
order?: ("asc" | "desc")
|
|
10868
11007
|
|
|
10869
|
-
|
|
11008
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10870
11009
|
}]
|
|
10871
11010
|
// ----- perfectionist/sort-object-types -----
|
|
10872
11011
|
type PerfectionistSortObjectTypes = []|[{
|
|
10873
11012
|
|
|
10874
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10875
|
-
|
|
10876
|
-
order?: ("asc" | "desc")
|
|
10877
|
-
|
|
10878
|
-
matcher?: ("minimatch" | "regex")
|
|
10879
|
-
|
|
10880
|
-
ignoreCase?: boolean
|
|
10881
|
-
|
|
10882
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10883
|
-
|
|
10884
11013
|
partitionByComment?: (string[] | boolean | string)
|
|
10885
11014
|
|
|
11015
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
11016
|
+
|
|
10886
11017
|
partitionByNewLine?: boolean
|
|
10887
11018
|
|
|
10888
|
-
|
|
11019
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10889
11020
|
|
|
10890
|
-
|
|
11021
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10891
11022
|
|
|
10892
11023
|
customGroups?: {
|
|
10893
11024
|
[k: string]: (string | string[]) | undefined
|
|
10894
11025
|
}
|
|
10895
|
-
}]
|
|
10896
|
-
// ----- perfectionist/sort-objects -----
|
|
10897
|
-
type PerfectionistSortObjects = []|[{
|
|
10898
11026
|
|
|
10899
|
-
|
|
11027
|
+
ignoreCase?: boolean
|
|
11028
|
+
|
|
11029
|
+
locales?: (string | string[])
|
|
11030
|
+
|
|
11031
|
+
groups?: (string | string[])[]
|
|
10900
11032
|
|
|
10901
11033
|
order?: ("asc" | "desc")
|
|
10902
11034
|
|
|
10903
|
-
|
|
11035
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
11036
|
+
}]
|
|
11037
|
+
// ----- perfectionist/sort-objects -----
|
|
11038
|
+
type PerfectionistSortObjects = []|[{
|
|
10904
11039
|
|
|
10905
|
-
|
|
11040
|
+
destructuredObjects?: (boolean | {
|
|
11041
|
+
|
|
11042
|
+
groups?: boolean
|
|
11043
|
+
})
|
|
10906
11044
|
|
|
10907
|
-
|
|
11045
|
+
ignorePattern?: string[]
|
|
10908
11046
|
|
|
10909
11047
|
partitionByComment?: (string[] | boolean | string)
|
|
10910
11048
|
|
|
10911
|
-
|
|
11049
|
+
destructureOnly?: boolean
|
|
11050
|
+
|
|
11051
|
+
objectDeclarations?: boolean
|
|
10912
11052
|
|
|
10913
11053
|
styledComponents?: boolean
|
|
10914
11054
|
|
|
10915
|
-
|
|
11055
|
+
partitionByNewLine?: boolean
|
|
10916
11056
|
|
|
10917
|
-
|
|
11057
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10918
11058
|
|
|
10919
|
-
|
|
11059
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10920
11060
|
|
|
10921
11061
|
customGroups?: {
|
|
10922
11062
|
[k: string]: (string | string[]) | undefined
|
|
10923
11063
|
}
|
|
10924
|
-
}]
|
|
10925
|
-
// ----- perfectionist/sort-sets -----
|
|
10926
|
-
type PerfectionistSortSets = []|[{
|
|
10927
|
-
|
|
10928
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10929
|
-
|
|
10930
|
-
order?: ("asc" | "desc")
|
|
10931
|
-
|
|
10932
|
-
matcher?: ("minimatch" | "regex")
|
|
10933
11064
|
|
|
10934
11065
|
ignoreCase?: boolean
|
|
10935
11066
|
|
|
10936
|
-
|
|
11067
|
+
locales?: (string | string[])
|
|
10937
11068
|
|
|
10938
|
-
|
|
11069
|
+
groups?: (string | string[])[]
|
|
10939
11070
|
|
|
10940
|
-
|
|
11071
|
+
order?: ("asc" | "desc")
|
|
10941
11072
|
|
|
10942
|
-
|
|
11073
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10943
11074
|
}]
|
|
10944
|
-
// ----- perfectionist/sort-
|
|
10945
|
-
type
|
|
11075
|
+
// ----- perfectionist/sort-sets -----
|
|
11076
|
+
type PerfectionistSortSets = []|[{
|
|
10946
11077
|
|
|
10947
|
-
|
|
11078
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10948
11079
|
|
|
10949
|
-
|
|
11080
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
11081
|
+
|
|
11082
|
+
partitionByNewLine?: boolean
|
|
10950
11083
|
|
|
10951
|
-
|
|
11084
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10952
11085
|
|
|
10953
11086
|
ignoreCase?: boolean
|
|
10954
11087
|
|
|
10955
|
-
|
|
11088
|
+
locales?: (string | string[])
|
|
10956
11089
|
|
|
10957
|
-
|
|
11090
|
+
order?: ("asc" | "desc")
|
|
10958
11091
|
|
|
10959
|
-
|
|
10960
|
-
[k: string]: (string | string[]) | undefined
|
|
10961
|
-
}
|
|
11092
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10962
11093
|
}]
|
|
10963
11094
|
// ----- perfectionist/sort-switch-case -----
|
|
10964
11095
|
type PerfectionistSortSwitchCase = []|[{
|
|
10965
11096
|
|
|
10966
|
-
|
|
10967
|
-
|
|
10968
|
-
order?: ("asc" | "desc")
|
|
11097
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10969
11098
|
|
|
10970
11099
|
ignoreCase?: boolean
|
|
10971
11100
|
|
|
10972
|
-
|
|
11101
|
+
locales?: (string | string[])
|
|
11102
|
+
|
|
11103
|
+
order?: ("asc" | "desc")
|
|
11104
|
+
|
|
11105
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10973
11106
|
}]
|
|
10974
11107
|
// ----- perfectionist/sort-union-types -----
|
|
10975
11108
|
type PerfectionistSortUnionTypes = []|[{
|
|
10976
11109
|
|
|
10977
|
-
|
|
11110
|
+
partitionByComment?: (string[] | boolean | string)
|
|
10978
11111
|
|
|
10979
|
-
|
|
11112
|
+
partitionByNewLine?: boolean
|
|
11113
|
+
|
|
11114
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10980
11115
|
|
|
10981
|
-
|
|
11116
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10982
11117
|
|
|
10983
11118
|
ignoreCase?: boolean
|
|
10984
11119
|
|
|
10985
|
-
|
|
11120
|
+
locales?: (string | string[])
|
|
10986
11121
|
|
|
10987
11122
|
groups?: (string | string[])[]
|
|
10988
11123
|
|
|
10989
|
-
|
|
11124
|
+
order?: ("asc" | "desc")
|
|
10990
11125
|
|
|
10991
|
-
|
|
11126
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
10992
11127
|
}]
|
|
10993
11128
|
// ----- perfectionist/sort-variable-declarations -----
|
|
10994
11129
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
10995
11130
|
|
|
10996
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10997
|
-
|
|
10998
|
-
order?: ("asc" | "desc")
|
|
10999
|
-
|
|
11000
|
-
matcher?: ("minimatch" | "regex")
|
|
11001
|
-
|
|
11002
|
-
ignoreCase?: boolean
|
|
11003
|
-
|
|
11004
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11005
|
-
|
|
11006
11131
|
partitionByComment?: (string[] | boolean | string)
|
|
11007
11132
|
|
|
11008
11133
|
partitionByNewLine?: boolean
|
|
11009
|
-
}]
|
|
11010
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
11011
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
11012
|
-
|
|
11013
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
11014
11134
|
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
matcher?: ("minimatch" | "regex")
|
|
11135
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11018
11136
|
|
|
11019
11137
|
ignoreCase?: boolean
|
|
11020
11138
|
|
|
11021
|
-
|
|
11139
|
+
locales?: (string | string[])
|
|
11022
11140
|
|
|
11023
|
-
|
|
11141
|
+
order?: ("asc" | "desc")
|
|
11024
11142
|
|
|
11025
|
-
|
|
11026
|
-
[k: string]: (string | string[]) | undefined
|
|
11027
|
-
}
|
|
11143
|
+
type?: ("alphabetical" | "natural" | "line-length")
|
|
11028
11144
|
}]
|
|
11029
11145
|
// ----- prefer-arrow-callback -----
|
|
11030
11146
|
type PreferArrowCallback = []|[{
|
|
@@ -11089,6 +11205,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
11089
11205
|
})]
|
|
11090
11206
|
// ----- radix -----
|
|
11091
11207
|
type Radix = []|[("always" | "as-needed")]
|
|
11208
|
+
// ----- react-dom/no-unknown-property -----
|
|
11209
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
11210
|
+
ignore?: string[]
|
|
11211
|
+
requireDataLowercase?: boolean
|
|
11212
|
+
}]
|
|
11092
11213
|
// ----- react-hooks/exhaustive-deps -----
|
|
11093
11214
|
type ReactHooksExhaustiveDeps = []|[{
|
|
11094
11215
|
additionalHooks?: string
|
|
@@ -11112,6 +11233,7 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
11112
11233
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
11113
11234
|
allow?: ("always" | "as-needed")
|
|
11114
11235
|
extensions?: string[]
|
|
11236
|
+
ignoreFilesWithoutCode?: boolean
|
|
11115
11237
|
})]
|
|
11116
11238
|
// ----- react-refresh/only-export-components -----
|
|
11117
11239
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
@@ -11461,6 +11583,8 @@ type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
|
|
|
11461
11583
|
imports?: _StyleCommaDangleValueWithIgnore
|
|
11462
11584
|
exports?: _StyleCommaDangleValueWithIgnore
|
|
11463
11585
|
functions?: _StyleCommaDangleValueWithIgnore
|
|
11586
|
+
importAttributes?: _StyleCommaDangleValueWithIgnore
|
|
11587
|
+
dynamicImports?: _StyleCommaDangleValueWithIgnore
|
|
11464
11588
|
enums?: _StyleCommaDangleValueWithIgnore
|
|
11465
11589
|
generics?: _StyleCommaDangleValueWithIgnore
|
|
11466
11590
|
tuples?: _StyleCommaDangleValueWithIgnore
|
|
@@ -11610,12 +11734,20 @@ type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
11610
11734
|
// ----- style/func-call-spacing -----
|
|
11611
11735
|
type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11612
11736
|
allowNewlines?: boolean
|
|
11737
|
+
optionalChain?: {
|
|
11738
|
+
before?: boolean
|
|
11739
|
+
after?: boolean
|
|
11740
|
+
}
|
|
11613
11741
|
}])
|
|
11614
11742
|
// ----- style/function-call-argument-newline -----
|
|
11615
11743
|
type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
11616
11744
|
// ----- style/function-call-spacing -----
|
|
11617
11745
|
type StyleFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11618
11746
|
allowNewlines?: boolean
|
|
11747
|
+
optionalChain?: {
|
|
11748
|
+
before?: boolean
|
|
11749
|
+
after?: boolean
|
|
11750
|
+
}
|
|
11619
11751
|
}])
|
|
11620
11752
|
// ----- style/function-paren-newline -----
|
|
11621
11753
|
type StyleFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -12729,7 +12861,7 @@ type TestConsistentTestIt = []|[{
|
|
|
12729
12861
|
}]
|
|
12730
12862
|
// ----- test/expect-expect -----
|
|
12731
12863
|
type TestExpectExpect = []|[{
|
|
12732
|
-
assertFunctionNames?: []
|
|
12864
|
+
assertFunctionNames?: string[]
|
|
12733
12865
|
additionalTestBlockFunctions?: string[]
|
|
12734
12866
|
}]
|
|
12735
12867
|
// ----- test/max-expects -----
|
|
@@ -13443,6 +13575,8 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
13443
13575
|
ignoreArrowShorthand?: boolean
|
|
13444
13576
|
|
|
13445
13577
|
ignoreVoidOperator?: boolean
|
|
13578
|
+
|
|
13579
|
+
ignoreVoidReturningFunctions?: boolean
|
|
13446
13580
|
}]
|
|
13447
13581
|
// ----- ts/no-duplicate-type-constituents -----
|
|
13448
13582
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -14403,6 +14537,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
14403
14537
|
imports?: _VueCommaDangleValueWithIgnore
|
|
14404
14538
|
exports?: _VueCommaDangleValueWithIgnore
|
|
14405
14539
|
functions?: _VueCommaDangleValueWithIgnore
|
|
14540
|
+
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
14541
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
14406
14542
|
enums?: _VueCommaDangleValueWithIgnore
|
|
14407
14543
|
generics?: _VueCommaDangleValueWithIgnore
|
|
14408
14544
|
tuples?: _VueCommaDangleValueWithIgnore
|
|
@@ -14479,6 +14615,10 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
14479
14615
|
// ----- vue/func-call-spacing -----
|
|
14480
14616
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
14481
14617
|
allowNewlines?: boolean
|
|
14618
|
+
optionalChain?: {
|
|
14619
|
+
before?: boolean
|
|
14620
|
+
after?: boolean
|
|
14621
|
+
}
|
|
14482
14622
|
}])
|
|
14483
14623
|
// ----- vue/html-button-has-type -----
|
|
14484
14624
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -15159,6 +15299,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
15159
15299
|
type VueNoReservedComponentNames = []|[{
|
|
15160
15300
|
disallowVueBuiltInComponents?: boolean
|
|
15161
15301
|
disallowVue3BuiltInComponents?: boolean
|
|
15302
|
+
htmlElementCaseSensitive?: boolean
|
|
15162
15303
|
}]
|
|
15163
15304
|
// ----- vue/no-reserved-keys -----
|
|
15164
15305
|
type VueNoReservedKeys = []|[{
|