@hexadrop/eslint-config 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1373 -506
- package/dist/index.d.ts +1373 -506
- package/package.json +13 -13
package/dist/index.d.cts
CHANGED
|
@@ -575,233 +575,233 @@ interface RuleOptions {
|
|
|
575
575
|
'import-unused/no-unused-vars'?: Linter.RuleEntry<ImportUnusedNoUnusedVars>
|
|
576
576
|
/**
|
|
577
577
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
578
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
578
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/consistent-type-specifier-style.md
|
|
579
579
|
*/
|
|
580
580
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
581
581
|
/**
|
|
582
582
|
* Ensure a default export is present, given a default import.
|
|
583
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
583
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/default.md
|
|
584
584
|
*/
|
|
585
585
|
'import/default'?: Linter.RuleEntry<[]>
|
|
586
586
|
/**
|
|
587
587
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
588
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
588
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/dynamic-import-chunkname.md
|
|
589
589
|
*/
|
|
590
590
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
591
591
|
/**
|
|
592
592
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
593
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
593
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/export.md
|
|
594
594
|
*/
|
|
595
595
|
'import/export'?: Linter.RuleEntry<[]>
|
|
596
596
|
/**
|
|
597
597
|
* Ensure all exports appear after other statements.
|
|
598
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
598
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/exports-last.md
|
|
599
599
|
*/
|
|
600
600
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
601
601
|
/**
|
|
602
602
|
* Ensure consistent use of file extension within the import path.
|
|
603
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
603
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/extensions.md
|
|
604
604
|
*/
|
|
605
605
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
606
606
|
/**
|
|
607
607
|
* Ensure all imports appear before other statements.
|
|
608
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
608
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/first.md
|
|
609
609
|
*/
|
|
610
610
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
611
611
|
/**
|
|
612
612
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
613
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
613
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/group-exports.md
|
|
614
614
|
*/
|
|
615
615
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
616
616
|
/**
|
|
617
617
|
* Replaced by `import-x/first`.
|
|
618
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
618
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/imports-first.md
|
|
619
619
|
* @deprecated
|
|
620
620
|
*/
|
|
621
621
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
622
622
|
/**
|
|
623
623
|
* Enforce the maximum number of dependencies a module can have.
|
|
624
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
624
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/max-dependencies.md
|
|
625
625
|
*/
|
|
626
626
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
627
627
|
/**
|
|
628
628
|
* Ensure named imports correspond to a named export in the remote file.
|
|
629
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
629
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/named.md
|
|
630
630
|
*/
|
|
631
631
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
632
632
|
/**
|
|
633
633
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
634
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
634
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/namespace.md
|
|
635
635
|
*/
|
|
636
636
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
637
637
|
/**
|
|
638
638
|
* Enforce a newline after import statements.
|
|
639
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
639
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/newline-after-import.md
|
|
640
640
|
*/
|
|
641
641
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
642
642
|
/**
|
|
643
643
|
* Forbid import of modules using absolute paths.
|
|
644
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
644
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-absolute-path.md
|
|
645
645
|
*/
|
|
646
646
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
647
647
|
/**
|
|
648
648
|
* Forbid AMD `require` and `define` calls.
|
|
649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-amd.md
|
|
650
650
|
*/
|
|
651
651
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
652
652
|
/**
|
|
653
653
|
* Forbid anonymous values as default exports.
|
|
654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-anonymous-default-export.md
|
|
655
655
|
*/
|
|
656
656
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
657
657
|
/**
|
|
658
658
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-commonjs.md
|
|
660
660
|
*/
|
|
661
661
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
662
662
|
/**
|
|
663
663
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-cycle.md
|
|
665
665
|
*/
|
|
666
666
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
667
667
|
/**
|
|
668
668
|
* Forbid default exports.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-default-export.md
|
|
670
670
|
*/
|
|
671
671
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
672
672
|
/**
|
|
673
673
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-deprecated.md
|
|
675
675
|
*/
|
|
676
676
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
677
677
|
/**
|
|
678
678
|
* Forbid repeated import of the same module in multiple places.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-duplicates.md
|
|
680
680
|
*/
|
|
681
681
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
682
682
|
/**
|
|
683
683
|
* Forbid `require()` calls with expressions.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-dynamic-require.md
|
|
685
685
|
*/
|
|
686
686
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
687
687
|
/**
|
|
688
688
|
* Forbid empty named import blocks.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-empty-named-blocks.md
|
|
690
690
|
*/
|
|
691
691
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
692
692
|
/**
|
|
693
693
|
* Forbid the use of extraneous packages.
|
|
694
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
694
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-extraneous-dependencies.md
|
|
695
695
|
*/
|
|
696
696
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
697
697
|
/**
|
|
698
698
|
* Forbid import statements with CommonJS module.exports.
|
|
699
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
699
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-import-module-exports.md
|
|
700
700
|
*/
|
|
701
701
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
702
702
|
/**
|
|
703
703
|
* Forbid importing the submodules of other modules.
|
|
704
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
704
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-internal-modules.md
|
|
705
705
|
*/
|
|
706
706
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
707
707
|
/**
|
|
708
708
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
709
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
709
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-mutable-exports.md
|
|
710
710
|
*/
|
|
711
711
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
712
712
|
/**
|
|
713
713
|
* Forbid use of exported name as identifier of default export.
|
|
714
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
714
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default.md
|
|
715
715
|
*/
|
|
716
716
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
717
717
|
/**
|
|
718
718
|
* Forbid use of exported name as property of default export.
|
|
719
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
719
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-as-default-member.md
|
|
720
720
|
*/
|
|
721
721
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
722
722
|
/**
|
|
723
723
|
* Forbid named default exports.
|
|
724
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
724
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-default.md
|
|
725
725
|
*/
|
|
726
726
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
727
727
|
/**
|
|
728
728
|
* Forbid named exports.
|
|
729
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
729
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-named-export.md
|
|
730
730
|
*/
|
|
731
731
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
732
732
|
/**
|
|
733
733
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
734
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
734
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-namespace.md
|
|
735
735
|
*/
|
|
736
736
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
737
737
|
/**
|
|
738
738
|
* Forbid Node.js builtin modules.
|
|
739
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
739
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-nodejs-modules.md
|
|
740
740
|
*/
|
|
741
741
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
742
742
|
/**
|
|
743
743
|
* Forbid importing packages through relative paths.
|
|
744
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
744
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-packages.md
|
|
745
745
|
*/
|
|
746
746
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
747
747
|
/**
|
|
748
748
|
* Forbid importing modules from parent directories.
|
|
749
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
749
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-relative-parent-imports.md
|
|
750
750
|
*/
|
|
751
751
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
752
752
|
/**
|
|
753
753
|
* Forbid importing a default export by a different name.
|
|
754
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
754
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-rename-default.md
|
|
755
755
|
*/
|
|
756
756
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
757
757
|
/**
|
|
758
758
|
* Enforce which files can be imported in a given folder.
|
|
759
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
759
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-restricted-paths.md
|
|
760
760
|
*/
|
|
761
761
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
762
762
|
/**
|
|
763
763
|
* Forbid a module from importing itself.
|
|
764
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
764
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-self-import.md
|
|
765
765
|
*/
|
|
766
766
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
767
767
|
/**
|
|
768
768
|
* Forbid unassigned imports.
|
|
769
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
769
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unassigned-import.md
|
|
770
770
|
*/
|
|
771
771
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
772
772
|
/**
|
|
773
773
|
* Ensure imports point to a file/module that can be resolved.
|
|
774
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
774
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unresolved.md
|
|
775
775
|
*/
|
|
776
776
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
777
777
|
/**
|
|
778
778
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
779
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
779
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-unused-modules.md
|
|
780
780
|
*/
|
|
781
781
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
782
782
|
/**
|
|
783
783
|
* Forbid unnecessary path segments in import and require statements.
|
|
784
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
784
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-useless-path-segments.md
|
|
785
785
|
*/
|
|
786
786
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
787
787
|
/**
|
|
788
788
|
* Forbid webpack loader syntax in imports.
|
|
789
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
789
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/no-webpack-loader-syntax.md
|
|
790
790
|
*/
|
|
791
791
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
792
792
|
/**
|
|
793
793
|
* Enforce a convention in module import order.
|
|
794
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
794
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/order.md
|
|
795
795
|
*/
|
|
796
796
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
797
797
|
/**
|
|
798
798
|
* Prefer a default export if module exports a single name or multiple names.
|
|
799
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
799
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/prefer-default-export.md
|
|
800
800
|
*/
|
|
801
801
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
802
802
|
/**
|
|
803
803
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
804
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.
|
|
804
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.11.1/docs/rules/unambiguous.md
|
|
805
805
|
*/
|
|
806
806
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
807
807
|
/**
|
|
@@ -1807,7 +1807,7 @@ interface RuleOptions {
|
|
|
1807
1807
|
* Disallow identifiers from shadowing restricted names
|
|
1808
1808
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
1809
1809
|
*/
|
|
1810
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
1810
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
1811
1811
|
/**
|
|
1812
1812
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
1813
1813
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -3981,6 +3981,11 @@ interface RuleOptions {
|
|
|
3981
3981
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
3982
3982
|
*/
|
|
3983
3983
|
'typescript/no-unnecessary-type-constraint'?: Linter.RuleEntry<[]>
|
|
3984
|
+
/**
|
|
3985
|
+
* Disallow conversion idioms when they do not change the type or value of the expression
|
|
3986
|
+
* @see https://typescript-eslint.io/rules/no-unnecessary-type-conversion
|
|
3987
|
+
*/
|
|
3988
|
+
'typescript/no-unnecessary-type-conversion'?: Linter.RuleEntry<[]>
|
|
3984
3989
|
/**
|
|
3985
3990
|
* Disallow type parameters that aren't used multiple times
|
|
3986
3991
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -4266,670 +4271,670 @@ interface RuleOptions {
|
|
|
4266
4271
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4267
4272
|
/**
|
|
4268
4273
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4269
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
4270
4275
|
*/
|
|
4271
4276
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4272
4277
|
/**
|
|
4273
4278
|
* Enforce a specific parameter name in catch clauses.
|
|
4274
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
4275
4280
|
*/
|
|
4276
4281
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4277
4282
|
/**
|
|
4278
4283
|
* Enforce consistent assertion style with `node:assert`.
|
|
4279
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
4280
4285
|
*/
|
|
4281
4286
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4282
4287
|
/**
|
|
4283
4288
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4284
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
4285
4290
|
*/
|
|
4286
4291
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4287
4292
|
/**
|
|
4288
4293
|
* Use destructured variables over properties.
|
|
4289
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
4290
4295
|
*/
|
|
4291
4296
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4292
4297
|
/**
|
|
4293
4298
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4294
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4295
4300
|
*/
|
|
4296
4301
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4297
4302
|
/**
|
|
4298
4303
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4299
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
4300
4305
|
*/
|
|
4301
4306
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4302
4307
|
/**
|
|
4303
4308
|
* Move function definitions to the highest possible scope.
|
|
4304
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
4305
4310
|
*/
|
|
4306
4311
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4307
4312
|
/**
|
|
4308
4313
|
* Enforce correct `Error` subclassing.
|
|
4309
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
4310
4315
|
*/
|
|
4311
4316
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4312
4317
|
/**
|
|
4313
4318
|
* Enforce no spaces between braces.
|
|
4314
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
4315
4320
|
*/
|
|
4316
4321
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4317
4322
|
/**
|
|
4318
4323
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4319
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
4320
4325
|
*/
|
|
4321
4326
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4322
4327
|
/**
|
|
4323
4328
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4324
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
4325
4330
|
*/
|
|
4326
4331
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
4327
4332
|
/**
|
|
4328
4333
|
* Add expiration conditions to TODO comments.
|
|
4329
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
4330
4335
|
*/
|
|
4331
4336
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4332
4337
|
/**
|
|
4333
4338
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4334
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
4335
4340
|
*/
|
|
4336
4341
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4337
4342
|
/**
|
|
4338
4343
|
* Enforce a case style for filenames.
|
|
4339
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
4340
4345
|
*/
|
|
4341
4346
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4342
4347
|
/**
|
|
4343
4348
|
* Enforce specific import styles per module.
|
|
4344
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
4345
4350
|
*/
|
|
4346
4351
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4347
4352
|
/**
|
|
4348
4353
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4349
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
4350
4355
|
*/
|
|
4351
4356
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4352
4357
|
/**
|
|
4353
4358
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4354
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4355
4360
|
*/
|
|
4356
4361
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4357
4362
|
/**
|
|
4358
4363
|
* Disallow recursive access to `this` within getters and setters.
|
|
4359
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
4360
4365
|
*/
|
|
4361
4366
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
4362
4367
|
/**
|
|
4363
4368
|
* Disallow anonymous functions and classes as the default export.
|
|
4364
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
4365
4370
|
*/
|
|
4366
4371
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4367
4372
|
/**
|
|
4368
4373
|
* Prevent passing a function reference directly to iterator methods.
|
|
4369
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
4370
4375
|
*/
|
|
4371
4376
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4372
4377
|
/**
|
|
4373
4378
|
* Prefer `for…of` over the `forEach` method.
|
|
4374
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
4375
4380
|
*/
|
|
4376
4381
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4377
4382
|
/**
|
|
4378
4383
|
* Disallow using the `this` argument in array methods.
|
|
4379
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
4380
4385
|
*/
|
|
4381
4386
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4382
4387
|
/**
|
|
4383
4388
|
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4384
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
4385
4390
|
* @deprecated
|
|
4386
4391
|
*/
|
|
4387
4392
|
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
4388
4393
|
/**
|
|
4389
4394
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4390
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
4391
4396
|
*/
|
|
4392
4397
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4393
4398
|
/**
|
|
4394
4399
|
* Disallow member access from await expression.
|
|
4395
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
4396
4401
|
*/
|
|
4397
4402
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4398
4403
|
/**
|
|
4399
4404
|
* Disallow using `await` in `Promise` method parameters.
|
|
4400
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4401
4406
|
*/
|
|
4402
4407
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4403
4408
|
/**
|
|
4404
4409
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4405
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
4406
4411
|
*/
|
|
4407
4412
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4408
4413
|
/**
|
|
4409
4414
|
* Do not use `document.cookie` directly.
|
|
4410
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
4411
4416
|
*/
|
|
4412
4417
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4413
4418
|
/**
|
|
4414
4419
|
* Disallow empty files.
|
|
4415
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
4416
4421
|
*/
|
|
4417
4422
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4418
4423
|
/**
|
|
4419
4424
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4420
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
4421
4426
|
*/
|
|
4422
4427
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4423
4428
|
/**
|
|
4424
4429
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4425
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
|
|
4426
4431
|
*/
|
|
4427
4432
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4428
4433
|
/**
|
|
4429
4434
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4430
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
4431
4436
|
* @deprecated
|
|
4432
4437
|
*/
|
|
4433
4438
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4434
4439
|
/**
|
|
4435
4440
|
* Disallow `instanceof` with built-in objects
|
|
4436
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
4437
4442
|
*/
|
|
4438
4443
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
4439
4444
|
/**
|
|
4440
4445
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4441
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4442
4447
|
*/
|
|
4443
4448
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4444
4449
|
/**
|
|
4445
4450
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4446
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4447
4452
|
*/
|
|
4448
4453
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4449
4454
|
/**
|
|
4450
4455
|
* Disallow identifiers starting with `new` or `class`.
|
|
4451
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
4452
4457
|
*/
|
|
4453
4458
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4454
4459
|
/**
|
|
4455
4460
|
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
4456
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
4457
4462
|
* @deprecated
|
|
4458
4463
|
*/
|
|
4459
4464
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4460
4465
|
/**
|
|
4461
4466
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4462
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
4463
4468
|
*/
|
|
4464
4469
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4465
4470
|
/**
|
|
4466
4471
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4467
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4468
4473
|
*/
|
|
4469
4474
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4470
4475
|
/**
|
|
4471
4476
|
* Disallow named usage of default import and export.
|
|
4472
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
4473
4478
|
*/
|
|
4474
4479
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
4475
4480
|
/**
|
|
4476
4481
|
* Disallow negated conditions.
|
|
4477
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
4478
4483
|
*/
|
|
4479
4484
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4480
4485
|
/**
|
|
4481
4486
|
* Disallow negated expression in equality check.
|
|
4482
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4483
4488
|
*/
|
|
4484
4489
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4485
4490
|
/**
|
|
4486
4491
|
* Disallow nested ternary expressions.
|
|
4487
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
4488
4493
|
*/
|
|
4489
4494
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4490
4495
|
/**
|
|
4491
4496
|
* Disallow `new Array()`.
|
|
4492
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
4493
4498
|
*/
|
|
4494
4499
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4495
4500
|
/**
|
|
4496
4501
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4497
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
4498
4503
|
*/
|
|
4499
4504
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4500
4505
|
/**
|
|
4501
4506
|
* Disallow the use of the `null` literal.
|
|
4502
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
4503
4508
|
*/
|
|
4504
4509
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4505
4510
|
/**
|
|
4506
4511
|
* Disallow the use of objects as default parameters.
|
|
4507
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4508
4513
|
*/
|
|
4509
4514
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4510
4515
|
/**
|
|
4511
4516
|
* Disallow `process.exit()`.
|
|
4512
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
|
|
4513
4518
|
*/
|
|
4514
4519
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4515
4520
|
/**
|
|
4516
4521
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4517
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4518
4523
|
*/
|
|
4519
4524
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4520
4525
|
/**
|
|
4521
4526
|
* Disallow classes that only have static members.
|
|
4522
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
|
|
4523
4528
|
*/
|
|
4524
4529
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4525
4530
|
/**
|
|
4526
4531
|
* Disallow `then` property.
|
|
4527
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
4528
4533
|
*/
|
|
4529
4534
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4530
4535
|
/**
|
|
4531
4536
|
* Disallow assigning `this` to a variable.
|
|
4532
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
4533
4538
|
*/
|
|
4534
4539
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4535
4540
|
/**
|
|
4536
4541
|
* Disallow comparing `undefined` using `typeof`.
|
|
4537
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
4538
4543
|
*/
|
|
4539
4544
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4540
4545
|
/**
|
|
4541
4546
|
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
4542
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
4543
4548
|
*/
|
|
4544
4549
|
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4545
4550
|
/**
|
|
4546
4551
|
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
4547
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
4548
4553
|
*/
|
|
4549
4554
|
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
4550
4555
|
/**
|
|
4551
4556
|
* Disallow awaiting non-promise values.
|
|
4552
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
4553
4558
|
*/
|
|
4554
4559
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4555
4560
|
/**
|
|
4556
4561
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4557
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4558
4563
|
*/
|
|
4559
4564
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4560
4565
|
/**
|
|
4561
4566
|
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4562
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
4563
4568
|
*/
|
|
4564
4569
|
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
4565
4570
|
/**
|
|
4566
4571
|
* Disallow unreadable array destructuring.
|
|
4567
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4568
4573
|
*/
|
|
4569
4574
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4570
4575
|
/**
|
|
4571
4576
|
* Disallow unreadable IIFEs.
|
|
4572
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
4573
4578
|
*/
|
|
4574
4579
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4575
4580
|
/**
|
|
4576
4581
|
* Disallow unused object properties.
|
|
4577
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
4578
4583
|
*/
|
|
4579
4584
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4580
4585
|
/**
|
|
4581
4586
|
* Disallow useless fallback when spreading in object literals.
|
|
4582
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4583
4588
|
*/
|
|
4584
4589
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4585
4590
|
/**
|
|
4586
4591
|
* Disallow useless array length check.
|
|
4587
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
4588
4593
|
*/
|
|
4589
4594
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4590
4595
|
/**
|
|
4591
4596
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4592
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4593
4598
|
*/
|
|
4594
4599
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4595
4600
|
/**
|
|
4596
4601
|
* Disallow unnecessary spread.
|
|
4597
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
4598
4603
|
*/
|
|
4599
4604
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4600
4605
|
/**
|
|
4601
4606
|
* Disallow useless case in switch statements.
|
|
4602
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
4603
4608
|
*/
|
|
4604
4609
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4605
4610
|
/**
|
|
4606
4611
|
* Disallow useless `undefined`.
|
|
4607
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
4608
4613
|
*/
|
|
4609
4614
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4610
4615
|
/**
|
|
4611
4616
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4612
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
4613
4618
|
*/
|
|
4614
4619
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4615
4620
|
/**
|
|
4616
4621
|
* Enforce proper case for numeric literals.
|
|
4617
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
4618
4623
|
*/
|
|
4619
4624
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
4620
4625
|
/**
|
|
4621
4626
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4622
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
4623
4628
|
*/
|
|
4624
4629
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4625
4630
|
/**
|
|
4626
4631
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4627
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
4628
4633
|
*/
|
|
4629
4634
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4630
4635
|
/**
|
|
4631
4636
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4632
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
4633
4638
|
*/
|
|
4634
4639
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4635
4640
|
/**
|
|
4636
4641
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4637
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
4638
4643
|
*/
|
|
4639
4644
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4640
4645
|
/**
|
|
4641
4646
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4642
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
4643
4648
|
*/
|
|
4644
4649
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4645
4650
|
/**
|
|
4646
4651
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4647
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
4648
4653
|
*/
|
|
4649
4654
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4650
4655
|
/**
|
|
4651
4656
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4652
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
4653
4658
|
*/
|
|
4654
4659
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4655
4660
|
/**
|
|
4656
4661
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4657
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
4658
4663
|
*/
|
|
4659
4664
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4660
4665
|
/**
|
|
4661
4666
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4662
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4663
4668
|
*/
|
|
4664
4669
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4665
4670
|
/**
|
|
4666
4671
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4667
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
4668
4673
|
*/
|
|
4669
4674
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4670
4675
|
/**
|
|
4671
4676
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4672
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
4673
4678
|
*/
|
|
4674
4679
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4675
4680
|
/**
|
|
4676
4681
|
* Prefer default parameters over reassignment.
|
|
4677
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
4678
4683
|
*/
|
|
4679
4684
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4680
4685
|
/**
|
|
4681
4686
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4682
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
4683
4688
|
*/
|
|
4684
4689
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4685
4690
|
/**
|
|
4686
4691
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4687
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4688
4693
|
*/
|
|
4689
4694
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4690
4695
|
/**
|
|
4691
4696
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4692
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4693
4698
|
*/
|
|
4694
4699
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4695
4700
|
/**
|
|
4696
4701
|
* Prefer `.textContent` over `.innerText`.
|
|
4697
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4698
4703
|
*/
|
|
4699
4704
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4700
4705
|
/**
|
|
4701
4706
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4702
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
4703
4708
|
*/
|
|
4704
4709
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4705
4710
|
/**
|
|
4706
4711
|
* Prefer `export…from` when re-exporting.
|
|
4707
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
4708
4713
|
*/
|
|
4709
4714
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4710
4715
|
/**
|
|
4711
4716
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4712
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
4713
4718
|
*/
|
|
4714
4719
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4715
4720
|
/**
|
|
4716
4721
|
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4717
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
4718
4723
|
*/
|
|
4719
4724
|
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
4720
4725
|
/**
|
|
4721
4726
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4722
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
4723
4728
|
*/
|
|
4724
4729
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4725
4730
|
/**
|
|
4726
4731
|
* Prefer reading a JSON file as a buffer.
|
|
4727
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4728
4733
|
*/
|
|
4729
4734
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4730
4735
|
/**
|
|
4731
4736
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4732
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4733
4738
|
*/
|
|
4734
4739
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4735
4740
|
/**
|
|
4736
4741
|
* Prefer using a logical operator over a ternary.
|
|
4737
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4738
4743
|
*/
|
|
4739
4744
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4740
4745
|
/**
|
|
4741
4746
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4742
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
4743
4748
|
*/
|
|
4744
4749
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4745
4750
|
/**
|
|
4746
4751
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4747
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
4748
4753
|
*/
|
|
4749
4754
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4750
4755
|
/**
|
|
4751
4756
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4752
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4753
4758
|
*/
|
|
4754
4759
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4755
4760
|
/**
|
|
4756
4761
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4757
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4758
4763
|
*/
|
|
4759
4764
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4760
4765
|
/**
|
|
4761
4766
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4762
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
4763
4768
|
*/
|
|
4764
4769
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4765
4770
|
/**
|
|
4766
4771
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4767
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4768
4773
|
*/
|
|
4769
4774
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4770
4775
|
/**
|
|
4771
4776
|
* Prefer negative index over `.length - index` when possible.
|
|
4772
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
4773
4778
|
*/
|
|
4774
4779
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4775
4780
|
/**
|
|
4776
4781
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4777
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
4778
4783
|
*/
|
|
4779
4784
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4780
4785
|
/**
|
|
4781
4786
|
* Prefer `Number` static properties over global ones.
|
|
4782
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
4783
4788
|
*/
|
|
4784
4789
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4785
4790
|
/**
|
|
4786
4791
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4787
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
4788
4793
|
*/
|
|
4789
4794
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4790
4795
|
/**
|
|
4791
4796
|
* Prefer omitting the `catch` binding parameter.
|
|
4792
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4793
4798
|
*/
|
|
4794
4799
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4795
4800
|
/**
|
|
4796
4801
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4797
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
4798
4803
|
*/
|
|
4799
4804
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4800
4805
|
/**
|
|
4801
4806
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4802
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
4803
4808
|
*/
|
|
4804
4809
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4805
4810
|
/**
|
|
4806
4811
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4807
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
4808
4813
|
*/
|
|
4809
4814
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4810
4815
|
/**
|
|
4811
4816
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4812
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
4813
4818
|
*/
|
|
4814
4819
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4815
4820
|
/**
|
|
4816
4821
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4817
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
4818
4823
|
*/
|
|
4819
4824
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4820
4825
|
/**
|
|
4821
4826
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4822
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
4823
4828
|
*/
|
|
4824
4829
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4825
4830
|
/**
|
|
4826
4831
|
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4827
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
4828
4833
|
*/
|
|
4829
4834
|
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
4830
4835
|
/**
|
|
4831
4836
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4832
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
4833
4838
|
*/
|
|
4834
4839
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4835
4840
|
/**
|
|
4836
4841
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4837
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
4838
4843
|
*/
|
|
4839
4844
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4840
4845
|
/**
|
|
4841
4846
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4842
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
4843
4848
|
*/
|
|
4844
4849
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4845
4850
|
/**
|
|
4846
4851
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4847
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
4848
4853
|
*/
|
|
4849
4854
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4850
4855
|
/**
|
|
4851
4856
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4852
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4853
4858
|
*/
|
|
4854
4859
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4855
4860
|
/**
|
|
4856
4861
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4857
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4858
4863
|
*/
|
|
4859
4864
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4860
4865
|
/**
|
|
4861
4866
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4862
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
4863
4868
|
*/
|
|
4864
4869
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4865
4870
|
/**
|
|
4866
4871
|
* Prefer `switch` over multiple `else-if`.
|
|
4867
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
4868
4873
|
*/
|
|
4869
4874
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4870
4875
|
/**
|
|
4871
4876
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4872
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
4873
4878
|
*/
|
|
4874
4879
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4875
4880
|
/**
|
|
4876
4881
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4877
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
4878
4883
|
*/
|
|
4879
4884
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4880
4885
|
/**
|
|
4881
4886
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4882
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
4883
4888
|
*/
|
|
4884
4889
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4885
4890
|
/**
|
|
4886
4891
|
* Prevent abbreviations.
|
|
4887
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
4888
4893
|
*/
|
|
4889
4894
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4890
4895
|
/**
|
|
4891
4896
|
* Enforce consistent relative URL style.
|
|
4892
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
4893
4898
|
*/
|
|
4894
4899
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4895
4900
|
/**
|
|
4896
4901
|
* Enforce using the separator argument with `Array#join()`.
|
|
4897
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
4898
4903
|
*/
|
|
4899
4904
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4900
4905
|
/**
|
|
4901
4906
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4902
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4903
4908
|
*/
|
|
4904
4909
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4905
4910
|
/**
|
|
4906
4911
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4907
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
4908
4913
|
*/
|
|
4909
4914
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4910
4915
|
/**
|
|
4911
4916
|
* Enforce better string content.
|
|
4912
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
4913
4918
|
*/
|
|
4914
4919
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4915
4920
|
/**
|
|
4916
4921
|
* Enforce consistent brace style for `case` clauses.
|
|
4917
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
4918
4923
|
*/
|
|
4919
4924
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4920
4925
|
/**
|
|
4921
4926
|
* Fix whitespace-insensitive template indentation.
|
|
4922
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
4923
4928
|
*/
|
|
4924
4929
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4925
4930
|
/**
|
|
4926
4931
|
* Enforce consistent case for text encoding identifiers.
|
|
4927
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4928
4933
|
*/
|
|
4929
4934
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4930
4935
|
/**
|
|
4931
4936
|
* Require `new` when creating an error.
|
|
4932
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.
|
|
4937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
4933
4938
|
*/
|
|
4934
4939
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4935
4940
|
/**
|
|
@@ -5073,6 +5078,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
5073
5078
|
type ClassMethodsUseThis = []|[{
|
|
5074
5079
|
exceptMethods?: string[]
|
|
5075
5080
|
enforceForClassFields?: boolean
|
|
5081
|
+
ignoreOverrideMethods?: boolean
|
|
5082
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
5076
5083
|
}]
|
|
5077
5084
|
// ----- comma-dangle -----
|
|
5078
5085
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -6408,7 +6415,7 @@ type NoEmpty = []|[{
|
|
|
6408
6415
|
}]
|
|
6409
6416
|
// ----- no-empty-function -----
|
|
6410
6417
|
type NoEmptyFunction = []|[{
|
|
6411
|
-
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods")[]
|
|
6418
|
+
allow?: ("functions" | "arrowFunctions" | "generatorFunctions" | "methods" | "generatorMethods" | "getters" | "setters" | "constructors" | "asyncFunctions" | "asyncMethods" | "privateConstructors" | "protectedConstructors" | "decoratedFunctions" | "overrideMethods")[]
|
|
6412
6419
|
}]
|
|
6413
6420
|
// ----- no-empty-pattern -----
|
|
6414
6421
|
type NoEmptyPattern = []|[{
|
|
@@ -6610,13 +6617,9 @@ type NoRestrictedModules = ((string | {
|
|
|
6610
6617
|
}[])
|
|
6611
6618
|
// ----- no-restricted-properties -----
|
|
6612
6619
|
type NoRestrictedProperties = ({
|
|
6613
|
-
|
|
6614
|
-
property?: string
|
|
6615
|
-
message?: string
|
|
6620
|
+
[k: string]: unknown | undefined
|
|
6616
6621
|
} | {
|
|
6617
|
-
|
|
6618
|
-
property: string
|
|
6619
|
-
message?: string
|
|
6622
|
+
[k: string]: unknown | undefined
|
|
6620
6623
|
})[]
|
|
6621
6624
|
// ----- no-restricted-syntax -----
|
|
6622
6625
|
type NoRestrictedSyntax = (string | {
|
|
@@ -6640,6 +6643,10 @@ type NoShadow = []|[{
|
|
|
6640
6643
|
allow?: string[]
|
|
6641
6644
|
ignoreOnInitialization?: boolean
|
|
6642
6645
|
}]
|
|
6646
|
+
// ----- no-shadow-restricted-names -----
|
|
6647
|
+
type NoShadowRestrictedNames = []|[{
|
|
6648
|
+
reportGlobalThis?: boolean
|
|
6649
|
+
}]
|
|
6643
6650
|
// ----- no-sync -----
|
|
6644
6651
|
type NoSync = []|[{
|
|
6645
6652
|
allowAtRootLevel?: boolean
|
|
@@ -6691,6 +6698,7 @@ type NoUnusedExpressions = []|[{
|
|
|
6691
6698
|
allowTernary?: boolean
|
|
6692
6699
|
allowTaggedTemplates?: boolean
|
|
6693
6700
|
enforceForJSX?: boolean
|
|
6701
|
+
ignoreDirectives?: boolean
|
|
6694
6702
|
}]
|
|
6695
6703
|
// ----- no-unused-vars -----
|
|
6696
6704
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -6921,6 +6929,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
6921
6929
|
resolverConfig?: {
|
|
6922
6930
|
[k: string]: unknown | undefined
|
|
6923
6931
|
}
|
|
6932
|
+
tryExtensions?: string[]
|
|
6924
6933
|
ignoreTypeImport?: boolean
|
|
6925
6934
|
ignorePrivate?: boolean
|
|
6926
6935
|
}]
|
|
@@ -6964,7 +6973,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
6964
6973
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
6965
6974
|
version?: string
|
|
6966
6975
|
allowExperimental?: boolean
|
|
6967
|
-
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" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
6976
|
+
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.METHODS" | "http.STATUS_CODES" | "http.globalAgent" | "http.maxHeaderSize" | "http.createServer" | "http.get" | "http.request" | "http.validateHeaderName" | "http.validateHeaderValue" | "http.setMaxIdleHTTPParsers" | "http.Agent" | "http.ClientRequest" | "http.Server" | "http.ServerResponse" | "http.IncomingMessage" | "http.OutgoingMessage" | "http.WebSocket" | "https" | "https.globalAgent" | "https.createServer" | "https.get" | "https.request" | "https.Agent" | "https.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" | "sqlite" | "sqlite.DatabaseSync" | "sqlite.StatementSync" | "sqlite.SQLITE_CHANGESET_OMIT" | "sqlite.SQLITE_CHANGESET_REPLACE" | "sqlite.SQLITE_CHANGESET_ABORT" | "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" | "import.meta.resolve" | "import.meta.dirname" | "import.meta.filename")[]
|
|
6968
6977
|
}]
|
|
6969
6978
|
// ----- node/prefer-global/buffer -----
|
|
6970
6979
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7112,7 +7121,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7112
7121
|
order?: ("asc" | "desc")
|
|
7113
7122
|
|
|
7114
7123
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7115
|
-
[k: string]: unknown | undefined
|
|
7116
7124
|
}
|
|
7117
7125
|
|
|
7118
7126
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7138,10 +7146,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7138
7146
|
order?: ("asc" | "desc")
|
|
7139
7147
|
|
|
7140
7148
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7141
|
-
[k: string]: unknown | undefined
|
|
7142
7149
|
}
|
|
7143
7150
|
|
|
7144
|
-
groupName
|
|
7151
|
+
groupName: string
|
|
7145
7152
|
|
|
7146
7153
|
order?: ("asc" | "desc")
|
|
7147
7154
|
|
|
@@ -7151,10 +7158,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7151
7158
|
selector?: ("literal" | "spread")
|
|
7152
7159
|
|
|
7153
7160
|
elementNamePattern?: (({
|
|
7154
|
-
|
|
7161
|
+
|
|
7162
|
+
pattern: string
|
|
7163
|
+
|
|
7155
7164
|
flags?: string
|
|
7156
7165
|
} | string)[] | ({
|
|
7157
|
-
|
|
7166
|
+
|
|
7167
|
+
pattern: string
|
|
7168
|
+
|
|
7158
7169
|
flags?: string
|
|
7159
7170
|
} | string))
|
|
7160
7171
|
}[]
|
|
@@ -7167,10 +7178,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7167
7178
|
order?: ("asc" | "desc")
|
|
7168
7179
|
|
|
7169
7180
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7170
|
-
[k: string]: unknown | undefined
|
|
7171
7181
|
}
|
|
7172
7182
|
|
|
7173
|
-
groupName
|
|
7183
|
+
groupName: string
|
|
7174
7184
|
|
|
7175
7185
|
order?: ("asc" | "desc")
|
|
7176
7186
|
|
|
@@ -7179,43 +7189,66 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7179
7189
|
selector?: ("literal" | "spread")
|
|
7180
7190
|
|
|
7181
7191
|
elementNamePattern?: (({
|
|
7182
|
-
|
|
7192
|
+
|
|
7193
|
+
pattern: string
|
|
7194
|
+
|
|
7183
7195
|
flags?: string
|
|
7184
7196
|
} | string)[] | ({
|
|
7185
|
-
|
|
7197
|
+
|
|
7198
|
+
pattern: string
|
|
7199
|
+
|
|
7186
7200
|
flags?: string
|
|
7187
7201
|
} | string))
|
|
7188
7202
|
})[]
|
|
7203
|
+
|
|
7189
7204
|
useConfigurationIf?: {
|
|
7190
7205
|
|
|
7191
7206
|
allNamesMatchPattern?: (({
|
|
7192
|
-
|
|
7207
|
+
|
|
7208
|
+
pattern: string
|
|
7209
|
+
|
|
7193
7210
|
flags?: string
|
|
7194
7211
|
} | string)[] | ({
|
|
7195
|
-
|
|
7212
|
+
|
|
7213
|
+
pattern: string
|
|
7214
|
+
|
|
7196
7215
|
flags?: string
|
|
7197
7216
|
} | string))
|
|
7198
7217
|
}
|
|
7199
7218
|
|
|
7200
7219
|
partitionByComment?: (boolean | (({
|
|
7201
|
-
|
|
7220
|
+
|
|
7221
|
+
pattern: string
|
|
7222
|
+
|
|
7202
7223
|
flags?: string
|
|
7203
7224
|
} | string)[] | ({
|
|
7204
|
-
|
|
7225
|
+
|
|
7226
|
+
pattern: string
|
|
7227
|
+
|
|
7205
7228
|
flags?: string
|
|
7206
7229
|
} | string)) | {
|
|
7230
|
+
|
|
7207
7231
|
block?: (boolean | (({
|
|
7208
|
-
|
|
7232
|
+
|
|
7233
|
+
pattern: string
|
|
7234
|
+
|
|
7209
7235
|
flags?: string
|
|
7210
7236
|
} | string)[] | ({
|
|
7211
|
-
|
|
7237
|
+
|
|
7238
|
+
pattern: string
|
|
7239
|
+
|
|
7212
7240
|
flags?: string
|
|
7213
7241
|
} | string)))
|
|
7242
|
+
|
|
7214
7243
|
line?: (boolean | (({
|
|
7215
|
-
|
|
7244
|
+
|
|
7245
|
+
pattern: string
|
|
7246
|
+
|
|
7216
7247
|
flags?: string
|
|
7217
7248
|
} | string)[] | ({
|
|
7218
|
-
|
|
7249
|
+
|
|
7250
|
+
pattern: string
|
|
7251
|
+
|
|
7219
7252
|
flags?: string
|
|
7220
7253
|
} | string)))
|
|
7221
7254
|
})
|
|
@@ -7226,7 +7259,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7226
7259
|
|
|
7227
7260
|
groups?: (string | string[] | {
|
|
7228
7261
|
|
|
7229
|
-
newlinesBetween
|
|
7262
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7230
7263
|
})[]
|
|
7231
7264
|
}[]
|
|
7232
7265
|
// ----- perfectionist/sort-classes -----
|
|
@@ -7237,7 +7270,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
7237
7270
|
order?: ("asc" | "desc")
|
|
7238
7271
|
|
|
7239
7272
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7240
|
-
[k: string]: unknown | undefined
|
|
7241
7273
|
}
|
|
7242
7274
|
|
|
7243
7275
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7261,10 +7293,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
7261
7293
|
order?: ("asc" | "desc")
|
|
7262
7294
|
|
|
7263
7295
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7264
|
-
[k: string]: unknown | undefined
|
|
7265
7296
|
}
|
|
7266
7297
|
|
|
7267
|
-
groupName
|
|
7298
|
+
groupName: string
|
|
7268
7299
|
|
|
7269
7300
|
order?: ("asc" | "desc")
|
|
7270
7301
|
|
|
@@ -7276,26 +7307,38 @@ type PerfectionistSortClasses = []|[{
|
|
|
7276
7307
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7277
7308
|
|
|
7278
7309
|
decoratorNamePattern?: (({
|
|
7279
|
-
|
|
7310
|
+
|
|
7311
|
+
pattern: string
|
|
7312
|
+
|
|
7280
7313
|
flags?: string
|
|
7281
7314
|
} | string)[] | ({
|
|
7282
|
-
|
|
7315
|
+
|
|
7316
|
+
pattern: string
|
|
7317
|
+
|
|
7283
7318
|
flags?: string
|
|
7284
7319
|
} | string))
|
|
7285
7320
|
|
|
7286
7321
|
elementValuePattern?: (({
|
|
7287
|
-
|
|
7322
|
+
|
|
7323
|
+
pattern: string
|
|
7324
|
+
|
|
7288
7325
|
flags?: string
|
|
7289
7326
|
} | string)[] | ({
|
|
7290
|
-
|
|
7327
|
+
|
|
7328
|
+
pattern: string
|
|
7329
|
+
|
|
7291
7330
|
flags?: string
|
|
7292
7331
|
} | string))
|
|
7293
7332
|
|
|
7294
7333
|
elementNamePattern?: (({
|
|
7295
|
-
|
|
7334
|
+
|
|
7335
|
+
pattern: string
|
|
7336
|
+
|
|
7296
7337
|
flags?: string
|
|
7297
7338
|
} | string)[] | ({
|
|
7298
|
-
|
|
7339
|
+
|
|
7340
|
+
pattern: string
|
|
7341
|
+
|
|
7299
7342
|
flags?: string
|
|
7300
7343
|
} | string))
|
|
7301
7344
|
}[]
|
|
@@ -7308,10 +7351,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
7308
7351
|
order?: ("asc" | "desc")
|
|
7309
7352
|
|
|
7310
7353
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7311
|
-
[k: string]: unknown | undefined
|
|
7312
7354
|
}
|
|
7313
7355
|
|
|
7314
|
-
groupName
|
|
7356
|
+
groupName: string
|
|
7315
7357
|
|
|
7316
7358
|
order?: ("asc" | "desc")
|
|
7317
7359
|
|
|
@@ -7322,57 +7364,87 @@ type PerfectionistSortClasses = []|[{
|
|
|
7322
7364
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7323
7365
|
|
|
7324
7366
|
decoratorNamePattern?: (({
|
|
7325
|
-
|
|
7367
|
+
|
|
7368
|
+
pattern: string
|
|
7369
|
+
|
|
7326
7370
|
flags?: string
|
|
7327
7371
|
} | string)[] | ({
|
|
7328
|
-
|
|
7372
|
+
|
|
7373
|
+
pattern: string
|
|
7374
|
+
|
|
7329
7375
|
flags?: string
|
|
7330
7376
|
} | string))
|
|
7331
7377
|
|
|
7332
7378
|
elementValuePattern?: (({
|
|
7333
|
-
|
|
7379
|
+
|
|
7380
|
+
pattern: string
|
|
7381
|
+
|
|
7334
7382
|
flags?: string
|
|
7335
7383
|
} | string)[] | ({
|
|
7336
|
-
|
|
7384
|
+
|
|
7385
|
+
pattern: string
|
|
7386
|
+
|
|
7337
7387
|
flags?: string
|
|
7338
7388
|
} | string))
|
|
7339
7389
|
|
|
7340
7390
|
elementNamePattern?: (({
|
|
7341
|
-
|
|
7391
|
+
|
|
7392
|
+
pattern: string
|
|
7393
|
+
|
|
7342
7394
|
flags?: string
|
|
7343
7395
|
} | string)[] | ({
|
|
7344
|
-
|
|
7396
|
+
|
|
7397
|
+
pattern: string
|
|
7398
|
+
|
|
7345
7399
|
flags?: string
|
|
7346
7400
|
} | string))
|
|
7347
7401
|
})[]
|
|
7348
7402
|
|
|
7349
7403
|
ignoreCallbackDependenciesPatterns?: (({
|
|
7350
|
-
|
|
7404
|
+
|
|
7405
|
+
pattern: string
|
|
7406
|
+
|
|
7351
7407
|
flags?: string
|
|
7352
7408
|
} | string)[] | ({
|
|
7353
|
-
|
|
7409
|
+
|
|
7410
|
+
pattern: string
|
|
7411
|
+
|
|
7354
7412
|
flags?: string
|
|
7355
7413
|
} | string))
|
|
7356
7414
|
|
|
7357
7415
|
partitionByComment?: (boolean | (({
|
|
7358
|
-
|
|
7416
|
+
|
|
7417
|
+
pattern: string
|
|
7418
|
+
|
|
7359
7419
|
flags?: string
|
|
7360
7420
|
} | string)[] | ({
|
|
7361
|
-
|
|
7421
|
+
|
|
7422
|
+
pattern: string
|
|
7423
|
+
|
|
7362
7424
|
flags?: string
|
|
7363
7425
|
} | string)) | {
|
|
7426
|
+
|
|
7364
7427
|
block?: (boolean | (({
|
|
7365
|
-
|
|
7428
|
+
|
|
7429
|
+
pattern: string
|
|
7430
|
+
|
|
7366
7431
|
flags?: string
|
|
7367
7432
|
} | string)[] | ({
|
|
7368
|
-
|
|
7433
|
+
|
|
7434
|
+
pattern: string
|
|
7435
|
+
|
|
7369
7436
|
flags?: string
|
|
7370
7437
|
} | string)))
|
|
7438
|
+
|
|
7371
7439
|
line?: (boolean | (({
|
|
7372
|
-
|
|
7440
|
+
|
|
7441
|
+
pattern: string
|
|
7442
|
+
|
|
7373
7443
|
flags?: string
|
|
7374
7444
|
} | string)[] | ({
|
|
7375
|
-
|
|
7445
|
+
|
|
7446
|
+
pattern: string
|
|
7447
|
+
|
|
7376
7448
|
flags?: string
|
|
7377
7449
|
} | string)))
|
|
7378
7450
|
})
|
|
@@ -7383,7 +7455,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
7383
7455
|
|
|
7384
7456
|
groups?: (string | string[] | {
|
|
7385
7457
|
|
|
7386
|
-
newlinesBetween
|
|
7458
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7387
7459
|
})[]
|
|
7388
7460
|
}]
|
|
7389
7461
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -7394,7 +7466,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7394
7466
|
order?: ("asc" | "desc")
|
|
7395
7467
|
|
|
7396
7468
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7397
|
-
[k: string]: unknown | undefined
|
|
7398
7469
|
}
|
|
7399
7470
|
|
|
7400
7471
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7420,24 +7491,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7420
7491
|
sortOnClasses?: boolean
|
|
7421
7492
|
|
|
7422
7493
|
partitionByComment?: (boolean | (({
|
|
7423
|
-
|
|
7494
|
+
|
|
7495
|
+
pattern: string
|
|
7496
|
+
|
|
7424
7497
|
flags?: string
|
|
7425
7498
|
} | string)[] | ({
|
|
7426
|
-
|
|
7499
|
+
|
|
7500
|
+
pattern: string
|
|
7501
|
+
|
|
7427
7502
|
flags?: string
|
|
7428
7503
|
} | string)) | {
|
|
7504
|
+
|
|
7429
7505
|
block?: (boolean | (({
|
|
7430
|
-
|
|
7506
|
+
|
|
7507
|
+
pattern: string
|
|
7508
|
+
|
|
7431
7509
|
flags?: string
|
|
7432
7510
|
} | string)[] | ({
|
|
7433
|
-
|
|
7511
|
+
|
|
7512
|
+
pattern: string
|
|
7513
|
+
|
|
7434
7514
|
flags?: string
|
|
7435
7515
|
} | string)))
|
|
7516
|
+
|
|
7436
7517
|
line?: (boolean | (({
|
|
7437
|
-
|
|
7518
|
+
|
|
7519
|
+
pattern: string
|
|
7520
|
+
|
|
7438
7521
|
flags?: string
|
|
7439
7522
|
} | string)[] | ({
|
|
7440
|
-
|
|
7523
|
+
|
|
7524
|
+
pattern: string
|
|
7525
|
+
|
|
7441
7526
|
flags?: string
|
|
7442
7527
|
} | string)))
|
|
7443
7528
|
})
|
|
@@ -7448,7 +7533,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7448
7533
|
|
|
7449
7534
|
groups?: (string | string[] | {
|
|
7450
7535
|
|
|
7451
|
-
newlinesBetween
|
|
7536
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7452
7537
|
})[]
|
|
7453
7538
|
}]
|
|
7454
7539
|
// ----- perfectionist/sort-enums -----
|
|
@@ -7459,7 +7544,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
7459
7544
|
order?: ("asc" | "desc")
|
|
7460
7545
|
|
|
7461
7546
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7462
|
-
[k: string]: unknown | undefined
|
|
7463
7547
|
}
|
|
7464
7548
|
|
|
7465
7549
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7473,8 +7557,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
7473
7557
|
order?: ("asc" | "desc")
|
|
7474
7558
|
|
|
7475
7559
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7476
|
-
|
|
7477
|
-
forceNumericSort?: boolean
|
|
7478
7560
|
customGroups?: ({
|
|
7479
7561
|
[k: string]: (string | string[]) | undefined
|
|
7480
7562
|
} | ({
|
|
@@ -7486,10 +7568,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
7486
7568
|
order?: ("asc" | "desc")
|
|
7487
7569
|
|
|
7488
7570
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7489
|
-
[k: string]: unknown | undefined
|
|
7490
7571
|
}
|
|
7491
7572
|
|
|
7492
|
-
groupName
|
|
7573
|
+
groupName: string
|
|
7493
7574
|
|
|
7494
7575
|
order?: ("asc" | "desc")
|
|
7495
7576
|
|
|
@@ -7497,18 +7578,26 @@ type PerfectionistSortEnums = []|[{
|
|
|
7497
7578
|
anyOf?: {
|
|
7498
7579
|
|
|
7499
7580
|
elementValuePattern?: (({
|
|
7500
|
-
|
|
7581
|
+
|
|
7582
|
+
pattern: string
|
|
7583
|
+
|
|
7501
7584
|
flags?: string
|
|
7502
7585
|
} | string)[] | ({
|
|
7503
|
-
|
|
7586
|
+
|
|
7587
|
+
pattern: string
|
|
7588
|
+
|
|
7504
7589
|
flags?: string
|
|
7505
7590
|
} | string))
|
|
7506
7591
|
|
|
7507
7592
|
elementNamePattern?: (({
|
|
7508
|
-
|
|
7593
|
+
|
|
7594
|
+
pattern: string
|
|
7595
|
+
|
|
7509
7596
|
flags?: string
|
|
7510
7597
|
} | string)[] | ({
|
|
7511
|
-
|
|
7598
|
+
|
|
7599
|
+
pattern: string
|
|
7600
|
+
|
|
7512
7601
|
flags?: string
|
|
7513
7602
|
} | string))
|
|
7514
7603
|
}[]
|
|
@@ -7521,53 +7610,76 @@ type PerfectionistSortEnums = []|[{
|
|
|
7521
7610
|
order?: ("asc" | "desc")
|
|
7522
7611
|
|
|
7523
7612
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7524
|
-
[k: string]: unknown | undefined
|
|
7525
7613
|
}
|
|
7526
7614
|
|
|
7527
|
-
groupName
|
|
7615
|
+
groupName: string
|
|
7528
7616
|
|
|
7529
7617
|
order?: ("asc" | "desc")
|
|
7530
7618
|
|
|
7531
7619
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7532
7620
|
|
|
7533
7621
|
elementValuePattern?: (({
|
|
7534
|
-
|
|
7622
|
+
|
|
7623
|
+
pattern: string
|
|
7624
|
+
|
|
7535
7625
|
flags?: string
|
|
7536
7626
|
} | string)[] | ({
|
|
7537
|
-
|
|
7627
|
+
|
|
7628
|
+
pattern: string
|
|
7629
|
+
|
|
7538
7630
|
flags?: string
|
|
7539
7631
|
} | string))
|
|
7540
7632
|
|
|
7541
7633
|
elementNamePattern?: (({
|
|
7542
|
-
|
|
7634
|
+
|
|
7635
|
+
pattern: string
|
|
7636
|
+
|
|
7543
7637
|
flags?: string
|
|
7544
7638
|
} | string)[] | ({
|
|
7545
|
-
|
|
7639
|
+
|
|
7640
|
+
pattern: string
|
|
7641
|
+
|
|
7546
7642
|
flags?: string
|
|
7547
7643
|
} | string))
|
|
7548
7644
|
})[])
|
|
7549
7645
|
|
|
7646
|
+
forceNumericSort?: boolean
|
|
7647
|
+
|
|
7550
7648
|
sortByValue?: boolean
|
|
7551
7649
|
|
|
7552
7650
|
partitionByComment?: (boolean | (({
|
|
7553
|
-
|
|
7651
|
+
|
|
7652
|
+
pattern: string
|
|
7653
|
+
|
|
7554
7654
|
flags?: string
|
|
7555
7655
|
} | string)[] | ({
|
|
7556
|
-
|
|
7656
|
+
|
|
7657
|
+
pattern: string
|
|
7658
|
+
|
|
7557
7659
|
flags?: string
|
|
7558
7660
|
} | string)) | {
|
|
7661
|
+
|
|
7559
7662
|
block?: (boolean | (({
|
|
7560
|
-
|
|
7663
|
+
|
|
7664
|
+
pattern: string
|
|
7665
|
+
|
|
7561
7666
|
flags?: string
|
|
7562
7667
|
} | string)[] | ({
|
|
7563
|
-
|
|
7668
|
+
|
|
7669
|
+
pattern: string
|
|
7670
|
+
|
|
7564
7671
|
flags?: string
|
|
7565
7672
|
} | string)))
|
|
7673
|
+
|
|
7566
7674
|
line?: (boolean | (({
|
|
7567
|
-
|
|
7675
|
+
|
|
7676
|
+
pattern: string
|
|
7677
|
+
|
|
7568
7678
|
flags?: string
|
|
7569
7679
|
} | string)[] | ({
|
|
7570
|
-
|
|
7680
|
+
|
|
7681
|
+
pattern: string
|
|
7682
|
+
|
|
7571
7683
|
flags?: string
|
|
7572
7684
|
} | string)))
|
|
7573
7685
|
})
|
|
@@ -7578,7 +7690,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
7578
7690
|
|
|
7579
7691
|
groups?: (string | string[] | {
|
|
7580
7692
|
|
|
7581
|
-
newlinesBetween
|
|
7693
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7582
7694
|
})[]
|
|
7583
7695
|
}]
|
|
7584
7696
|
// ----- perfectionist/sort-exports -----
|
|
@@ -7589,7 +7701,6 @@ type PerfectionistSortExports = {
|
|
|
7589
7701
|
order?: ("asc" | "desc")
|
|
7590
7702
|
|
|
7591
7703
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7592
|
-
[k: string]: unknown | undefined
|
|
7593
7704
|
}
|
|
7594
7705
|
|
|
7595
7706
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7615,10 +7726,9 @@ type PerfectionistSortExports = {
|
|
|
7615
7726
|
order?: ("asc" | "desc")
|
|
7616
7727
|
|
|
7617
7728
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7618
|
-
[k: string]: unknown | undefined
|
|
7619
7729
|
}
|
|
7620
7730
|
|
|
7621
|
-
groupName
|
|
7731
|
+
groupName: string
|
|
7622
7732
|
|
|
7623
7733
|
order?: ("asc" | "desc")
|
|
7624
7734
|
|
|
@@ -7630,10 +7740,14 @@ type PerfectionistSortExports = {
|
|
|
7630
7740
|
selector?: "export"
|
|
7631
7741
|
|
|
7632
7742
|
elementNamePattern?: (({
|
|
7633
|
-
|
|
7743
|
+
|
|
7744
|
+
pattern: string
|
|
7745
|
+
|
|
7634
7746
|
flags?: string
|
|
7635
7747
|
} | string)[] | ({
|
|
7636
|
-
|
|
7748
|
+
|
|
7749
|
+
pattern: string
|
|
7750
|
+
|
|
7637
7751
|
flags?: string
|
|
7638
7752
|
} | string))
|
|
7639
7753
|
}[]
|
|
@@ -7646,10 +7760,9 @@ type PerfectionistSortExports = {
|
|
|
7646
7760
|
order?: ("asc" | "desc")
|
|
7647
7761
|
|
|
7648
7762
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7649
|
-
[k: string]: unknown | undefined
|
|
7650
7763
|
}
|
|
7651
7764
|
|
|
7652
|
-
groupName
|
|
7765
|
+
groupName: string
|
|
7653
7766
|
|
|
7654
7767
|
order?: ("asc" | "desc")
|
|
7655
7768
|
|
|
@@ -7660,33 +7773,51 @@ type PerfectionistSortExports = {
|
|
|
7660
7773
|
selector?: "export"
|
|
7661
7774
|
|
|
7662
7775
|
elementNamePattern?: (({
|
|
7663
|
-
|
|
7776
|
+
|
|
7777
|
+
pattern: string
|
|
7778
|
+
|
|
7664
7779
|
flags?: string
|
|
7665
7780
|
} | string)[] | ({
|
|
7666
|
-
|
|
7781
|
+
|
|
7782
|
+
pattern: string
|
|
7783
|
+
|
|
7667
7784
|
flags?: string
|
|
7668
7785
|
} | string))
|
|
7669
7786
|
})[]
|
|
7670
7787
|
|
|
7671
7788
|
partitionByComment?: (boolean | (({
|
|
7672
|
-
|
|
7789
|
+
|
|
7790
|
+
pattern: string
|
|
7791
|
+
|
|
7673
7792
|
flags?: string
|
|
7674
7793
|
} | string)[] | ({
|
|
7675
|
-
|
|
7794
|
+
|
|
7795
|
+
pattern: string
|
|
7796
|
+
|
|
7676
7797
|
flags?: string
|
|
7677
7798
|
} | string)) | {
|
|
7799
|
+
|
|
7678
7800
|
block?: (boolean | (({
|
|
7679
|
-
|
|
7801
|
+
|
|
7802
|
+
pattern: string
|
|
7803
|
+
|
|
7680
7804
|
flags?: string
|
|
7681
7805
|
} | string)[] | ({
|
|
7682
|
-
|
|
7806
|
+
|
|
7807
|
+
pattern: string
|
|
7808
|
+
|
|
7683
7809
|
flags?: string
|
|
7684
7810
|
} | string)))
|
|
7811
|
+
|
|
7685
7812
|
line?: (boolean | (({
|
|
7686
|
-
|
|
7813
|
+
|
|
7814
|
+
pattern: string
|
|
7815
|
+
|
|
7687
7816
|
flags?: string
|
|
7688
7817
|
} | string)[] | ({
|
|
7689
|
-
|
|
7818
|
+
|
|
7819
|
+
pattern: string
|
|
7820
|
+
|
|
7690
7821
|
flags?: string
|
|
7691
7822
|
} | string)))
|
|
7692
7823
|
})
|
|
@@ -7697,7 +7828,7 @@ type PerfectionistSortExports = {
|
|
|
7697
7828
|
|
|
7698
7829
|
groups?: (string | string[] | {
|
|
7699
7830
|
|
|
7700
|
-
newlinesBetween
|
|
7831
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7701
7832
|
})[]
|
|
7702
7833
|
}[]
|
|
7703
7834
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -7708,7 +7839,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
7708
7839
|
order?: ("asc" | "desc")
|
|
7709
7840
|
|
|
7710
7841
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7711
|
-
[k: string]: unknown | undefined
|
|
7712
7842
|
}
|
|
7713
7843
|
|
|
7714
7844
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7729,19 +7859,17 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
7729
7859
|
|
|
7730
7860
|
groups?: (string | string[] | {
|
|
7731
7861
|
|
|
7732
|
-
newlinesBetween
|
|
7862
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7733
7863
|
})[]
|
|
7734
7864
|
}]
|
|
7735
7865
|
// ----- perfectionist/sort-imports -----
|
|
7736
|
-
type PerfectionistSortImports =
|
|
7737
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
7866
|
+
type PerfectionistSortImports = {
|
|
7738
7867
|
|
|
7739
7868
|
fallbackSort?: {
|
|
7740
7869
|
|
|
7741
7870
|
order?: ("asc" | "desc")
|
|
7742
7871
|
|
|
7743
7872
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7744
|
-
[k: string]: unknown | undefined
|
|
7745
7873
|
}
|
|
7746
7874
|
|
|
7747
7875
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7755,17 +7883,106 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
7755
7883
|
order?: ("asc" | "desc")
|
|
7756
7884
|
|
|
7757
7885
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7758
|
-
|
|
7759
|
-
customGroups?: {
|
|
7886
|
+
customGroups?: ({
|
|
7760
7887
|
|
|
7761
7888
|
value?: {
|
|
7762
|
-
[k: string]:
|
|
7889
|
+
[k: string]: (string | string[]) | undefined
|
|
7763
7890
|
}
|
|
7764
7891
|
|
|
7765
7892
|
type?: {
|
|
7766
|
-
[k: string]:
|
|
7893
|
+
[k: string]: (string | string[]) | undefined
|
|
7767
7894
|
}
|
|
7768
|
-
}
|
|
7895
|
+
} | ({
|
|
7896
|
+
|
|
7897
|
+
newlinesInside?: ("always" | "never")
|
|
7898
|
+
|
|
7899
|
+
fallbackSort?: {
|
|
7900
|
+
|
|
7901
|
+
order?: ("asc" | "desc")
|
|
7902
|
+
|
|
7903
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7904
|
+
}
|
|
7905
|
+
|
|
7906
|
+
groupName: string
|
|
7907
|
+
|
|
7908
|
+
order?: ("asc" | "desc")
|
|
7909
|
+
|
|
7910
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7911
|
+
anyOf?: {
|
|
7912
|
+
|
|
7913
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
7914
|
+
|
|
7915
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
7916
|
+
|
|
7917
|
+
elementValuePattern?: (({
|
|
7918
|
+
|
|
7919
|
+
pattern: string
|
|
7920
|
+
|
|
7921
|
+
flags?: string
|
|
7922
|
+
} | string)[] | ({
|
|
7923
|
+
|
|
7924
|
+
pattern: string
|
|
7925
|
+
|
|
7926
|
+
flags?: string
|
|
7927
|
+
} | string))
|
|
7928
|
+
|
|
7929
|
+
elementNamePattern?: (({
|
|
7930
|
+
|
|
7931
|
+
pattern: string
|
|
7932
|
+
|
|
7933
|
+
flags?: string
|
|
7934
|
+
} | string)[] | ({
|
|
7935
|
+
|
|
7936
|
+
pattern: string
|
|
7937
|
+
|
|
7938
|
+
flags?: string
|
|
7939
|
+
} | string))
|
|
7940
|
+
}[]
|
|
7941
|
+
} | {
|
|
7942
|
+
|
|
7943
|
+
newlinesInside?: ("always" | "never")
|
|
7944
|
+
|
|
7945
|
+
fallbackSort?: {
|
|
7946
|
+
|
|
7947
|
+
order?: ("asc" | "desc")
|
|
7948
|
+
|
|
7949
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7950
|
+
}
|
|
7951
|
+
|
|
7952
|
+
groupName: string
|
|
7953
|
+
|
|
7954
|
+
order?: ("asc" | "desc")
|
|
7955
|
+
|
|
7956
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7957
|
+
|
|
7958
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
7959
|
+
|
|
7960
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
7961
|
+
|
|
7962
|
+
elementValuePattern?: (({
|
|
7963
|
+
|
|
7964
|
+
pattern: string
|
|
7965
|
+
|
|
7966
|
+
flags?: string
|
|
7967
|
+
} | string)[] | ({
|
|
7968
|
+
|
|
7969
|
+
pattern: string
|
|
7970
|
+
|
|
7971
|
+
flags?: string
|
|
7972
|
+
} | string))
|
|
7973
|
+
|
|
7974
|
+
elementNamePattern?: (({
|
|
7975
|
+
|
|
7976
|
+
pattern: string
|
|
7977
|
+
|
|
7978
|
+
flags?: string
|
|
7979
|
+
} | string)[] | ({
|
|
7980
|
+
|
|
7981
|
+
pattern: string
|
|
7982
|
+
|
|
7983
|
+
flags?: string
|
|
7984
|
+
} | string))
|
|
7985
|
+
})[])
|
|
7769
7986
|
|
|
7770
7987
|
maxLineLength?: number
|
|
7771
7988
|
|
|
@@ -7776,24 +7993,38 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
7776
7993
|
tsconfigRootDir?: string
|
|
7777
7994
|
|
|
7778
7995
|
partitionByComment?: (boolean | (({
|
|
7779
|
-
|
|
7996
|
+
|
|
7997
|
+
pattern: string
|
|
7998
|
+
|
|
7780
7999
|
flags?: string
|
|
7781
8000
|
} | string)[] | ({
|
|
7782
|
-
|
|
8001
|
+
|
|
8002
|
+
pattern: string
|
|
8003
|
+
|
|
7783
8004
|
flags?: string
|
|
7784
8005
|
} | string)) | {
|
|
8006
|
+
|
|
7785
8007
|
block?: (boolean | (({
|
|
7786
|
-
|
|
8008
|
+
|
|
8009
|
+
pattern: string
|
|
8010
|
+
|
|
7787
8011
|
flags?: string
|
|
7788
8012
|
} | string)[] | ({
|
|
7789
|
-
|
|
8013
|
+
|
|
8014
|
+
pattern: string
|
|
8015
|
+
|
|
7790
8016
|
flags?: string
|
|
7791
8017
|
} | string)))
|
|
8018
|
+
|
|
7792
8019
|
line?: (boolean | (({
|
|
7793
|
-
|
|
8020
|
+
|
|
8021
|
+
pattern: string
|
|
8022
|
+
|
|
7794
8023
|
flags?: string
|
|
7795
8024
|
} | string)[] | ({
|
|
7796
|
-
|
|
8025
|
+
|
|
8026
|
+
pattern: string
|
|
8027
|
+
|
|
7797
8028
|
flags?: string
|
|
7798
8029
|
} | string)))
|
|
7799
8030
|
})
|
|
@@ -7803,25 +8034,22 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
7803
8034
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7804
8035
|
|
|
7805
8036
|
internalPattern?: (({
|
|
7806
|
-
|
|
8037
|
+
|
|
8038
|
+
pattern: string
|
|
8039
|
+
|
|
7807
8040
|
flags?: string
|
|
7808
8041
|
} | string)[] | ({
|
|
7809
|
-
|
|
8042
|
+
|
|
8043
|
+
pattern: string
|
|
8044
|
+
|
|
7810
8045
|
flags?: string
|
|
7811
8046
|
} | string))
|
|
7812
8047
|
|
|
7813
8048
|
groups?: (string | string[] | {
|
|
7814
8049
|
|
|
7815
|
-
newlinesBetween
|
|
8050
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7816
8051
|
})[]
|
|
7817
|
-
}
|
|
7818
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
7819
|
-
[k: string]: unknown | undefined
|
|
7820
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
7821
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
7822
|
-
type: "line-length"
|
|
7823
|
-
[k: string]: unknown | undefined
|
|
7824
|
-
}
|
|
8052
|
+
}[]
|
|
7825
8053
|
// ----- perfectionist/sort-interfaces -----
|
|
7826
8054
|
type PerfectionistSortInterfaces = {
|
|
7827
8055
|
|
|
@@ -7830,7 +8058,7 @@ type PerfectionistSortInterfaces = {
|
|
|
7830
8058
|
order?: ("asc" | "desc")
|
|
7831
8059
|
|
|
7832
8060
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7833
|
-
|
|
8061
|
+
sortBy?: ("name" | "value")
|
|
7834
8062
|
}
|
|
7835
8063
|
|
|
7836
8064
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7856,10 +8084,9 @@ type PerfectionistSortInterfaces = {
|
|
|
7856
8084
|
|
|
7857
8085
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7858
8086
|
sortBy?: ("name" | "value")
|
|
7859
|
-
[k: string]: unknown | undefined
|
|
7860
8087
|
}
|
|
7861
8088
|
|
|
7862
|
-
groupName
|
|
8089
|
+
groupName: string
|
|
7863
8090
|
|
|
7864
8091
|
order?: ("asc" | "desc")
|
|
7865
8092
|
|
|
@@ -7871,18 +8098,26 @@ type PerfectionistSortInterfaces = {
|
|
|
7871
8098
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
7872
8099
|
|
|
7873
8100
|
elementValuePattern?: (({
|
|
7874
|
-
|
|
8101
|
+
|
|
8102
|
+
pattern: string
|
|
8103
|
+
|
|
7875
8104
|
flags?: string
|
|
7876
8105
|
} | string)[] | ({
|
|
7877
|
-
|
|
8106
|
+
|
|
8107
|
+
pattern: string
|
|
8108
|
+
|
|
7878
8109
|
flags?: string
|
|
7879
8110
|
} | string))
|
|
7880
8111
|
|
|
7881
8112
|
elementNamePattern?: (({
|
|
7882
|
-
|
|
8113
|
+
|
|
8114
|
+
pattern: string
|
|
8115
|
+
|
|
7883
8116
|
flags?: string
|
|
7884
8117
|
} | string)[] | ({
|
|
7885
|
-
|
|
8118
|
+
|
|
8119
|
+
pattern: string
|
|
8120
|
+
|
|
7886
8121
|
flags?: string
|
|
7887
8122
|
} | string))
|
|
7888
8123
|
sortBy?: ("name" | "value")
|
|
@@ -7897,10 +8132,9 @@ type PerfectionistSortInterfaces = {
|
|
|
7897
8132
|
|
|
7898
8133
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7899
8134
|
sortBy?: ("name" | "value")
|
|
7900
|
-
[k: string]: unknown | undefined
|
|
7901
8135
|
}
|
|
7902
8136
|
|
|
7903
|
-
groupName
|
|
8137
|
+
groupName: string
|
|
7904
8138
|
|
|
7905
8139
|
order?: ("asc" | "desc")
|
|
7906
8140
|
|
|
@@ -7911,62 +8145,93 @@ type PerfectionistSortInterfaces = {
|
|
|
7911
8145
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
7912
8146
|
|
|
7913
8147
|
elementValuePattern?: (({
|
|
7914
|
-
|
|
8148
|
+
|
|
8149
|
+
pattern: string
|
|
8150
|
+
|
|
7915
8151
|
flags?: string
|
|
7916
8152
|
} | string)[] | ({
|
|
7917
|
-
|
|
7918
|
-
|
|
8153
|
+
|
|
8154
|
+
pattern: string
|
|
8155
|
+
|
|
8156
|
+
flags?: string
|
|
7919
8157
|
} | string))
|
|
7920
8158
|
|
|
7921
8159
|
elementNamePattern?: (({
|
|
7922
|
-
|
|
8160
|
+
|
|
8161
|
+
pattern: string
|
|
8162
|
+
|
|
7923
8163
|
flags?: string
|
|
7924
8164
|
} | string)[] | ({
|
|
7925
|
-
|
|
8165
|
+
|
|
8166
|
+
pattern: string
|
|
8167
|
+
|
|
7926
8168
|
flags?: string
|
|
7927
8169
|
} | string))
|
|
7928
8170
|
sortBy?: ("name" | "value")
|
|
7929
8171
|
})[])
|
|
7930
8172
|
|
|
7931
8173
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8174
|
+
|
|
7932
8175
|
useConfigurationIf?: {
|
|
7933
8176
|
|
|
7934
8177
|
allNamesMatchPattern?: (({
|
|
7935
|
-
|
|
8178
|
+
|
|
8179
|
+
pattern: string
|
|
8180
|
+
|
|
7936
8181
|
flags?: string
|
|
7937
8182
|
} | string)[] | ({
|
|
7938
|
-
|
|
8183
|
+
|
|
8184
|
+
pattern: string
|
|
8185
|
+
|
|
7939
8186
|
flags?: string
|
|
7940
8187
|
} | string))
|
|
7941
8188
|
|
|
7942
8189
|
declarationMatchesPattern?: (({
|
|
7943
|
-
|
|
8190
|
+
|
|
8191
|
+
pattern: string
|
|
8192
|
+
|
|
7944
8193
|
flags?: string
|
|
7945
8194
|
} | string)[] | ({
|
|
7946
|
-
|
|
8195
|
+
|
|
8196
|
+
pattern: string
|
|
8197
|
+
|
|
7947
8198
|
flags?: string
|
|
7948
8199
|
} | string))
|
|
7949
8200
|
}
|
|
7950
8201
|
|
|
7951
8202
|
partitionByComment?: (boolean | (({
|
|
7952
|
-
|
|
8203
|
+
|
|
8204
|
+
pattern: string
|
|
8205
|
+
|
|
7953
8206
|
flags?: string
|
|
7954
8207
|
} | string)[] | ({
|
|
7955
|
-
|
|
8208
|
+
|
|
8209
|
+
pattern: string
|
|
8210
|
+
|
|
7956
8211
|
flags?: string
|
|
7957
8212
|
} | string)) | {
|
|
8213
|
+
|
|
7958
8214
|
block?: (boolean | (({
|
|
7959
|
-
|
|
8215
|
+
|
|
8216
|
+
pattern: string
|
|
8217
|
+
|
|
7960
8218
|
flags?: string
|
|
7961
8219
|
} | string)[] | ({
|
|
7962
|
-
|
|
8220
|
+
|
|
8221
|
+
pattern: string
|
|
8222
|
+
|
|
7963
8223
|
flags?: string
|
|
7964
8224
|
} | string)))
|
|
8225
|
+
|
|
7965
8226
|
line?: (boolean | (({
|
|
7966
|
-
|
|
8227
|
+
|
|
8228
|
+
pattern: string
|
|
8229
|
+
|
|
7967
8230
|
flags?: string
|
|
7968
8231
|
} | string)[] | ({
|
|
7969
|
-
|
|
8232
|
+
|
|
8233
|
+
pattern: string
|
|
8234
|
+
|
|
7970
8235
|
flags?: string
|
|
7971
8236
|
} | string)))
|
|
7972
8237
|
})
|
|
@@ -7976,28 +8241,31 @@ type PerfectionistSortInterfaces = {
|
|
|
7976
8241
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7977
8242
|
|
|
7978
8243
|
ignorePattern?: (({
|
|
7979
|
-
|
|
8244
|
+
|
|
8245
|
+
pattern: string
|
|
8246
|
+
|
|
7980
8247
|
flags?: string
|
|
7981
8248
|
} | string)[] | ({
|
|
7982
|
-
|
|
8249
|
+
|
|
8250
|
+
pattern: string
|
|
8251
|
+
|
|
7983
8252
|
flags?: string
|
|
7984
8253
|
} | string))
|
|
7985
8254
|
sortBy?: ("name" | "value")
|
|
7986
8255
|
|
|
7987
8256
|
groups?: (string | string[] | {
|
|
7988
8257
|
|
|
7989
|
-
newlinesBetween
|
|
8258
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7990
8259
|
})[]
|
|
7991
8260
|
}[]
|
|
7992
8261
|
// ----- perfectionist/sort-intersection-types -----
|
|
7993
|
-
type PerfectionistSortIntersectionTypes =
|
|
8262
|
+
type PerfectionistSortIntersectionTypes = {
|
|
7994
8263
|
|
|
7995
8264
|
fallbackSort?: {
|
|
7996
8265
|
|
|
7997
8266
|
order?: ("asc" | "desc")
|
|
7998
8267
|
|
|
7999
8268
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8000
|
-
[k: string]: unknown | undefined
|
|
8001
8269
|
}
|
|
8002
8270
|
|
|
8003
8271
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8012,25 +8280,103 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
8012
8280
|
|
|
8013
8281
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8014
8282
|
|
|
8283
|
+
customGroups?: ({
|
|
8284
|
+
|
|
8285
|
+
newlinesInside?: ("always" | "never")
|
|
8286
|
+
|
|
8287
|
+
fallbackSort?: {
|
|
8288
|
+
|
|
8289
|
+
order?: ("asc" | "desc")
|
|
8290
|
+
|
|
8291
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8292
|
+
}
|
|
8293
|
+
|
|
8294
|
+
groupName: string
|
|
8295
|
+
|
|
8296
|
+
order?: ("asc" | "desc")
|
|
8297
|
+
|
|
8298
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8299
|
+
anyOf?: {
|
|
8300
|
+
|
|
8301
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
8302
|
+
|
|
8303
|
+
elementNamePattern?: (({
|
|
8304
|
+
|
|
8305
|
+
pattern: string
|
|
8306
|
+
|
|
8307
|
+
flags?: string
|
|
8308
|
+
} | string)[] | ({
|
|
8309
|
+
|
|
8310
|
+
pattern: string
|
|
8311
|
+
|
|
8312
|
+
flags?: string
|
|
8313
|
+
} | string))
|
|
8314
|
+
}[]
|
|
8315
|
+
} | {
|
|
8316
|
+
|
|
8317
|
+
newlinesInside?: ("always" | "never")
|
|
8318
|
+
|
|
8319
|
+
fallbackSort?: {
|
|
8320
|
+
|
|
8321
|
+
order?: ("asc" | "desc")
|
|
8322
|
+
|
|
8323
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8324
|
+
}
|
|
8325
|
+
|
|
8326
|
+
groupName: string
|
|
8327
|
+
|
|
8328
|
+
order?: ("asc" | "desc")
|
|
8329
|
+
|
|
8330
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8331
|
+
|
|
8332
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
8333
|
+
|
|
8334
|
+
elementNamePattern?: (({
|
|
8335
|
+
|
|
8336
|
+
pattern: string
|
|
8337
|
+
|
|
8338
|
+
flags?: string
|
|
8339
|
+
} | string)[] | ({
|
|
8340
|
+
|
|
8341
|
+
pattern: string
|
|
8342
|
+
|
|
8343
|
+
flags?: string
|
|
8344
|
+
} | string))
|
|
8345
|
+
})[]
|
|
8346
|
+
|
|
8015
8347
|
partitionByComment?: (boolean | (({
|
|
8016
|
-
|
|
8348
|
+
|
|
8349
|
+
pattern: string
|
|
8350
|
+
|
|
8017
8351
|
flags?: string
|
|
8018
8352
|
} | string)[] | ({
|
|
8019
|
-
|
|
8353
|
+
|
|
8354
|
+
pattern: string
|
|
8355
|
+
|
|
8020
8356
|
flags?: string
|
|
8021
8357
|
} | string)) | {
|
|
8358
|
+
|
|
8022
8359
|
block?: (boolean | (({
|
|
8023
|
-
|
|
8360
|
+
|
|
8361
|
+
pattern: string
|
|
8362
|
+
|
|
8024
8363
|
flags?: string
|
|
8025
8364
|
} | string)[] | ({
|
|
8026
|
-
|
|
8365
|
+
|
|
8366
|
+
pattern: string
|
|
8367
|
+
|
|
8027
8368
|
flags?: string
|
|
8028
8369
|
} | string)))
|
|
8370
|
+
|
|
8029
8371
|
line?: (boolean | (({
|
|
8030
|
-
|
|
8372
|
+
|
|
8373
|
+
pattern: string
|
|
8374
|
+
|
|
8031
8375
|
flags?: string
|
|
8032
8376
|
} | string)[] | ({
|
|
8033
|
-
|
|
8377
|
+
|
|
8378
|
+
pattern: string
|
|
8379
|
+
|
|
8034
8380
|
flags?: string
|
|
8035
8381
|
} | string)))
|
|
8036
8382
|
})
|
|
@@ -8041,9 +8387,9 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
8041
8387
|
|
|
8042
8388
|
groups?: (string | string[] | {
|
|
8043
8389
|
|
|
8044
|
-
newlinesBetween
|
|
8390
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8045
8391
|
})[]
|
|
8046
|
-
}]
|
|
8392
|
+
}[]
|
|
8047
8393
|
// ----- perfectionist/sort-jsx-props -----
|
|
8048
8394
|
type PerfectionistSortJsxProps = {
|
|
8049
8395
|
|
|
@@ -8052,7 +8398,6 @@ type PerfectionistSortJsxProps = {
|
|
|
8052
8398
|
order?: ("asc" | "desc")
|
|
8053
8399
|
|
|
8054
8400
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8055
|
-
[k: string]: unknown | undefined
|
|
8056
8401
|
}
|
|
8057
8402
|
|
|
8058
8403
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8077,10 +8422,9 @@ type PerfectionistSortJsxProps = {
|
|
|
8077
8422
|
order?: ("asc" | "desc")
|
|
8078
8423
|
|
|
8079
8424
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8080
|
-
[k: string]: unknown | undefined
|
|
8081
8425
|
}
|
|
8082
8426
|
|
|
8083
|
-
groupName
|
|
8427
|
+
groupName: string
|
|
8084
8428
|
|
|
8085
8429
|
order?: ("asc" | "desc")
|
|
8086
8430
|
|
|
@@ -8092,18 +8436,26 @@ type PerfectionistSortJsxProps = {
|
|
|
8092
8436
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
8093
8437
|
|
|
8094
8438
|
elementValuePattern?: (({
|
|
8095
|
-
|
|
8439
|
+
|
|
8440
|
+
pattern: string
|
|
8441
|
+
|
|
8096
8442
|
flags?: string
|
|
8097
8443
|
} | string)[] | ({
|
|
8098
|
-
|
|
8444
|
+
|
|
8445
|
+
pattern: string
|
|
8446
|
+
|
|
8099
8447
|
flags?: string
|
|
8100
8448
|
} | string))
|
|
8101
8449
|
|
|
8102
8450
|
elementNamePattern?: (({
|
|
8103
|
-
|
|
8451
|
+
|
|
8452
|
+
pattern: string
|
|
8453
|
+
|
|
8104
8454
|
flags?: string
|
|
8105
8455
|
} | string)[] | ({
|
|
8106
|
-
|
|
8456
|
+
|
|
8457
|
+
pattern: string
|
|
8458
|
+
|
|
8107
8459
|
flags?: string
|
|
8108
8460
|
} | string))
|
|
8109
8461
|
}[]
|
|
@@ -8116,10 +8468,9 @@ type PerfectionistSortJsxProps = {
|
|
|
8116
8468
|
order?: ("asc" | "desc")
|
|
8117
8469
|
|
|
8118
8470
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8119
|
-
[k: string]: unknown | undefined
|
|
8120
8471
|
}
|
|
8121
8472
|
|
|
8122
|
-
groupName
|
|
8473
|
+
groupName: string
|
|
8123
8474
|
|
|
8124
8475
|
order?: ("asc" | "desc")
|
|
8125
8476
|
|
|
@@ -8130,36 +8481,53 @@ type PerfectionistSortJsxProps = {
|
|
|
8130
8481
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
8131
8482
|
|
|
8132
8483
|
elementValuePattern?: (({
|
|
8133
|
-
|
|
8484
|
+
|
|
8485
|
+
pattern: string
|
|
8486
|
+
|
|
8134
8487
|
flags?: string
|
|
8135
8488
|
} | string)[] | ({
|
|
8136
|
-
|
|
8489
|
+
|
|
8490
|
+
pattern: string
|
|
8491
|
+
|
|
8137
8492
|
flags?: string
|
|
8138
8493
|
} | string))
|
|
8139
8494
|
|
|
8140
8495
|
elementNamePattern?: (({
|
|
8141
|
-
|
|
8496
|
+
|
|
8497
|
+
pattern: string
|
|
8498
|
+
|
|
8142
8499
|
flags?: string
|
|
8143
8500
|
} | string)[] | ({
|
|
8144
|
-
|
|
8501
|
+
|
|
8502
|
+
pattern: string
|
|
8503
|
+
|
|
8145
8504
|
flags?: string
|
|
8146
8505
|
} | string))
|
|
8147
8506
|
})[])
|
|
8507
|
+
|
|
8148
8508
|
useConfigurationIf?: {
|
|
8149
8509
|
|
|
8150
8510
|
allNamesMatchPattern?: (({
|
|
8151
|
-
|
|
8511
|
+
|
|
8512
|
+
pattern: string
|
|
8513
|
+
|
|
8152
8514
|
flags?: string
|
|
8153
8515
|
} | string)[] | ({
|
|
8154
|
-
|
|
8516
|
+
|
|
8517
|
+
pattern: string
|
|
8518
|
+
|
|
8155
8519
|
flags?: string
|
|
8156
8520
|
} | string))
|
|
8157
8521
|
|
|
8158
8522
|
tagMatchesPattern?: (({
|
|
8159
|
-
|
|
8523
|
+
|
|
8524
|
+
pattern: string
|
|
8525
|
+
|
|
8160
8526
|
flags?: string
|
|
8161
8527
|
} | string)[] | ({
|
|
8162
|
-
|
|
8528
|
+
|
|
8529
|
+
pattern: string
|
|
8530
|
+
|
|
8163
8531
|
flags?: string
|
|
8164
8532
|
} | string))
|
|
8165
8533
|
}
|
|
@@ -8169,16 +8537,20 @@ type PerfectionistSortJsxProps = {
|
|
|
8169
8537
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8170
8538
|
|
|
8171
8539
|
ignorePattern?: (({
|
|
8172
|
-
|
|
8540
|
+
|
|
8541
|
+
pattern: string
|
|
8542
|
+
|
|
8173
8543
|
flags?: string
|
|
8174
8544
|
} | string)[] | ({
|
|
8175
|
-
|
|
8545
|
+
|
|
8546
|
+
pattern: string
|
|
8547
|
+
|
|
8176
8548
|
flags?: string
|
|
8177
8549
|
} | string))
|
|
8178
8550
|
|
|
8179
8551
|
groups?: (string | string[] | {
|
|
8180
8552
|
|
|
8181
|
-
newlinesBetween
|
|
8553
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8182
8554
|
})[]
|
|
8183
8555
|
}[]
|
|
8184
8556
|
// ----- perfectionist/sort-maps -----
|
|
@@ -8189,7 +8561,6 @@ type PerfectionistSortMaps = {
|
|
|
8189
8561
|
order?: ("asc" | "desc")
|
|
8190
8562
|
|
|
8191
8563
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8192
|
-
[k: string]: unknown | undefined
|
|
8193
8564
|
}
|
|
8194
8565
|
|
|
8195
8566
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8213,10 +8584,9 @@ type PerfectionistSortMaps = {
|
|
|
8213
8584
|
order?: ("asc" | "desc")
|
|
8214
8585
|
|
|
8215
8586
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8216
|
-
[k: string]: unknown | undefined
|
|
8217
8587
|
}
|
|
8218
8588
|
|
|
8219
|
-
groupName
|
|
8589
|
+
groupName: string
|
|
8220
8590
|
|
|
8221
8591
|
order?: ("asc" | "desc")
|
|
8222
8592
|
|
|
@@ -8224,10 +8594,14 @@ type PerfectionistSortMaps = {
|
|
|
8224
8594
|
anyOf?: {
|
|
8225
8595
|
|
|
8226
8596
|
elementNamePattern?: (({
|
|
8227
|
-
|
|
8597
|
+
|
|
8598
|
+
pattern: string
|
|
8599
|
+
|
|
8228
8600
|
flags?: string
|
|
8229
8601
|
} | string)[] | ({
|
|
8230
|
-
|
|
8602
|
+
|
|
8603
|
+
pattern: string
|
|
8604
|
+
|
|
8231
8605
|
flags?: string
|
|
8232
8606
|
} | string))
|
|
8233
8607
|
}[]
|
|
@@ -8240,53 +8614,75 @@ type PerfectionistSortMaps = {
|
|
|
8240
8614
|
order?: ("asc" | "desc")
|
|
8241
8615
|
|
|
8242
8616
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8243
|
-
[k: string]: unknown | undefined
|
|
8244
8617
|
}
|
|
8245
8618
|
|
|
8246
|
-
groupName
|
|
8619
|
+
groupName: string
|
|
8247
8620
|
|
|
8248
8621
|
order?: ("asc" | "desc")
|
|
8249
8622
|
|
|
8250
8623
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8251
8624
|
|
|
8252
8625
|
elementNamePattern?: (({
|
|
8253
|
-
|
|
8626
|
+
|
|
8627
|
+
pattern: string
|
|
8628
|
+
|
|
8254
8629
|
flags?: string
|
|
8255
8630
|
} | string)[] | ({
|
|
8256
|
-
|
|
8631
|
+
|
|
8632
|
+
pattern: string
|
|
8633
|
+
|
|
8257
8634
|
flags?: string
|
|
8258
8635
|
} | string))
|
|
8259
8636
|
})[]
|
|
8637
|
+
|
|
8260
8638
|
useConfigurationIf?: {
|
|
8261
8639
|
|
|
8262
8640
|
allNamesMatchPattern?: (({
|
|
8263
|
-
|
|
8641
|
+
|
|
8642
|
+
pattern: string
|
|
8643
|
+
|
|
8264
8644
|
flags?: string
|
|
8265
8645
|
} | string)[] | ({
|
|
8266
|
-
|
|
8646
|
+
|
|
8647
|
+
pattern: string
|
|
8648
|
+
|
|
8267
8649
|
flags?: string
|
|
8268
8650
|
} | string))
|
|
8269
8651
|
}
|
|
8270
8652
|
|
|
8271
8653
|
partitionByComment?: (boolean | (({
|
|
8272
|
-
|
|
8654
|
+
|
|
8655
|
+
pattern: string
|
|
8656
|
+
|
|
8273
8657
|
flags?: string
|
|
8274
8658
|
} | string)[] | ({
|
|
8275
|
-
|
|
8659
|
+
|
|
8660
|
+
pattern: string
|
|
8661
|
+
|
|
8276
8662
|
flags?: string
|
|
8277
8663
|
} | string)) | {
|
|
8664
|
+
|
|
8278
8665
|
block?: (boolean | (({
|
|
8279
|
-
|
|
8666
|
+
|
|
8667
|
+
pattern: string
|
|
8668
|
+
|
|
8280
8669
|
flags?: string
|
|
8281
8670
|
} | string)[] | ({
|
|
8282
|
-
|
|
8671
|
+
|
|
8672
|
+
pattern: string
|
|
8673
|
+
|
|
8283
8674
|
flags?: string
|
|
8284
8675
|
} | string)))
|
|
8676
|
+
|
|
8285
8677
|
line?: (boolean | (({
|
|
8286
|
-
|
|
8678
|
+
|
|
8679
|
+
pattern: string
|
|
8680
|
+
|
|
8287
8681
|
flags?: string
|
|
8288
8682
|
} | string)[] | ({
|
|
8289
|
-
|
|
8683
|
+
|
|
8684
|
+
pattern: string
|
|
8685
|
+
|
|
8290
8686
|
flags?: string
|
|
8291
8687
|
} | string)))
|
|
8292
8688
|
})
|
|
@@ -8297,7 +8693,7 @@ type PerfectionistSortMaps = {
|
|
|
8297
8693
|
|
|
8298
8694
|
groups?: (string | string[] | {
|
|
8299
8695
|
|
|
8300
|
-
newlinesBetween
|
|
8696
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8301
8697
|
})[]
|
|
8302
8698
|
}[]
|
|
8303
8699
|
// ----- perfectionist/sort-modules -----
|
|
@@ -8308,7 +8704,6 @@ type PerfectionistSortModules = []|[{
|
|
|
8308
8704
|
order?: ("asc" | "desc")
|
|
8309
8705
|
|
|
8310
8706
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8311
|
-
[k: string]: unknown | undefined
|
|
8312
8707
|
}
|
|
8313
8708
|
|
|
8314
8709
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8332,10 +8727,9 @@ type PerfectionistSortModules = []|[{
|
|
|
8332
8727
|
order?: ("asc" | "desc")
|
|
8333
8728
|
|
|
8334
8729
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8335
|
-
[k: string]: unknown | undefined
|
|
8336
8730
|
}
|
|
8337
8731
|
|
|
8338
|
-
groupName
|
|
8732
|
+
groupName: string
|
|
8339
8733
|
|
|
8340
8734
|
order?: ("asc" | "desc")
|
|
8341
8735
|
|
|
@@ -8347,18 +8741,26 @@ type PerfectionistSortModules = []|[{
|
|
|
8347
8741
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8348
8742
|
|
|
8349
8743
|
decoratorNamePattern?: (({
|
|
8350
|
-
|
|
8744
|
+
|
|
8745
|
+
pattern: string
|
|
8746
|
+
|
|
8351
8747
|
flags?: string
|
|
8352
8748
|
} | string)[] | ({
|
|
8353
|
-
|
|
8749
|
+
|
|
8750
|
+
pattern: string
|
|
8751
|
+
|
|
8354
8752
|
flags?: string
|
|
8355
8753
|
} | string))
|
|
8356
8754
|
|
|
8357
8755
|
elementNamePattern?: (({
|
|
8358
|
-
|
|
8756
|
+
|
|
8757
|
+
pattern: string
|
|
8758
|
+
|
|
8359
8759
|
flags?: string
|
|
8360
8760
|
} | string)[] | ({
|
|
8361
|
-
|
|
8761
|
+
|
|
8762
|
+
pattern: string
|
|
8763
|
+
|
|
8362
8764
|
flags?: string
|
|
8363
8765
|
} | string))
|
|
8364
8766
|
}[]
|
|
@@ -8371,10 +8773,9 @@ type PerfectionistSortModules = []|[{
|
|
|
8371
8773
|
order?: ("asc" | "desc")
|
|
8372
8774
|
|
|
8373
8775
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8374
|
-
[k: string]: unknown | undefined
|
|
8375
8776
|
}
|
|
8376
8777
|
|
|
8377
|
-
groupName
|
|
8778
|
+
groupName: string
|
|
8378
8779
|
|
|
8379
8780
|
order?: ("asc" | "desc")
|
|
8380
8781
|
|
|
@@ -8385,41 +8786,63 @@ type PerfectionistSortModules = []|[{
|
|
|
8385
8786
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8386
8787
|
|
|
8387
8788
|
decoratorNamePattern?: (({
|
|
8388
|
-
|
|
8789
|
+
|
|
8790
|
+
pattern: string
|
|
8791
|
+
|
|
8389
8792
|
flags?: string
|
|
8390
8793
|
} | string)[] | ({
|
|
8391
|
-
|
|
8794
|
+
|
|
8795
|
+
pattern: string
|
|
8796
|
+
|
|
8392
8797
|
flags?: string
|
|
8393
8798
|
} | string))
|
|
8394
8799
|
|
|
8395
8800
|
elementNamePattern?: (({
|
|
8396
|
-
|
|
8801
|
+
|
|
8802
|
+
pattern: string
|
|
8803
|
+
|
|
8397
8804
|
flags?: string
|
|
8398
8805
|
} | string)[] | ({
|
|
8399
|
-
|
|
8806
|
+
|
|
8807
|
+
pattern: string
|
|
8808
|
+
|
|
8400
8809
|
flags?: string
|
|
8401
8810
|
} | string))
|
|
8402
8811
|
})[]
|
|
8403
8812
|
|
|
8404
8813
|
partitionByComment?: (boolean | (({
|
|
8405
|
-
|
|
8814
|
+
|
|
8815
|
+
pattern: string
|
|
8816
|
+
|
|
8406
8817
|
flags?: string
|
|
8407
8818
|
} | string)[] | ({
|
|
8408
|
-
|
|
8819
|
+
|
|
8820
|
+
pattern: string
|
|
8821
|
+
|
|
8409
8822
|
flags?: string
|
|
8410
8823
|
} | string)) | {
|
|
8824
|
+
|
|
8411
8825
|
block?: (boolean | (({
|
|
8412
|
-
|
|
8826
|
+
|
|
8827
|
+
pattern: string
|
|
8828
|
+
|
|
8413
8829
|
flags?: string
|
|
8414
8830
|
} | string)[] | ({
|
|
8415
|
-
|
|
8831
|
+
|
|
8832
|
+
pattern: string
|
|
8833
|
+
|
|
8416
8834
|
flags?: string
|
|
8417
8835
|
} | string)))
|
|
8836
|
+
|
|
8418
8837
|
line?: (boolean | (({
|
|
8419
|
-
|
|
8838
|
+
|
|
8839
|
+
pattern: string
|
|
8840
|
+
|
|
8420
8841
|
flags?: string
|
|
8421
8842
|
} | string)[] | ({
|
|
8422
|
-
|
|
8843
|
+
|
|
8844
|
+
pattern: string
|
|
8845
|
+
|
|
8423
8846
|
flags?: string
|
|
8424
8847
|
} | string)))
|
|
8425
8848
|
})
|
|
@@ -8430,18 +8853,17 @@ type PerfectionistSortModules = []|[{
|
|
|
8430
8853
|
|
|
8431
8854
|
groups?: (string | string[] | {
|
|
8432
8855
|
|
|
8433
|
-
newlinesBetween
|
|
8856
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8434
8857
|
})[]
|
|
8435
8858
|
}]
|
|
8436
8859
|
// ----- perfectionist/sort-named-exports -----
|
|
8437
|
-
type PerfectionistSortNamedExports =
|
|
8860
|
+
type PerfectionistSortNamedExports = {
|
|
8438
8861
|
|
|
8439
8862
|
fallbackSort?: {
|
|
8440
8863
|
|
|
8441
8864
|
order?: ("asc" | "desc")
|
|
8442
8865
|
|
|
8443
8866
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8444
|
-
[k: string]: unknown | undefined
|
|
8445
8867
|
}
|
|
8446
8868
|
|
|
8447
8869
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8460,40 +8882,128 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
8460
8882
|
|
|
8461
8883
|
ignoreAlias?: boolean
|
|
8462
8884
|
|
|
8885
|
+
customGroups?: ({
|
|
8886
|
+
|
|
8887
|
+
newlinesInside?: ("always" | "never")
|
|
8888
|
+
|
|
8889
|
+
fallbackSort?: {
|
|
8890
|
+
|
|
8891
|
+
order?: ("asc" | "desc")
|
|
8892
|
+
|
|
8893
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8894
|
+
}
|
|
8895
|
+
|
|
8896
|
+
groupName: string
|
|
8897
|
+
|
|
8898
|
+
order?: ("asc" | "desc")
|
|
8899
|
+
|
|
8900
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8901
|
+
anyOf?: {
|
|
8902
|
+
|
|
8903
|
+
modifiers?: ("value" | "type")[]
|
|
8904
|
+
|
|
8905
|
+
selector?: "export"
|
|
8906
|
+
|
|
8907
|
+
elementNamePattern?: (({
|
|
8908
|
+
|
|
8909
|
+
pattern: string
|
|
8910
|
+
|
|
8911
|
+
flags?: string
|
|
8912
|
+
} | string)[] | ({
|
|
8913
|
+
|
|
8914
|
+
pattern: string
|
|
8915
|
+
|
|
8916
|
+
flags?: string
|
|
8917
|
+
} | string))
|
|
8918
|
+
}[]
|
|
8919
|
+
} | {
|
|
8920
|
+
|
|
8921
|
+
newlinesInside?: ("always" | "never")
|
|
8922
|
+
|
|
8923
|
+
fallbackSort?: {
|
|
8924
|
+
|
|
8925
|
+
order?: ("asc" | "desc")
|
|
8926
|
+
|
|
8927
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8928
|
+
}
|
|
8929
|
+
|
|
8930
|
+
groupName: string
|
|
8931
|
+
|
|
8932
|
+
order?: ("asc" | "desc")
|
|
8933
|
+
|
|
8934
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8935
|
+
|
|
8936
|
+
modifiers?: ("value" | "type")[]
|
|
8937
|
+
|
|
8938
|
+
selector?: "export"
|
|
8939
|
+
|
|
8940
|
+
elementNamePattern?: (({
|
|
8941
|
+
|
|
8942
|
+
pattern: string
|
|
8943
|
+
|
|
8944
|
+
flags?: string
|
|
8945
|
+
} | string)[] | ({
|
|
8946
|
+
|
|
8947
|
+
pattern: string
|
|
8948
|
+
|
|
8949
|
+
flags?: string
|
|
8950
|
+
} | string))
|
|
8951
|
+
})[]
|
|
8952
|
+
|
|
8463
8953
|
partitionByComment?: (boolean | (({
|
|
8464
|
-
|
|
8954
|
+
|
|
8955
|
+
pattern: string
|
|
8956
|
+
|
|
8465
8957
|
flags?: string
|
|
8466
8958
|
} | string)[] | ({
|
|
8467
|
-
|
|
8959
|
+
|
|
8960
|
+
pattern: string
|
|
8961
|
+
|
|
8468
8962
|
flags?: string
|
|
8469
8963
|
} | string)) | {
|
|
8964
|
+
|
|
8470
8965
|
block?: (boolean | (({
|
|
8471
|
-
|
|
8966
|
+
|
|
8967
|
+
pattern: string
|
|
8968
|
+
|
|
8472
8969
|
flags?: string
|
|
8473
8970
|
} | string)[] | ({
|
|
8474
|
-
|
|
8971
|
+
|
|
8972
|
+
pattern: string
|
|
8973
|
+
|
|
8475
8974
|
flags?: string
|
|
8476
8975
|
} | string)))
|
|
8976
|
+
|
|
8477
8977
|
line?: (boolean | (({
|
|
8478
|
-
|
|
8978
|
+
|
|
8979
|
+
pattern: string
|
|
8980
|
+
|
|
8479
8981
|
flags?: string
|
|
8480
8982
|
} | string)[] | ({
|
|
8481
|
-
|
|
8983
|
+
|
|
8984
|
+
pattern: string
|
|
8985
|
+
|
|
8482
8986
|
flags?: string
|
|
8483
8987
|
} | string)))
|
|
8484
8988
|
})
|
|
8485
8989
|
|
|
8486
8990
|
partitionByNewLine?: boolean
|
|
8487
|
-
|
|
8991
|
+
|
|
8992
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8993
|
+
|
|
8994
|
+
groups?: (string | string[] | {
|
|
8995
|
+
|
|
8996
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8997
|
+
})[]
|
|
8998
|
+
}[]
|
|
8488
8999
|
// ----- perfectionist/sort-named-imports -----
|
|
8489
|
-
type PerfectionistSortNamedImports =
|
|
9000
|
+
type PerfectionistSortNamedImports = {
|
|
8490
9001
|
|
|
8491
9002
|
fallbackSort?: {
|
|
8492
9003
|
|
|
8493
9004
|
order?: ("asc" | "desc")
|
|
8494
9005
|
|
|
8495
9006
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8496
|
-
[k: string]: unknown | undefined
|
|
8497
9007
|
}
|
|
8498
9008
|
|
|
8499
9009
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8512,31 +9022,120 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8512
9022
|
|
|
8513
9023
|
ignoreAlias?: boolean
|
|
8514
9024
|
|
|
9025
|
+
customGroups?: ({
|
|
9026
|
+
|
|
9027
|
+
newlinesInside?: ("always" | "never")
|
|
9028
|
+
|
|
9029
|
+
fallbackSort?: {
|
|
9030
|
+
|
|
9031
|
+
order?: ("asc" | "desc")
|
|
9032
|
+
|
|
9033
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9034
|
+
}
|
|
9035
|
+
|
|
9036
|
+
groupName: string
|
|
9037
|
+
|
|
9038
|
+
order?: ("asc" | "desc")
|
|
9039
|
+
|
|
9040
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9041
|
+
anyOf?: {
|
|
9042
|
+
|
|
9043
|
+
modifiers?: ("value" | "type")[]
|
|
9044
|
+
|
|
9045
|
+
selector?: "import"
|
|
9046
|
+
|
|
9047
|
+
elementNamePattern?: (({
|
|
9048
|
+
|
|
9049
|
+
pattern: string
|
|
9050
|
+
|
|
9051
|
+
flags?: string
|
|
9052
|
+
} | string)[] | ({
|
|
9053
|
+
|
|
9054
|
+
pattern: string
|
|
9055
|
+
|
|
9056
|
+
flags?: string
|
|
9057
|
+
} | string))
|
|
9058
|
+
}[]
|
|
9059
|
+
} | {
|
|
9060
|
+
|
|
9061
|
+
newlinesInside?: ("always" | "never")
|
|
9062
|
+
|
|
9063
|
+
fallbackSort?: {
|
|
9064
|
+
|
|
9065
|
+
order?: ("asc" | "desc")
|
|
9066
|
+
|
|
9067
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9068
|
+
}
|
|
9069
|
+
|
|
9070
|
+
groupName: string
|
|
9071
|
+
|
|
9072
|
+
order?: ("asc" | "desc")
|
|
9073
|
+
|
|
9074
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9075
|
+
|
|
9076
|
+
modifiers?: ("value" | "type")[]
|
|
9077
|
+
|
|
9078
|
+
selector?: "import"
|
|
9079
|
+
|
|
9080
|
+
elementNamePattern?: (({
|
|
9081
|
+
|
|
9082
|
+
pattern: string
|
|
9083
|
+
|
|
9084
|
+
flags?: string
|
|
9085
|
+
} | string)[] | ({
|
|
9086
|
+
|
|
9087
|
+
pattern: string
|
|
9088
|
+
|
|
9089
|
+
flags?: string
|
|
9090
|
+
} | string))
|
|
9091
|
+
})[]
|
|
9092
|
+
|
|
8515
9093
|
partitionByComment?: (boolean | (({
|
|
8516
|
-
|
|
9094
|
+
|
|
9095
|
+
pattern: string
|
|
9096
|
+
|
|
8517
9097
|
flags?: string
|
|
8518
9098
|
} | string)[] | ({
|
|
8519
|
-
|
|
9099
|
+
|
|
9100
|
+
pattern: string
|
|
9101
|
+
|
|
8520
9102
|
flags?: string
|
|
8521
9103
|
} | string)) | {
|
|
9104
|
+
|
|
8522
9105
|
block?: (boolean | (({
|
|
8523
|
-
|
|
9106
|
+
|
|
9107
|
+
pattern: string
|
|
9108
|
+
|
|
8524
9109
|
flags?: string
|
|
8525
9110
|
} | string)[] | ({
|
|
8526
|
-
|
|
9111
|
+
|
|
9112
|
+
pattern: string
|
|
9113
|
+
|
|
8527
9114
|
flags?: string
|
|
8528
9115
|
} | string)))
|
|
9116
|
+
|
|
8529
9117
|
line?: (boolean | (({
|
|
8530
|
-
|
|
9118
|
+
|
|
9119
|
+
pattern: string
|
|
9120
|
+
|
|
8531
9121
|
flags?: string
|
|
8532
9122
|
} | string)[] | ({
|
|
8533
|
-
|
|
9123
|
+
|
|
9124
|
+
pattern: string
|
|
9125
|
+
|
|
8534
9126
|
flags?: string
|
|
8535
9127
|
} | string)))
|
|
8536
9128
|
})
|
|
8537
9129
|
|
|
8538
9130
|
partitionByNewLine?: boolean
|
|
8539
|
-
|
|
9131
|
+
|
|
9132
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9133
|
+
|
|
9134
|
+
groups?: (string | string[] | {
|
|
9135
|
+
|
|
9136
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9137
|
+
})[]
|
|
9138
|
+
}[]
|
|
8540
9139
|
// ----- perfectionist/sort-object-types -----
|
|
8541
9140
|
type PerfectionistSortObjectTypes = {
|
|
8542
9141
|
|
|
@@ -8545,7 +9144,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
8545
9144
|
order?: ("asc" | "desc")
|
|
8546
9145
|
|
|
8547
9146
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8548
|
-
|
|
9147
|
+
sortBy?: ("name" | "value")
|
|
8549
9148
|
}
|
|
8550
9149
|
|
|
8551
9150
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8571,10 +9170,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
8571
9170
|
|
|
8572
9171
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8573
9172
|
sortBy?: ("name" | "value")
|
|
8574
|
-
[k: string]: unknown | undefined
|
|
8575
9173
|
}
|
|
8576
9174
|
|
|
8577
|
-
groupName
|
|
9175
|
+
groupName: string
|
|
8578
9176
|
|
|
8579
9177
|
order?: ("asc" | "desc")
|
|
8580
9178
|
|
|
@@ -8586,18 +9184,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
8586
9184
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8587
9185
|
|
|
8588
9186
|
elementValuePattern?: (({
|
|
8589
|
-
|
|
9187
|
+
|
|
9188
|
+
pattern: string
|
|
9189
|
+
|
|
8590
9190
|
flags?: string
|
|
8591
9191
|
} | string)[] | ({
|
|
8592
|
-
|
|
9192
|
+
|
|
9193
|
+
pattern: string
|
|
9194
|
+
|
|
8593
9195
|
flags?: string
|
|
8594
9196
|
} | string))
|
|
8595
9197
|
|
|
8596
9198
|
elementNamePattern?: (({
|
|
8597
|
-
|
|
9199
|
+
|
|
9200
|
+
pattern: string
|
|
9201
|
+
|
|
8598
9202
|
flags?: string
|
|
8599
9203
|
} | string)[] | ({
|
|
8600
|
-
|
|
9204
|
+
|
|
9205
|
+
pattern: string
|
|
9206
|
+
|
|
8601
9207
|
flags?: string
|
|
8602
9208
|
} | string))
|
|
8603
9209
|
sortBy?: ("name" | "value")
|
|
@@ -8612,10 +9218,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
8612
9218
|
|
|
8613
9219
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8614
9220
|
sortBy?: ("name" | "value")
|
|
8615
|
-
[k: string]: unknown | undefined
|
|
8616
9221
|
}
|
|
8617
9222
|
|
|
8618
|
-
groupName
|
|
9223
|
+
groupName: string
|
|
8619
9224
|
|
|
8620
9225
|
order?: ("asc" | "desc")
|
|
8621
9226
|
|
|
@@ -8626,62 +9231,93 @@ type PerfectionistSortObjectTypes = {
|
|
|
8626
9231
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8627
9232
|
|
|
8628
9233
|
elementValuePattern?: (({
|
|
8629
|
-
|
|
9234
|
+
|
|
9235
|
+
pattern: string
|
|
9236
|
+
|
|
8630
9237
|
flags?: string
|
|
8631
9238
|
} | string)[] | ({
|
|
8632
|
-
|
|
9239
|
+
|
|
9240
|
+
pattern: string
|
|
9241
|
+
|
|
8633
9242
|
flags?: string
|
|
8634
9243
|
} | string))
|
|
8635
9244
|
|
|
8636
9245
|
elementNamePattern?: (({
|
|
8637
|
-
|
|
9246
|
+
|
|
9247
|
+
pattern: string
|
|
9248
|
+
|
|
8638
9249
|
flags?: string
|
|
8639
9250
|
} | string)[] | ({
|
|
8640
|
-
|
|
9251
|
+
|
|
9252
|
+
pattern: string
|
|
9253
|
+
|
|
8641
9254
|
flags?: string
|
|
8642
9255
|
} | string))
|
|
8643
9256
|
sortBy?: ("name" | "value")
|
|
8644
9257
|
})[])
|
|
8645
9258
|
|
|
8646
9259
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9260
|
+
|
|
8647
9261
|
useConfigurationIf?: {
|
|
8648
9262
|
|
|
8649
9263
|
allNamesMatchPattern?: (({
|
|
8650
|
-
|
|
9264
|
+
|
|
9265
|
+
pattern: string
|
|
9266
|
+
|
|
8651
9267
|
flags?: string
|
|
8652
9268
|
} | string)[] | ({
|
|
8653
|
-
|
|
9269
|
+
|
|
9270
|
+
pattern: string
|
|
9271
|
+
|
|
8654
9272
|
flags?: string
|
|
8655
9273
|
} | string))
|
|
8656
9274
|
|
|
8657
9275
|
declarationMatchesPattern?: (({
|
|
8658
|
-
|
|
9276
|
+
|
|
9277
|
+
pattern: string
|
|
9278
|
+
|
|
8659
9279
|
flags?: string
|
|
8660
9280
|
} | string)[] | ({
|
|
8661
|
-
|
|
9281
|
+
|
|
9282
|
+
pattern: string
|
|
9283
|
+
|
|
8662
9284
|
flags?: string
|
|
8663
9285
|
} | string))
|
|
8664
9286
|
}
|
|
8665
9287
|
|
|
8666
9288
|
partitionByComment?: (boolean | (({
|
|
8667
|
-
|
|
9289
|
+
|
|
9290
|
+
pattern: string
|
|
9291
|
+
|
|
8668
9292
|
flags?: string
|
|
8669
9293
|
} | string)[] | ({
|
|
8670
|
-
|
|
9294
|
+
|
|
9295
|
+
pattern: string
|
|
9296
|
+
|
|
8671
9297
|
flags?: string
|
|
8672
9298
|
} | string)) | {
|
|
9299
|
+
|
|
8673
9300
|
block?: (boolean | (({
|
|
8674
|
-
|
|
9301
|
+
|
|
9302
|
+
pattern: string
|
|
9303
|
+
|
|
8675
9304
|
flags?: string
|
|
8676
9305
|
} | string)[] | ({
|
|
8677
|
-
|
|
9306
|
+
|
|
9307
|
+
pattern: string
|
|
9308
|
+
|
|
8678
9309
|
flags?: string
|
|
8679
9310
|
} | string)))
|
|
9311
|
+
|
|
8680
9312
|
line?: (boolean | (({
|
|
8681
|
-
|
|
9313
|
+
|
|
9314
|
+
pattern: string
|
|
9315
|
+
|
|
8682
9316
|
flags?: string
|
|
8683
9317
|
} | string)[] | ({
|
|
8684
|
-
|
|
9318
|
+
|
|
9319
|
+
pattern: string
|
|
9320
|
+
|
|
8685
9321
|
flags?: string
|
|
8686
9322
|
} | string)))
|
|
8687
9323
|
})
|
|
@@ -8691,17 +9327,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
8691
9327
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8692
9328
|
|
|
8693
9329
|
ignorePattern?: (({
|
|
8694
|
-
|
|
9330
|
+
|
|
9331
|
+
pattern: string
|
|
9332
|
+
|
|
8695
9333
|
flags?: string
|
|
8696
9334
|
} | string)[] | ({
|
|
8697
|
-
|
|
9335
|
+
|
|
9336
|
+
pattern: string
|
|
9337
|
+
|
|
8698
9338
|
flags?: string
|
|
8699
9339
|
} | string))
|
|
8700
9340
|
sortBy?: ("name" | "value")
|
|
8701
9341
|
|
|
8702
9342
|
groups?: (string | string[] | {
|
|
8703
9343
|
|
|
8704
|
-
newlinesBetween
|
|
9344
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8705
9345
|
})[]
|
|
8706
9346
|
}[]
|
|
8707
9347
|
// ----- perfectionist/sort-objects -----
|
|
@@ -8712,7 +9352,6 @@ type PerfectionistSortObjects = {
|
|
|
8712
9352
|
order?: ("asc" | "desc")
|
|
8713
9353
|
|
|
8714
9354
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8715
|
-
[k: string]: unknown | undefined
|
|
8716
9355
|
}
|
|
8717
9356
|
|
|
8718
9357
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8742,10 +9381,9 @@ type PerfectionistSortObjects = {
|
|
|
8742
9381
|
order?: ("asc" | "desc")
|
|
8743
9382
|
|
|
8744
9383
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8745
|
-
[k: string]: unknown | undefined
|
|
8746
9384
|
}
|
|
8747
9385
|
|
|
8748
|
-
groupName
|
|
9386
|
+
groupName: string
|
|
8749
9387
|
|
|
8750
9388
|
order?: ("asc" | "desc")
|
|
8751
9389
|
|
|
@@ -8757,18 +9395,26 @@ type PerfectionistSortObjects = {
|
|
|
8757
9395
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
8758
9396
|
|
|
8759
9397
|
elementValuePattern?: (({
|
|
8760
|
-
|
|
9398
|
+
|
|
9399
|
+
pattern: string
|
|
9400
|
+
|
|
8761
9401
|
flags?: string
|
|
8762
9402
|
} | string)[] | ({
|
|
8763
|
-
|
|
9403
|
+
|
|
9404
|
+
pattern: string
|
|
9405
|
+
|
|
8764
9406
|
flags?: string
|
|
8765
9407
|
} | string))
|
|
8766
9408
|
|
|
8767
9409
|
elementNamePattern?: (({
|
|
8768
|
-
|
|
9410
|
+
|
|
9411
|
+
pattern: string
|
|
9412
|
+
|
|
8769
9413
|
flags?: string
|
|
8770
9414
|
} | string)[] | ({
|
|
8771
|
-
|
|
9415
|
+
|
|
9416
|
+
pattern: string
|
|
9417
|
+
|
|
8772
9418
|
flags?: string
|
|
8773
9419
|
} | string))
|
|
8774
9420
|
}[]
|
|
@@ -8781,10 +9427,9 @@ type PerfectionistSortObjects = {
|
|
|
8781
9427
|
order?: ("asc" | "desc")
|
|
8782
9428
|
|
|
8783
9429
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8784
|
-
[k: string]: unknown | undefined
|
|
8785
9430
|
}
|
|
8786
9431
|
|
|
8787
|
-
groupName
|
|
9432
|
+
groupName: string
|
|
8788
9433
|
|
|
8789
9434
|
order?: ("asc" | "desc")
|
|
8790
9435
|
|
|
@@ -8795,36 +9440,53 @@ type PerfectionistSortObjects = {
|
|
|
8795
9440
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
8796
9441
|
|
|
8797
9442
|
elementValuePattern?: (({
|
|
8798
|
-
|
|
9443
|
+
|
|
9444
|
+
pattern: string
|
|
9445
|
+
|
|
8799
9446
|
flags?: string
|
|
8800
9447
|
} | string)[] | ({
|
|
8801
|
-
|
|
9448
|
+
|
|
9449
|
+
pattern: string
|
|
9450
|
+
|
|
8802
9451
|
flags?: string
|
|
8803
9452
|
} | string))
|
|
8804
9453
|
|
|
8805
9454
|
elementNamePattern?: (({
|
|
8806
|
-
|
|
9455
|
+
|
|
9456
|
+
pattern: string
|
|
9457
|
+
|
|
8807
9458
|
flags?: string
|
|
8808
9459
|
} | string)[] | ({
|
|
8809
|
-
|
|
9460
|
+
|
|
9461
|
+
pattern: string
|
|
9462
|
+
|
|
8810
9463
|
flags?: string
|
|
8811
9464
|
} | string))
|
|
8812
9465
|
})[])
|
|
9466
|
+
|
|
8813
9467
|
useConfigurationIf?: {
|
|
8814
9468
|
|
|
8815
9469
|
allNamesMatchPattern?: (({
|
|
8816
|
-
|
|
9470
|
+
|
|
9471
|
+
pattern: string
|
|
9472
|
+
|
|
8817
9473
|
flags?: string
|
|
8818
9474
|
} | string)[] | ({
|
|
8819
|
-
|
|
9475
|
+
|
|
9476
|
+
pattern: string
|
|
9477
|
+
|
|
8820
9478
|
flags?: string
|
|
8821
9479
|
} | string))
|
|
8822
9480
|
|
|
8823
9481
|
callingFunctionNamePattern?: (({
|
|
8824
|
-
|
|
9482
|
+
|
|
9483
|
+
pattern: string
|
|
9484
|
+
|
|
8825
9485
|
flags?: string
|
|
8826
9486
|
} | string)[] | ({
|
|
8827
|
-
|
|
9487
|
+
|
|
9488
|
+
pattern: string
|
|
9489
|
+
|
|
8828
9490
|
flags?: string
|
|
8829
9491
|
} | string))
|
|
8830
9492
|
}
|
|
@@ -8836,24 +9498,38 @@ type PerfectionistSortObjects = {
|
|
|
8836
9498
|
styledComponents?: boolean
|
|
8837
9499
|
|
|
8838
9500
|
partitionByComment?: (boolean | (({
|
|
8839
|
-
|
|
9501
|
+
|
|
9502
|
+
pattern: string
|
|
9503
|
+
|
|
8840
9504
|
flags?: string
|
|
8841
9505
|
} | string)[] | ({
|
|
8842
|
-
|
|
9506
|
+
|
|
9507
|
+
pattern: string
|
|
9508
|
+
|
|
8843
9509
|
flags?: string
|
|
8844
9510
|
} | string)) | {
|
|
9511
|
+
|
|
8845
9512
|
block?: (boolean | (({
|
|
8846
|
-
|
|
9513
|
+
|
|
9514
|
+
pattern: string
|
|
9515
|
+
|
|
8847
9516
|
flags?: string
|
|
8848
9517
|
} | string)[] | ({
|
|
8849
|
-
|
|
9518
|
+
|
|
9519
|
+
pattern: string
|
|
9520
|
+
|
|
8850
9521
|
flags?: string
|
|
8851
9522
|
} | string)))
|
|
9523
|
+
|
|
8852
9524
|
line?: (boolean | (({
|
|
8853
|
-
|
|
9525
|
+
|
|
9526
|
+
pattern: string
|
|
9527
|
+
|
|
8854
9528
|
flags?: string
|
|
8855
9529
|
} | string)[] | ({
|
|
8856
|
-
|
|
9530
|
+
|
|
9531
|
+
pattern: string
|
|
9532
|
+
|
|
8857
9533
|
flags?: string
|
|
8858
9534
|
} | string)))
|
|
8859
9535
|
})
|
|
@@ -8863,16 +9539,20 @@ type PerfectionistSortObjects = {
|
|
|
8863
9539
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8864
9540
|
|
|
8865
9541
|
ignorePattern?: (({
|
|
8866
|
-
|
|
9542
|
+
|
|
9543
|
+
pattern: string
|
|
9544
|
+
|
|
8867
9545
|
flags?: string
|
|
8868
9546
|
} | string)[] | ({
|
|
8869
|
-
|
|
9547
|
+
|
|
9548
|
+
pattern: string
|
|
9549
|
+
|
|
8870
9550
|
flags?: string
|
|
8871
9551
|
} | string))
|
|
8872
9552
|
|
|
8873
9553
|
groups?: (string | string[] | {
|
|
8874
9554
|
|
|
8875
|
-
newlinesBetween
|
|
9555
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8876
9556
|
})[]
|
|
8877
9557
|
}[]
|
|
8878
9558
|
// ----- perfectionist/sort-sets -----
|
|
@@ -8883,7 +9563,6 @@ type PerfectionistSortSets = {
|
|
|
8883
9563
|
order?: ("asc" | "desc")
|
|
8884
9564
|
|
|
8885
9565
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8886
|
-
[k: string]: unknown | undefined
|
|
8887
9566
|
}
|
|
8888
9567
|
|
|
8889
9568
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8909,10 +9588,9 @@ type PerfectionistSortSets = {
|
|
|
8909
9588
|
order?: ("asc" | "desc")
|
|
8910
9589
|
|
|
8911
9590
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8912
|
-
[k: string]: unknown | undefined
|
|
8913
9591
|
}
|
|
8914
9592
|
|
|
8915
|
-
groupName
|
|
9593
|
+
groupName: string
|
|
8916
9594
|
|
|
8917
9595
|
order?: ("asc" | "desc")
|
|
8918
9596
|
|
|
@@ -8922,10 +9600,14 @@ type PerfectionistSortSets = {
|
|
|
8922
9600
|
selector?: ("literal" | "spread")
|
|
8923
9601
|
|
|
8924
9602
|
elementNamePattern?: (({
|
|
8925
|
-
|
|
9603
|
+
|
|
9604
|
+
pattern: string
|
|
9605
|
+
|
|
8926
9606
|
flags?: string
|
|
8927
9607
|
} | string)[] | ({
|
|
8928
|
-
|
|
9608
|
+
|
|
9609
|
+
pattern: string
|
|
9610
|
+
|
|
8929
9611
|
flags?: string
|
|
8930
9612
|
} | string))
|
|
8931
9613
|
}[]
|
|
@@ -8938,10 +9620,9 @@ type PerfectionistSortSets = {
|
|
|
8938
9620
|
order?: ("asc" | "desc")
|
|
8939
9621
|
|
|
8940
9622
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8941
|
-
[k: string]: unknown | undefined
|
|
8942
9623
|
}
|
|
8943
9624
|
|
|
8944
|
-
groupName
|
|
9625
|
+
groupName: string
|
|
8945
9626
|
|
|
8946
9627
|
order?: ("asc" | "desc")
|
|
8947
9628
|
|
|
@@ -8950,43 +9631,66 @@ type PerfectionistSortSets = {
|
|
|
8950
9631
|
selector?: ("literal" | "spread")
|
|
8951
9632
|
|
|
8952
9633
|
elementNamePattern?: (({
|
|
8953
|
-
|
|
9634
|
+
|
|
9635
|
+
pattern: string
|
|
9636
|
+
|
|
8954
9637
|
flags?: string
|
|
8955
9638
|
} | string)[] | ({
|
|
8956
|
-
|
|
9639
|
+
|
|
9640
|
+
pattern: string
|
|
9641
|
+
|
|
8957
9642
|
flags?: string
|
|
8958
9643
|
} | string))
|
|
8959
9644
|
})[]
|
|
9645
|
+
|
|
8960
9646
|
useConfigurationIf?: {
|
|
8961
9647
|
|
|
8962
9648
|
allNamesMatchPattern?: (({
|
|
8963
|
-
|
|
9649
|
+
|
|
9650
|
+
pattern: string
|
|
9651
|
+
|
|
8964
9652
|
flags?: string
|
|
8965
9653
|
} | string)[] | ({
|
|
8966
|
-
|
|
9654
|
+
|
|
9655
|
+
pattern: string
|
|
9656
|
+
|
|
8967
9657
|
flags?: string
|
|
8968
9658
|
} | string))
|
|
8969
9659
|
}
|
|
8970
9660
|
|
|
8971
9661
|
partitionByComment?: (boolean | (({
|
|
8972
|
-
|
|
9662
|
+
|
|
9663
|
+
pattern: string
|
|
9664
|
+
|
|
8973
9665
|
flags?: string
|
|
8974
9666
|
} | string)[] | ({
|
|
8975
|
-
|
|
9667
|
+
|
|
9668
|
+
pattern: string
|
|
9669
|
+
|
|
8976
9670
|
flags?: string
|
|
8977
9671
|
} | string)) | {
|
|
9672
|
+
|
|
8978
9673
|
block?: (boolean | (({
|
|
8979
|
-
|
|
9674
|
+
|
|
9675
|
+
pattern: string
|
|
9676
|
+
|
|
8980
9677
|
flags?: string
|
|
8981
9678
|
} | string)[] | ({
|
|
8982
|
-
|
|
9679
|
+
|
|
9680
|
+
pattern: string
|
|
9681
|
+
|
|
8983
9682
|
flags?: string
|
|
8984
9683
|
} | string)))
|
|
9684
|
+
|
|
8985
9685
|
line?: (boolean | (({
|
|
8986
|
-
|
|
9686
|
+
|
|
9687
|
+
pattern: string
|
|
9688
|
+
|
|
8987
9689
|
flags?: string
|
|
8988
9690
|
} | string)[] | ({
|
|
8989
|
-
|
|
9691
|
+
|
|
9692
|
+
pattern: string
|
|
9693
|
+
|
|
8990
9694
|
flags?: string
|
|
8991
9695
|
} | string)))
|
|
8992
9696
|
})
|
|
@@ -8997,7 +9701,7 @@ type PerfectionistSortSets = {
|
|
|
8997
9701
|
|
|
8998
9702
|
groups?: (string | string[] | {
|
|
8999
9703
|
|
|
9000
|
-
newlinesBetween
|
|
9704
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9001
9705
|
})[]
|
|
9002
9706
|
}[]
|
|
9003
9707
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -9008,7 +9712,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
9008
9712
|
order?: ("asc" | "desc")
|
|
9009
9713
|
|
|
9010
9714
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9011
|
-
[k: string]: unknown | undefined
|
|
9012
9715
|
}
|
|
9013
9716
|
|
|
9014
9717
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9024,14 +9727,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
9024
9727
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9025
9728
|
}]
|
|
9026
9729
|
// ----- perfectionist/sort-union-types -----
|
|
9027
|
-
type PerfectionistSortUnionTypes =
|
|
9730
|
+
type PerfectionistSortUnionTypes = {
|
|
9028
9731
|
|
|
9029
9732
|
fallbackSort?: {
|
|
9030
9733
|
|
|
9031
9734
|
order?: ("asc" | "desc")
|
|
9032
9735
|
|
|
9033
9736
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9034
|
-
[k: string]: unknown | undefined
|
|
9035
9737
|
}
|
|
9036
9738
|
|
|
9037
9739
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9046,25 +9748,103 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
9046
9748
|
|
|
9047
9749
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9048
9750
|
|
|
9751
|
+
customGroups?: ({
|
|
9752
|
+
|
|
9753
|
+
newlinesInside?: ("always" | "never")
|
|
9754
|
+
|
|
9755
|
+
fallbackSort?: {
|
|
9756
|
+
|
|
9757
|
+
order?: ("asc" | "desc")
|
|
9758
|
+
|
|
9759
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9760
|
+
}
|
|
9761
|
+
|
|
9762
|
+
groupName: string
|
|
9763
|
+
|
|
9764
|
+
order?: ("asc" | "desc")
|
|
9765
|
+
|
|
9766
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9767
|
+
anyOf?: {
|
|
9768
|
+
|
|
9769
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
9770
|
+
|
|
9771
|
+
elementNamePattern?: (({
|
|
9772
|
+
|
|
9773
|
+
pattern: string
|
|
9774
|
+
|
|
9775
|
+
flags?: string
|
|
9776
|
+
} | string)[] | ({
|
|
9777
|
+
|
|
9778
|
+
pattern: string
|
|
9779
|
+
|
|
9780
|
+
flags?: string
|
|
9781
|
+
} | string))
|
|
9782
|
+
}[]
|
|
9783
|
+
} | {
|
|
9784
|
+
|
|
9785
|
+
newlinesInside?: ("always" | "never")
|
|
9786
|
+
|
|
9787
|
+
fallbackSort?: {
|
|
9788
|
+
|
|
9789
|
+
order?: ("asc" | "desc")
|
|
9790
|
+
|
|
9791
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9792
|
+
}
|
|
9793
|
+
|
|
9794
|
+
groupName: string
|
|
9795
|
+
|
|
9796
|
+
order?: ("asc" | "desc")
|
|
9797
|
+
|
|
9798
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9799
|
+
|
|
9800
|
+
selector?: ("intersection" | "conditional" | "function" | "operator" | "keyword" | "literal" | "nullish" | "import" | "object" | "named" | "tuple" | "union")
|
|
9801
|
+
|
|
9802
|
+
elementNamePattern?: (({
|
|
9803
|
+
|
|
9804
|
+
pattern: string
|
|
9805
|
+
|
|
9806
|
+
flags?: string
|
|
9807
|
+
} | string)[] | ({
|
|
9808
|
+
|
|
9809
|
+
pattern: string
|
|
9810
|
+
|
|
9811
|
+
flags?: string
|
|
9812
|
+
} | string))
|
|
9813
|
+
})[]
|
|
9814
|
+
|
|
9049
9815
|
partitionByComment?: (boolean | (({
|
|
9050
|
-
|
|
9816
|
+
|
|
9817
|
+
pattern: string
|
|
9818
|
+
|
|
9051
9819
|
flags?: string
|
|
9052
9820
|
} | string)[] | ({
|
|
9053
|
-
|
|
9821
|
+
|
|
9822
|
+
pattern: string
|
|
9823
|
+
|
|
9054
9824
|
flags?: string
|
|
9055
9825
|
} | string)) | {
|
|
9826
|
+
|
|
9056
9827
|
block?: (boolean | (({
|
|
9057
|
-
|
|
9828
|
+
|
|
9829
|
+
pattern: string
|
|
9830
|
+
|
|
9058
9831
|
flags?: string
|
|
9059
9832
|
} | string)[] | ({
|
|
9060
|
-
|
|
9833
|
+
|
|
9834
|
+
pattern: string
|
|
9835
|
+
|
|
9061
9836
|
flags?: string
|
|
9062
9837
|
} | string)))
|
|
9838
|
+
|
|
9063
9839
|
line?: (boolean | (({
|
|
9064
|
-
|
|
9840
|
+
|
|
9841
|
+
pattern: string
|
|
9842
|
+
|
|
9065
9843
|
flags?: string
|
|
9066
9844
|
} | string)[] | ({
|
|
9067
|
-
|
|
9845
|
+
|
|
9846
|
+
pattern: string
|
|
9847
|
+
|
|
9068
9848
|
flags?: string
|
|
9069
9849
|
} | string)))
|
|
9070
9850
|
})
|
|
@@ -9075,9 +9855,9 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
9075
9855
|
|
|
9076
9856
|
groups?: (string | string[] | {
|
|
9077
9857
|
|
|
9078
|
-
newlinesBetween
|
|
9858
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9079
9859
|
})[]
|
|
9080
|
-
}]
|
|
9860
|
+
}[]
|
|
9081
9861
|
// ----- perfectionist/sort-variable-declarations -----
|
|
9082
9862
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
9083
9863
|
|
|
@@ -9086,7 +9866,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
9086
9866
|
order?: ("asc" | "desc")
|
|
9087
9867
|
|
|
9088
9868
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9089
|
-
[k: string]: unknown | undefined
|
|
9090
9869
|
}
|
|
9091
9870
|
|
|
9092
9871
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9101,30 +9880,115 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
9101
9880
|
|
|
9102
9881
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9103
9882
|
|
|
9883
|
+
customGroups?: ({
|
|
9884
|
+
|
|
9885
|
+
newlinesInside?: ("always" | "never")
|
|
9886
|
+
|
|
9887
|
+
fallbackSort?: {
|
|
9888
|
+
|
|
9889
|
+
order?: ("asc" | "desc")
|
|
9890
|
+
|
|
9891
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9892
|
+
}
|
|
9893
|
+
|
|
9894
|
+
groupName: string
|
|
9895
|
+
|
|
9896
|
+
order?: ("asc" | "desc")
|
|
9897
|
+
|
|
9898
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9899
|
+
anyOf?: {
|
|
9900
|
+
|
|
9901
|
+
selector?: ("initialized" | "uninitialized")
|
|
9902
|
+
|
|
9903
|
+
elementNamePattern?: (({
|
|
9904
|
+
|
|
9905
|
+
pattern: string
|
|
9906
|
+
|
|
9907
|
+
flags?: string
|
|
9908
|
+
} | string)[] | ({
|
|
9909
|
+
|
|
9910
|
+
pattern: string
|
|
9911
|
+
|
|
9912
|
+
flags?: string
|
|
9913
|
+
} | string))
|
|
9914
|
+
}[]
|
|
9915
|
+
} | {
|
|
9916
|
+
|
|
9917
|
+
newlinesInside?: ("always" | "never")
|
|
9918
|
+
|
|
9919
|
+
fallbackSort?: {
|
|
9920
|
+
|
|
9921
|
+
order?: ("asc" | "desc")
|
|
9922
|
+
|
|
9923
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9924
|
+
}
|
|
9925
|
+
|
|
9926
|
+
groupName: string
|
|
9927
|
+
|
|
9928
|
+
order?: ("asc" | "desc")
|
|
9929
|
+
|
|
9930
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9931
|
+
|
|
9932
|
+
selector?: ("initialized" | "uninitialized")
|
|
9933
|
+
|
|
9934
|
+
elementNamePattern?: (({
|
|
9935
|
+
|
|
9936
|
+
pattern: string
|
|
9937
|
+
|
|
9938
|
+
flags?: string
|
|
9939
|
+
} | string)[] | ({
|
|
9940
|
+
|
|
9941
|
+
pattern: string
|
|
9942
|
+
|
|
9943
|
+
flags?: string
|
|
9944
|
+
} | string))
|
|
9945
|
+
})[]
|
|
9946
|
+
|
|
9104
9947
|
partitionByComment?: (boolean | (({
|
|
9105
|
-
|
|
9948
|
+
|
|
9949
|
+
pattern: string
|
|
9950
|
+
|
|
9106
9951
|
flags?: string
|
|
9107
9952
|
} | string)[] | ({
|
|
9108
|
-
|
|
9953
|
+
|
|
9954
|
+
pattern: string
|
|
9955
|
+
|
|
9109
9956
|
flags?: string
|
|
9110
9957
|
} | string)) | {
|
|
9958
|
+
|
|
9111
9959
|
block?: (boolean | (({
|
|
9112
|
-
|
|
9960
|
+
|
|
9961
|
+
pattern: string
|
|
9962
|
+
|
|
9113
9963
|
flags?: string
|
|
9114
9964
|
} | string)[] | ({
|
|
9115
|
-
|
|
9965
|
+
|
|
9966
|
+
pattern: string
|
|
9967
|
+
|
|
9116
9968
|
flags?: string
|
|
9117
9969
|
} | string)))
|
|
9970
|
+
|
|
9118
9971
|
line?: (boolean | (({
|
|
9119
|
-
|
|
9972
|
+
|
|
9973
|
+
pattern: string
|
|
9974
|
+
|
|
9120
9975
|
flags?: string
|
|
9121
9976
|
} | string)[] | ({
|
|
9122
|
-
|
|
9977
|
+
|
|
9978
|
+
pattern: string
|
|
9979
|
+
|
|
9123
9980
|
flags?: string
|
|
9124
9981
|
} | string)))
|
|
9125
9982
|
})
|
|
9126
9983
|
|
|
9127
9984
|
partitionByNewLine?: boolean
|
|
9985
|
+
|
|
9986
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9987
|
+
|
|
9988
|
+
groups?: (string | string[] | {
|
|
9989
|
+
|
|
9990
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9991
|
+
})[]
|
|
9128
9992
|
}]
|
|
9129
9993
|
// ----- prefer-arrow-callback -----
|
|
9130
9994
|
type PreferArrowCallback = []|[{
|
|
@@ -11731,6 +12595,7 @@ type TypescriptNoUnusedExpressions = []|[{
|
|
|
11731
12595
|
allowTernary?: boolean
|
|
11732
12596
|
allowTaggedTemplates?: boolean
|
|
11733
12597
|
enforceForJSX?: boolean
|
|
12598
|
+
ignoreDirectives?: boolean
|
|
11734
12599
|
}]
|
|
11735
12600
|
// ----- typescript/no-unused-vars -----
|
|
11736
12601
|
type TypescriptNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -11793,6 +12658,8 @@ type TypescriptOnlyThrowError = []|[{
|
|
|
11793
12658
|
package: string
|
|
11794
12659
|
})[]
|
|
11795
12660
|
|
|
12661
|
+
allowRethrowing?: boolean
|
|
12662
|
+
|
|
11796
12663
|
allowThrowingAny?: boolean
|
|
11797
12664
|
|
|
11798
12665
|
allowThrowingUnknown?: boolean
|