@kirklin/eslint-config 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/README.zh-cn.md +13 -14
- package/dist/cli.js +67 -70
- package/dist/index.d.ts +1274 -527
- package/dist/index.js +73 -32
- package/package.json +65 -69
- package/dist/cli.cjs +0 -634
- package/dist/cli.d.cts +0 -2
- package/dist/index.cjs +0 -2774
- package/dist/index.d.cts +0 -16204
package/dist/index.d.ts
CHANGED
|
@@ -413,7 +413,7 @@ interface RuleOptions {
|
|
|
413
413
|
*/
|
|
414
414
|
'default-case'?: Linter.RuleEntry<DefaultCase>
|
|
415
415
|
/**
|
|
416
|
-
* Enforce default clauses in switch statements to be last
|
|
416
|
+
* Enforce `default` clauses in `switch` statements to be last
|
|
417
417
|
* @see https://eslint.org/docs/latest/rules/default-case-last
|
|
418
418
|
*/
|
|
419
419
|
'default-case-last'?: Linter.RuleEntry<[]>
|
|
@@ -490,7 +490,7 @@ interface RuleOptions {
|
|
|
490
490
|
*/
|
|
491
491
|
'eslint-comments/require-description'?: Linter.RuleEntry<EslintCommentsRequireDescription>
|
|
492
492
|
/**
|
|
493
|
-
* Enforce
|
|
493
|
+
* Enforce `for` loop update clause moving the counter in the right direction
|
|
494
494
|
* @see https://eslint.org/docs/latest/rules/for-direction
|
|
495
495
|
*/
|
|
496
496
|
'for-direction'?: Linter.RuleEntry<[]>
|
|
@@ -597,233 +597,233 @@ interface RuleOptions {
|
|
|
597
597
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
598
598
|
/**
|
|
599
599
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
600
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
600
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/consistent-type-specifier-style.md
|
|
601
601
|
*/
|
|
602
602
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
603
603
|
/**
|
|
604
604
|
* Ensure a default export is present, given a default import.
|
|
605
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
605
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/default.md
|
|
606
606
|
*/
|
|
607
607
|
'import/default'?: Linter.RuleEntry<[]>
|
|
608
608
|
/**
|
|
609
609
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
610
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
610
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/dynamic-import-chunkname.md
|
|
611
611
|
*/
|
|
612
612
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
613
613
|
/**
|
|
614
614
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
615
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
615
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/export.md
|
|
616
616
|
*/
|
|
617
617
|
'import/export'?: Linter.RuleEntry<[]>
|
|
618
618
|
/**
|
|
619
619
|
* Ensure all exports appear after other statements.
|
|
620
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
620
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/exports-last.md
|
|
621
621
|
*/
|
|
622
622
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
623
623
|
/**
|
|
624
624
|
* Ensure consistent use of file extension within the import path.
|
|
625
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
625
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/extensions.md
|
|
626
626
|
*/
|
|
627
627
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
628
628
|
/**
|
|
629
629
|
* Ensure all imports appear before other statements.
|
|
630
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
630
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/first.md
|
|
631
631
|
*/
|
|
632
632
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
633
633
|
/**
|
|
634
634
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
635
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
635
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/group-exports.md
|
|
636
636
|
*/
|
|
637
637
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
638
638
|
/**
|
|
639
639
|
* Replaced by `import-x/first`.
|
|
640
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
640
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/imports-first.md
|
|
641
641
|
* @deprecated
|
|
642
642
|
*/
|
|
643
643
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
644
644
|
/**
|
|
645
645
|
* Enforce the maximum number of dependencies a module can have.
|
|
646
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
646
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/max-dependencies.md
|
|
647
647
|
*/
|
|
648
648
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
649
649
|
/**
|
|
650
650
|
* Ensure named imports correspond to a named export in the remote file.
|
|
651
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
651
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/named.md
|
|
652
652
|
*/
|
|
653
653
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
654
654
|
/**
|
|
655
655
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
656
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
656
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/namespace.md
|
|
657
657
|
*/
|
|
658
658
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
659
659
|
/**
|
|
660
660
|
* Enforce a newline after import statements.
|
|
661
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
661
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/newline-after-import.md
|
|
662
662
|
*/
|
|
663
663
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
664
664
|
/**
|
|
665
665
|
* Forbid import of modules using absolute paths.
|
|
666
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
666
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-absolute-path.md
|
|
667
667
|
*/
|
|
668
668
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
669
669
|
/**
|
|
670
670
|
* Forbid AMD `require` and `define` calls.
|
|
671
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
671
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-amd.md
|
|
672
672
|
*/
|
|
673
673
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
674
674
|
/**
|
|
675
675
|
* Forbid anonymous values as default exports.
|
|
676
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
676
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-anonymous-default-export.md
|
|
677
677
|
*/
|
|
678
678
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
679
679
|
/**
|
|
680
680
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
681
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
681
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-commonjs.md
|
|
682
682
|
*/
|
|
683
683
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
684
684
|
/**
|
|
685
685
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
686
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
686
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-cycle.md
|
|
687
687
|
*/
|
|
688
688
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
689
689
|
/**
|
|
690
690
|
* Forbid default exports.
|
|
691
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
691
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-default-export.md
|
|
692
692
|
*/
|
|
693
693
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
694
694
|
/**
|
|
695
695
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
696
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
696
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-deprecated.md
|
|
697
697
|
*/
|
|
698
698
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
699
699
|
/**
|
|
700
700
|
* Forbid repeated import of the same module in multiple places.
|
|
701
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
701
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-duplicates.md
|
|
702
702
|
*/
|
|
703
703
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
704
704
|
/**
|
|
705
705
|
* Forbid `require()` calls with expressions.
|
|
706
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
706
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-dynamic-require.md
|
|
707
707
|
*/
|
|
708
708
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
709
709
|
/**
|
|
710
710
|
* Forbid empty named import blocks.
|
|
711
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
711
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-empty-named-blocks.md
|
|
712
712
|
*/
|
|
713
713
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
714
714
|
/**
|
|
715
715
|
* Forbid the use of extraneous packages.
|
|
716
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
716
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-extraneous-dependencies.md
|
|
717
717
|
*/
|
|
718
718
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
719
719
|
/**
|
|
720
720
|
* Forbid import statements with CommonJS module.exports.
|
|
721
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
721
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-import-module-exports.md
|
|
722
722
|
*/
|
|
723
723
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
724
724
|
/**
|
|
725
725
|
* Forbid importing the submodules of other modules.
|
|
726
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
726
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-internal-modules.md
|
|
727
727
|
*/
|
|
728
728
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
729
729
|
/**
|
|
730
730
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
731
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
731
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-mutable-exports.md
|
|
732
732
|
*/
|
|
733
733
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
734
734
|
/**
|
|
735
735
|
* Forbid use of exported name as identifier of default export.
|
|
736
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
736
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default.md
|
|
737
737
|
*/
|
|
738
738
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
739
739
|
/**
|
|
740
740
|
* Forbid use of exported name as property of default export.
|
|
741
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
741
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-as-default-member.md
|
|
742
742
|
*/
|
|
743
743
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
744
744
|
/**
|
|
745
745
|
* Forbid named default exports.
|
|
746
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
746
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-default.md
|
|
747
747
|
*/
|
|
748
748
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
749
749
|
/**
|
|
750
750
|
* Forbid named exports.
|
|
751
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
751
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-named-export.md
|
|
752
752
|
*/
|
|
753
753
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
754
754
|
/**
|
|
755
755
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
756
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
756
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-namespace.md
|
|
757
757
|
*/
|
|
758
758
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
759
759
|
/**
|
|
760
760
|
* Forbid Node.js builtin modules.
|
|
761
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
761
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-nodejs-modules.md
|
|
762
762
|
*/
|
|
763
763
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
764
764
|
/**
|
|
765
765
|
* Forbid importing packages through relative paths.
|
|
766
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
766
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-packages.md
|
|
767
767
|
*/
|
|
768
768
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
769
769
|
/**
|
|
770
770
|
* Forbid importing modules from parent directories.
|
|
771
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
771
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-relative-parent-imports.md
|
|
772
772
|
*/
|
|
773
773
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
774
774
|
/**
|
|
775
775
|
* Forbid importing a default export by a different name.
|
|
776
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
776
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-rename-default.md
|
|
777
777
|
*/
|
|
778
778
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
779
779
|
/**
|
|
780
780
|
* Enforce which files can be imported in a given folder.
|
|
781
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
781
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-restricted-paths.md
|
|
782
782
|
*/
|
|
783
783
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
784
784
|
/**
|
|
785
785
|
* Forbid a module from importing itself.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
786
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-self-import.md
|
|
787
787
|
*/
|
|
788
788
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
789
789
|
/**
|
|
790
790
|
* Forbid unassigned imports.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
791
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unassigned-import.md
|
|
792
792
|
*/
|
|
793
793
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
794
794
|
/**
|
|
795
795
|
* Ensure imports point to a file/module that can be resolved.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
796
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unresolved.md
|
|
797
797
|
*/
|
|
798
798
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
799
799
|
/**
|
|
800
800
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
801
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-unused-modules.md
|
|
802
802
|
*/
|
|
803
803
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
804
804
|
/**
|
|
805
805
|
* Forbid unnecessary path segments in import and require statements.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
806
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-useless-path-segments.md
|
|
807
807
|
*/
|
|
808
808
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
809
809
|
/**
|
|
810
810
|
* Forbid webpack loader syntax in imports.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
811
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/no-webpack-loader-syntax.md
|
|
812
812
|
*/
|
|
813
813
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
814
814
|
/**
|
|
815
815
|
* Enforce a convention in module import order.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
816
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/order.md
|
|
817
817
|
*/
|
|
818
818
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
819
819
|
/**
|
|
820
820
|
* Prefer a default export if module exports a single name or multiple names.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
821
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/prefer-default-export.md
|
|
822
822
|
*/
|
|
823
823
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
824
824
|
/**
|
|
825
825
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
826
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.6.1/docs/rules/unambiguous.md
|
|
827
827
|
*/
|
|
828
828
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
829
829
|
/**
|
|
@@ -1452,31 +1452,31 @@ interface RuleOptions {
|
|
|
1452
1452
|
*/
|
|
1453
1453
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
1454
1454
|
/**
|
|
1455
|
-
* Require languages for fenced code blocks
|
|
1455
|
+
* Require languages for fenced code blocks
|
|
1456
1456
|
*/
|
|
1457
1457
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
1458
1458
|
/**
|
|
1459
|
-
* Enforce heading levels increment by one
|
|
1459
|
+
* Enforce heading levels increment by one
|
|
1460
1460
|
*/
|
|
1461
1461
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
1462
1462
|
/**
|
|
1463
|
-
* Disallow duplicate headings in the same document
|
|
1463
|
+
* Disallow duplicate headings in the same document
|
|
1464
1464
|
*/
|
|
1465
1465
|
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
1466
1466
|
/**
|
|
1467
|
-
* Disallow empty links
|
|
1467
|
+
* Disallow empty links
|
|
1468
1468
|
*/
|
|
1469
1469
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
1470
1470
|
/**
|
|
1471
|
-
* Disallow HTML tags
|
|
1471
|
+
* Disallow HTML tags
|
|
1472
1472
|
*/
|
|
1473
1473
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
1474
1474
|
/**
|
|
1475
|
-
* Disallow invalid label references
|
|
1475
|
+
* Disallow invalid label references
|
|
1476
1476
|
*/
|
|
1477
1477
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
1478
1478
|
/**
|
|
1479
|
-
* Disallow missing label references
|
|
1479
|
+
* Disallow missing label references
|
|
1480
1480
|
*/
|
|
1481
1481
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
1482
1482
|
/**
|
|
@@ -1620,7 +1620,7 @@ interface RuleOptions {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
'no-class-assign'?: Linter.RuleEntry<[]>
|
|
1622
1622
|
/**
|
|
1623
|
-
* Disallow comparing against
|
|
1623
|
+
* Disallow comparing against `-0`
|
|
1624
1624
|
* @see https://eslint.org/docs/latest/rules/no-compare-neg-zero
|
|
1625
1625
|
*/
|
|
1626
1626
|
'no-compare-neg-zero'?: Linter.RuleEntry<[]>
|
|
@@ -2029,7 +2029,7 @@ interface RuleOptions {
|
|
|
2029
2029
|
*/
|
|
2030
2030
|
'no-octal-escape'?: Linter.RuleEntry<[]>
|
|
2031
2031
|
/**
|
|
2032
|
-
* Disallow reassigning
|
|
2032
|
+
* Disallow reassigning function parameters
|
|
2033
2033
|
* @see https://eslint.org/docs/latest/rules/no-param-reassign
|
|
2034
2034
|
*/
|
|
2035
2035
|
'no-param-reassign'?: Linter.RuleEntry<NoParamReassign>
|
|
@@ -2124,7 +2124,7 @@ interface RuleOptions {
|
|
|
2124
2124
|
*/
|
|
2125
2125
|
'no-return-await'?: Linter.RuleEntry<[]>
|
|
2126
2126
|
/**
|
|
2127
|
-
* Disallow `javascript:`
|
|
2127
|
+
* Disallow `javascript:` URLs
|
|
2128
2128
|
* @see https://eslint.org/docs/latest/rules/no-script-url
|
|
2129
2129
|
*/
|
|
2130
2130
|
'no-script-url'?: Linter.RuleEntry<[]>
|
|
@@ -2638,17 +2638,16 @@ interface RuleOptions {
|
|
|
2638
2638
|
* @see https://perfectionist.dev/rules/sort-array-includes
|
|
2639
2639
|
*/
|
|
2640
2640
|
'perfectionist/sort-array-includes'?: Linter.RuleEntry<PerfectionistSortArrayIncludes>
|
|
2641
|
-
/**
|
|
2642
|
-
* Enforce sorted Astro attributes.
|
|
2643
|
-
* @see https://perfectionist.dev/rules/sort-astro-attributes
|
|
2644
|
-
* @deprecated
|
|
2645
|
-
*/
|
|
2646
|
-
'perfectionist/sort-astro-attributes'?: Linter.RuleEntry<PerfectionistSortAstroAttributes>
|
|
2647
2641
|
/**
|
|
2648
2642
|
* Enforce sorted classes.
|
|
2649
2643
|
* @see https://perfectionist.dev/rules/sort-classes
|
|
2650
2644
|
*/
|
|
2651
2645
|
'perfectionist/sort-classes'?: Linter.RuleEntry<PerfectionistSortClasses>
|
|
2646
|
+
/**
|
|
2647
|
+
* Enforce sorted decorators.
|
|
2648
|
+
* @see https://perfectionist.dev/rules/sort-decorators
|
|
2649
|
+
*/
|
|
2650
|
+
'perfectionist/sort-decorators'?: Linter.RuleEntry<PerfectionistSortDecorators>
|
|
2652
2651
|
/**
|
|
2653
2652
|
* Enforce sorted TypeScript enums.
|
|
2654
2653
|
* @see https://perfectionist.dev/rules/sort-enums
|
|
@@ -2659,6 +2658,11 @@ interface RuleOptions {
|
|
|
2659
2658
|
* @see https://perfectionist.dev/rules/sort-exports
|
|
2660
2659
|
*/
|
|
2661
2660
|
'perfectionist/sort-exports'?: Linter.RuleEntry<PerfectionistSortExports>
|
|
2661
|
+
/**
|
|
2662
|
+
* Enforce sorted heritage clauses.
|
|
2663
|
+
* @see https://perfectionist.dev/rules/sort-heritage-clauses
|
|
2664
|
+
*/
|
|
2665
|
+
'perfectionist/sort-heritage-clauses'?: Linter.RuleEntry<PerfectionistSortHeritageClauses>
|
|
2662
2666
|
/**
|
|
2663
2667
|
* Enforce sorted imports.
|
|
2664
2668
|
* @see https://perfectionist.dev/rules/sort-imports
|
|
@@ -2684,6 +2688,11 @@ interface RuleOptions {
|
|
|
2684
2688
|
* @see https://perfectionist.dev/rules/sort-maps
|
|
2685
2689
|
*/
|
|
2686
2690
|
'perfectionist/sort-maps'?: Linter.RuleEntry<PerfectionistSortMaps>
|
|
2691
|
+
/**
|
|
2692
|
+
* Enforce sorted modules.
|
|
2693
|
+
* @see https://perfectionist.dev/rules/sort-modules
|
|
2694
|
+
*/
|
|
2695
|
+
'perfectionist/sort-modules'?: Linter.RuleEntry<PerfectionistSortModules>
|
|
2687
2696
|
/**
|
|
2688
2697
|
* Enforce sorted named exports.
|
|
2689
2698
|
* @see https://perfectionist.dev/rules/sort-named-exports
|
|
@@ -2709,12 +2718,6 @@ interface RuleOptions {
|
|
|
2709
2718
|
* @see https://perfectionist.dev/rules/sort-sets
|
|
2710
2719
|
*/
|
|
2711
2720
|
'perfectionist/sort-sets'?: Linter.RuleEntry<PerfectionistSortSets>
|
|
2712
|
-
/**
|
|
2713
|
-
* Enforce sorted Svelte attributes.
|
|
2714
|
-
* @see https://perfectionist.dev/rules/sort-svelte-attributes
|
|
2715
|
-
* @deprecated
|
|
2716
|
-
*/
|
|
2717
|
-
'perfectionist/sort-svelte-attributes'?: Linter.RuleEntry<PerfectionistSortSvelteAttributes>
|
|
2718
2721
|
/**
|
|
2719
2722
|
* Enforce sorted switch cases.
|
|
2720
2723
|
* @see https://perfectionist.dev/rules/sort-switch-case
|
|
@@ -2730,12 +2733,6 @@ interface RuleOptions {
|
|
|
2730
2733
|
* @see https://perfectionist.dev/rules/sort-variable-declarations
|
|
2731
2734
|
*/
|
|
2732
2735
|
'perfectionist/sort-variable-declarations'?: Linter.RuleEntry<PerfectionistSortVariableDeclarations>
|
|
2733
|
-
/**
|
|
2734
|
-
* Enforce sorted Vue attributes.
|
|
2735
|
-
* @see https://perfectionist.dev/rules/sort-vue-attributes
|
|
2736
|
-
* @deprecated
|
|
2737
|
-
*/
|
|
2738
|
-
'perfectionist/sort-vue-attributes'?: Linter.RuleEntry<PerfectionistSortVueAttributes>
|
|
2739
2736
|
/**
|
|
2740
2737
|
* Require using arrow functions for callbacks
|
|
2741
2738
|
* @see https://eslint.org/docs/latest/rules/prefer-arrow-callback
|
|
@@ -2772,7 +2769,7 @@ interface RuleOptions {
|
|
|
2772
2769
|
*/
|
|
2773
2770
|
'prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
2774
2771
|
/**
|
|
2775
|
-
* Disallow using Object.assign with an object literal as the first argument and prefer the use of object spread instead
|
|
2772
|
+
* Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead
|
|
2776
2773
|
* @see https://eslint.org/docs/latest/rules/prefer-object-spread
|
|
2777
2774
|
*/
|
|
2778
2775
|
'prefer-object-spread'?: Linter.RuleEntry<[]>
|
|
@@ -2825,8 +2822,8 @@ interface RuleOptions {
|
|
|
2825
2822
|
*/
|
|
2826
2823
|
'radix'?: Linter.RuleEntry<Radix>
|
|
2827
2824
|
/**
|
|
2828
|
-
* disallow
|
|
2829
|
-
* @see https://eslint-react.xyz/docs/rules/dom-no-
|
|
2825
|
+
* disallow void elements (AKA self-closing elements) from having children
|
|
2826
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2830
2827
|
*/
|
|
2831
2828
|
'react-dom/no-children-in-void-dom-elements'?: Linter.RuleEntry<[]>
|
|
2832
2829
|
/**
|
|
@@ -2869,6 +2866,11 @@ interface RuleOptions {
|
|
|
2869
2866
|
* @see https://eslint-react.xyz/docs/rules/dom-no-script-url
|
|
2870
2867
|
*/
|
|
2871
2868
|
'react-dom/no-script-url'?: Linter.RuleEntry<[]>
|
|
2869
|
+
/**
|
|
2870
|
+
* disallow usage of unknown DOM property
|
|
2871
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-unknown-property
|
|
2872
|
+
*/
|
|
2873
|
+
'react-dom/no-unknown-property'?: Linter.RuleEntry<ReactDomNoUnknownProperty>
|
|
2872
2874
|
/**
|
|
2873
2875
|
* disallow unsafe iframe 'sandbox' attribute combinations
|
|
2874
2876
|
* @see https://eslint-react.xyz/docs/rules/dom-no-unsafe-iframe-sandbox
|
|
@@ -2880,10 +2882,20 @@ interface RuleOptions {
|
|
|
2880
2882
|
*/
|
|
2881
2883
|
'react-dom/no-unsafe-target-blank'?: Linter.RuleEntry<[]>
|
|
2882
2884
|
/**
|
|
2883
|
-
*
|
|
2884
|
-
* @see https://eslint-react.xyz/docs/rules/
|
|
2885
|
+
* disallow void elements (AKA self-closing elements) from having children
|
|
2886
|
+
* @see https://eslint-react.xyz/docs/rules/dom-no-void-elements-with-children
|
|
2887
|
+
*/
|
|
2888
|
+
'react-dom/no-void-elements-with-children'?: Linter.RuleEntry<[]>
|
|
2889
|
+
/**
|
|
2890
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
2891
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
2885
2892
|
*/
|
|
2886
2893
|
'react-hooks-extra/ensure-custom-hooks-using-other-hooks'?: Linter.RuleEntry<[]>
|
|
2894
|
+
/**
|
|
2895
|
+
* disallow unnecessary usage of 'useCallback'
|
|
2896
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-callback
|
|
2897
|
+
*/
|
|
2898
|
+
'react-hooks-extra/ensure-use-callback-has-non-empty-deps'?: Linter.RuleEntry<[]>
|
|
2887
2899
|
/**
|
|
2888
2900
|
* disallow unnecessary usage of 'useMemo'
|
|
2889
2901
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
@@ -2900,8 +2912,8 @@ interface RuleOptions {
|
|
|
2900
2912
|
*/
|
|
2901
2913
|
'react-hooks-extra/no-direct-set-state-in-use-layout-effect'?: Linter.RuleEntry<[]>
|
|
2902
2914
|
/**
|
|
2903
|
-
* enforce custom
|
|
2904
|
-
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-
|
|
2915
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
2916
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
2905
2917
|
*/
|
|
2906
2918
|
'react-hooks-extra/no-redundant-custom-hook'?: Linter.RuleEntry<[]>
|
|
2907
2919
|
/**
|
|
@@ -2914,6 +2926,11 @@ interface RuleOptions {
|
|
|
2914
2926
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-unnecessary-use-memo
|
|
2915
2927
|
*/
|
|
2916
2928
|
'react-hooks-extra/no-unnecessary-use-memo'?: Linter.RuleEntry<[]>
|
|
2929
|
+
/**
|
|
2930
|
+
* enforce custom Hooks to use at least one other hook inside
|
|
2931
|
+
* @see https://eslint-react.xyz/docs/rules/hooks-extra-no-useless-custom-hooks
|
|
2932
|
+
*/
|
|
2933
|
+
'react-hooks-extra/no-useless-custom-hooks'?: Linter.RuleEntry<[]>
|
|
2917
2934
|
/**
|
|
2918
2935
|
* disallow function calls in 'useState' that aren't wrapped in an initializer function
|
|
2919
2936
|
* @see https://eslint-react.xyz/docs/rules/hooks-extra-prefer-use-state-lazy-initialization
|
|
@@ -2950,6 +2967,26 @@ interface RuleOptions {
|
|
|
2950
2967
|
*/
|
|
2951
2968
|
'react-naming-convention/use-state'?: Linter.RuleEntry<[]>
|
|
2952
2969
|
'react-refresh/only-export-components'?: Linter.RuleEntry<ReactRefreshOnlyExportComponents>
|
|
2970
|
+
/**
|
|
2971
|
+
* enforce that every 'addEventListener' in a component or custom Hook has a corresponding 'removeEventListener'.
|
|
2972
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-event-listener
|
|
2973
|
+
*/
|
|
2974
|
+
'react-web-api/no-leaked-event-listener'?: Linter.RuleEntry<[]>
|
|
2975
|
+
/**
|
|
2976
|
+
* enforce that every 'setInterval' in a component or custom Hook has a corresponding 'clearInterval'.
|
|
2977
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-interval
|
|
2978
|
+
*/
|
|
2979
|
+
'react-web-api/no-leaked-interval'?: Linter.RuleEntry<[]>
|
|
2980
|
+
/**
|
|
2981
|
+
* enforce cleanup of 'ResizeObserver' instances in components and custom Hooks.
|
|
2982
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-resize-observer
|
|
2983
|
+
*/
|
|
2984
|
+
'react-web-api/no-leaked-resize-observer'?: Linter.RuleEntry<[]>
|
|
2985
|
+
/**
|
|
2986
|
+
* enforce that every 'setTimeout' in a component or custom Hook has a corresponding 'clearTimeout'.
|
|
2987
|
+
* @see https://eslint-react.xyz/docs/rules/web-api-no-leaked-timeout
|
|
2988
|
+
*/
|
|
2989
|
+
'react-web-api/no-leaked-timeout'?: Linter.RuleEntry<[]>
|
|
2953
2990
|
/**
|
|
2954
2991
|
* disallow using shorthand boolean attributes
|
|
2955
2992
|
* @see https://eslint-react.xyz/docs/rules/avoid-shorthand-boolean
|
|
@@ -2965,6 +3002,16 @@ interface RuleOptions {
|
|
|
2965
3002
|
* @see https://eslint-react.xyz/docs/rules/ensure-forward-ref-using-ref
|
|
2966
3003
|
*/
|
|
2967
3004
|
'react/ensure-forward-ref-using-ref'?: Linter.RuleEntry<[]>
|
|
3005
|
+
/**
|
|
3006
|
+
* disallow duplicate props
|
|
3007
|
+
* @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
|
|
3008
|
+
*/
|
|
3009
|
+
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3010
|
+
/**
|
|
3011
|
+
* helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
|
|
3012
|
+
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3013
|
+
*/
|
|
3014
|
+
'react/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
2968
3015
|
/**
|
|
2969
3016
|
* disallow accessing 'this.state' within 'setState'
|
|
2970
3017
|
* @see https://eslint-react.xyz/docs/rules/no-access-state-in-setstate
|
|
@@ -3045,6 +3092,11 @@ interface RuleOptions {
|
|
|
3045
3092
|
* @see https://eslint-react.xyz/docs/rules/no-component-will-update
|
|
3046
3093
|
*/
|
|
3047
3094
|
'react/no-component-will-update'?: Linter.RuleEntry<[]>
|
|
3095
|
+
/**
|
|
3096
|
+
* disallow the use of '<Context.Provider>'
|
|
3097
|
+
* @see https://eslint-react.xyz/docs/rules/no-context-provider
|
|
3098
|
+
*/
|
|
3099
|
+
'react/no-context-provider'?: Linter.RuleEntry<[]>
|
|
3048
3100
|
/**
|
|
3049
3101
|
* disallow using 'createRef' in function components
|
|
3050
3102
|
* @see https://eslint-react.xyz/docs/rules/no-create-ref
|
|
@@ -3060,11 +3112,21 @@ interface RuleOptions {
|
|
|
3060
3112
|
* @see https://eslint-react.xyz/docs/rules/no-direct-mutation-state
|
|
3061
3113
|
*/
|
|
3062
3114
|
'react/no-direct-mutation-state'?: Linter.RuleEntry<[]>
|
|
3115
|
+
/**
|
|
3116
|
+
* disallow duplicate props
|
|
3117
|
+
* @see https://eslint-react.xyz/docs/rules/no-duplicate-jsx-props
|
|
3118
|
+
*/
|
|
3119
|
+
'react/no-duplicate-jsx-props'?: Linter.RuleEntry<[]>
|
|
3063
3120
|
/**
|
|
3064
3121
|
* disallow duplicate keys when rendering list
|
|
3065
3122
|
* @see https://eslint-react.xyz/docs/rules/no-duplicate-key
|
|
3066
3123
|
*/
|
|
3067
3124
|
'react/no-duplicate-key'?: Linter.RuleEntry<[]>
|
|
3125
|
+
/**
|
|
3126
|
+
* disallow the use of 'forwardRef'
|
|
3127
|
+
* @see https://eslint-react.xyz/docs/rules/no-forward-ref
|
|
3128
|
+
*/
|
|
3129
|
+
'react/no-forward-ref'?: Linter.RuleEntry<[]>
|
|
3068
3130
|
/**
|
|
3069
3131
|
* disallow implicit 'key' props
|
|
3070
3132
|
* @see https://eslint-react.xyz/docs/rules/no-implicit-key
|
|
@@ -3155,6 +3217,11 @@ interface RuleOptions {
|
|
|
3155
3217
|
* @see https://eslint-react.xyz/docs/rules/no-unused-state
|
|
3156
3218
|
*/
|
|
3157
3219
|
'react/no-unused-state'?: Linter.RuleEntry<[]>
|
|
3220
|
+
/**
|
|
3221
|
+
* disallow the use of 'useContext'
|
|
3222
|
+
* @see https://eslint-react.xyz/docs/rules/no-use-context
|
|
3223
|
+
*/
|
|
3224
|
+
'react/no-use-context'?: Linter.RuleEntry<[]>
|
|
3158
3225
|
/**
|
|
3159
3226
|
* disallow unnecessary fragments
|
|
3160
3227
|
* @see https://eslint-react.xyz/docs/rules/no-useless-fragment
|
|
@@ -3185,6 +3252,11 @@ interface RuleOptions {
|
|
|
3185
3252
|
* @see https://eslint-react.xyz/docs/rules/prefer-shorthand-fragment
|
|
3186
3253
|
*/
|
|
3187
3254
|
'react/prefer-shorthand-fragment'?: Linter.RuleEntry<[]>
|
|
3255
|
+
/**
|
|
3256
|
+
* helpes `eslint/no-unused-vars` to correctly mark JSX variables as used.
|
|
3257
|
+
* @see https://eslint-react.xyz/docs/rules/use-jsx-vars
|
|
3258
|
+
*/
|
|
3259
|
+
'react/use-jsx-vars'?: Linter.RuleEntry<[]>
|
|
3188
3260
|
/**
|
|
3189
3261
|
* disallow confusing quantifiers
|
|
3190
3262
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/confusing-quantifier.html
|
|
@@ -3606,7 +3678,7 @@ interface RuleOptions {
|
|
|
3606
3678
|
*/
|
|
3607
3679
|
'require-await'?: Linter.RuleEntry<[]>
|
|
3608
3680
|
/**
|
|
3609
|
-
* Enforce the use of `u` or `v` flag on
|
|
3681
|
+
* Enforce the use of `u` or `v` flag on regular expressions
|
|
3610
3682
|
* @see https://eslint.org/docs/latest/rules/require-unicode-regexp
|
|
3611
3683
|
*/
|
|
3612
3684
|
'require-unicode-regexp'?: Linter.RuleEntry<RequireUnicodeRegexp>
|
|
@@ -3641,107 +3713,107 @@ interface RuleOptions {
|
|
|
3641
3713
|
'semi-style'?: Linter.RuleEntry<SemiStyle>
|
|
3642
3714
|
/**
|
|
3643
3715
|
* Disallow early returns in components. Solid components only run once, and so conditionals should be inside JSX.
|
|
3644
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/components-return-once.md
|
|
3716
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/components-return-once.md
|
|
3645
3717
|
*/
|
|
3646
3718
|
'solid/components-return-once'?: Linter.RuleEntry<[]>
|
|
3647
3719
|
/**
|
|
3648
3720
|
* Enforce naming DOM element event handlers consistently and prevent Solid's analysis from misunderstanding whether a prop should be an event handler.
|
|
3649
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/event-handlers.md
|
|
3721
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/event-handlers.md
|
|
3650
3722
|
*/
|
|
3651
3723
|
'solid/event-handlers'?: Linter.RuleEntry<SolidEventHandlers>
|
|
3652
3724
|
/**
|
|
3653
3725
|
* Enforce consistent imports from "solid-js", "solid-js/web", and "solid-js/store".
|
|
3654
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/imports.md
|
|
3726
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/imports.md
|
|
3655
3727
|
*/
|
|
3656
3728
|
'solid/imports'?: Linter.RuleEntry<[]>
|
|
3657
3729
|
/**
|
|
3658
3730
|
* Disallow passing the same prop twice in JSX.
|
|
3659
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-duplicate-props.md
|
|
3731
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-duplicate-props.md
|
|
3660
3732
|
*/
|
|
3661
3733
|
'solid/jsx-no-duplicate-props'?: Linter.RuleEntry<SolidJsxNoDuplicateProps>
|
|
3662
3734
|
/**
|
|
3663
3735
|
* Disallow javascript: URLs.
|
|
3664
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-script-url.md
|
|
3736
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-script-url.md
|
|
3665
3737
|
*/
|
|
3666
3738
|
'solid/jsx-no-script-url'?: Linter.RuleEntry<[]>
|
|
3667
3739
|
/**
|
|
3668
3740
|
* Disallow references to undefined variables in JSX. Handles custom directives.
|
|
3669
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-no-undef.md
|
|
3741
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-no-undef.md
|
|
3670
3742
|
*/
|
|
3671
3743
|
'solid/jsx-no-undef'?: Linter.RuleEntry<SolidJsxNoUndef>
|
|
3672
3744
|
/**
|
|
3673
3745
|
* Prevent variables used in JSX from being marked as unused.
|
|
3674
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/jsx-uses-vars.md
|
|
3746
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/jsx-uses-vars.md
|
|
3675
3747
|
*/
|
|
3676
3748
|
'solid/jsx-uses-vars'?: Linter.RuleEntry<[]>
|
|
3677
3749
|
/**
|
|
3678
3750
|
* Disallow usage of type-unsafe event handlers.
|
|
3679
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-array-handlers.md
|
|
3751
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-array-handlers.md
|
|
3680
3752
|
*/
|
|
3681
3753
|
'solid/no-array-handlers'?: Linter.RuleEntry<[]>
|
|
3682
3754
|
/**
|
|
3683
3755
|
* 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.
|
|
3684
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-destructure.md
|
|
3756
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-destructure.md
|
|
3685
3757
|
*/
|
|
3686
3758
|
'solid/no-destructure'?: Linter.RuleEntry<[]>
|
|
3687
3759
|
/**
|
|
3688
3760
|
* Disallow usage of the innerHTML attribute, which can often lead to security vulnerabilities.
|
|
3689
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-innerhtml.md
|
|
3761
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-innerhtml.md
|
|
3690
3762
|
*/
|
|
3691
3763
|
'solid/no-innerhtml'?: Linter.RuleEntry<SolidNoInnerhtml>
|
|
3692
3764
|
/**
|
|
3693
3765
|
* Disallow usage of APIs that use ES6 Proxies, only to target environments that don't support them.
|
|
3694
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-proxy-apis.md
|
|
3766
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-proxy-apis.md
|
|
3695
3767
|
*/
|
|
3696
3768
|
'solid/no-proxy-apis'?: Linter.RuleEntry<[]>
|
|
3697
3769
|
/**
|
|
3698
3770
|
* Disallow usage of dependency arrays in `createEffect` and `createMemo`.
|
|
3699
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-deps.md
|
|
3771
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-deps.md
|
|
3700
3772
|
*/
|
|
3701
3773
|
'solid/no-react-deps'?: Linter.RuleEntry<[]>
|
|
3702
3774
|
/**
|
|
3703
3775
|
* Disallow usage of React-specific `className`/`htmlFor` props, which were deprecated in v1.4.0.
|
|
3704
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-react-specific-props.md
|
|
3776
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-react-specific-props.md
|
|
3705
3777
|
*/
|
|
3706
3778
|
'solid/no-react-specific-props'?: Linter.RuleEntry<[]>
|
|
3707
3779
|
/**
|
|
3708
3780
|
* Enforce using only Solid-specific namespaced attribute names (i.e. `'on:'` in `<div on:click={...} />`).
|
|
3709
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/no-unknown-namespaces.md
|
|
3781
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/no-unknown-namespaces.md
|
|
3710
3782
|
*/
|
|
3711
3783
|
'solid/no-unknown-namespaces'?: Linter.RuleEntry<SolidNoUnknownNamespaces>
|
|
3712
3784
|
/**
|
|
3713
3785
|
* Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.
|
|
3714
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-classlist.md
|
|
3786
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-classlist.md
|
|
3715
3787
|
* @deprecated
|
|
3716
3788
|
*/
|
|
3717
3789
|
'solid/prefer-classlist'?: Linter.RuleEntry<SolidPreferClasslist>
|
|
3718
3790
|
/**
|
|
3719
3791
|
* Enforce using Solid's `<For />` component for mapping an array to JSX elements.
|
|
3720
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-for.md
|
|
3792
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-for.md
|
|
3721
3793
|
*/
|
|
3722
3794
|
'solid/prefer-for'?: Linter.RuleEntry<[]>
|
|
3723
3795
|
/**
|
|
3724
3796
|
* Enforce using Solid's `<Show />` component for conditionally showing content. Solid's compiler covers this case, so it's a stylistic rule only.
|
|
3725
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/prefer-show.md
|
|
3797
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/prefer-show.md
|
|
3726
3798
|
*/
|
|
3727
3799
|
'solid/prefer-show'?: Linter.RuleEntry<[]>
|
|
3728
3800
|
/**
|
|
3729
3801
|
* Enforce that reactivity (props, signals, memos, etc.) is properly used, so changes in those values will be tracked and update the view as expected.
|
|
3730
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/reactivity.md
|
|
3802
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/reactivity.md
|
|
3731
3803
|
*/
|
|
3732
3804
|
'solid/reactivity'?: Linter.RuleEntry<SolidReactivity>
|
|
3733
3805
|
/**
|
|
3734
3806
|
* Disallow extra closing tags for components without children.
|
|
3735
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/self-closing-comp.md
|
|
3807
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/self-closing-comp.md
|
|
3736
3808
|
*/
|
|
3737
3809
|
'solid/self-closing-comp'?: Linter.RuleEntry<SolidSelfClosingComp>
|
|
3738
3810
|
/**
|
|
3739
3811
|
* 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.
|
|
3740
|
-
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/docs/style-prop.md
|
|
3812
|
+
* @see https://github.com/solidjs-community/eslint-plugin-solid/blob/main/packages/eslint-plugin-solid/docs/style-prop.md
|
|
3741
3813
|
*/
|
|
3742
3814
|
'solid/style-prop'?: Linter.RuleEntry<SolidStyleProp>
|
|
3743
3815
|
/**
|
|
3744
|
-
* Enforce sorted import declarations within modules
|
|
3816
|
+
* Enforce sorted `import` declarations within modules
|
|
3745
3817
|
* @see https://eslint.org/docs/latest/rules/sort-imports
|
|
3746
3818
|
*/
|
|
3747
3819
|
'sort-imports'?: Linter.RuleEntry<SortImports>
|
|
@@ -4793,7 +4865,7 @@ interface RuleOptions {
|
|
|
4793
4865
|
*/
|
|
4794
4866
|
'test/padding-around-expect-groups'?: Linter.RuleEntry<[]>
|
|
4795
4867
|
/**
|
|
4796
|
-
* Enforce padding around
|
|
4868
|
+
* Enforce padding around `test` blocks
|
|
4797
4869
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/padding-around-test-blocks.md
|
|
4798
4870
|
*/
|
|
4799
4871
|
'test/padding-around-test-blocks'?: Linter.RuleEntry<[]>
|
|
@@ -4857,6 +4929,11 @@ interface RuleOptions {
|
|
|
4857
4929
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-spy-on.md
|
|
4858
4930
|
*/
|
|
4859
4931
|
'test/prefer-spy-on'?: Linter.RuleEntry<[]>
|
|
4932
|
+
/**
|
|
4933
|
+
* enforce using `toBe(true)` and `toBe(false)` over matchers that coerce types to boolean
|
|
4934
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-boolean-matchers.md
|
|
4935
|
+
*/
|
|
4936
|
+
'test/prefer-strict-boolean-matchers'?: Linter.RuleEntry<[]>
|
|
4860
4937
|
/**
|
|
4861
4938
|
* enforce strict equal over equal
|
|
4862
4939
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-strict-equal.md
|
|
@@ -4898,7 +4975,7 @@ interface RuleOptions {
|
|
|
4898
4975
|
*/
|
|
4899
4976
|
'test/prefer-todo'?: Linter.RuleEntry<[]>
|
|
4900
4977
|
/**
|
|
4901
|
-
*
|
|
4978
|
+
* require `vi.mocked()` over `fn as Mock`
|
|
4902
4979
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/prefer-vi-mocked.md
|
|
4903
4980
|
*/
|
|
4904
4981
|
'test/prefer-vi-mocked'?: Linter.RuleEntry<[]>
|
|
@@ -4932,6 +5009,11 @@ interface RuleOptions {
|
|
|
4932
5009
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect.md
|
|
4933
5010
|
*/
|
|
4934
5011
|
'test/valid-expect'?: Linter.RuleEntry<TestValidExpect>
|
|
5012
|
+
/**
|
|
5013
|
+
* require promises that have expectations in their chain to be valid
|
|
5014
|
+
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-expect-in-promise.md
|
|
5015
|
+
*/
|
|
5016
|
+
'test/valid-expect-in-promise'?: Linter.RuleEntry<[]>
|
|
4935
5017
|
/**
|
|
4936
5018
|
* enforce valid titles
|
|
4937
5019
|
* @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/valid-title.md
|
|
@@ -5197,7 +5279,7 @@ interface RuleOptions {
|
|
|
5197
5279
|
* Disallow using code marked as `@deprecated`
|
|
5198
5280
|
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
5199
5281
|
*/
|
|
5200
|
-
'ts/no-deprecated'?: Linter.RuleEntry<
|
|
5282
|
+
'ts/no-deprecated'?: Linter.RuleEntry<TsNoDeprecated>
|
|
5201
5283
|
/**
|
|
5202
5284
|
* Disallow duplicate class members
|
|
5203
5285
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -5315,6 +5397,11 @@ interface RuleOptions {
|
|
|
5315
5397
|
* @see https://typescript-eslint.io/rules/no-misused-promises
|
|
5316
5398
|
*/
|
|
5317
5399
|
'ts/no-misused-promises'?: Linter.RuleEntry<TsNoMisusedPromises>
|
|
5400
|
+
/**
|
|
5401
|
+
* Disallow using the spread operator when it might cause unexpected behavior
|
|
5402
|
+
* @see https://typescript-eslint.io/rules/no-misused-spread
|
|
5403
|
+
*/
|
|
5404
|
+
'ts/no-misused-spread'?: Linter.RuleEntry<TsNoMisusedSpread>
|
|
5318
5405
|
/**
|
|
5319
5406
|
* Disallow enums from having both number and string members
|
|
5320
5407
|
* @see https://typescript-eslint.io/rules/no-mixed-enums
|
|
@@ -5466,6 +5553,11 @@ interface RuleOptions {
|
|
|
5466
5553
|
* @see https://typescript-eslint.io/rules/no-unsafe-return
|
|
5467
5554
|
*/
|
|
5468
5555
|
'ts/no-unsafe-return'?: Linter.RuleEntry<[]>
|
|
5556
|
+
/**
|
|
5557
|
+
* Disallow type assertions that narrow a type
|
|
5558
|
+
* @see https://typescript-eslint.io/rules/no-unsafe-type-assertion
|
|
5559
|
+
*/
|
|
5560
|
+
'ts/no-unsafe-type-assertion'?: Linter.RuleEntry<[]>
|
|
5469
5561
|
/**
|
|
5470
5562
|
* Require unary negation to take a number
|
|
5471
5563
|
* @see https://typescript-eslint.io/rules/no-unsafe-unary-minus
|
|
@@ -5508,7 +5600,7 @@ interface RuleOptions {
|
|
|
5508
5600
|
*/
|
|
5509
5601
|
'ts/no-wrapper-object-types'?: Linter.RuleEntry<[]>
|
|
5510
5602
|
/**
|
|
5511
|
-
* Enforce non-null assertions over explicit type
|
|
5603
|
+
* Enforce non-null assertions over explicit type assertions
|
|
5512
5604
|
* @see https://typescript-eslint.io/rules/non-nullable-type-assertion-style
|
|
5513
5605
|
*/
|
|
5514
5606
|
'ts/non-nullable-type-assertion-style'?: Linter.RuleEntry<[]>
|
|
@@ -5593,7 +5685,7 @@ interface RuleOptions {
|
|
|
5593
5685
|
*/
|
|
5594
5686
|
'ts/prefer-readonly-parameter-types'?: Linter.RuleEntry<TsPreferReadonlyParameterTypes>
|
|
5595
5687
|
/**
|
|
5596
|
-
* Enforce using type parameter when calling `Array#reduce` instead of
|
|
5688
|
+
* Enforce using type parameter when calling `Array#reduce` instead of using a type assertion
|
|
5597
5689
|
* @see https://typescript-eslint.io/rules/prefer-reduce-type-parameter
|
|
5598
5690
|
*/
|
|
5599
5691
|
'ts/prefer-reduce-type-parameter'?: Linter.RuleEntry<[]>
|
|
@@ -5623,6 +5715,11 @@ interface RuleOptions {
|
|
|
5623
5715
|
* @see https://typescript-eslint.io/rules/promise-function-async
|
|
5624
5716
|
*/
|
|
5625
5717
|
'ts/promise-function-async'?: Linter.RuleEntry<TsPromiseFunctionAsync>
|
|
5718
|
+
/**
|
|
5719
|
+
* Enforce that `get()` types should be assignable to their equivalent `set()` type
|
|
5720
|
+
* @see https://typescript-eslint.io/rules/related-getter-setter-pairs
|
|
5721
|
+
*/
|
|
5722
|
+
'ts/related-getter-setter-pairs'?: Linter.RuleEntry<[]>
|
|
5626
5723
|
/**
|
|
5627
5724
|
* Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`
|
|
5628
5725
|
* @see https://typescript-eslint.io/rules/require-array-sort-compare
|
|
@@ -5696,702 +5793,702 @@ interface RuleOptions {
|
|
|
5696
5793
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
5697
5794
|
/**
|
|
5698
5795
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
5699
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5796
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/better-regex.md
|
|
5700
5797
|
*/
|
|
5701
5798
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
5702
5799
|
/**
|
|
5703
5800
|
* Enforce a specific parameter name in catch clauses.
|
|
5704
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5801
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/catch-error-name.md
|
|
5705
5802
|
*/
|
|
5706
5803
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
5707
5804
|
/**
|
|
5708
5805
|
* Use destructured variables over properties.
|
|
5709
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5806
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-destructuring.md
|
|
5710
5807
|
*/
|
|
5711
5808
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
5712
5809
|
/**
|
|
5713
5810
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
5714
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5811
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-empty-array-spread.md
|
|
5715
5812
|
*/
|
|
5716
5813
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
5717
5814
|
/**
|
|
5718
5815
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
5719
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5816
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-existence-index-check.md
|
|
5720
5817
|
*/
|
|
5721
5818
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
5722
5819
|
/**
|
|
5723
5820
|
* Move function definitions to the highest possible scope.
|
|
5724
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5821
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/consistent-function-scoping.md
|
|
5725
5822
|
*/
|
|
5726
5823
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
5727
5824
|
/**
|
|
5728
5825
|
* Enforce correct `Error` subclassing.
|
|
5729
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5826
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/custom-error-definition.md
|
|
5730
5827
|
*/
|
|
5731
5828
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
5732
5829
|
/**
|
|
5733
5830
|
* Enforce no spaces between braces.
|
|
5734
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5831
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/empty-brace-spaces.md
|
|
5735
5832
|
*/
|
|
5736
5833
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
5737
5834
|
/**
|
|
5738
5835
|
* Enforce passing a `message` value when creating a built-in error.
|
|
5739
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5836
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/error-message.md
|
|
5740
5837
|
*/
|
|
5741
5838
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
5742
5839
|
/**
|
|
5743
5840
|
* Require escape sequences to use uppercase values.
|
|
5744
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5841
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/escape-case.md
|
|
5745
5842
|
*/
|
|
5746
5843
|
'unicorn/escape-case'?: Linter.RuleEntry<[]>
|
|
5747
5844
|
/**
|
|
5748
5845
|
* Add expiration conditions to TODO comments.
|
|
5749
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5846
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/expiring-todo-comments.md
|
|
5750
5847
|
*/
|
|
5751
5848
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
5752
5849
|
/**
|
|
5753
5850
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
5754
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5851
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/explicit-length-check.md
|
|
5755
5852
|
*/
|
|
5756
5853
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
5757
5854
|
/**
|
|
5758
5855
|
* Enforce a case style for filenames.
|
|
5759
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5856
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/filename-case.md
|
|
5760
5857
|
*/
|
|
5761
5858
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
5762
5859
|
/**
|
|
5763
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5860
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#import-index
|
|
5764
5861
|
* @deprecated
|
|
5765
5862
|
*/
|
|
5766
5863
|
'unicorn/import-index'?: Linter.RuleEntry<[]>
|
|
5767
5864
|
/**
|
|
5768
5865
|
* Enforce specific import styles per module.
|
|
5769
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5866
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/import-style.md
|
|
5770
5867
|
*/
|
|
5771
5868
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
5772
5869
|
/**
|
|
5773
5870
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
5774
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5871
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/new-for-builtins.md
|
|
5775
5872
|
*/
|
|
5776
5873
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
5777
5874
|
/**
|
|
5778
5875
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
5779
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5876
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
5780
5877
|
*/
|
|
5781
5878
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
5782
5879
|
/**
|
|
5783
5880
|
* Disallow anonymous functions and classes as the default export.
|
|
5784
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5881
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-anonymous-default-export.md
|
|
5785
5882
|
*/
|
|
5786
5883
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
5787
5884
|
/**
|
|
5788
5885
|
* Prevent passing a function reference directly to iterator methods.
|
|
5789
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5886
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-callback-reference.md
|
|
5790
5887
|
*/
|
|
5791
5888
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
5792
5889
|
/**
|
|
5793
5890
|
* Prefer `for…of` over the `forEach` method.
|
|
5794
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5891
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-for-each.md
|
|
5795
5892
|
*/
|
|
5796
5893
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
5797
5894
|
/**
|
|
5798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5895
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#no-array-instanceof
|
|
5799
5896
|
* @deprecated
|
|
5800
5897
|
*/
|
|
5801
5898
|
'unicorn/no-array-instanceof'?: Linter.RuleEntry<[]>
|
|
5802
5899
|
/**
|
|
5803
5900
|
* Disallow using the `this` argument in array methods.
|
|
5804
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5901
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-method-this-argument.md
|
|
5805
5902
|
*/
|
|
5806
5903
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
5807
5904
|
/**
|
|
5808
5905
|
* Enforce combining multiple `Array#push()` into one call.
|
|
5809
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5906
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-push-push.md
|
|
5810
5907
|
*/
|
|
5811
5908
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<UnicornNoArrayPushPush>
|
|
5812
5909
|
/**
|
|
5813
5910
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
5814
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5911
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-array-reduce.md
|
|
5815
5912
|
*/
|
|
5816
5913
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
5817
5914
|
/**
|
|
5818
5915
|
* Disallow member access from await expression.
|
|
5819
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5916
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-expression-member.md
|
|
5820
5917
|
*/
|
|
5821
5918
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
5822
5919
|
/**
|
|
5823
5920
|
* Disallow using `await` in `Promise` method parameters.
|
|
5824
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5921
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-await-in-promise-methods.md
|
|
5825
5922
|
*/
|
|
5826
5923
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5827
5924
|
/**
|
|
5828
5925
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
5829
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5926
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-console-spaces.md
|
|
5830
5927
|
*/
|
|
5831
5928
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
5832
5929
|
/**
|
|
5833
5930
|
* Do not use `document.cookie` directly.
|
|
5834
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5931
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-document-cookie.md
|
|
5835
5932
|
*/
|
|
5836
5933
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
5837
5934
|
/**
|
|
5838
5935
|
* Disallow empty files.
|
|
5839
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5936
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-empty-file.md
|
|
5840
5937
|
*/
|
|
5841
5938
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
5842
5939
|
/**
|
|
5843
|
-
* @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/deprecated-rules.md#no-fn-reference-in-iterator
|
|
5844
5941
|
* @deprecated
|
|
5845
5942
|
*/
|
|
5846
5943
|
'unicorn/no-fn-reference-in-iterator'?: Linter.RuleEntry<[]>
|
|
5847
5944
|
/**
|
|
5848
5945
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
5849
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5946
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-for-loop.md
|
|
5850
5947
|
*/
|
|
5851
5948
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
5852
5949
|
/**
|
|
5853
5950
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
5854
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5951
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-hex-escape.md
|
|
5855
5952
|
*/
|
|
5856
5953
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
5857
5954
|
/**
|
|
5858
5955
|
* Require `Array.isArray()` instead of `instanceof Array`.
|
|
5859
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5956
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-instanceof-array.md
|
|
5860
5957
|
*/
|
|
5861
5958
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
5862
5959
|
/**
|
|
5863
5960
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
5864
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5961
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-fetch-options.md
|
|
5865
5962
|
*/
|
|
5866
5963
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
5867
5964
|
/**
|
|
5868
5965
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
5869
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5966
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
5870
5967
|
*/
|
|
5871
5968
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
5872
5969
|
/**
|
|
5873
5970
|
* Disallow identifiers starting with `new` or `class`.
|
|
5874
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5971
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-keyword-prefix.md
|
|
5875
5972
|
*/
|
|
5876
5973
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
5877
5974
|
/**
|
|
5878
5975
|
* Disallow using `.length` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
5879
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5976
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-length-as-slice-end.md
|
|
5880
5977
|
*/
|
|
5881
5978
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
5882
5979
|
/**
|
|
5883
5980
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
5884
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5981
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-lonely-if.md
|
|
5885
5982
|
*/
|
|
5886
5983
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
5887
5984
|
/**
|
|
5888
5985
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
5889
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5986
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
5890
5987
|
*/
|
|
5891
5988
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
5892
5989
|
/**
|
|
5893
5990
|
* Disallow negated conditions.
|
|
5894
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5991
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negated-condition.md
|
|
5895
5992
|
*/
|
|
5896
5993
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
5897
5994
|
/**
|
|
5898
5995
|
* Disallow negated expression in equality check.
|
|
5899
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
5996
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-negation-in-equality-check.md
|
|
5900
5997
|
*/
|
|
5901
5998
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
5902
5999
|
/**
|
|
5903
6000
|
* Disallow nested ternary expressions.
|
|
5904
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6001
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-nested-ternary.md
|
|
5905
6002
|
*/
|
|
5906
6003
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
5907
6004
|
/**
|
|
5908
6005
|
* Disallow `new Array()`.
|
|
5909
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6006
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-array.md
|
|
5910
6007
|
*/
|
|
5911
6008
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
5912
6009
|
/**
|
|
5913
6010
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
5914
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6011
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-new-buffer.md
|
|
5915
6012
|
*/
|
|
5916
6013
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
5917
6014
|
/**
|
|
5918
6015
|
* Disallow the use of the `null` literal.
|
|
5919
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6016
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-null.md
|
|
5920
6017
|
*/
|
|
5921
6018
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
5922
6019
|
/**
|
|
5923
6020
|
* Disallow the use of objects as default parameters.
|
|
5924
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6021
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-object-as-default-parameter.md
|
|
5925
6022
|
*/
|
|
5926
6023
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
5927
6024
|
/**
|
|
5928
6025
|
* Disallow `process.exit()`.
|
|
5929
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6026
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-process-exit.md
|
|
5930
6027
|
*/
|
|
5931
6028
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
5932
6029
|
/**
|
|
5933
|
-
* @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/deprecated-rules.md#no-reduce
|
|
5934
6031
|
* @deprecated
|
|
5935
6032
|
*/
|
|
5936
6033
|
'unicorn/no-reduce'?: Linter.RuleEntry<[]>
|
|
5937
6034
|
/**
|
|
5938
6035
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
5939
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6036
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
5940
6037
|
*/
|
|
5941
6038
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
5942
6039
|
/**
|
|
5943
6040
|
* Disallow classes that only have static members.
|
|
5944
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6041
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-static-only-class.md
|
|
5945
6042
|
*/
|
|
5946
6043
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
5947
6044
|
/**
|
|
5948
6045
|
* Disallow `then` property.
|
|
5949
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6046
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-thenable.md
|
|
5950
6047
|
*/
|
|
5951
6048
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
5952
6049
|
/**
|
|
5953
6050
|
* Disallow assigning `this` to a variable.
|
|
5954
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6051
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-this-assignment.md
|
|
5955
6052
|
*/
|
|
5956
6053
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
5957
6054
|
/**
|
|
5958
6055
|
* Disallow comparing `undefined` using `typeof`.
|
|
5959
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6056
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-typeof-undefined.md
|
|
5960
6057
|
*/
|
|
5961
6058
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
5962
6059
|
/**
|
|
5963
6060
|
* Disallow awaiting non-promise values.
|
|
5964
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6061
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-await.md
|
|
5965
6062
|
*/
|
|
5966
6063
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
5967
6064
|
/**
|
|
5968
6065
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
5969
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6066
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
5970
6067
|
*/
|
|
5971
6068
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
5972
6069
|
/**
|
|
5973
6070
|
* Disallow unreadable array destructuring.
|
|
5974
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6071
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
5975
6072
|
*/
|
|
5976
6073
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
5977
6074
|
/**
|
|
5978
6075
|
* Disallow unreadable IIFEs.
|
|
5979
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6076
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unreadable-iife.md
|
|
5980
6077
|
*/
|
|
5981
6078
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
5982
6079
|
/**
|
|
5983
|
-
* @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/deprecated-rules.md#no-unsafe-regex
|
|
5984
6081
|
* @deprecated
|
|
5985
6082
|
*/
|
|
5986
6083
|
'unicorn/no-unsafe-regex'?: Linter.RuleEntry<[]>
|
|
5987
6084
|
/**
|
|
5988
6085
|
* Disallow unused object properties.
|
|
5989
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6086
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-unused-properties.md
|
|
5990
6087
|
*/
|
|
5991
6088
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
5992
6089
|
/**
|
|
5993
6090
|
* Disallow useless fallback when spreading in object literals.
|
|
5994
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6091
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
5995
6092
|
*/
|
|
5996
6093
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
5997
6094
|
/**
|
|
5998
6095
|
* Disallow useless array length check.
|
|
5999
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6096
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-length-check.md
|
|
6000
6097
|
*/
|
|
6001
6098
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
6002
6099
|
/**
|
|
6003
6100
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
6004
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6101
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
6005
6102
|
*/
|
|
6006
6103
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
6007
6104
|
/**
|
|
6008
6105
|
* Disallow unnecessary spread.
|
|
6009
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6106
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-spread.md
|
|
6010
6107
|
*/
|
|
6011
6108
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
6012
6109
|
/**
|
|
6013
6110
|
* Disallow useless case in switch statements.
|
|
6014
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6111
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-switch-case.md
|
|
6015
6112
|
*/
|
|
6016
6113
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
6017
6114
|
/**
|
|
6018
6115
|
* Disallow useless `undefined`.
|
|
6019
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6116
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-useless-undefined.md
|
|
6020
6117
|
*/
|
|
6021
6118
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
6022
6119
|
/**
|
|
6023
6120
|
* Disallow number literals with zero fractions or dangling dots.
|
|
6024
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6121
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/no-zero-fractions.md
|
|
6025
6122
|
*/
|
|
6026
6123
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
6027
6124
|
/**
|
|
6028
6125
|
* Enforce proper case for numeric literals.
|
|
6029
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6126
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/number-literal-case.md
|
|
6030
6127
|
*/
|
|
6031
6128
|
'unicorn/number-literal-case'?: Linter.RuleEntry<[]>
|
|
6032
6129
|
/**
|
|
6033
6130
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
6034
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6131
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/numeric-separators-style.md
|
|
6035
6132
|
*/
|
|
6036
6133
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
6037
6134
|
/**
|
|
6038
6135
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
6039
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6136
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-add-event-listener.md
|
|
6040
6137
|
*/
|
|
6041
6138
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
6042
6139
|
/**
|
|
6043
6140
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
6044
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6141
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-find.md
|
|
6045
6142
|
*/
|
|
6046
6143
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
6047
6144
|
/**
|
|
6048
6145
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
6049
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6146
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat.md
|
|
6050
6147
|
*/
|
|
6051
6148
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
6052
6149
|
/**
|
|
6053
6150
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
6054
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6151
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-flat-map.md
|
|
6055
6152
|
*/
|
|
6056
6153
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
6057
6154
|
/**
|
|
6058
6155
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
6059
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6156
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-index-of.md
|
|
6060
6157
|
*/
|
|
6061
6158
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
6062
6159
|
/**
|
|
6063
6160
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
6064
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6161
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-array-some.md
|
|
6065
6162
|
*/
|
|
6066
6163
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
6067
6164
|
/**
|
|
6068
6165
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
6069
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6166
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-at.md
|
|
6070
6167
|
*/
|
|
6071
6168
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
6072
6169
|
/**
|
|
6073
6170
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
6074
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6171
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
6075
6172
|
*/
|
|
6076
6173
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
6077
6174
|
/**
|
|
6078
6175
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
6079
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6176
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-code-point.md
|
|
6080
6177
|
*/
|
|
6081
6178
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
6082
6179
|
/**
|
|
6083
|
-
* @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/deprecated-rules.md#prefer-dataset
|
|
6084
6181
|
* @deprecated
|
|
6085
6182
|
*/
|
|
6086
6183
|
'unicorn/prefer-dataset'?: Linter.RuleEntry<[]>
|
|
6087
6184
|
/**
|
|
6088
6185
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
6089
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6186
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-date-now.md
|
|
6090
6187
|
*/
|
|
6091
6188
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
6092
6189
|
/**
|
|
6093
6190
|
* Prefer default parameters over reassignment.
|
|
6094
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6191
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-default-parameters.md
|
|
6095
6192
|
*/
|
|
6096
6193
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
6097
6194
|
/**
|
|
6098
6195
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
6099
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6196
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-append.md
|
|
6100
6197
|
*/
|
|
6101
6198
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
6102
6199
|
/**
|
|
6103
6200
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
6104
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6201
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
6105
6202
|
*/
|
|
6106
6203
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
6107
6204
|
/**
|
|
6108
6205
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
6109
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6206
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-remove.md
|
|
6110
6207
|
*/
|
|
6111
6208
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
6112
6209
|
/**
|
|
6113
6210
|
* Prefer `.textContent` over `.innerText`.
|
|
6114
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6211
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
6115
6212
|
*/
|
|
6116
6213
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
6117
6214
|
/**
|
|
6118
|
-
* @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/deprecated-rules.md#prefer-event-key
|
|
6119
6216
|
* @deprecated
|
|
6120
6217
|
*/
|
|
6121
6218
|
'unicorn/prefer-event-key'?: Linter.RuleEntry<[]>
|
|
6122
6219
|
/**
|
|
6123
6220
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
6124
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6221
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-event-target.md
|
|
6125
6222
|
*/
|
|
6126
6223
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
6127
6224
|
/**
|
|
6128
|
-
* @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/deprecated-rules.md#prefer-exponentiation-operator
|
|
6129
6226
|
* @deprecated
|
|
6130
6227
|
*/
|
|
6131
6228
|
'unicorn/prefer-exponentiation-operator'?: Linter.RuleEntry<[]>
|
|
6132
6229
|
/**
|
|
6133
6230
|
* Prefer `export…from` when re-exporting.
|
|
6134
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6231
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-export-from.md
|
|
6135
6232
|
*/
|
|
6136
6233
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
6137
6234
|
/**
|
|
6138
|
-
* @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/deprecated-rules.md#prefer-flat-map
|
|
6139
6236
|
* @deprecated
|
|
6140
6237
|
*/
|
|
6141
6238
|
'unicorn/prefer-flat-map'?: Linter.RuleEntry<[]>
|
|
6142
6239
|
/**
|
|
6143
6240
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
6144
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6241
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-global-this.md
|
|
6145
6242
|
*/
|
|
6146
6243
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
6147
6244
|
/**
|
|
6148
6245
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
6149
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6246
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-includes.md
|
|
6150
6247
|
*/
|
|
6151
6248
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
6152
6249
|
/**
|
|
6153
6250
|
* Prefer reading a JSON file as a buffer.
|
|
6154
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6251
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
6155
6252
|
*/
|
|
6156
6253
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
6157
6254
|
/**
|
|
6158
6255
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
6159
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6256
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
6160
6257
|
*/
|
|
6161
6258
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
6162
6259
|
/**
|
|
6163
6260
|
* Prefer using a logical operator over a ternary.
|
|
6164
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6261
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
6165
6262
|
*/
|
|
6166
6263
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
6167
6264
|
/**
|
|
6168
6265
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
6169
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6266
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-min-max.md
|
|
6170
6267
|
*/
|
|
6171
6268
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
6172
6269
|
/**
|
|
6173
6270
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
6174
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6271
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-math-trunc.md
|
|
6175
6272
|
*/
|
|
6176
6273
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
6177
6274
|
/**
|
|
6178
6275
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
6179
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6276
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
6180
6277
|
*/
|
|
6181
6278
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
6182
6279
|
/**
|
|
6183
6280
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
6184
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6281
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-modern-math-apis.md
|
|
6185
6282
|
*/
|
|
6186
6283
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
6187
6284
|
/**
|
|
6188
6285
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
6189
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6286
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-module.md
|
|
6190
6287
|
*/
|
|
6191
6288
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
6192
6289
|
/**
|
|
6193
6290
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
6194
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6291
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
6195
6292
|
*/
|
|
6196
6293
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
6197
6294
|
/**
|
|
6198
6295
|
* Prefer negative index over `.length - index` when possible.
|
|
6199
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6296
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-negative-index.md
|
|
6200
6297
|
*/
|
|
6201
6298
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
6202
6299
|
/**
|
|
6203
|
-
* @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/deprecated-rules.md#prefer-node-append
|
|
6204
6301
|
* @deprecated
|
|
6205
6302
|
*/
|
|
6206
6303
|
'unicorn/prefer-node-append'?: Linter.RuleEntry<[]>
|
|
6207
6304
|
/**
|
|
6208
6305
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
6209
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6306
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-node-protocol.md
|
|
6210
6307
|
*/
|
|
6211
6308
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
6212
6309
|
/**
|
|
6213
|
-
* @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/deprecated-rules.md#prefer-node-remove
|
|
6214
6311
|
* @deprecated
|
|
6215
6312
|
*/
|
|
6216
6313
|
'unicorn/prefer-node-remove'?: Linter.RuleEntry<[]>
|
|
6217
6314
|
/**
|
|
6218
6315
|
* Prefer `Number` static properties over global ones.
|
|
6219
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6316
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-number-properties.md
|
|
6220
6317
|
*/
|
|
6221
6318
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
6222
6319
|
/**
|
|
6223
6320
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
6224
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6321
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-object-from-entries.md
|
|
6225
6322
|
*/
|
|
6226
6323
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
6227
6324
|
/**
|
|
6228
|
-
* @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/deprecated-rules.md#prefer-object-has-own
|
|
6229
6326
|
* @deprecated
|
|
6230
6327
|
*/
|
|
6231
6328
|
'unicorn/prefer-object-has-own'?: Linter.RuleEntry<[]>
|
|
6232
6329
|
/**
|
|
6233
6330
|
* Prefer omitting the `catch` binding parameter.
|
|
6234
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6331
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
6235
6332
|
*/
|
|
6236
6333
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
6237
6334
|
/**
|
|
6238
6335
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
6239
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6336
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-prototype-methods.md
|
|
6240
6337
|
*/
|
|
6241
6338
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
6242
6339
|
/**
|
|
6243
6340
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
6244
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6341
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-query-selector.md
|
|
6245
6342
|
*/
|
|
6246
6343
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
6247
6344
|
/**
|
|
6248
6345
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
6249
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6346
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-reflect-apply.md
|
|
6250
6347
|
*/
|
|
6251
6348
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
6252
6349
|
/**
|
|
6253
6350
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
6254
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6351
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-regexp-test.md
|
|
6255
6352
|
*/
|
|
6256
6353
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
6257
6354
|
/**
|
|
6258
|
-
* @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/deprecated-rules.md#prefer-replace-all
|
|
6259
6356
|
* @deprecated
|
|
6260
6357
|
*/
|
|
6261
6358
|
'unicorn/prefer-replace-all'?: Linter.RuleEntry<[]>
|
|
6262
6359
|
/**
|
|
6263
6360
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
6264
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6361
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-has.md
|
|
6265
6362
|
*/
|
|
6266
6363
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
6267
6364
|
/**
|
|
6268
6365
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
6269
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6366
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-set-size.md
|
|
6270
6367
|
*/
|
|
6271
6368
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
6272
6369
|
/**
|
|
6273
6370
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
6274
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6371
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-spread.md
|
|
6275
6372
|
*/
|
|
6276
6373
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
6277
6374
|
/**
|
|
6278
|
-
* @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/deprecated-rules.md#prefer-starts-ends-with
|
|
6279
6376
|
* @deprecated
|
|
6280
6377
|
*/
|
|
6281
6378
|
'unicorn/prefer-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6282
6379
|
/**
|
|
6283
6380
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
6284
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6381
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-raw.md
|
|
6285
6382
|
*/
|
|
6286
6383
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
6287
6384
|
/**
|
|
6288
6385
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
6289
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6386
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-replace-all.md
|
|
6290
6387
|
*/
|
|
6291
6388
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
6292
6389
|
/**
|
|
6293
6390
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
6294
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6391
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-slice.md
|
|
6295
6392
|
*/
|
|
6296
6393
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
6297
6394
|
/**
|
|
6298
6395
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
6299
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6396
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
6300
6397
|
*/
|
|
6301
6398
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
6302
6399
|
/**
|
|
6303
6400
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
6304
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6401
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
6305
6402
|
*/
|
|
6306
6403
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6307
6404
|
/**
|
|
6308
6405
|
* Prefer using `structuredClone` to create a deep clone.
|
|
6309
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6406
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-structured-clone.md
|
|
6310
6407
|
*/
|
|
6311
6408
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
6312
6409
|
/**
|
|
6313
6410
|
* Prefer `switch` over multiple `else-if`.
|
|
6314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6411
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-switch.md
|
|
6315
6412
|
*/
|
|
6316
6413
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
6317
6414
|
/**
|
|
6318
6415
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
6319
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6416
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-ternary.md
|
|
6320
6417
|
*/
|
|
6321
6418
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
6322
6419
|
/**
|
|
6323
|
-
* @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/deprecated-rules.md#prefer-text-content
|
|
6324
6421
|
* @deprecated
|
|
6325
6422
|
*/
|
|
6326
6423
|
'unicorn/prefer-text-content'?: Linter.RuleEntry<[]>
|
|
6327
6424
|
/**
|
|
6328
6425
|
* Prefer top-level await over top-level promises and async function calls.
|
|
6329
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6426
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-top-level-await.md
|
|
6330
6427
|
*/
|
|
6331
6428
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
6332
6429
|
/**
|
|
6333
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/deprecated-rules.md#prefer-trim-start-end
|
|
6334
6431
|
* @deprecated
|
|
6335
6432
|
*/
|
|
6336
6433
|
'unicorn/prefer-trim-start-end'?: Linter.RuleEntry<[]>
|
|
6337
6434
|
/**
|
|
6338
6435
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
6339
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6436
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prefer-type-error.md
|
|
6340
6437
|
*/
|
|
6341
6438
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
6342
6439
|
/**
|
|
6343
6440
|
* Prevent abbreviations.
|
|
6344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/prevent-abbreviations.md
|
|
6345
6442
|
*/
|
|
6346
6443
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
6347
6444
|
/**
|
|
6348
|
-
* @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/deprecated-rules.md#regex-shorthand
|
|
6349
6446
|
* @deprecated
|
|
6350
6447
|
*/
|
|
6351
6448
|
'unicorn/regex-shorthand'?: Linter.RuleEntry<[]>
|
|
6352
6449
|
/**
|
|
6353
6450
|
* Enforce consistent relative URL style.
|
|
6354
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/relative-url-style.md
|
|
6355
6452
|
*/
|
|
6356
6453
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
6357
6454
|
/**
|
|
6358
6455
|
* Enforce using the separator argument with `Array#join()`.
|
|
6359
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-array-join-separator.md
|
|
6360
6457
|
*/
|
|
6361
6458
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
6362
6459
|
/**
|
|
6363
6460
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
6364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
6365
6462
|
*/
|
|
6366
6463
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
6367
6464
|
/**
|
|
6368
6465
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
6369
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6466
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/require-post-message-target-origin.md
|
|
6370
6467
|
*/
|
|
6371
6468
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
6372
6469
|
/**
|
|
6373
6470
|
* Enforce better string content.
|
|
6374
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6471
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/string-content.md
|
|
6375
6472
|
*/
|
|
6376
6473
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
6377
6474
|
/**
|
|
6378
6475
|
* Enforce consistent brace style for `case` clauses.
|
|
6379
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6476
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/switch-case-braces.md
|
|
6380
6477
|
*/
|
|
6381
6478
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
6382
6479
|
/**
|
|
6383
6480
|
* Fix whitespace-insensitive template indentation.
|
|
6384
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6481
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/template-indent.md
|
|
6385
6482
|
*/
|
|
6386
6483
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
6387
6484
|
/**
|
|
6388
6485
|
* Enforce consistent case for text encoding identifiers.
|
|
6389
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6486
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/text-encoding-identifier-case.md
|
|
6390
6487
|
*/
|
|
6391
6488
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
6392
6489
|
/**
|
|
6393
6490
|
* Require `new` when creating an error.
|
|
6394
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.
|
|
6491
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v56.0.1/docs/rules/throw-new-error.md
|
|
6395
6492
|
*/
|
|
6396
6493
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
6397
6494
|
/**
|
|
@@ -6889,7 +6986,7 @@ interface RuleOptions {
|
|
|
6889
6986
|
* enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`
|
|
6890
6987
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attr-inheritance.html
|
|
6891
6988
|
*/
|
|
6892
|
-
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<
|
|
6989
|
+
'vue/no-duplicate-attr-inheritance'?: Linter.RuleEntry<VueNoDuplicateAttrInheritance>
|
|
6893
6990
|
/**
|
|
6894
6991
|
* disallow duplication of attributes
|
|
6895
6992
|
* @see https://eslint.vuejs.org/rules/no-duplicate-attributes.html
|
|
@@ -7333,6 +7430,11 @@ interface RuleOptions {
|
|
|
7333
7430
|
* @see https://eslint.vuejs.org/rules/prefer-true-attribute-shorthand.html
|
|
7334
7431
|
*/
|
|
7335
7432
|
'vue/prefer-true-attribute-shorthand'?: Linter.RuleEntry<VuePreferTrueAttributeShorthand>
|
|
7433
|
+
/**
|
|
7434
|
+
* require using `useTemplateRef` instead of `ref`/`shallowRef` for template refs
|
|
7435
|
+
* @see https://eslint.vuejs.org/rules/prefer-use-template-ref.html
|
|
7436
|
+
*/
|
|
7437
|
+
'vue/prefer-use-template-ref'?: Linter.RuleEntry<[]>
|
|
7336
7438
|
/**
|
|
7337
7439
|
* enforce specific casing for the Prop name in Vue components
|
|
7338
7440
|
* @see https://eslint.vuejs.org/rules/prop-name-casing.html
|
|
@@ -7443,6 +7545,11 @@ interface RuleOptions {
|
|
|
7443
7545
|
* @see https://eslint.vuejs.org/rules/require-valid-default-prop.html
|
|
7444
7546
|
*/
|
|
7445
7547
|
'vue/require-valid-default-prop'?: Linter.RuleEntry<[]>
|
|
7548
|
+
/**
|
|
7549
|
+
* enforce using only specific component names
|
|
7550
|
+
* @see https://eslint.vuejs.org/rules/restricted-component-names.html
|
|
7551
|
+
*/
|
|
7552
|
+
'vue/restricted-component-names'?: Linter.RuleEntry<VueRestrictedComponentNames>
|
|
7446
7553
|
/**
|
|
7447
7554
|
* enforce that a return statement is present in computed property
|
|
7448
7555
|
* @see https://eslint.vuejs.org/rules/return-in-computed-property.html
|
|
@@ -7469,6 +7576,11 @@ interface RuleOptions {
|
|
|
7469
7576
|
* @see https://eslint.vuejs.org/rules/singleline-html-element-content-newline.html
|
|
7470
7577
|
*/
|
|
7471
7578
|
'vue/singleline-html-element-content-newline'?: Linter.RuleEntry<VueSinglelineHtmlElementContentNewline>
|
|
7579
|
+
/**
|
|
7580
|
+
* enforce specific casing for slot names
|
|
7581
|
+
* @see https://eslint.vuejs.org/rules/slot-name-casing.html
|
|
7582
|
+
*/
|
|
7583
|
+
'vue/slot-name-casing'?: Linter.RuleEntry<VueSlotNameCasing>
|
|
7472
7584
|
/**
|
|
7473
7585
|
* enforce sort-keys in a manner that is compatible with order-in-components
|
|
7474
7586
|
* @see https://eslint.vuejs.org/rules/sort-keys.html
|
|
@@ -8120,10 +8232,10 @@ type ImportExtensions = ([]|[("always" | "ignorePackages" | "never")] | []|[("al
|
|
|
8120
8232
|
ignorePackages?: boolean
|
|
8121
8233
|
checkTypeImports?: boolean
|
|
8122
8234
|
[k: string]: unknown | undefined
|
|
8123
|
-
}] | []|[{
|
|
8124
|
-
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8125
8235
|
}] | []|[("always" | "ignorePackages" | "never")]|[("always" | "ignorePackages" | "never"), {
|
|
8126
8236
|
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8237
|
+
}] | []|[{
|
|
8238
|
+
[k: string]: ("always" | "ignorePackages" | "never")
|
|
8127
8239
|
}])
|
|
8128
8240
|
// ----- import/first -----
|
|
8129
8241
|
type ImportFirst = []|[("absolute-first" | "disable-absolute-first")]
|
|
@@ -8510,6 +8622,7 @@ type JsdocInformativeDocs = []|[{
|
|
|
8510
8622
|
}]
|
|
8511
8623
|
// ----- jsdoc/lines-before-block -----
|
|
8512
8624
|
type JsdocLinesBeforeBlock = []|[{
|
|
8625
|
+
checkBlockStarts?: boolean
|
|
8513
8626
|
excludedTags?: string[]
|
|
8514
8627
|
ignoreSameLine?: boolean
|
|
8515
8628
|
lines?: number
|
|
@@ -10104,6 +10217,9 @@ type NodeNoExtraneousImport = []|[{
|
|
|
10104
10217
|
replace: [string, string]
|
|
10105
10218
|
})[]])
|
|
10106
10219
|
resolvePaths?: string[]
|
|
10220
|
+
resolverConfig?: {
|
|
10221
|
+
[k: string]: unknown | undefined
|
|
10222
|
+
}
|
|
10107
10223
|
}]
|
|
10108
10224
|
// ----- node/no-extraneous-require -----
|
|
10109
10225
|
type NodeNoExtraneousRequire = []|[{
|
|
@@ -10125,6 +10241,9 @@ type NodeNoExtraneousRequire = []|[{
|
|
|
10125
10241
|
replace: [string, string]
|
|
10126
10242
|
})[]])
|
|
10127
10243
|
resolvePaths?: string[]
|
|
10244
|
+
resolverConfig?: {
|
|
10245
|
+
[k: string]: unknown | undefined
|
|
10246
|
+
}
|
|
10128
10247
|
tryExtensions?: string[]
|
|
10129
10248
|
}]
|
|
10130
10249
|
// ----- node/no-hide-core-modules -----
|
|
@@ -10137,6 +10256,9 @@ type NodeNoHideCoreModules = []|[{
|
|
|
10137
10256
|
type NodeNoMissingImport = []|[{
|
|
10138
10257
|
allowModules?: string[]
|
|
10139
10258
|
resolvePaths?: string[]
|
|
10259
|
+
resolverConfig?: {
|
|
10260
|
+
[k: string]: unknown | undefined
|
|
10261
|
+
}
|
|
10140
10262
|
tryExtensions?: string[]
|
|
10141
10263
|
ignoreTypeImport?: boolean
|
|
10142
10264
|
tsconfigPath?: string
|
|
@@ -10147,6 +10269,9 @@ type NodeNoMissingRequire = []|[{
|
|
|
10147
10269
|
allowModules?: string[]
|
|
10148
10270
|
tryExtensions?: string[]
|
|
10149
10271
|
resolvePaths?: string[]
|
|
10272
|
+
resolverConfig?: {
|
|
10273
|
+
[k: string]: unknown | undefined
|
|
10274
|
+
}
|
|
10150
10275
|
typescriptExtensionMap?: (unknown[][] | ("react" | "react-jsx" | "react-jsxdev" | "react-native" | "preserve"))
|
|
10151
10276
|
tsconfigPath?: string
|
|
10152
10277
|
}]
|
|
@@ -10172,6 +10297,7 @@ type NodeNoRestrictedRequire = []|[(string | {
|
|
|
10172
10297
|
// ----- node/no-sync -----
|
|
10173
10298
|
type NodeNoSync = []|[{
|
|
10174
10299
|
allowAtRootLevel?: boolean
|
|
10300
|
+
ignores?: string[]
|
|
10175
10301
|
}]
|
|
10176
10302
|
// ----- node/no-unpublished-bin -----
|
|
10177
10303
|
type NodeNoUnpublishedBin = []|[{
|
|
@@ -10213,6 +10339,9 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
10213
10339
|
replace: [string, string]
|
|
10214
10340
|
})[]])
|
|
10215
10341
|
resolvePaths?: string[]
|
|
10342
|
+
resolverConfig?: {
|
|
10343
|
+
[k: string]: unknown | undefined
|
|
10344
|
+
}
|
|
10216
10345
|
ignoreTypeImport?: boolean
|
|
10217
10346
|
ignorePrivate?: boolean
|
|
10218
10347
|
}]
|
|
@@ -10236,6 +10365,9 @@ type NodeNoUnpublishedRequire = []|[{
|
|
|
10236
10365
|
replace: [string, string]
|
|
10237
10366
|
})[]])
|
|
10238
10367
|
resolvePaths?: string[]
|
|
10368
|
+
resolverConfig?: {
|
|
10369
|
+
[k: string]: unknown | undefined
|
|
10370
|
+
}
|
|
10239
10371
|
tryExtensions?: string[]
|
|
10240
10372
|
ignorePrivate?: boolean
|
|
10241
10373
|
}]
|
|
@@ -10253,7 +10385,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
10253
10385
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
10254
10386
|
version?: string
|
|
10255
10387
|
allowExperimental?: boolean
|
|
10256
|
-
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" | "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.requestWillBeSent" | "inspector.Network.responseReceived" | "inspector.Network.loadingFinished" | "inspector.Network.loadingFailed" | "inspector.console" | "inspector.close" | "inspector.open" | "inspector.url" | "inspector.waitForDebugger" | "inspector/promises" | "inspector/promises.Session" | "inspector/promises.console" | "inspector/promises.close" | "inspector/promises.open" | "inspector/promises.url" | "inspector/promises.waitForDebugger" | "module.builtinModules" | "module.constants.compileCacheStatus" | "module.createRequire" | "module.createRequireFromPath" | "module.enableCompileCache" | "module.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.run" | "test.skip" | "test.todo" | "test.only" | "test.describe" | "test.describe.skip" | "test.describe.todo" | "test.describe.only" | "test.it" | "test.it.skip" | "test.it.todo" | "test.it.only" | "test.suite" | "test.suite.skip" | "test.suite.todo" | "test.suite.only" | "test.before" | "test.after" | "test.beforeEach" | "test.afterEach" | "test.snapshot" | "test.snapshot.setDefaultSnapshotSerializers" | "test.snapshot.setResolveSnapshotPath" | "test.MockFunctionContext" | "test.MockModuleContext" | "test.MockTracker" | "test.MockTimers" | "test.TestsStream" | "test.TestContext" | "test.SuiteContext" | "test.test.run" | "test.test.skip" | "test.test.todo" | "test.test.only" | "test.test.describe" | "test.test.it" | "test.test.suite" | "test.test.before" | "test.test.after" | "test.test.beforeEach" | "test.test.afterEach" | "test.test.snapshot" | "test.test.MockFunctionContext" | "test.test.MockModuleContext" | "test.test.MockTracker" | "test.test.MockTimers" | "test.test.TestsStream" | "test.test.TestContext" | "test.test.SuiteContext" | "timers" | "timers.Immediate" | "timers.Timeout" | "timers.setImmediate" | "timers.clearImmediate" | "timers.setInterval" | "timers.clearInterval" | "timers.setTimeout" | "timers.clearTimeout" | "timers.promises" | "timers.promises.setTimeout" | "timers.promises.setImmediate" | "timers.promises.setInterval" | "timers.promises.scheduler.wait" | "timers.promises.scheduler.yield" | "timers/promises" | "timers/promises.setTimeout" | "timers/promises.setImmediate" | "timers/promises.setInterval" | "tls" | "tls.rootCertificates" | "tls.DEFAULT_ECDH_CURVE" | "tls.DEFAULT_MAX_VERSION" | "tls.DEFAULT_MIN_VERSION" | "tls.DEFAULT_CIPHERS" | "tls.checkServerIdentity" | "tls.connect" | "tls.createSecureContext" | "tls.createSecurePair" | "tls.createServer" | "tls.getCiphers" | "tls.SecureContext" | "tls.CryptoStream" | "tls.SecurePair" | "tls.Server" | "tls.TLSSocket" | "trace_events" | "trace_events.createTracing" | "trace_events.getEnabledCategories" | "tty" | "tty.isatty" | "tty.ReadStream" | "tty.WriteStream" | "url" | "url.domainToASCII" | "url.domainToUnicode" | "url.fileURLToPath" | "url.format" | "url.pathToFileURL" | "url.urlToHttpOptions" | "url.URL" | "url.URL.canParse" | "url.URL.createObjectURL" | "url.URL.revokeObjectURL" | "url.URLSearchParams" | "url.Url" | "util.promisify" | "util.promisify.custom" | "util.callbackify" | "util.debuglog" | "util.debug" | "util.deprecate" | "util.format" | "util.formatWithOptions" | "util.getCallSite" | "util.getSystemErrorName" | "util.getSystemErrorMap" | "util.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")[]
|
|
10388
|
+
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.Network.loadingFailed" | "inspector/promises.Network.loadingFinished" | "inspector/promises.Network.requestWillBeSent" | "inspector/promises.Network.responseReceived" | "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" | "timers/promises.scheduler.wait" | "timers/promises.scheduler.yield" | "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")[]
|
|
10257
10389
|
}]
|
|
10258
10390
|
// ----- node/prefer-global/buffer -----
|
|
10259
10391
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -10394,80 +10526,106 @@ type PaddingLineBetweenStatements = {
|
|
|
10394
10526
|
next: _PaddingLineBetweenStatementsStatementType
|
|
10395
10527
|
}[]
|
|
10396
10528
|
// ----- perfectionist/sort-array-includes -----
|
|
10397
|
-
type PerfectionistSortArrayIncludes =
|
|
10529
|
+
type PerfectionistSortArrayIncludes = {
|
|
10398
10530
|
|
|
10399
|
-
|
|
10400
|
-
|
|
10401
|
-
order?: ("asc" | "desc")
|
|
10402
|
-
|
|
10403
|
-
matcher?: ("minimatch" | "regex")
|
|
10531
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10404
10532
|
|
|
10405
10533
|
ignoreCase?: boolean
|
|
10406
10534
|
|
|
10407
|
-
|
|
10408
|
-
|
|
10409
|
-
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10535
|
+
alphabet?: string
|
|
10410
10536
|
|
|
10411
|
-
|
|
10537
|
+
locales?: (string | string[])
|
|
10412
10538
|
|
|
10413
|
-
|
|
10414
|
-
}]
|
|
10415
|
-
// ----- perfectionist/sort-astro-attributes -----
|
|
10416
|
-
type PerfectionistSortAstroAttributes = []|[{
|
|
10539
|
+
order?: ("asc" | "desc")
|
|
10417
10540
|
|
|
10418
|
-
|
|
10541
|
+
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10419
10542
|
|
|
10420
|
-
|
|
10543
|
+
customGroups?: ({
|
|
10544
|
+
|
|
10545
|
+
groupName?: string
|
|
10546
|
+
|
|
10547
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10548
|
+
|
|
10549
|
+
order?: ("desc" | "asc")
|
|
10550
|
+
|
|
10551
|
+
newlinesInside?: ("always" | "never")
|
|
10552
|
+
anyOf?: {
|
|
10553
|
+
|
|
10554
|
+
selector?: ("literal" | "spread")
|
|
10555
|
+
|
|
10556
|
+
elementNamePattern?: string
|
|
10557
|
+
}[]
|
|
10558
|
+
} | {
|
|
10559
|
+
|
|
10560
|
+
groupName?: string
|
|
10561
|
+
|
|
10562
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10563
|
+
|
|
10564
|
+
order?: ("desc" | "asc")
|
|
10565
|
+
|
|
10566
|
+
newlinesInside?: ("always" | "never")
|
|
10567
|
+
|
|
10568
|
+
selector?: ("literal" | "spread")
|
|
10569
|
+
|
|
10570
|
+
elementNamePattern?: string
|
|
10571
|
+
})[]
|
|
10572
|
+
useConfigurationIf?: {
|
|
10573
|
+
allNamesMatchPattern?: string
|
|
10574
|
+
}
|
|
10421
10575
|
|
|
10422
|
-
|
|
10576
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10423
10577
|
|
|
10424
|
-
|
|
10578
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10579
|
+
block?: (string[] | boolean | string)
|
|
10580
|
+
line?: (string[] | boolean | string)
|
|
10581
|
+
[k: string]: unknown | undefined
|
|
10582
|
+
})
|
|
10425
10583
|
|
|
10426
|
-
|
|
10584
|
+
partitionByNewLine?: boolean
|
|
10427
10585
|
|
|
10428
|
-
|
|
10586
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10429
10587
|
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10433
|
-
|
|
10588
|
+
groups?: (string | string[] | {
|
|
10589
|
+
|
|
10590
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10591
|
+
[k: string]: unknown | undefined
|
|
10592
|
+
})[]
|
|
10593
|
+
}[]
|
|
10434
10594
|
// ----- perfectionist/sort-classes -----
|
|
10435
10595
|
type PerfectionistSortClasses = []|[{
|
|
10436
10596
|
|
|
10437
|
-
|
|
10438
|
-
|
|
10439
|
-
order?: ("asc" | "desc")
|
|
10440
|
-
|
|
10441
|
-
matcher?: ("minimatch" | "regex")
|
|
10597
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10442
10598
|
|
|
10443
10599
|
ignoreCase?: boolean
|
|
10444
10600
|
|
|
10445
|
-
|
|
10601
|
+
alphabet?: string
|
|
10602
|
+
|
|
10603
|
+
locales?: (string | string[])
|
|
10446
10604
|
|
|
10447
|
-
|
|
10605
|
+
order?: ("asc" | "desc")
|
|
10448
10606
|
|
|
10449
|
-
|
|
10607
|
+
ignoreCallbackDependenciesPatterns?: string[]
|
|
10450
10608
|
|
|
10451
10609
|
customGroups?: ({
|
|
10452
|
-
[k: string]: (string | string[]) | undefined
|
|
10453
|
-
} | ({
|
|
10454
10610
|
|
|
10455
10611
|
groupName?: string
|
|
10456
10612
|
|
|
10457
10613
|
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10458
10614
|
|
|
10459
10615
|
order?: ("desc" | "asc")
|
|
10616
|
+
|
|
10617
|
+
newlinesInside?: ("always" | "never")
|
|
10460
10618
|
anyOf?: {
|
|
10461
10619
|
|
|
10462
|
-
|
|
10620
|
+
decoratorNamePattern?: string
|
|
10463
10621
|
|
|
10464
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10622
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10465
10623
|
|
|
10466
|
-
|
|
10624
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10467
10625
|
|
|
10468
10626
|
elementValuePattern?: string
|
|
10469
10627
|
|
|
10470
|
-
|
|
10628
|
+
elementNamePattern?: string
|
|
10471
10629
|
}[]
|
|
10472
10630
|
} | {
|
|
10473
10631
|
|
|
@@ -10477,380 +10635,868 @@ type PerfectionistSortClasses = []|[{
|
|
|
10477
10635
|
|
|
10478
10636
|
order?: ("desc" | "asc")
|
|
10479
10637
|
|
|
10480
|
-
|
|
10638
|
+
newlinesInside?: ("always" | "never")
|
|
10639
|
+
|
|
10640
|
+
decoratorNamePattern?: string
|
|
10481
10641
|
|
|
10482
|
-
modifiers?: ("protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10642
|
+
modifiers?: ("async" | "protected" | "private" | "public" | "static" | "abstract" | "override" | "readonly" | "decorated" | "declare" | "optional")[]
|
|
10483
10643
|
|
|
10484
|
-
|
|
10644
|
+
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
10485
10645
|
|
|
10486
10646
|
elementValuePattern?: string
|
|
10487
10647
|
|
|
10488
|
-
|
|
10489
|
-
})[]
|
|
10490
|
-
}]
|
|
10491
|
-
// ----- perfectionist/sort-enums -----
|
|
10492
|
-
type PerfectionistSortEnums = []|[{
|
|
10493
|
-
|
|
10494
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10495
|
-
|
|
10496
|
-
order?: ("asc" | "desc")
|
|
10497
|
-
|
|
10498
|
-
matcher?: ("minimatch" | "regex")
|
|
10499
|
-
|
|
10500
|
-
ignoreCase?: boolean
|
|
10501
|
-
|
|
10502
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10503
|
-
|
|
10504
|
-
sortByValue?: boolean
|
|
10505
|
-
|
|
10506
|
-
forceNumericSort?: boolean
|
|
10648
|
+
elementNamePattern?: string
|
|
10649
|
+
})[]
|
|
10507
10650
|
|
|
10508
|
-
partitionByComment?: (string[] | boolean | string
|
|
10651
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10652
|
+
block?: (string[] | boolean | string)
|
|
10653
|
+
line?: (string[] | boolean | string)
|
|
10654
|
+
[k: string]: unknown | undefined
|
|
10655
|
+
})
|
|
10509
10656
|
|
|
10510
10657
|
partitionByNewLine?: boolean
|
|
10511
|
-
}]
|
|
10512
|
-
// ----- perfectionist/sort-exports -----
|
|
10513
|
-
type PerfectionistSortExports = []|[{
|
|
10514
|
-
|
|
10515
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10516
|
-
|
|
10517
|
-
order?: ("asc" | "desc")
|
|
10518
|
-
|
|
10519
|
-
matcher?: ("minimatch" | "regex")
|
|
10520
|
-
|
|
10521
|
-
ignoreCase?: boolean
|
|
10522
|
-
|
|
10523
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10524
10658
|
|
|
10525
|
-
|
|
10659
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10526
10660
|
|
|
10527
|
-
|
|
10661
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10528
10662
|
|
|
10529
|
-
|
|
10663
|
+
groups?: (string | string[] | {
|
|
10664
|
+
|
|
10665
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10666
|
+
[k: string]: unknown | undefined
|
|
10667
|
+
})[]
|
|
10530
10668
|
}]
|
|
10531
|
-
// ----- perfectionist/sort-
|
|
10532
|
-
type
|
|
10533
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10534
|
-
|
|
10535
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10536
|
-
|
|
10537
|
-
order?: ("asc" | "desc")
|
|
10538
|
-
|
|
10539
|
-
matcher?: ("minimatch" | "regex")
|
|
10540
|
-
|
|
10541
|
-
ignoreCase?: boolean
|
|
10669
|
+
// ----- perfectionist/sort-decorators -----
|
|
10670
|
+
type PerfectionistSortDecorators = []|[{
|
|
10542
10671
|
|
|
10543
10672
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10544
10673
|
|
|
10545
|
-
|
|
10546
|
-
|
|
10547
|
-
sortSideEffects?: boolean
|
|
10548
|
-
|
|
10549
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10550
|
-
|
|
10551
|
-
maxLineLength?: number
|
|
10552
|
-
|
|
10553
|
-
groups?: (string | string[])[]
|
|
10554
|
-
|
|
10555
|
-
customGroups?: {
|
|
10556
|
-
type?: {
|
|
10557
|
-
[k: string]: unknown | undefined
|
|
10558
|
-
}
|
|
10559
|
-
value?: {
|
|
10560
|
-
[k: string]: unknown | undefined
|
|
10561
|
-
}
|
|
10562
|
-
}
|
|
10674
|
+
ignoreCase?: boolean
|
|
10563
10675
|
|
|
10564
|
-
|
|
10565
|
-
})
|
|
10566
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10567
|
-
[k: string]: unknown | undefined
|
|
10568
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
10569
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
10570
|
-
type: "line-length"
|
|
10571
|
-
[k: string]: unknown | undefined
|
|
10572
|
-
}
|
|
10573
|
-
// ----- perfectionist/sort-interfaces -----
|
|
10574
|
-
type PerfectionistSortInterfaces = []|[{
|
|
10676
|
+
alphabet?: string
|
|
10575
10677
|
|
|
10576
|
-
|
|
10678
|
+
locales?: (string | string[])
|
|
10577
10679
|
|
|
10578
10680
|
order?: ("asc" | "desc")
|
|
10579
10681
|
|
|
10580
|
-
|
|
10581
|
-
|
|
10582
|
-
ignoreCase?: boolean
|
|
10583
|
-
|
|
10584
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10682
|
+
sortOnParameters?: boolean
|
|
10585
10683
|
|
|
10586
|
-
|
|
10684
|
+
sortOnProperties?: boolean
|
|
10587
10685
|
|
|
10588
|
-
|
|
10686
|
+
sortOnAccessors?: boolean
|
|
10589
10687
|
|
|
10590
|
-
|
|
10688
|
+
sortOnMethods?: boolean
|
|
10591
10689
|
|
|
10592
|
-
|
|
10690
|
+
sortOnClasses?: boolean
|
|
10593
10691
|
|
|
10594
|
-
|
|
10692
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10693
|
+
block?: (string[] | boolean | string)
|
|
10694
|
+
line?: (string[] | boolean | string)
|
|
10695
|
+
[k: string]: unknown | undefined
|
|
10696
|
+
})
|
|
10595
10697
|
|
|
10596
10698
|
customGroups?: {
|
|
10597
10699
|
[k: string]: (string | string[]) | undefined
|
|
10598
10700
|
}
|
|
10599
|
-
}]
|
|
10600
|
-
// ----- perfectionist/sort-intersection-types -----
|
|
10601
|
-
type PerfectionistSortIntersectionTypes = []|[{
|
|
10602
|
-
|
|
10603
|
-
type?: ("alphabetical" | "natural" | "line-length")
|
|
10604
10701
|
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
matcher?: ("minimatch" | "regex")
|
|
10702
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10608
10703
|
|
|
10609
|
-
|
|
10704
|
+
groups?: (string | string[] | {
|
|
10705
|
+
|
|
10706
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10707
|
+
[k: string]: unknown | undefined
|
|
10708
|
+
})[]
|
|
10709
|
+
}]
|
|
10710
|
+
// ----- perfectionist/sort-enums -----
|
|
10711
|
+
type PerfectionistSortEnums = []|[{
|
|
10610
10712
|
|
|
10611
10713
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10612
10714
|
|
|
10613
|
-
|
|
10614
|
-
|
|
10615
|
-
partitionByComment?: (string[] | boolean | string)
|
|
10715
|
+
ignoreCase?: boolean
|
|
10616
10716
|
|
|
10617
|
-
|
|
10618
|
-
}]
|
|
10619
|
-
// ----- perfectionist/sort-jsx-props -----
|
|
10620
|
-
type PerfectionistSortJsxProps = []|[{
|
|
10717
|
+
alphabet?: string
|
|
10621
10718
|
|
|
10622
|
-
|
|
10719
|
+
locales?: (string | string[])
|
|
10623
10720
|
|
|
10624
10721
|
order?: ("asc" | "desc")
|
|
10625
10722
|
|
|
10626
|
-
|
|
10627
|
-
|
|
10723
|
+
forceNumericSort?: boolean
|
|
10724
|
+
customGroups?: ({
|
|
10725
|
+
[k: string]: (string | string[]) | undefined
|
|
10726
|
+
} | ({
|
|
10727
|
+
|
|
10728
|
+
groupName?: string
|
|
10729
|
+
|
|
10730
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10731
|
+
|
|
10732
|
+
order?: ("desc" | "asc")
|
|
10733
|
+
|
|
10734
|
+
newlinesInside?: ("always" | "never")
|
|
10735
|
+
anyOf?: {
|
|
10736
|
+
|
|
10737
|
+
elementValuePattern?: string
|
|
10738
|
+
|
|
10739
|
+
elementNamePattern?: string
|
|
10740
|
+
}[]
|
|
10741
|
+
} | {
|
|
10742
|
+
|
|
10743
|
+
groupName?: string
|
|
10744
|
+
|
|
10745
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10746
|
+
|
|
10747
|
+
order?: ("desc" | "asc")
|
|
10748
|
+
|
|
10749
|
+
newlinesInside?: ("always" | "never")
|
|
10750
|
+
|
|
10751
|
+
elementValuePattern?: string
|
|
10752
|
+
|
|
10753
|
+
elementNamePattern?: string
|
|
10754
|
+
})[])
|
|
10755
|
+
|
|
10756
|
+
sortByValue?: boolean
|
|
10757
|
+
|
|
10758
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10759
|
+
block?: (string[] | boolean | string)
|
|
10760
|
+
line?: (string[] | boolean | string)
|
|
10761
|
+
[k: string]: unknown | undefined
|
|
10762
|
+
})
|
|
10763
|
+
|
|
10764
|
+
partitionByNewLine?: boolean
|
|
10765
|
+
|
|
10766
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10767
|
+
|
|
10768
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10769
|
+
|
|
10770
|
+
groups?: (string | string[] | {
|
|
10771
|
+
|
|
10772
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10773
|
+
[k: string]: unknown | undefined
|
|
10774
|
+
})[]
|
|
10775
|
+
}]
|
|
10776
|
+
// ----- perfectionist/sort-exports -----
|
|
10777
|
+
type PerfectionistSortExports = []|[{
|
|
10778
|
+
|
|
10779
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10780
|
+
|
|
10628
10781
|
ignoreCase?: boolean
|
|
10629
10782
|
|
|
10783
|
+
alphabet?: string
|
|
10784
|
+
|
|
10785
|
+
locales?: (string | string[])
|
|
10786
|
+
|
|
10787
|
+
order?: ("asc" | "desc")
|
|
10788
|
+
|
|
10789
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10790
|
+
|
|
10791
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10792
|
+
block?: (string[] | boolean | string)
|
|
10793
|
+
line?: (string[] | boolean | string)
|
|
10794
|
+
[k: string]: unknown | undefined
|
|
10795
|
+
})
|
|
10796
|
+
|
|
10797
|
+
partitionByNewLine?: boolean
|
|
10798
|
+
|
|
10799
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10800
|
+
}]
|
|
10801
|
+
// ----- perfectionist/sort-heritage-clauses -----
|
|
10802
|
+
type PerfectionistSortHeritageClauses = []|[{
|
|
10803
|
+
|
|
10630
10804
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10631
10805
|
|
|
10632
|
-
|
|
10806
|
+
ignoreCase?: boolean
|
|
10807
|
+
|
|
10808
|
+
alphabet?: string
|
|
10633
10809
|
|
|
10634
|
-
|
|
10810
|
+
locales?: (string | string[])
|
|
10811
|
+
|
|
10812
|
+
order?: ("asc" | "desc")
|
|
10635
10813
|
|
|
10636
10814
|
customGroups?: {
|
|
10637
10815
|
[k: string]: (string | string[]) | undefined
|
|
10638
10816
|
}
|
|
10817
|
+
|
|
10818
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10819
|
+
|
|
10820
|
+
groups?: (string | string[] | {
|
|
10821
|
+
|
|
10822
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10823
|
+
[k: string]: unknown | undefined
|
|
10824
|
+
})[]
|
|
10639
10825
|
}]
|
|
10640
|
-
// ----- perfectionist/sort-
|
|
10641
|
-
type
|
|
10826
|
+
// ----- perfectionist/sort-imports -----
|
|
10827
|
+
type PerfectionistSortImports = []|[_PerfectionistSortImportsSortImports]
|
|
10828
|
+
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
10829
|
+
|
|
10830
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10831
|
+
|
|
10832
|
+
ignoreCase?: boolean
|
|
10642
10833
|
|
|
10643
|
-
|
|
10834
|
+
alphabet?: string
|
|
10835
|
+
|
|
10836
|
+
locales?: (string | string[])
|
|
10644
10837
|
|
|
10645
10838
|
order?: ("asc" | "desc")
|
|
10646
10839
|
|
|
10647
|
-
|
|
10840
|
+
customGroups?: {
|
|
10841
|
+
|
|
10842
|
+
value?: {
|
|
10843
|
+
[k: string]: unknown | undefined
|
|
10844
|
+
}
|
|
10845
|
+
|
|
10846
|
+
type?: {
|
|
10847
|
+
[k: string]: unknown | undefined
|
|
10848
|
+
}
|
|
10849
|
+
}
|
|
10850
|
+
|
|
10851
|
+
internalPattern?: string[]
|
|
10852
|
+
|
|
10853
|
+
maxLineLength?: number
|
|
10854
|
+
|
|
10855
|
+
sortSideEffects?: boolean
|
|
10856
|
+
|
|
10857
|
+
environment?: ("node" | "bun")
|
|
10858
|
+
|
|
10859
|
+
tsconfigRootDir?: string
|
|
10860
|
+
|
|
10861
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10862
|
+
block?: (string[] | boolean | string)
|
|
10863
|
+
line?: (string[] | boolean | string)
|
|
10864
|
+
[k: string]: unknown | undefined
|
|
10865
|
+
})
|
|
10866
|
+
|
|
10867
|
+
partitionByNewLine?: boolean
|
|
10868
|
+
|
|
10869
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10870
|
+
|
|
10871
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10872
|
+
|
|
10873
|
+
groups?: (string | string[] | {
|
|
10874
|
+
|
|
10875
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10876
|
+
[k: string]: unknown | undefined
|
|
10877
|
+
})[]
|
|
10878
|
+
})
|
|
10879
|
+
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
10880
|
+
[k: string]: unknown | undefined
|
|
10881
|
+
} | _PerfectionistSortImports_IsLineLength)
|
|
10882
|
+
interface _PerfectionistSortImports_IsLineLength {
|
|
10883
|
+
type: "line-length"
|
|
10884
|
+
[k: string]: unknown | undefined
|
|
10885
|
+
}
|
|
10886
|
+
// ----- perfectionist/sort-interfaces -----
|
|
10887
|
+
type PerfectionistSortInterfaces = {
|
|
10888
|
+
|
|
10889
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10648
10890
|
|
|
10649
10891
|
ignoreCase?: boolean
|
|
10650
10892
|
|
|
10893
|
+
alphabet?: string
|
|
10894
|
+
|
|
10895
|
+
locales?: (string | string[])
|
|
10896
|
+
|
|
10897
|
+
order?: ("asc" | "desc")
|
|
10898
|
+
|
|
10899
|
+
ignorePattern?: string[]
|
|
10900
|
+
useConfigurationIf?: {
|
|
10901
|
+
allNamesMatchPattern?: string
|
|
10902
|
+
declarationMatchesPattern?: string
|
|
10903
|
+
}
|
|
10904
|
+
customGroups?: ({
|
|
10905
|
+
[k: string]: (string | string[]) | undefined
|
|
10906
|
+
} | ({
|
|
10907
|
+
|
|
10908
|
+
groupName?: string
|
|
10909
|
+
|
|
10910
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10911
|
+
|
|
10912
|
+
order?: ("desc" | "asc")
|
|
10913
|
+
|
|
10914
|
+
newlinesInside?: ("always" | "never")
|
|
10915
|
+
anyOf?: {
|
|
10916
|
+
|
|
10917
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10918
|
+
|
|
10919
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10920
|
+
|
|
10921
|
+
elementNamePattern?: string
|
|
10922
|
+
}[]
|
|
10923
|
+
} | {
|
|
10924
|
+
|
|
10925
|
+
groupName?: string
|
|
10926
|
+
|
|
10927
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
10928
|
+
|
|
10929
|
+
order?: ("desc" | "asc")
|
|
10930
|
+
|
|
10931
|
+
newlinesInside?: ("always" | "never")
|
|
10932
|
+
|
|
10933
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
10934
|
+
|
|
10935
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
10936
|
+
|
|
10937
|
+
elementNamePattern?: string
|
|
10938
|
+
})[])
|
|
10939
|
+
|
|
10940
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10941
|
+
|
|
10942
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10943
|
+
|
|
10944
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10945
|
+
block?: (string[] | boolean | string)
|
|
10946
|
+
line?: (string[] | boolean | string)
|
|
10947
|
+
[k: string]: unknown | undefined
|
|
10948
|
+
})
|
|
10949
|
+
|
|
10950
|
+
partitionByNewLine?: boolean
|
|
10951
|
+
|
|
10952
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10953
|
+
|
|
10954
|
+
groups?: (string | string[] | {
|
|
10955
|
+
|
|
10956
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10957
|
+
[k: string]: unknown | undefined
|
|
10958
|
+
})[]
|
|
10959
|
+
}[]
|
|
10960
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
10961
|
+
type PerfectionistSortIntersectionTypes = []|[{
|
|
10962
|
+
|
|
10651
10963
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10652
10964
|
|
|
10653
|
-
|
|
10965
|
+
ignoreCase?: boolean
|
|
10966
|
+
|
|
10967
|
+
alphabet?: string
|
|
10968
|
+
|
|
10969
|
+
locales?: (string | string[])
|
|
10970
|
+
|
|
10971
|
+
order?: ("asc" | "desc")
|
|
10972
|
+
|
|
10973
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
10974
|
+
block?: (string[] | boolean | string)
|
|
10975
|
+
line?: (string[] | boolean | string)
|
|
10976
|
+
[k: string]: unknown | undefined
|
|
10977
|
+
})
|
|
10654
10978
|
|
|
10655
10979
|
partitionByNewLine?: boolean
|
|
10980
|
+
|
|
10981
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10982
|
+
|
|
10983
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10984
|
+
|
|
10985
|
+
groups?: (string | string[] | {
|
|
10986
|
+
|
|
10987
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10988
|
+
[k: string]: unknown | undefined
|
|
10989
|
+
})[]
|
|
10656
10990
|
}]
|
|
10657
|
-
// ----- perfectionist/sort-
|
|
10658
|
-
type
|
|
10991
|
+
// ----- perfectionist/sort-jsx-props -----
|
|
10992
|
+
type PerfectionistSortJsxProps = []|[{
|
|
10993
|
+
|
|
10994
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10995
|
+
|
|
10996
|
+
ignoreCase?: boolean
|
|
10997
|
+
|
|
10998
|
+
alphabet?: string
|
|
10659
10999
|
|
|
10660
|
-
|
|
11000
|
+
locales?: (string | string[])
|
|
10661
11001
|
|
|
10662
11002
|
order?: ("asc" | "desc")
|
|
10663
11003
|
|
|
10664
|
-
|
|
11004
|
+
ignorePattern?: string[]
|
|
11005
|
+
|
|
11006
|
+
partitionByNewLine?: boolean
|
|
11007
|
+
|
|
11008
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11009
|
+
|
|
11010
|
+
customGroups?: {
|
|
11011
|
+
[k: string]: (string | string[]) | undefined
|
|
11012
|
+
}
|
|
11013
|
+
|
|
11014
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11015
|
+
|
|
11016
|
+
groups?: (string | string[] | {
|
|
11017
|
+
|
|
11018
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11019
|
+
[k: string]: unknown | undefined
|
|
11020
|
+
})[]
|
|
11021
|
+
}]
|
|
11022
|
+
// ----- perfectionist/sort-maps -----
|
|
11023
|
+
type PerfectionistSortMaps = {
|
|
11024
|
+
|
|
11025
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11026
|
+
|
|
11027
|
+
ignoreCase?: boolean
|
|
11028
|
+
|
|
11029
|
+
alphabet?: string
|
|
11030
|
+
|
|
11031
|
+
locales?: (string | string[])
|
|
11032
|
+
|
|
11033
|
+
order?: ("asc" | "desc")
|
|
11034
|
+
|
|
11035
|
+
customGroups?: ({
|
|
11036
|
+
|
|
11037
|
+
groupName?: string
|
|
11038
|
+
|
|
11039
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11040
|
+
|
|
11041
|
+
order?: ("desc" | "asc")
|
|
11042
|
+
|
|
11043
|
+
newlinesInside?: ("always" | "never")
|
|
11044
|
+
anyOf?: {
|
|
11045
|
+
|
|
11046
|
+
elementNamePattern?: string
|
|
11047
|
+
}[]
|
|
11048
|
+
} | {
|
|
11049
|
+
|
|
11050
|
+
groupName?: string
|
|
11051
|
+
|
|
11052
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11053
|
+
|
|
11054
|
+
order?: ("desc" | "asc")
|
|
11055
|
+
|
|
11056
|
+
newlinesInside?: ("always" | "never")
|
|
11057
|
+
|
|
11058
|
+
elementNamePattern?: string
|
|
11059
|
+
})[]
|
|
11060
|
+
useConfigurationIf?: {
|
|
11061
|
+
allNamesMatchPattern?: string
|
|
11062
|
+
}
|
|
11063
|
+
|
|
11064
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11065
|
+
block?: (string[] | boolean | string)
|
|
11066
|
+
line?: (string[] | boolean | string)
|
|
11067
|
+
[k: string]: unknown | undefined
|
|
11068
|
+
})
|
|
11069
|
+
|
|
11070
|
+
partitionByNewLine?: boolean
|
|
11071
|
+
|
|
11072
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11073
|
+
|
|
11074
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11075
|
+
|
|
11076
|
+
groups?: (string | string[] | {
|
|
11077
|
+
|
|
11078
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11079
|
+
[k: string]: unknown | undefined
|
|
11080
|
+
})[]
|
|
11081
|
+
}[]
|
|
11082
|
+
// ----- perfectionist/sort-modules -----
|
|
11083
|
+
type PerfectionistSortModules = []|[{
|
|
11084
|
+
|
|
11085
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10665
11086
|
|
|
10666
11087
|
ignoreCase?: boolean
|
|
10667
11088
|
|
|
11089
|
+
alphabet?: string
|
|
11090
|
+
|
|
11091
|
+
locales?: (string | string[])
|
|
11092
|
+
|
|
11093
|
+
order?: ("asc" | "desc")
|
|
11094
|
+
|
|
11095
|
+
customGroups?: ({
|
|
11096
|
+
|
|
11097
|
+
groupName?: string
|
|
11098
|
+
|
|
11099
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11100
|
+
|
|
11101
|
+
order?: ("desc" | "asc")
|
|
11102
|
+
|
|
11103
|
+
newlinesInside?: ("always" | "never")
|
|
11104
|
+
anyOf?: {
|
|
11105
|
+
|
|
11106
|
+
decoratorNamePattern?: string
|
|
11107
|
+
|
|
11108
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11109
|
+
|
|
11110
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
11111
|
+
|
|
11112
|
+
elementNamePattern?: string
|
|
11113
|
+
}[]
|
|
11114
|
+
} | {
|
|
11115
|
+
|
|
11116
|
+
groupName?: string
|
|
11117
|
+
|
|
11118
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11119
|
+
|
|
11120
|
+
order?: ("desc" | "asc")
|
|
11121
|
+
|
|
11122
|
+
newlinesInside?: ("always" | "never")
|
|
11123
|
+
|
|
11124
|
+
decoratorNamePattern?: string
|
|
11125
|
+
|
|
11126
|
+
modifiers?: ("async" | "declare" | "decorated" | "default" | "export")[]
|
|
11127
|
+
|
|
11128
|
+
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
11129
|
+
|
|
11130
|
+
elementNamePattern?: string
|
|
11131
|
+
})[]
|
|
11132
|
+
|
|
11133
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11134
|
+
block?: (string[] | boolean | string)
|
|
11135
|
+
line?: (string[] | boolean | string)
|
|
11136
|
+
[k: string]: unknown | undefined
|
|
11137
|
+
})
|
|
11138
|
+
|
|
11139
|
+
partitionByNewLine?: boolean
|
|
11140
|
+
|
|
11141
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11142
|
+
|
|
11143
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11144
|
+
|
|
11145
|
+
groups?: (string | string[] | {
|
|
11146
|
+
|
|
11147
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11148
|
+
[k: string]: unknown | undefined
|
|
11149
|
+
})[]
|
|
11150
|
+
}]
|
|
11151
|
+
// ----- perfectionist/sort-named-exports -----
|
|
11152
|
+
type PerfectionistSortNamedExports = []|[{
|
|
11153
|
+
|
|
10668
11154
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10669
11155
|
|
|
11156
|
+
ignoreCase?: boolean
|
|
11157
|
+
|
|
11158
|
+
alphabet?: string
|
|
11159
|
+
|
|
11160
|
+
locales?: (string | string[])
|
|
11161
|
+
|
|
11162
|
+
order?: ("asc" | "desc")
|
|
11163
|
+
|
|
10670
11164
|
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
10671
11165
|
|
|
10672
|
-
|
|
11166
|
+
ignoreAlias?: boolean
|
|
11167
|
+
|
|
11168
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11169
|
+
block?: (string[] | boolean | string)
|
|
11170
|
+
line?: (string[] | boolean | string)
|
|
11171
|
+
[k: string]: unknown | undefined
|
|
11172
|
+
})
|
|
10673
11173
|
|
|
10674
11174
|
partitionByNewLine?: boolean
|
|
11175
|
+
|
|
11176
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10675
11177
|
}]
|
|
10676
11178
|
// ----- perfectionist/sort-named-imports -----
|
|
10677
11179
|
type PerfectionistSortNamedImports = []|[{
|
|
10678
11180
|
|
|
10679
|
-
|
|
11181
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11182
|
+
|
|
11183
|
+
ignoreCase?: boolean
|
|
11184
|
+
|
|
11185
|
+
alphabet?: string
|
|
11186
|
+
|
|
11187
|
+
locales?: (string | string[])
|
|
10680
11188
|
|
|
10681
11189
|
order?: ("asc" | "desc")
|
|
10682
11190
|
|
|
10683
|
-
|
|
11191
|
+
groupKind?: ("mixed" | "values-first" | "types-first")
|
|
11192
|
+
|
|
11193
|
+
ignoreAlias?: boolean
|
|
10684
11194
|
|
|
10685
|
-
|
|
11195
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11196
|
+
block?: (string[] | boolean | string)
|
|
11197
|
+
line?: (string[] | boolean | string)
|
|
11198
|
+
[k: string]: unknown | undefined
|
|
11199
|
+
})
|
|
11200
|
+
|
|
11201
|
+
partitionByNewLine?: boolean
|
|
11202
|
+
|
|
11203
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
11204
|
+
}]
|
|
11205
|
+
// ----- perfectionist/sort-object-types -----
|
|
11206
|
+
type PerfectionistSortObjectTypes = {
|
|
10686
11207
|
|
|
10687
11208
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10688
11209
|
|
|
10689
|
-
|
|
11210
|
+
ignoreCase?: boolean
|
|
11211
|
+
|
|
11212
|
+
alphabet?: string
|
|
11213
|
+
|
|
11214
|
+
locales?: (string | string[])
|
|
11215
|
+
|
|
11216
|
+
order?: ("asc" | "desc")
|
|
11217
|
+
|
|
11218
|
+
ignorePattern?: string[]
|
|
11219
|
+
useConfigurationIf?: {
|
|
11220
|
+
allNamesMatchPattern?: string
|
|
11221
|
+
declarationMatchesPattern?: string
|
|
11222
|
+
}
|
|
11223
|
+
customGroups?: ({
|
|
11224
|
+
[k: string]: (string | string[]) | undefined
|
|
11225
|
+
} | ({
|
|
11226
|
+
|
|
11227
|
+
groupName?: string
|
|
11228
|
+
|
|
11229
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11230
|
+
|
|
11231
|
+
order?: ("desc" | "asc")
|
|
11232
|
+
|
|
11233
|
+
newlinesInside?: ("always" | "never")
|
|
11234
|
+
anyOf?: {
|
|
11235
|
+
|
|
11236
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11237
|
+
|
|
11238
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11239
|
+
|
|
11240
|
+
elementNamePattern?: string
|
|
11241
|
+
}[]
|
|
11242
|
+
} | {
|
|
11243
|
+
|
|
11244
|
+
groupName?: string
|
|
11245
|
+
|
|
11246
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11247
|
+
|
|
11248
|
+
order?: ("desc" | "asc")
|
|
11249
|
+
|
|
11250
|
+
newlinesInside?: ("always" | "never")
|
|
11251
|
+
|
|
11252
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11253
|
+
|
|
11254
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
11255
|
+
|
|
11256
|
+
elementNamePattern?: string
|
|
11257
|
+
})[])
|
|
11258
|
+
|
|
11259
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
10690
11260
|
|
|
10691
|
-
|
|
11261
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10692
11262
|
|
|
10693
|
-
partitionByComment?: (string[] | boolean | string
|
|
11263
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11264
|
+
block?: (string[] | boolean | string)
|
|
11265
|
+
line?: (string[] | boolean | string)
|
|
11266
|
+
[k: string]: unknown | undefined
|
|
11267
|
+
})
|
|
10694
11268
|
|
|
10695
11269
|
partitionByNewLine?: boolean
|
|
10696
|
-
}]
|
|
10697
|
-
// ----- perfectionist/sort-object-types -----
|
|
10698
|
-
type PerfectionistSortObjectTypes = []|[{
|
|
10699
11270
|
|
|
10700
|
-
|
|
11271
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10701
11272
|
|
|
10702
|
-
|
|
11273
|
+
groups?: (string | string[] | {
|
|
11274
|
+
|
|
11275
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11276
|
+
[k: string]: unknown | undefined
|
|
11277
|
+
})[]
|
|
11278
|
+
}[]
|
|
11279
|
+
// ----- perfectionist/sort-objects -----
|
|
11280
|
+
type PerfectionistSortObjects = {
|
|
10703
11281
|
|
|
10704
|
-
|
|
11282
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10705
11283
|
|
|
10706
11284
|
ignoreCase?: boolean
|
|
10707
11285
|
|
|
10708
|
-
|
|
10709
|
-
|
|
10710
|
-
partitionByComment?: (string[] | boolean | string)
|
|
11286
|
+
alphabet?: string
|
|
10711
11287
|
|
|
10712
|
-
|
|
11288
|
+
locales?: (string | string[])
|
|
10713
11289
|
|
|
10714
|
-
|
|
11290
|
+
order?: ("asc" | "desc")
|
|
10715
11291
|
|
|
10716
|
-
|
|
11292
|
+
destructuredObjects?: (boolean | {
|
|
11293
|
+
|
|
11294
|
+
groups?: boolean
|
|
11295
|
+
})
|
|
10717
11296
|
|
|
10718
|
-
|
|
10719
|
-
|
|
11297
|
+
ignorePattern?: string[]
|
|
11298
|
+
useConfigurationIf?: {
|
|
11299
|
+
allNamesMatchPattern?: string
|
|
11300
|
+
callingFunctionNamePattern?: string
|
|
10720
11301
|
}
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
11302
|
+
customGroups?: ({
|
|
11303
|
+
[k: string]: (string | string[]) | undefined
|
|
11304
|
+
} | ({
|
|
11305
|
+
|
|
11306
|
+
groupName?: string
|
|
11307
|
+
|
|
11308
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11309
|
+
|
|
11310
|
+
order?: ("desc" | "asc")
|
|
11311
|
+
|
|
11312
|
+
newlinesInside?: ("always" | "never")
|
|
11313
|
+
anyOf?: {
|
|
11314
|
+
|
|
11315
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11316
|
+
|
|
11317
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
11318
|
+
|
|
11319
|
+
elementValuePattern?: string
|
|
11320
|
+
|
|
11321
|
+
elementNamePattern?: string
|
|
11322
|
+
}[]
|
|
11323
|
+
} | {
|
|
11324
|
+
|
|
11325
|
+
groupName?: string
|
|
11326
|
+
|
|
11327
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11328
|
+
|
|
11329
|
+
order?: ("desc" | "asc")
|
|
11330
|
+
|
|
11331
|
+
newlinesInside?: ("always" | "never")
|
|
11332
|
+
|
|
11333
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
11334
|
+
|
|
11335
|
+
selector?: ("member" | "method" | "multiline" | "property")
|
|
11336
|
+
|
|
11337
|
+
elementValuePattern?: string
|
|
11338
|
+
|
|
11339
|
+
elementNamePattern?: string
|
|
11340
|
+
})[])
|
|
10726
11341
|
|
|
10727
|
-
|
|
11342
|
+
destructureOnly?: boolean
|
|
10728
11343
|
|
|
10729
|
-
|
|
11344
|
+
objectDeclarations?: boolean
|
|
10730
11345
|
|
|
10731
|
-
|
|
11346
|
+
styledComponents?: boolean
|
|
10732
11347
|
|
|
10733
|
-
|
|
11348
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10734
11349
|
|
|
10735
|
-
partitionByComment?: (string[] | boolean | string
|
|
11350
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11351
|
+
block?: (string[] | boolean | string)
|
|
11352
|
+
line?: (string[] | boolean | string)
|
|
11353
|
+
[k: string]: unknown | undefined
|
|
11354
|
+
})
|
|
10736
11355
|
|
|
10737
11356
|
partitionByNewLine?: boolean
|
|
10738
11357
|
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
destructureOnly?: boolean
|
|
10742
|
-
|
|
10743
|
-
ignorePattern?: string[]
|
|
10744
|
-
|
|
10745
|
-
groups?: (string | string[])[]
|
|
11358
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10746
11359
|
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
11360
|
+
groups?: (string | string[] | {
|
|
11361
|
+
|
|
11362
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11363
|
+
[k: string]: unknown | undefined
|
|
11364
|
+
})[]
|
|
11365
|
+
}[]
|
|
10751
11366
|
// ----- perfectionist/sort-sets -----
|
|
10752
|
-
type PerfectionistSortSets =
|
|
11367
|
+
type PerfectionistSortSets = {
|
|
10753
11368
|
|
|
10754
|
-
|
|
11369
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10755
11370
|
|
|
10756
|
-
|
|
11371
|
+
ignoreCase?: boolean
|
|
10757
11372
|
|
|
10758
|
-
|
|
11373
|
+
alphabet?: string
|
|
10759
11374
|
|
|
10760
|
-
|
|
11375
|
+
locales?: (string | string[])
|
|
10761
11376
|
|
|
10762
|
-
|
|
11377
|
+
order?: ("asc" | "desc")
|
|
10763
11378
|
|
|
10764
11379
|
groupKind?: ("mixed" | "literals-first" | "spreads-first")
|
|
10765
11380
|
|
|
10766
|
-
|
|
11381
|
+
customGroups?: ({
|
|
11382
|
+
|
|
11383
|
+
groupName?: string
|
|
11384
|
+
|
|
11385
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11386
|
+
|
|
11387
|
+
order?: ("desc" | "asc")
|
|
11388
|
+
|
|
11389
|
+
newlinesInside?: ("always" | "never")
|
|
11390
|
+
anyOf?: {
|
|
11391
|
+
|
|
11392
|
+
selector?: ("literal" | "spread")
|
|
11393
|
+
|
|
11394
|
+
elementNamePattern?: string
|
|
11395
|
+
}[]
|
|
11396
|
+
} | {
|
|
11397
|
+
|
|
11398
|
+
groupName?: string
|
|
11399
|
+
|
|
11400
|
+
type?: ("alphabetical" | "line-length" | "natural" | "unsorted")
|
|
11401
|
+
|
|
11402
|
+
order?: ("desc" | "asc")
|
|
11403
|
+
|
|
11404
|
+
newlinesInside?: ("always" | "never")
|
|
11405
|
+
|
|
11406
|
+
selector?: ("literal" | "spread")
|
|
11407
|
+
|
|
11408
|
+
elementNamePattern?: string
|
|
11409
|
+
})[]
|
|
11410
|
+
useConfigurationIf?: {
|
|
11411
|
+
allNamesMatchPattern?: string
|
|
11412
|
+
}
|
|
10767
11413
|
|
|
10768
|
-
|
|
10769
|
-
}]
|
|
10770
|
-
// ----- perfectionist/sort-svelte-attributes -----
|
|
10771
|
-
type PerfectionistSortSvelteAttributes = []|[{
|
|
11414
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
10772
11415
|
|
|
10773
|
-
|
|
11416
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11417
|
+
block?: (string[] | boolean | string)
|
|
11418
|
+
line?: (string[] | boolean | string)
|
|
11419
|
+
[k: string]: unknown | undefined
|
|
11420
|
+
})
|
|
10774
11421
|
|
|
10775
|
-
|
|
11422
|
+
partitionByNewLine?: boolean
|
|
10776
11423
|
|
|
10777
|
-
|
|
11424
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10778
11425
|
|
|
10779
|
-
|
|
11426
|
+
groups?: (string | string[] | {
|
|
11427
|
+
|
|
11428
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11429
|
+
[k: string]: unknown | undefined
|
|
11430
|
+
})[]
|
|
11431
|
+
}[]
|
|
11432
|
+
// ----- perfectionist/sort-switch-case -----
|
|
11433
|
+
type PerfectionistSortSwitchCase = []|[{
|
|
10780
11434
|
|
|
10781
11435
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10782
11436
|
|
|
10783
|
-
|
|
11437
|
+
ignoreCase?: boolean
|
|
10784
11438
|
|
|
10785
|
-
|
|
10786
|
-
[k: string]: (string | string[]) | undefined
|
|
10787
|
-
}
|
|
10788
|
-
}]
|
|
10789
|
-
// ----- perfectionist/sort-switch-case -----
|
|
10790
|
-
type PerfectionistSortSwitchCase = []|[{
|
|
11439
|
+
alphabet?: string
|
|
10791
11440
|
|
|
10792
|
-
|
|
11441
|
+
locales?: (string | string[])
|
|
10793
11442
|
|
|
10794
11443
|
order?: ("asc" | "desc")
|
|
10795
11444
|
|
|
10796
|
-
|
|
10797
|
-
|
|
10798
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
11445
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10799
11446
|
}]
|
|
10800
11447
|
// ----- perfectionist/sort-union-types -----
|
|
10801
11448
|
type PerfectionistSortUnionTypes = []|[{
|
|
10802
11449
|
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
order?: ("asc" | "desc")
|
|
10806
|
-
|
|
10807
|
-
matcher?: ("minimatch" | "regex")
|
|
11450
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10808
11451
|
|
|
10809
11452
|
ignoreCase?: boolean
|
|
10810
11453
|
|
|
10811
|
-
|
|
11454
|
+
alphabet?: string
|
|
10812
11455
|
|
|
10813
|
-
|
|
11456
|
+
locales?: (string | string[])
|
|
10814
11457
|
|
|
10815
|
-
|
|
11458
|
+
order?: ("asc" | "desc")
|
|
10816
11459
|
|
|
10817
|
-
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
|
|
11460
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11461
|
+
block?: (string[] | boolean | string)
|
|
11462
|
+
line?: (string[] | boolean | string)
|
|
11463
|
+
[k: string]: unknown | undefined
|
|
11464
|
+
})
|
|
10821
11465
|
|
|
10822
|
-
|
|
11466
|
+
partitionByNewLine?: boolean
|
|
10823
11467
|
|
|
10824
|
-
|
|
11468
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
10825
11469
|
|
|
10826
|
-
|
|
11470
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10827
11471
|
|
|
10828
|
-
|
|
11472
|
+
groups?: (string | string[] | {
|
|
11473
|
+
|
|
11474
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
11475
|
+
[k: string]: unknown | undefined
|
|
11476
|
+
})[]
|
|
11477
|
+
}]
|
|
11478
|
+
// ----- perfectionist/sort-variable-declarations -----
|
|
11479
|
+
type PerfectionistSortVariableDeclarations = []|[{
|
|
10829
11480
|
|
|
10830
11481
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
10831
11482
|
|
|
10832
|
-
|
|
11483
|
+
ignoreCase?: boolean
|
|
10833
11484
|
|
|
10834
|
-
|
|
10835
|
-
}]
|
|
10836
|
-
// ----- perfectionist/sort-vue-attributes -----
|
|
10837
|
-
type PerfectionistSortVueAttributes = []|[{
|
|
11485
|
+
alphabet?: string
|
|
10838
11486
|
|
|
10839
|
-
|
|
11487
|
+
locales?: (string | string[])
|
|
10840
11488
|
|
|
10841
11489
|
order?: ("asc" | "desc")
|
|
10842
11490
|
|
|
10843
|
-
|
|
10844
|
-
|
|
10845
|
-
|
|
10846
|
-
|
|
10847
|
-
|
|
11491
|
+
partitionByComment?: (string[] | boolean | string | {
|
|
11492
|
+
block?: (string[] | boolean | string)
|
|
11493
|
+
line?: (string[] | boolean | string)
|
|
11494
|
+
[k: string]: unknown | undefined
|
|
11495
|
+
})
|
|
10848
11496
|
|
|
10849
|
-
|
|
11497
|
+
partitionByNewLine?: boolean
|
|
10850
11498
|
|
|
10851
|
-
|
|
10852
|
-
[k: string]: (string | string[]) | undefined
|
|
10853
|
-
}
|
|
11499
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom")
|
|
10854
11500
|
}]
|
|
10855
11501
|
// ----- prefer-arrow-callback -----
|
|
10856
11502
|
type PreferArrowCallback = []|[{
|
|
@@ -10915,6 +11561,11 @@ type Quotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "b
|
|
|
10915
11561
|
})]
|
|
10916
11562
|
// ----- radix -----
|
|
10917
11563
|
type Radix = []|[("always" | "as-needed")]
|
|
11564
|
+
// ----- react-dom/no-unknown-property -----
|
|
11565
|
+
type ReactDomNoUnknownProperty = []|[{
|
|
11566
|
+
ignore?: string[]
|
|
11567
|
+
requireDataLowercase?: boolean
|
|
11568
|
+
}]
|
|
10918
11569
|
// ----- react-hooks/exhaustive-deps -----
|
|
10919
11570
|
type ReactHooksExhaustiveDeps = []|[{
|
|
10920
11571
|
additionalHooks?: string
|
|
@@ -10938,12 +11589,14 @@ type ReactNamingConventionFilename = []|[(("PascalCase" | "camelCase" | "kebab-c
|
|
|
10938
11589
|
type ReactNamingConventionFilenameExtension = []|[(("always" | "as-needed") | {
|
|
10939
11590
|
allow?: ("always" | "as-needed")
|
|
10940
11591
|
extensions?: string[]
|
|
11592
|
+
ignoreFilesWithoutCode?: boolean
|
|
10941
11593
|
})]
|
|
10942
11594
|
// ----- react-refresh/only-export-components -----
|
|
10943
11595
|
type ReactRefreshOnlyExportComponents = []|[{
|
|
11596
|
+
allowExportNames?: string[]
|
|
10944
11597
|
allowConstantExport?: boolean
|
|
11598
|
+
customHOCs?: string[]
|
|
10945
11599
|
checkJS?: boolean
|
|
10946
|
-
allowExportNames?: string[]
|
|
10947
11600
|
}]
|
|
10948
11601
|
// ----- react/no-useless-fragment -----
|
|
10949
11602
|
type ReactNoUselessFragment = []|[{
|
|
@@ -11163,6 +11816,7 @@ type SortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
|
11163
11816
|
natural?: boolean
|
|
11164
11817
|
minKeys?: number
|
|
11165
11818
|
allowLineSeparatedGroups?: boolean
|
|
11819
|
+
ignoreComputedKeys?: boolean
|
|
11166
11820
|
}]
|
|
11167
11821
|
// ----- sort-vars -----
|
|
11168
11822
|
type SortVars = []|[{
|
|
@@ -11255,6 +11909,8 @@ type StyleCommaDangle = []|[(_StyleCommaDangleValue | {
|
|
|
11255
11909
|
imports?: _StyleCommaDangleValueWithIgnore
|
|
11256
11910
|
exports?: _StyleCommaDangleValueWithIgnore
|
|
11257
11911
|
functions?: _StyleCommaDangleValueWithIgnore
|
|
11912
|
+
importAttributes?: _StyleCommaDangleValueWithIgnore
|
|
11913
|
+
dynamicImports?: _StyleCommaDangleValueWithIgnore
|
|
11258
11914
|
enums?: _StyleCommaDangleValueWithIgnore
|
|
11259
11915
|
generics?: _StyleCommaDangleValueWithIgnore
|
|
11260
11916
|
tuples?: _StyleCommaDangleValueWithIgnore
|
|
@@ -11404,12 +12060,20 @@ type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
|
|
|
11404
12060
|
// ----- style/func-call-spacing -----
|
|
11405
12061
|
type StyleFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11406
12062
|
allowNewlines?: boolean
|
|
12063
|
+
optionalChain?: {
|
|
12064
|
+
before?: boolean
|
|
12065
|
+
after?: boolean
|
|
12066
|
+
}
|
|
11407
12067
|
}])
|
|
11408
12068
|
// ----- style/function-call-argument-newline -----
|
|
11409
12069
|
type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
|
|
11410
12070
|
// ----- style/function-call-spacing -----
|
|
11411
12071
|
type StyleFunctionCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
11412
12072
|
allowNewlines?: boolean
|
|
12073
|
+
optionalChain?: {
|
|
12074
|
+
before?: boolean
|
|
12075
|
+
after?: boolean
|
|
12076
|
+
}
|
|
11413
12077
|
}])
|
|
11414
12078
|
// ----- style/function-paren-newline -----
|
|
11415
12079
|
type StyleFunctionParenNewline = []|[(("always" | "never" | "consistent" | "multiline" | "multiline-arguments") | {
|
|
@@ -11463,6 +12127,7 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
|
|
|
11463
12127
|
ImportDeclaration?: (number | ("first" | "off"))
|
|
11464
12128
|
flatTernaryExpressions?: boolean
|
|
11465
12129
|
offsetTernaryExpressions?: boolean
|
|
12130
|
+
offsetTernaryExpressionsOffsetCallExpressions?: boolean
|
|
11466
12131
|
ignoredNodes?: string[]
|
|
11467
12132
|
ignoreComments?: boolean
|
|
11468
12133
|
tabLength?: number
|
|
@@ -11606,6 +12271,7 @@ type StyleKeySpacing = []|[({
|
|
|
11606
12271
|
mode?: ("strict" | "minimum")
|
|
11607
12272
|
beforeColon?: boolean
|
|
11608
12273
|
afterColon?: boolean
|
|
12274
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
11609
12275
|
} | {
|
|
11610
12276
|
singleLine?: {
|
|
11611
12277
|
mode?: ("strict" | "minimum")
|
|
@@ -12121,6 +12787,7 @@ type StyleNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
12121
12787
|
enforceForNewInMemberExpressions?: boolean
|
|
12122
12788
|
enforceForFunctionPrototypeMethods?: boolean
|
|
12123
12789
|
allowParensAfterCommentPattern?: string
|
|
12790
|
+
nestedConditionalExpressions?: boolean
|
|
12124
12791
|
}])
|
|
12125
12792
|
// ----- style/no-mixed-operators -----
|
|
12126
12793
|
type StyleNoMixedOperators = []|[{
|
|
@@ -12218,14 +12885,14 @@ type StyleOperatorLinebreak = []|[(("after" | "before" | "none") | null)]|[(("af
|
|
|
12218
12885
|
}
|
|
12219
12886
|
}]
|
|
12220
12887
|
// ----- style/padded-blocks -----
|
|
12221
|
-
type StylePaddedBlocks = []|[(("always" | "never") | {
|
|
12222
|
-
blocks?: ("always" | "never")
|
|
12223
|
-
switches?: ("always" | "never")
|
|
12224
|
-
classes?: ("always" | "never")
|
|
12225
|
-
})]|[(("always" | "never") | {
|
|
12226
|
-
blocks?: ("always" | "never")
|
|
12227
|
-
switches?: ("always" | "never")
|
|
12228
|
-
classes?: ("always" | "never")
|
|
12888
|
+
type StylePaddedBlocks = []|[(("always" | "never" | "start" | "end") | {
|
|
12889
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
12890
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
12891
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
12892
|
+
})]|[(("always" | "never" | "start" | "end") | {
|
|
12893
|
+
blocks?: ("always" | "never" | "start" | "end")
|
|
12894
|
+
switches?: ("always" | "never" | "start" | "end")
|
|
12895
|
+
classes?: ("always" | "never" | "start" | "end")
|
|
12229
12896
|
}), {
|
|
12230
12897
|
allowSingleLineBlocks?: boolean
|
|
12231
12898
|
}]
|
|
@@ -12246,7 +12913,7 @@ type StyleQuoteProps = ([]|[("always" | "as-needed" | "consistent" | "consistent
|
|
|
12246
12913
|
// ----- style/quotes -----
|
|
12247
12914
|
type StyleQuotes = []|[("single" | "double" | "backtick")]|[("single" | "double" | "backtick"), ("avoid-escape" | {
|
|
12248
12915
|
avoidEscape?: boolean
|
|
12249
|
-
allowTemplateLiterals?: boolean
|
|
12916
|
+
allowTemplateLiterals?: (boolean | ("never" | "avoidEscape" | "always"))
|
|
12250
12917
|
ignoreStringLiterals?: boolean
|
|
12251
12918
|
})]
|
|
12252
12919
|
// ----- style/rest-spread-spacing -----
|
|
@@ -12523,7 +13190,7 @@ type TestConsistentTestIt = []|[{
|
|
|
12523
13190
|
}]
|
|
12524
13191
|
// ----- test/expect-expect -----
|
|
12525
13192
|
type TestExpectExpect = []|[{
|
|
12526
|
-
assertFunctionNames?: []
|
|
13193
|
+
assertFunctionNames?: string[]
|
|
12527
13194
|
additionalTestBlockFunctions?: string[]
|
|
12528
13195
|
}]
|
|
12529
13196
|
// ----- test/max-expects -----
|
|
@@ -12567,8 +13234,7 @@ type TestNoRestrictedViMethods = []|[{
|
|
|
12567
13234
|
}]
|
|
12568
13235
|
// ----- test/no-standalone-expect -----
|
|
12569
13236
|
type TestNoStandaloneExpect = []|[{
|
|
12570
|
-
|
|
12571
|
-
[k: string]: unknown | undefined
|
|
13237
|
+
additionalTestBlockFunctions?: string[]
|
|
12572
13238
|
}]
|
|
12573
13239
|
// ----- test/prefer-expect-assertions -----
|
|
12574
13240
|
type TestPreferExpectAssertions = []|[{
|
|
@@ -12784,7 +13450,9 @@ type TsConsistentTypeAssertions = []|[({
|
|
|
12784
13450
|
assertionStyle: "never"
|
|
12785
13451
|
} | {
|
|
12786
13452
|
|
|
12787
|
-
|
|
13453
|
+
arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
13454
|
+
|
|
13455
|
+
assertionStyle?: ("as" | "angle-bracket")
|
|
12788
13456
|
|
|
12789
13457
|
objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never")
|
|
12790
13458
|
})]
|
|
@@ -13237,6 +13905,24 @@ type TsNoConfusingVoidExpression = []|[{
|
|
|
13237
13905
|
ignoreArrowShorthand?: boolean
|
|
13238
13906
|
|
|
13239
13907
|
ignoreVoidOperator?: boolean
|
|
13908
|
+
|
|
13909
|
+
ignoreVoidReturningFunctions?: boolean
|
|
13910
|
+
}]
|
|
13911
|
+
// ----- ts/no-deprecated -----
|
|
13912
|
+
type TsNoDeprecated = []|[{
|
|
13913
|
+
|
|
13914
|
+
allow?: (string | {
|
|
13915
|
+
from: "file"
|
|
13916
|
+
name: (string | [string, ...(string)[]])
|
|
13917
|
+
path?: string
|
|
13918
|
+
} | {
|
|
13919
|
+
from: "lib"
|
|
13920
|
+
name: (string | [string, ...(string)[]])
|
|
13921
|
+
} | {
|
|
13922
|
+
from: "package"
|
|
13923
|
+
name: (string | [string, ...(string)[]])
|
|
13924
|
+
package: string
|
|
13925
|
+
})[]
|
|
13240
13926
|
}]
|
|
13241
13927
|
// ----- ts/no-duplicate-type-constituents -----
|
|
13242
13928
|
type TsNoDuplicateTypeConstituents = []|[{
|
|
@@ -13379,6 +14065,22 @@ type TsNoMisusedPromises = []|[{
|
|
|
13379
14065
|
variables?: boolean
|
|
13380
14066
|
})
|
|
13381
14067
|
}]
|
|
14068
|
+
// ----- ts/no-misused-spread -----
|
|
14069
|
+
type TsNoMisusedSpread = []|[{
|
|
14070
|
+
|
|
14071
|
+
allow?: (string | {
|
|
14072
|
+
from: "file"
|
|
14073
|
+
name: (string | [string, ...(string)[]])
|
|
14074
|
+
path?: string
|
|
14075
|
+
} | {
|
|
14076
|
+
from: "lib"
|
|
14077
|
+
name: (string | [string, ...(string)[]])
|
|
14078
|
+
} | {
|
|
14079
|
+
from: "package"
|
|
14080
|
+
name: (string | [string, ...(string)[]])
|
|
14081
|
+
package: string
|
|
14082
|
+
})[]
|
|
14083
|
+
}]
|
|
13382
14084
|
// ----- ts/no-namespace -----
|
|
13383
14085
|
type TsNoNamespace = []|[{
|
|
13384
14086
|
|
|
@@ -13454,7 +14156,7 @@ type TsNoShadow = []|[{
|
|
|
13454
14156
|
|
|
13455
14157
|
builtinGlobals?: boolean
|
|
13456
14158
|
|
|
13457
|
-
hoist?: ("all" | "functions" | "never")
|
|
14159
|
+
hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types")
|
|
13458
14160
|
|
|
13459
14161
|
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
13460
14162
|
|
|
@@ -13494,6 +14196,8 @@ type TsNoUnnecessaryBooleanLiteralCompare = []|[{
|
|
|
13494
14196
|
allowComparingNullableBooleansToFalse?: boolean
|
|
13495
14197
|
|
|
13496
14198
|
allowComparingNullableBooleansToTrue?: boolean
|
|
14199
|
+
|
|
14200
|
+
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13497
14201
|
}]
|
|
13498
14202
|
// ----- ts/no-unnecessary-condition -----
|
|
13499
14203
|
type TsNoUnnecessaryCondition = []|[{
|
|
@@ -13564,6 +14268,19 @@ type TsNoVarRequires = []|[{
|
|
|
13564
14268
|
// ----- ts/only-throw-error -----
|
|
13565
14269
|
type TsOnlyThrowError = []|[{
|
|
13566
14270
|
|
|
14271
|
+
allow?: (string | {
|
|
14272
|
+
from: "file"
|
|
14273
|
+
name: (string | [string, ...(string)[]])
|
|
14274
|
+
path?: string
|
|
14275
|
+
} | {
|
|
14276
|
+
from: "lib"
|
|
14277
|
+
name: (string | [string, ...(string)[]])
|
|
14278
|
+
} | {
|
|
14279
|
+
from: "package"
|
|
14280
|
+
name: (string | [string, ...(string)[]])
|
|
14281
|
+
package: string
|
|
14282
|
+
})[]
|
|
14283
|
+
|
|
13567
14284
|
allowThrowingAny?: boolean
|
|
13568
14285
|
|
|
13569
14286
|
allowThrowingUnknown?: boolean
|
|
@@ -13617,6 +14334,8 @@ type TsPreferNullishCoalescing = []|[{
|
|
|
13617
14334
|
|
|
13618
14335
|
allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
|
|
13619
14336
|
|
|
14337
|
+
ignoreBooleanCoercion?: boolean
|
|
14338
|
+
|
|
13620
14339
|
ignoreConditionalTests?: boolean
|
|
13621
14340
|
|
|
13622
14341
|
ignoreMixedLogicalExpressions?: boolean
|
|
@@ -13658,6 +14377,10 @@ type TsPreferOptionalChain = []|[{
|
|
|
13658
14377
|
type TsPreferPromiseRejectErrors = []|[{
|
|
13659
14378
|
|
|
13660
14379
|
allowEmptyReject?: boolean
|
|
14380
|
+
|
|
14381
|
+
allowThrowingAny?: boolean
|
|
14382
|
+
|
|
14383
|
+
allowThrowingUnknown?: boolean
|
|
13661
14384
|
}]
|
|
13662
14385
|
// ----- ts/prefer-readonly -----
|
|
13663
14386
|
type TsPreferReadonly = []|[{
|
|
@@ -13797,6 +14520,8 @@ type TsSwitchExhaustivenessCheck = []|[{
|
|
|
13797
14520
|
|
|
13798
14521
|
considerDefaultExhaustiveForUnions?: boolean
|
|
13799
14522
|
|
|
14523
|
+
defaultCaseCommentPattern?: string
|
|
14524
|
+
|
|
13800
14525
|
requireDefaultForNonUnion?: boolean
|
|
13801
14526
|
}]
|
|
13802
14527
|
// ----- ts/triple-slash-reference -----
|
|
@@ -14130,6 +14855,7 @@ type VueAttributeHyphenation = []|[("always" | "never")]|[("always" | "never"),
|
|
|
14130
14855
|
} & {
|
|
14131
14856
|
[k: string]: unknown | undefined
|
|
14132
14857
|
})[]
|
|
14858
|
+
ignoreTags?: string[]
|
|
14133
14859
|
}]
|
|
14134
14860
|
// ----- vue/attributes-order -----
|
|
14135
14861
|
type VueAttributesOrder = []|[{
|
|
@@ -14182,6 +14908,8 @@ type VueCommaDangle = []|[(_VueCommaDangleValue | {
|
|
|
14182
14908
|
imports?: _VueCommaDangleValueWithIgnore
|
|
14183
14909
|
exports?: _VueCommaDangleValueWithIgnore
|
|
14184
14910
|
functions?: _VueCommaDangleValueWithIgnore
|
|
14911
|
+
importAttributes?: _VueCommaDangleValueWithIgnore
|
|
14912
|
+
dynamicImports?: _VueCommaDangleValueWithIgnore
|
|
14185
14913
|
enums?: _VueCommaDangleValueWithIgnore
|
|
14186
14914
|
generics?: _VueCommaDangleValueWithIgnore
|
|
14187
14915
|
tuples?: _VueCommaDangleValueWithIgnore
|
|
@@ -14258,6 +14986,10 @@ type VueFirstAttributeLinebreak = []|[{
|
|
|
14258
14986
|
// ----- vue/func-call-spacing -----
|
|
14259
14987
|
type VueFuncCallSpacing = ([]|["never"] | []|["always"]|["always", {
|
|
14260
14988
|
allowNewlines?: boolean
|
|
14989
|
+
optionalChain?: {
|
|
14990
|
+
before?: boolean
|
|
14991
|
+
after?: boolean
|
|
14992
|
+
}
|
|
14261
14993
|
}])
|
|
14262
14994
|
// ----- vue/html-button-has-type -----
|
|
14263
14995
|
type VueHtmlButtonHasType = []|[{
|
|
@@ -14339,6 +15071,7 @@ type VueKeySpacing = []|[({
|
|
|
14339
15071
|
mode?: ("strict" | "minimum")
|
|
14340
15072
|
beforeColon?: boolean
|
|
14341
15073
|
afterColon?: boolean
|
|
15074
|
+
ignoredNodes?: ("ObjectExpression" | "ObjectPattern" | "ImportDeclaration" | "ExportNamedDeclaration" | "ExportAllDeclaration" | "TSTypeLiteral" | "TSInterfaceBody" | "ClassBody")[]
|
|
14342
15075
|
} | {
|
|
14343
15076
|
singleLine?: {
|
|
14344
15077
|
mode?: ("strict" | "minimum")
|
|
@@ -14840,6 +15573,10 @@ type VueNoDeprecatedSlotAttribute = []|[{
|
|
|
14840
15573
|
type VueNoDupeKeys = []|[{
|
|
14841
15574
|
groups?: unknown[]
|
|
14842
15575
|
}]
|
|
15576
|
+
// ----- vue/no-duplicate-attr-inheritance -----
|
|
15577
|
+
type VueNoDuplicateAttrInheritance = []|[{
|
|
15578
|
+
checkMultiRootNodes?: boolean
|
|
15579
|
+
}]
|
|
14843
15580
|
// ----- vue/no-duplicate-attributes -----
|
|
14844
15581
|
type VueNoDuplicateAttributes = []|[{
|
|
14845
15582
|
allowCoexistClass?: boolean
|
|
@@ -14861,6 +15598,7 @@ type VueNoExtraParens = ([]|["functions"] | []|["all"]|["all", {
|
|
|
14861
15598
|
enforceForNewInMemberExpressions?: boolean
|
|
14862
15599
|
enforceForFunctionPrototypeMethods?: boolean
|
|
14863
15600
|
allowParensAfterCommentPattern?: string
|
|
15601
|
+
nestedConditionalExpressions?: boolean
|
|
14864
15602
|
}])
|
|
14865
15603
|
// ----- vue/no-irregular-whitespace -----
|
|
14866
15604
|
type VueNoIrregularWhitespace = []|[{
|
|
@@ -14938,6 +15676,7 @@ type VueNoRequiredPropWithDefault = []|[{
|
|
|
14938
15676
|
type VueNoReservedComponentNames = []|[{
|
|
14939
15677
|
disallowVueBuiltInComponents?: boolean
|
|
14940
15678
|
disallowVue3BuiltInComponents?: boolean
|
|
15679
|
+
htmlElementCaseSensitive?: boolean
|
|
14941
15680
|
}]
|
|
14942
15681
|
// ----- vue/no-reserved-keys -----
|
|
14943
15682
|
type VueNoReservedKeys = []|[{
|
|
@@ -15074,6 +15813,7 @@ type VueNoUselessVBind = []|[{
|
|
|
15074
15813
|
// ----- vue/no-v-text-v-html-on-component -----
|
|
15075
15814
|
type VueNoVTextVHtmlOnComponent = []|[{
|
|
15076
15815
|
allow?: string[]
|
|
15816
|
+
ignoreElementNamespaces?: boolean
|
|
15077
15817
|
}]
|
|
15078
15818
|
// ----- vue/object-curly-newline -----
|
|
15079
15819
|
type VueObjectCurlyNewline = []|[((("always" | "never") | {
|
|
@@ -15194,6 +15934,10 @@ type VueRequirePropComment = []|[{
|
|
|
15194
15934
|
type VueRequireToggleInsideTransition = []|[{
|
|
15195
15935
|
additionalDirectives?: string[]
|
|
15196
15936
|
}]
|
|
15937
|
+
// ----- vue/restricted-component-names -----
|
|
15938
|
+
type VueRestrictedComponentNames = []|[{
|
|
15939
|
+
allow?: string[]
|
|
15940
|
+
}]
|
|
15197
15941
|
// ----- vue/return-in-computed-property -----
|
|
15198
15942
|
type VueReturnInComputedProperty = []|[{
|
|
15199
15943
|
treatUndefinedAsUnspecified?: boolean
|
|
@@ -15215,6 +15959,8 @@ type VueSinglelineHtmlElementContentNewline = []|[{
|
|
|
15215
15959
|
ignores?: string[]
|
|
15216
15960
|
externalIgnores?: string[]
|
|
15217
15961
|
}]
|
|
15962
|
+
// ----- vue/slot-name-casing -----
|
|
15963
|
+
type VueSlotNameCasing = []|[("camelCase" | "kebab-case" | "singleword")]
|
|
15218
15964
|
// ----- vue/sort-keys -----
|
|
15219
15965
|
type VueSortKeys = []|[("asc" | "desc")]|[("asc" | "desc"), {
|
|
15220
15966
|
caseSensitive?: boolean
|
|
@@ -15258,6 +16004,7 @@ type VueVOnEventHyphenation = []|[("always" | "never")]|[("always" | "never"), {
|
|
|
15258
16004
|
} & {
|
|
15259
16005
|
[k: string]: unknown | undefined
|
|
15260
16006
|
})[]
|
|
16007
|
+
ignoreTags?: string[]
|
|
15261
16008
|
}]
|
|
15262
16009
|
// ----- vue/v-on-function-call -----
|
|
15263
16010
|
type VueVOnFunctionCall = []|[("always" | "never")]|[("always" | "never"), {
|
|
@@ -16057,7 +16804,7 @@ declare function node(): Promise<TypedFlatConfigItem[]>;
|
|
|
16057
16804
|
*/
|
|
16058
16805
|
declare function perfectionist(): Promise<TypedFlatConfigItem[]>;
|
|
16059
16806
|
|
|
16060
|
-
declare function react(options?: OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
16807
|
+
declare function react(options?: OptionsTypeScriptParserOptions & OptionsTypeScriptWithTypes & OptionsOverrides & OptionsFiles): Promise<TypedFlatConfigItem[]>;
|
|
16061
16808
|
|
|
16062
16809
|
declare function regexp(options?: OptionsRegExp & OptionsOverrides): Promise<TypedFlatConfigItem[]>;
|
|
16063
16810
|
|