@hexadrop/eslint-config 0.1.2 → 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 +1486 -583
- package/dist/index.d.ts +1486 -583
- package/package.json +18 -18
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
/**
|
|
@@ -1096,30 +1096,37 @@ interface RuleOptions {
|
|
|
1096
1096
|
'logical-assignment-operators'?: Linter.RuleEntry<LogicalAssignmentOperators>
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Require languages for fenced code blocks
|
|
1099
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/fenced-code-language.md
|
|
1099
1100
|
*/
|
|
1100
1101
|
'markdown/fenced-code-language'?: Linter.RuleEntry<MarkdownFencedCodeLanguage>
|
|
1101
1102
|
/**
|
|
1102
1103
|
* Enforce heading levels increment by one
|
|
1104
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/heading-increment.md
|
|
1103
1105
|
*/
|
|
1104
1106
|
'markdown/heading-increment'?: Linter.RuleEntry<[]>
|
|
1105
1107
|
/**
|
|
1106
1108
|
* Disallow duplicate headings in the same document
|
|
1109
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-duplicate-headings.md
|
|
1107
1110
|
*/
|
|
1108
1111
|
'markdown/no-duplicate-headings'?: Linter.RuleEntry<[]>
|
|
1109
1112
|
/**
|
|
1110
1113
|
* Disallow empty links
|
|
1114
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-empty-links.md
|
|
1111
1115
|
*/
|
|
1112
1116
|
'markdown/no-empty-links'?: Linter.RuleEntry<[]>
|
|
1113
1117
|
/**
|
|
1114
1118
|
* Disallow HTML tags
|
|
1119
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-html.md
|
|
1115
1120
|
*/
|
|
1116
1121
|
'markdown/no-html'?: Linter.RuleEntry<MarkdownNoHtml>
|
|
1117
1122
|
/**
|
|
1118
1123
|
* Disallow invalid label references
|
|
1124
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-invalid-label-refs.md
|
|
1119
1125
|
*/
|
|
1120
1126
|
'markdown/no-invalid-label-refs'?: Linter.RuleEntry<[]>
|
|
1121
1127
|
/**
|
|
1122
1128
|
* Disallow missing label references
|
|
1129
|
+
* @see https://github.com/eslint/markdown/blob/main/docs/rules/no-missing-label-refs.md
|
|
1123
1130
|
*/
|
|
1124
1131
|
'markdown/no-missing-label-refs'?: Linter.RuleEntry<[]>
|
|
1125
1132
|
/**
|
|
@@ -1800,7 +1807,7 @@ interface RuleOptions {
|
|
|
1800
1807
|
* Disallow identifiers from shadowing restricted names
|
|
1801
1808
|
* @see https://eslint.org/docs/latest/rules/no-shadow-restricted-names
|
|
1802
1809
|
*/
|
|
1803
|
-
'no-shadow-restricted-names'?: Linter.RuleEntry<
|
|
1810
|
+
'no-shadow-restricted-names'?: Linter.RuleEntry<NoShadowRestrictedNames>
|
|
1804
1811
|
/**
|
|
1805
1812
|
* Disallow spacing between function identifiers and their applications (deprecated)
|
|
1806
1813
|
* @see https://eslint.org/docs/latest/rules/no-spaced-func
|
|
@@ -3974,6 +3981,11 @@ interface RuleOptions {
|
|
|
3974
3981
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-constraint
|
|
3975
3982
|
*/
|
|
3976
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<[]>
|
|
3977
3989
|
/**
|
|
3978
3990
|
* Disallow type parameters that aren't used multiple times
|
|
3979
3991
|
* @see https://typescript-eslint.io/rules/no-unnecessary-type-parameters
|
|
@@ -4259,643 +4271,670 @@ interface RuleOptions {
|
|
|
4259
4271
|
'unicode-bom'?: Linter.RuleEntry<UnicodeBom>
|
|
4260
4272
|
/**
|
|
4261
4273
|
* Improve regexes by making them shorter, consistent, and safer.
|
|
4262
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4274
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/better-regex.md
|
|
4263
4275
|
*/
|
|
4264
4276
|
'unicorn/better-regex'?: Linter.RuleEntry<UnicornBetterRegex>
|
|
4265
4277
|
/**
|
|
4266
4278
|
* Enforce a specific parameter name in catch clauses.
|
|
4267
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4279
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/catch-error-name.md
|
|
4268
4280
|
*/
|
|
4269
4281
|
'unicorn/catch-error-name'?: Linter.RuleEntry<UnicornCatchErrorName>
|
|
4270
4282
|
/**
|
|
4271
4283
|
* Enforce consistent assertion style with `node:assert`.
|
|
4272
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4284
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-assert.md
|
|
4273
4285
|
*/
|
|
4274
4286
|
'unicorn/consistent-assert'?: Linter.RuleEntry<[]>
|
|
4275
4287
|
/**
|
|
4276
4288
|
* Prefer passing `Date` directly to the constructor when cloning.
|
|
4277
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4289
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-date-clone.md
|
|
4278
4290
|
*/
|
|
4279
4291
|
'unicorn/consistent-date-clone'?: Linter.RuleEntry<[]>
|
|
4280
4292
|
/**
|
|
4281
4293
|
* Use destructured variables over properties.
|
|
4282
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4294
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-destructuring.md
|
|
4283
4295
|
*/
|
|
4284
4296
|
'unicorn/consistent-destructuring'?: Linter.RuleEntry<[]>
|
|
4285
4297
|
/**
|
|
4286
4298
|
* Prefer consistent types when spreading a ternary in an array literal.
|
|
4287
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4299
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-empty-array-spread.md
|
|
4288
4300
|
*/
|
|
4289
4301
|
'unicorn/consistent-empty-array-spread'?: Linter.RuleEntry<[]>
|
|
4290
4302
|
/**
|
|
4291
4303
|
* Enforce consistent style for element existence checks with `indexOf()`, `lastIndexOf()`, `findIndex()`, and `findLastIndex()`.
|
|
4292
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4304
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-existence-index-check.md
|
|
4293
4305
|
*/
|
|
4294
4306
|
'unicorn/consistent-existence-index-check'?: Linter.RuleEntry<[]>
|
|
4295
4307
|
/**
|
|
4296
4308
|
* Move function definitions to the highest possible scope.
|
|
4297
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4309
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/consistent-function-scoping.md
|
|
4298
4310
|
*/
|
|
4299
4311
|
'unicorn/consistent-function-scoping'?: Linter.RuleEntry<UnicornConsistentFunctionScoping>
|
|
4300
4312
|
/**
|
|
4301
4313
|
* Enforce correct `Error` subclassing.
|
|
4302
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4314
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/custom-error-definition.md
|
|
4303
4315
|
*/
|
|
4304
4316
|
'unicorn/custom-error-definition'?: Linter.RuleEntry<[]>
|
|
4305
4317
|
/**
|
|
4306
4318
|
* Enforce no spaces between braces.
|
|
4307
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4319
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/empty-brace-spaces.md
|
|
4308
4320
|
*/
|
|
4309
4321
|
'unicorn/empty-brace-spaces'?: Linter.RuleEntry<[]>
|
|
4310
4322
|
/**
|
|
4311
4323
|
* Enforce passing a `message` value when creating a built-in error.
|
|
4312
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4324
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/error-message.md
|
|
4313
4325
|
*/
|
|
4314
4326
|
'unicorn/error-message'?: Linter.RuleEntry<[]>
|
|
4315
4327
|
/**
|
|
4316
4328
|
* Require escape sequences to use uppercase or lowercase values.
|
|
4317
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4329
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/escape-case.md
|
|
4318
4330
|
*/
|
|
4319
4331
|
'unicorn/escape-case'?: Linter.RuleEntry<UnicornEscapeCase>
|
|
4320
4332
|
/**
|
|
4321
4333
|
* Add expiration conditions to TODO comments.
|
|
4322
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4334
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/expiring-todo-comments.md
|
|
4323
4335
|
*/
|
|
4324
4336
|
'unicorn/expiring-todo-comments'?: Linter.RuleEntry<UnicornExpiringTodoComments>
|
|
4325
4337
|
/**
|
|
4326
4338
|
* Enforce explicitly comparing the `length` or `size` property of a value.
|
|
4327
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4339
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/explicit-length-check.md
|
|
4328
4340
|
*/
|
|
4329
4341
|
'unicorn/explicit-length-check'?: Linter.RuleEntry<UnicornExplicitLengthCheck>
|
|
4330
4342
|
/**
|
|
4331
4343
|
* Enforce a case style for filenames.
|
|
4332
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4344
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/filename-case.md
|
|
4333
4345
|
*/
|
|
4334
4346
|
'unicorn/filename-case'?: Linter.RuleEntry<UnicornFilenameCase>
|
|
4335
4347
|
/**
|
|
4336
4348
|
* Enforce specific import styles per module.
|
|
4337
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4349
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/import-style.md
|
|
4338
4350
|
*/
|
|
4339
4351
|
'unicorn/import-style'?: Linter.RuleEntry<UnicornImportStyle>
|
|
4340
4352
|
/**
|
|
4341
4353
|
* Enforce the use of `new` for all builtins, except `String`, `Number`, `Boolean`, `Symbol` and `BigInt`.
|
|
4342
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4354
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/new-for-builtins.md
|
|
4343
4355
|
*/
|
|
4344
4356
|
'unicorn/new-for-builtins'?: Linter.RuleEntry<[]>
|
|
4345
4357
|
/**
|
|
4346
4358
|
* Enforce specifying rules to disable in `eslint-disable` comments.
|
|
4347
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4359
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-abusive-eslint-disable.md
|
|
4348
4360
|
*/
|
|
4349
4361
|
'unicorn/no-abusive-eslint-disable'?: Linter.RuleEntry<[]>
|
|
4350
4362
|
/**
|
|
4351
4363
|
* Disallow recursive access to `this` within getters and setters.
|
|
4352
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4364
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-accessor-recursion.md
|
|
4353
4365
|
*/
|
|
4354
4366
|
'unicorn/no-accessor-recursion'?: Linter.RuleEntry<[]>
|
|
4355
4367
|
/**
|
|
4356
4368
|
* Disallow anonymous functions and classes as the default export.
|
|
4357
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4369
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-anonymous-default-export.md
|
|
4358
4370
|
*/
|
|
4359
4371
|
'unicorn/no-anonymous-default-export'?: Linter.RuleEntry<[]>
|
|
4360
4372
|
/**
|
|
4361
4373
|
* Prevent passing a function reference directly to iterator methods.
|
|
4362
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4374
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-callback-reference.md
|
|
4363
4375
|
*/
|
|
4364
4376
|
'unicorn/no-array-callback-reference'?: Linter.RuleEntry<[]>
|
|
4365
4377
|
/**
|
|
4366
4378
|
* Prefer `for…of` over the `forEach` method.
|
|
4367
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4379
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-for-each.md
|
|
4368
4380
|
*/
|
|
4369
4381
|
'unicorn/no-array-for-each'?: Linter.RuleEntry<[]>
|
|
4370
4382
|
/**
|
|
4371
4383
|
* Disallow using the `this` argument in array methods.
|
|
4372
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4384
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-method-this-argument.md
|
|
4373
4385
|
*/
|
|
4374
4386
|
'unicorn/no-array-method-this-argument'?: Linter.RuleEntry<[]>
|
|
4375
4387
|
/**
|
|
4376
|
-
*
|
|
4377
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4388
|
+
* Replaced by `unicorn/prefer-single-call` which covers more cases.
|
|
4389
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-array-push-push
|
|
4390
|
+
* @deprecated
|
|
4378
4391
|
*/
|
|
4379
|
-
'unicorn/no-array-push-push'?: Linter.RuleEntry<
|
|
4392
|
+
'unicorn/no-array-push-push'?: Linter.RuleEntry<[]>
|
|
4380
4393
|
/**
|
|
4381
4394
|
* Disallow `Array#reduce()` and `Array#reduceRight()`.
|
|
4382
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4395
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-array-reduce.md
|
|
4383
4396
|
*/
|
|
4384
4397
|
'unicorn/no-array-reduce'?: Linter.RuleEntry<UnicornNoArrayReduce>
|
|
4385
4398
|
/**
|
|
4386
4399
|
* Disallow member access from await expression.
|
|
4387
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4400
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-expression-member.md
|
|
4388
4401
|
*/
|
|
4389
4402
|
'unicorn/no-await-expression-member'?: Linter.RuleEntry<[]>
|
|
4390
4403
|
/**
|
|
4391
4404
|
* Disallow using `await` in `Promise` method parameters.
|
|
4392
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4405
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-await-in-promise-methods.md
|
|
4393
4406
|
*/
|
|
4394
4407
|
'unicorn/no-await-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4395
4408
|
/**
|
|
4396
4409
|
* Do not use leading/trailing space between `console.log` parameters.
|
|
4397
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4410
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-console-spaces.md
|
|
4398
4411
|
*/
|
|
4399
4412
|
'unicorn/no-console-spaces'?: Linter.RuleEntry<[]>
|
|
4400
4413
|
/**
|
|
4401
4414
|
* Do not use `document.cookie` directly.
|
|
4402
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4415
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-document-cookie.md
|
|
4403
4416
|
*/
|
|
4404
4417
|
'unicorn/no-document-cookie'?: Linter.RuleEntry<[]>
|
|
4405
4418
|
/**
|
|
4406
4419
|
* Disallow empty files.
|
|
4407
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4420
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-empty-file.md
|
|
4408
4421
|
*/
|
|
4409
4422
|
'unicorn/no-empty-file'?: Linter.RuleEntry<[]>
|
|
4410
4423
|
/**
|
|
4411
4424
|
* Do not use a `for` loop that can be replaced with a `for-of` loop.
|
|
4412
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4425
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-for-loop.md
|
|
4413
4426
|
*/
|
|
4414
4427
|
'unicorn/no-for-loop'?: Linter.RuleEntry<[]>
|
|
4415
4428
|
/**
|
|
4416
4429
|
* Enforce the use of Unicode escapes instead of hexadecimal escapes.
|
|
4417
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4430
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-hex-escape.md
|
|
4418
4431
|
*/
|
|
4419
4432
|
'unicorn/no-hex-escape'?: Linter.RuleEntry<[]>
|
|
4420
4433
|
/**
|
|
4421
4434
|
* Replaced by `unicorn/no-instanceof-builtins` which covers more cases.
|
|
4422
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4435
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-instanceof-array
|
|
4423
4436
|
* @deprecated
|
|
4424
4437
|
*/
|
|
4425
4438
|
'unicorn/no-instanceof-array'?: Linter.RuleEntry<[]>
|
|
4426
4439
|
/**
|
|
4427
4440
|
* Disallow `instanceof` with built-in objects
|
|
4428
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4441
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-instanceof-builtins.md
|
|
4429
4442
|
*/
|
|
4430
4443
|
'unicorn/no-instanceof-builtins'?: Linter.RuleEntry<UnicornNoInstanceofBuiltins>
|
|
4431
4444
|
/**
|
|
4432
4445
|
* Disallow invalid options in `fetch()` and `new Request()`.
|
|
4433
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4446
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-fetch-options.md
|
|
4434
4447
|
*/
|
|
4435
4448
|
'unicorn/no-invalid-fetch-options'?: Linter.RuleEntry<[]>
|
|
4436
4449
|
/**
|
|
4437
4450
|
* Prevent calling `EventTarget#removeEventListener()` with the result of an expression.
|
|
4438
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4451
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-invalid-remove-event-listener.md
|
|
4439
4452
|
*/
|
|
4440
4453
|
'unicorn/no-invalid-remove-event-listener'?: Linter.RuleEntry<[]>
|
|
4441
4454
|
/**
|
|
4442
4455
|
* Disallow identifiers starting with `new` or `class`.
|
|
4443
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4456
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-keyword-prefix.md
|
|
4444
4457
|
*/
|
|
4445
4458
|
'unicorn/no-keyword-prefix'?: Linter.RuleEntry<UnicornNoKeywordPrefix>
|
|
4446
4459
|
/**
|
|
4447
|
-
*
|
|
4448
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4460
|
+
* Replaced by `unicorn/no-unnecessary-slice-end` which covers more cases.
|
|
4461
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/deprecated-rules.md#no-length-as-slice-end
|
|
4462
|
+
* @deprecated
|
|
4449
4463
|
*/
|
|
4450
4464
|
'unicorn/no-length-as-slice-end'?: Linter.RuleEntry<[]>
|
|
4451
4465
|
/**
|
|
4452
4466
|
* Disallow `if` statements as the only statement in `if` blocks without `else`.
|
|
4453
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4467
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-lonely-if.md
|
|
4454
4468
|
*/
|
|
4455
4469
|
'unicorn/no-lonely-if'?: Linter.RuleEntry<[]>
|
|
4456
4470
|
/**
|
|
4457
4471
|
* Disallow a magic number as the `depth` argument in `Array#flat(…).`
|
|
4458
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4472
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-magic-array-flat-depth.md
|
|
4459
4473
|
*/
|
|
4460
4474
|
'unicorn/no-magic-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4461
4475
|
/**
|
|
4462
4476
|
* Disallow named usage of default import and export.
|
|
4463
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4477
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-named-default.md
|
|
4464
4478
|
*/
|
|
4465
4479
|
'unicorn/no-named-default'?: Linter.RuleEntry<[]>
|
|
4466
4480
|
/**
|
|
4467
4481
|
* Disallow negated conditions.
|
|
4468
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4482
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negated-condition.md
|
|
4469
4483
|
*/
|
|
4470
4484
|
'unicorn/no-negated-condition'?: Linter.RuleEntry<[]>
|
|
4471
4485
|
/**
|
|
4472
4486
|
* Disallow negated expression in equality check.
|
|
4473
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4487
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-negation-in-equality-check.md
|
|
4474
4488
|
*/
|
|
4475
4489
|
'unicorn/no-negation-in-equality-check'?: Linter.RuleEntry<[]>
|
|
4476
4490
|
/**
|
|
4477
4491
|
* Disallow nested ternary expressions.
|
|
4478
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4492
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-nested-ternary.md
|
|
4479
4493
|
*/
|
|
4480
4494
|
'unicorn/no-nested-ternary'?: Linter.RuleEntry<[]>
|
|
4481
4495
|
/**
|
|
4482
4496
|
* Disallow `new Array()`.
|
|
4483
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4497
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-array.md
|
|
4484
4498
|
*/
|
|
4485
4499
|
'unicorn/no-new-array'?: Linter.RuleEntry<[]>
|
|
4486
4500
|
/**
|
|
4487
4501
|
* Enforce the use of `Buffer.from()` and `Buffer.alloc()` instead of the deprecated `new Buffer()`.
|
|
4488
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4502
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-new-buffer.md
|
|
4489
4503
|
*/
|
|
4490
4504
|
'unicorn/no-new-buffer'?: Linter.RuleEntry<[]>
|
|
4491
4505
|
/**
|
|
4492
4506
|
* Disallow the use of the `null` literal.
|
|
4493
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4507
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-null.md
|
|
4494
4508
|
*/
|
|
4495
4509
|
'unicorn/no-null'?: Linter.RuleEntry<UnicornNoNull>
|
|
4496
4510
|
/**
|
|
4497
4511
|
* Disallow the use of objects as default parameters.
|
|
4498
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4512
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-object-as-default-parameter.md
|
|
4499
4513
|
*/
|
|
4500
4514
|
'unicorn/no-object-as-default-parameter'?: Linter.RuleEntry<[]>
|
|
4501
4515
|
/**
|
|
4502
4516
|
* Disallow `process.exit()`.
|
|
4503
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4517
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-process-exit.md
|
|
4504
4518
|
*/
|
|
4505
4519
|
'unicorn/no-process-exit'?: Linter.RuleEntry<[]>
|
|
4506
4520
|
/**
|
|
4507
4521
|
* Disallow passing single-element arrays to `Promise` methods.
|
|
4508
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4522
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-single-promise-in-promise-methods.md
|
|
4509
4523
|
*/
|
|
4510
4524
|
'unicorn/no-single-promise-in-promise-methods'?: Linter.RuleEntry<[]>
|
|
4511
4525
|
/**
|
|
4512
4526
|
* Disallow classes that only have static members.
|
|
4513
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4527
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-static-only-class.md
|
|
4514
4528
|
*/
|
|
4515
4529
|
'unicorn/no-static-only-class'?: Linter.RuleEntry<[]>
|
|
4516
4530
|
/**
|
|
4517
4531
|
* Disallow `then` property.
|
|
4518
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4532
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-thenable.md
|
|
4519
4533
|
*/
|
|
4520
4534
|
'unicorn/no-thenable'?: Linter.RuleEntry<[]>
|
|
4521
4535
|
/**
|
|
4522
4536
|
* Disallow assigning `this` to a variable.
|
|
4523
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4537
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-this-assignment.md
|
|
4524
4538
|
*/
|
|
4525
4539
|
'unicorn/no-this-assignment'?: Linter.RuleEntry<[]>
|
|
4526
4540
|
/**
|
|
4527
4541
|
* Disallow comparing `undefined` using `typeof`.
|
|
4528
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4542
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-typeof-undefined.md
|
|
4529
4543
|
*/
|
|
4530
4544
|
'unicorn/no-typeof-undefined'?: Linter.RuleEntry<UnicornNoTypeofUndefined>
|
|
4545
|
+
/**
|
|
4546
|
+
* Disallow using `1` as the `depth` argument of `Array#flat()`.
|
|
4547
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-flat-depth.md
|
|
4548
|
+
*/
|
|
4549
|
+
'unicorn/no-unnecessary-array-flat-depth'?: Linter.RuleEntry<[]>
|
|
4550
|
+
/**
|
|
4551
|
+
* Disallow using `.length` or `Infinity` as the `deleteCount` or `skipCount` argument of `Array#{splice,toSpliced}()`.
|
|
4552
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-array-splice-count.md
|
|
4553
|
+
*/
|
|
4554
|
+
'unicorn/no-unnecessary-array-splice-count'?: Linter.RuleEntry<[]>
|
|
4531
4555
|
/**
|
|
4532
4556
|
* Disallow awaiting non-promise values.
|
|
4533
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4557
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-await.md
|
|
4534
4558
|
*/
|
|
4535
4559
|
'unicorn/no-unnecessary-await'?: Linter.RuleEntry<[]>
|
|
4536
4560
|
/**
|
|
4537
4561
|
* Enforce the use of built-in methods instead of unnecessary polyfills.
|
|
4538
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4562
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-polyfills.md
|
|
4539
4563
|
*/
|
|
4540
4564
|
'unicorn/no-unnecessary-polyfills'?: Linter.RuleEntry<UnicornNoUnnecessaryPolyfills>
|
|
4565
|
+
/**
|
|
4566
|
+
* Disallow using `.length` or `Infinity` as the `end` argument of `{Array,String,TypedArray}#slice()`.
|
|
4567
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unnecessary-slice-end.md
|
|
4568
|
+
*/
|
|
4569
|
+
'unicorn/no-unnecessary-slice-end'?: Linter.RuleEntry<[]>
|
|
4541
4570
|
/**
|
|
4542
4571
|
* Disallow unreadable array destructuring.
|
|
4543
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4572
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-array-destructuring.md
|
|
4544
4573
|
*/
|
|
4545
4574
|
'unicorn/no-unreadable-array-destructuring'?: Linter.RuleEntry<[]>
|
|
4546
4575
|
/**
|
|
4547
4576
|
* Disallow unreadable IIFEs.
|
|
4548
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4577
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unreadable-iife.md
|
|
4549
4578
|
*/
|
|
4550
4579
|
'unicorn/no-unreadable-iife'?: Linter.RuleEntry<[]>
|
|
4551
4580
|
/**
|
|
4552
4581
|
* Disallow unused object properties.
|
|
4553
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4582
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-unused-properties.md
|
|
4554
4583
|
*/
|
|
4555
4584
|
'unicorn/no-unused-properties'?: Linter.RuleEntry<[]>
|
|
4556
4585
|
/**
|
|
4557
4586
|
* Disallow useless fallback when spreading in object literals.
|
|
4558
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4587
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-fallback-in-spread.md
|
|
4559
4588
|
*/
|
|
4560
4589
|
'unicorn/no-useless-fallback-in-spread'?: Linter.RuleEntry<[]>
|
|
4561
4590
|
/**
|
|
4562
4591
|
* Disallow useless array length check.
|
|
4563
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4592
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-length-check.md
|
|
4564
4593
|
*/
|
|
4565
4594
|
'unicorn/no-useless-length-check'?: Linter.RuleEntry<[]>
|
|
4566
4595
|
/**
|
|
4567
4596
|
* Disallow returning/yielding `Promise.resolve/reject()` in async functions or promise callbacks
|
|
4568
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4597
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-promise-resolve-reject.md
|
|
4569
4598
|
*/
|
|
4570
4599
|
'unicorn/no-useless-promise-resolve-reject'?: Linter.RuleEntry<[]>
|
|
4571
4600
|
/**
|
|
4572
4601
|
* Disallow unnecessary spread.
|
|
4573
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4602
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-spread.md
|
|
4574
4603
|
*/
|
|
4575
4604
|
'unicorn/no-useless-spread'?: Linter.RuleEntry<[]>
|
|
4576
4605
|
/**
|
|
4577
4606
|
* Disallow useless case in switch statements.
|
|
4578
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4607
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-switch-case.md
|
|
4579
4608
|
*/
|
|
4580
4609
|
'unicorn/no-useless-switch-case'?: Linter.RuleEntry<[]>
|
|
4581
4610
|
/**
|
|
4582
4611
|
* Disallow useless `undefined`.
|
|
4583
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4612
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-useless-undefined.md
|
|
4584
4613
|
*/
|
|
4585
4614
|
'unicorn/no-useless-undefined'?: Linter.RuleEntry<UnicornNoUselessUndefined>
|
|
4586
4615
|
/**
|
|
4587
4616
|
* Disallow number literals with zero fractions or dangling dots.
|
|
4588
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4617
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/no-zero-fractions.md
|
|
4589
4618
|
*/
|
|
4590
4619
|
'unicorn/no-zero-fractions'?: Linter.RuleEntry<[]>
|
|
4591
4620
|
/**
|
|
4592
4621
|
* Enforce proper case for numeric literals.
|
|
4593
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4622
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/number-literal-case.md
|
|
4594
4623
|
*/
|
|
4595
4624
|
'unicorn/number-literal-case'?: Linter.RuleEntry<UnicornNumberLiteralCase>
|
|
4596
4625
|
/**
|
|
4597
4626
|
* Enforce the style of numeric separators by correctly grouping digits.
|
|
4598
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4627
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/numeric-separators-style.md
|
|
4599
4628
|
*/
|
|
4600
4629
|
'unicorn/numeric-separators-style'?: Linter.RuleEntry<UnicornNumericSeparatorsStyle>
|
|
4601
4630
|
/**
|
|
4602
4631
|
* Prefer `.addEventListener()` and `.removeEventListener()` over `on`-functions.
|
|
4603
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4632
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-add-event-listener.md
|
|
4604
4633
|
*/
|
|
4605
4634
|
'unicorn/prefer-add-event-listener'?: Linter.RuleEntry<UnicornPreferAddEventListener>
|
|
4606
4635
|
/**
|
|
4607
4636
|
* Prefer `.find(…)` and `.findLast(…)` over the first or last element from `.filter(…)`.
|
|
4608
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4637
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-find.md
|
|
4609
4638
|
*/
|
|
4610
4639
|
'unicorn/prefer-array-find'?: Linter.RuleEntry<UnicornPreferArrayFind>
|
|
4611
4640
|
/**
|
|
4612
4641
|
* Prefer `Array#flat()` over legacy techniques to flatten arrays.
|
|
4613
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4642
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat.md
|
|
4614
4643
|
*/
|
|
4615
4644
|
'unicorn/prefer-array-flat'?: Linter.RuleEntry<UnicornPreferArrayFlat>
|
|
4616
4645
|
/**
|
|
4617
4646
|
* Prefer `.flatMap(…)` over `.map(…).flat()`.
|
|
4618
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4647
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-flat-map.md
|
|
4619
4648
|
*/
|
|
4620
4649
|
'unicorn/prefer-array-flat-map'?: Linter.RuleEntry<[]>
|
|
4621
4650
|
/**
|
|
4622
4651
|
* Prefer `Array#{indexOf,lastIndexOf}()` over `Array#{findIndex,findLastIndex}()` when looking for the index of an item.
|
|
4623
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4652
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-index-of.md
|
|
4624
4653
|
*/
|
|
4625
4654
|
'unicorn/prefer-array-index-of'?: Linter.RuleEntry<[]>
|
|
4626
4655
|
/**
|
|
4627
4656
|
* Prefer `.some(…)` over `.filter(…).length` check and `.{find,findLast,findIndex,findLastIndex}(…)`.
|
|
4628
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4657
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-array-some.md
|
|
4629
4658
|
*/
|
|
4630
4659
|
'unicorn/prefer-array-some'?: Linter.RuleEntry<[]>
|
|
4631
4660
|
/**
|
|
4632
4661
|
* Prefer `.at()` method for index access and `String#charAt()`.
|
|
4633
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4662
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-at.md
|
|
4634
4663
|
*/
|
|
4635
4664
|
'unicorn/prefer-at'?: Linter.RuleEntry<UnicornPreferAt>
|
|
4636
4665
|
/**
|
|
4637
4666
|
* Prefer `Blob#arrayBuffer()` over `FileReader#readAsArrayBuffer(…)` and `Blob#text()` over `FileReader#readAsText(…)`.
|
|
4638
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4667
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-blob-reading-methods.md
|
|
4639
4668
|
*/
|
|
4640
4669
|
'unicorn/prefer-blob-reading-methods'?: Linter.RuleEntry<[]>
|
|
4641
4670
|
/**
|
|
4642
4671
|
* Prefer `String#codePointAt(…)` over `String#charCodeAt(…)` and `String.fromCodePoint(…)` over `String.fromCharCode(…)`.
|
|
4643
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4672
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-code-point.md
|
|
4644
4673
|
*/
|
|
4645
4674
|
'unicorn/prefer-code-point'?: Linter.RuleEntry<[]>
|
|
4646
4675
|
/**
|
|
4647
4676
|
* Prefer `Date.now()` to get the number of milliseconds since the Unix Epoch.
|
|
4648
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4677
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-date-now.md
|
|
4649
4678
|
*/
|
|
4650
4679
|
'unicorn/prefer-date-now'?: Linter.RuleEntry<[]>
|
|
4651
4680
|
/**
|
|
4652
4681
|
* Prefer default parameters over reassignment.
|
|
4653
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4682
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-default-parameters.md
|
|
4654
4683
|
*/
|
|
4655
4684
|
'unicorn/prefer-default-parameters'?: Linter.RuleEntry<[]>
|
|
4656
4685
|
/**
|
|
4657
4686
|
* Prefer `Node#append()` over `Node#appendChild()`.
|
|
4658
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4687
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-append.md
|
|
4659
4688
|
*/
|
|
4660
4689
|
'unicorn/prefer-dom-node-append'?: Linter.RuleEntry<[]>
|
|
4661
4690
|
/**
|
|
4662
4691
|
* Prefer using `.dataset` on DOM elements over calling attribute methods.
|
|
4663
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4692
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-dataset.md
|
|
4664
4693
|
*/
|
|
4665
4694
|
'unicorn/prefer-dom-node-dataset'?: Linter.RuleEntry<[]>
|
|
4666
4695
|
/**
|
|
4667
4696
|
* Prefer `childNode.remove()` over `parentNode.removeChild(childNode)`.
|
|
4668
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4697
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-remove.md
|
|
4669
4698
|
*/
|
|
4670
4699
|
'unicorn/prefer-dom-node-remove'?: Linter.RuleEntry<[]>
|
|
4671
4700
|
/**
|
|
4672
4701
|
* Prefer `.textContent` over `.innerText`.
|
|
4673
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4702
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-dom-node-text-content.md
|
|
4674
4703
|
*/
|
|
4675
4704
|
'unicorn/prefer-dom-node-text-content'?: Linter.RuleEntry<[]>
|
|
4676
4705
|
/**
|
|
4677
4706
|
* Prefer `EventTarget` over `EventEmitter`.
|
|
4678
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4707
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-event-target.md
|
|
4679
4708
|
*/
|
|
4680
4709
|
'unicorn/prefer-event-target'?: Linter.RuleEntry<[]>
|
|
4681
4710
|
/**
|
|
4682
4711
|
* Prefer `export…from` when re-exporting.
|
|
4683
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4712
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-export-from.md
|
|
4684
4713
|
*/
|
|
4685
4714
|
'unicorn/prefer-export-from'?: Linter.RuleEntry<UnicornPreferExportFrom>
|
|
4686
4715
|
/**
|
|
4687
4716
|
* Prefer `globalThis` over `window`, `self`, and `global`.
|
|
4688
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4717
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-global-this.md
|
|
4689
4718
|
*/
|
|
4690
4719
|
'unicorn/prefer-global-this'?: Linter.RuleEntry<[]>
|
|
4720
|
+
/**
|
|
4721
|
+
* Prefer `import.meta.{dirname,filename}` over legacy techniques for getting file paths.
|
|
4722
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-import-meta-properties.md
|
|
4723
|
+
*/
|
|
4724
|
+
'unicorn/prefer-import-meta-properties'?: Linter.RuleEntry<[]>
|
|
4691
4725
|
/**
|
|
4692
4726
|
* Prefer `.includes()` over `.indexOf()`, `.lastIndexOf()`, and `Array#some()` when checking for existence or non-existence.
|
|
4693
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4727
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-includes.md
|
|
4694
4728
|
*/
|
|
4695
4729
|
'unicorn/prefer-includes'?: Linter.RuleEntry<[]>
|
|
4696
4730
|
/**
|
|
4697
4731
|
* Prefer reading a JSON file as a buffer.
|
|
4698
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4732
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-json-parse-buffer.md
|
|
4699
4733
|
*/
|
|
4700
4734
|
'unicorn/prefer-json-parse-buffer'?: Linter.RuleEntry<[]>
|
|
4701
4735
|
/**
|
|
4702
4736
|
* Prefer `KeyboardEvent#key` over `KeyboardEvent#keyCode`.
|
|
4703
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4737
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-keyboard-event-key.md
|
|
4704
4738
|
*/
|
|
4705
4739
|
'unicorn/prefer-keyboard-event-key'?: Linter.RuleEntry<[]>
|
|
4706
4740
|
/**
|
|
4707
4741
|
* Prefer using a logical operator over a ternary.
|
|
4708
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4742
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-logical-operator-over-ternary.md
|
|
4709
4743
|
*/
|
|
4710
4744
|
'unicorn/prefer-logical-operator-over-ternary'?: Linter.RuleEntry<[]>
|
|
4711
4745
|
/**
|
|
4712
4746
|
* Prefer `Math.min()` and `Math.max()` over ternaries for simple comparisons.
|
|
4713
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4747
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-min-max.md
|
|
4714
4748
|
*/
|
|
4715
4749
|
'unicorn/prefer-math-min-max'?: Linter.RuleEntry<[]>
|
|
4716
4750
|
/**
|
|
4717
4751
|
* Enforce the use of `Math.trunc` instead of bitwise operators.
|
|
4718
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4752
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-math-trunc.md
|
|
4719
4753
|
*/
|
|
4720
4754
|
'unicorn/prefer-math-trunc'?: Linter.RuleEntry<[]>
|
|
4721
4755
|
/**
|
|
4722
4756
|
* Prefer `.before()` over `.insertBefore()`, `.replaceWith()` over `.replaceChild()`, prefer one of `.before()`, `.after()`, `.append()` or `.prepend()` over `insertAdjacentText()` and `insertAdjacentElement()`.
|
|
4723
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4757
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-dom-apis.md
|
|
4724
4758
|
*/
|
|
4725
4759
|
'unicorn/prefer-modern-dom-apis'?: Linter.RuleEntry<[]>
|
|
4726
4760
|
/**
|
|
4727
4761
|
* Prefer modern `Math` APIs over legacy patterns.
|
|
4728
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4762
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-modern-math-apis.md
|
|
4729
4763
|
*/
|
|
4730
4764
|
'unicorn/prefer-modern-math-apis'?: Linter.RuleEntry<[]>
|
|
4731
4765
|
/**
|
|
4732
4766
|
* Prefer JavaScript modules (ESM) over CommonJS.
|
|
4733
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4767
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-module.md
|
|
4734
4768
|
*/
|
|
4735
4769
|
'unicorn/prefer-module'?: Linter.RuleEntry<[]>
|
|
4736
4770
|
/**
|
|
4737
4771
|
* Prefer using `String`, `Number`, `BigInt`, `Boolean`, and `Symbol` directly.
|
|
4738
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4772
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-native-coercion-functions.md
|
|
4739
4773
|
*/
|
|
4740
4774
|
'unicorn/prefer-native-coercion-functions'?: Linter.RuleEntry<[]>
|
|
4741
4775
|
/**
|
|
4742
4776
|
* Prefer negative index over `.length - index` when possible.
|
|
4743
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4777
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-negative-index.md
|
|
4744
4778
|
*/
|
|
4745
4779
|
'unicorn/prefer-negative-index'?: Linter.RuleEntry<[]>
|
|
4746
4780
|
/**
|
|
4747
4781
|
* Prefer using the `node:` protocol when importing Node.js builtin modules.
|
|
4748
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4782
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-node-protocol.md
|
|
4749
4783
|
*/
|
|
4750
4784
|
'unicorn/prefer-node-protocol'?: Linter.RuleEntry<[]>
|
|
4751
4785
|
/**
|
|
4752
4786
|
* Prefer `Number` static properties over global ones.
|
|
4753
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4787
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-number-properties.md
|
|
4754
4788
|
*/
|
|
4755
4789
|
'unicorn/prefer-number-properties'?: Linter.RuleEntry<UnicornPreferNumberProperties>
|
|
4756
4790
|
/**
|
|
4757
4791
|
* Prefer using `Object.fromEntries(…)` to transform a list of key-value pairs into an object.
|
|
4758
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4792
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-object-from-entries.md
|
|
4759
4793
|
*/
|
|
4760
4794
|
'unicorn/prefer-object-from-entries'?: Linter.RuleEntry<UnicornPreferObjectFromEntries>
|
|
4761
4795
|
/**
|
|
4762
4796
|
* Prefer omitting the `catch` binding parameter.
|
|
4763
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4797
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-optional-catch-binding.md
|
|
4764
4798
|
*/
|
|
4765
4799
|
'unicorn/prefer-optional-catch-binding'?: Linter.RuleEntry<[]>
|
|
4766
4800
|
/**
|
|
4767
4801
|
* Prefer borrowing methods from the prototype instead of the instance.
|
|
4768
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4802
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-prototype-methods.md
|
|
4769
4803
|
*/
|
|
4770
4804
|
'unicorn/prefer-prototype-methods'?: Linter.RuleEntry<[]>
|
|
4771
4805
|
/**
|
|
4772
4806
|
* Prefer `.querySelector()` over `.getElementById()`, `.querySelectorAll()` over `.getElementsByClassName()` and `.getElementsByTagName()` and `.getElementsByName()`.
|
|
4773
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4807
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-query-selector.md
|
|
4774
4808
|
*/
|
|
4775
4809
|
'unicorn/prefer-query-selector'?: Linter.RuleEntry<[]>
|
|
4776
4810
|
/**
|
|
4777
4811
|
* Prefer `Reflect.apply()` over `Function#apply()`.
|
|
4778
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4812
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-reflect-apply.md
|
|
4779
4813
|
*/
|
|
4780
4814
|
'unicorn/prefer-reflect-apply'?: Linter.RuleEntry<[]>
|
|
4781
4815
|
/**
|
|
4782
4816
|
* Prefer `RegExp#test()` over `String#match()` and `RegExp#exec()`.
|
|
4783
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4817
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-regexp-test.md
|
|
4784
4818
|
*/
|
|
4785
4819
|
'unicorn/prefer-regexp-test'?: Linter.RuleEntry<[]>
|
|
4786
4820
|
/**
|
|
4787
4821
|
* Prefer `Set#has()` over `Array#includes()` when checking for existence or non-existence.
|
|
4788
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4822
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-has.md
|
|
4789
4823
|
*/
|
|
4790
4824
|
'unicorn/prefer-set-has'?: Linter.RuleEntry<[]>
|
|
4791
4825
|
/**
|
|
4792
4826
|
* Prefer using `Set#size` instead of `Array#length`.
|
|
4793
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4827
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-set-size.md
|
|
4794
4828
|
*/
|
|
4795
4829
|
'unicorn/prefer-set-size'?: Linter.RuleEntry<[]>
|
|
4830
|
+
/**
|
|
4831
|
+
* Enforce combining multiple `Array#push()`, `Element#classList.{add,remove}()`, and `importScripts()` into one call.
|
|
4832
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-single-call.md
|
|
4833
|
+
*/
|
|
4834
|
+
'unicorn/prefer-single-call'?: Linter.RuleEntry<UnicornPreferSingleCall>
|
|
4796
4835
|
/**
|
|
4797
4836
|
* Prefer the spread operator over `Array.from(…)`, `Array#concat(…)`, `Array#{slice,toSpliced}()` and `String#split('')`.
|
|
4798
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4837
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-spread.md
|
|
4799
4838
|
*/
|
|
4800
4839
|
'unicorn/prefer-spread'?: Linter.RuleEntry<[]>
|
|
4801
4840
|
/**
|
|
4802
4841
|
* Prefer using the `String.raw` tag to avoid escaping `\`.
|
|
4803
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4842
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-raw.md
|
|
4804
4843
|
*/
|
|
4805
4844
|
'unicorn/prefer-string-raw'?: Linter.RuleEntry<[]>
|
|
4806
4845
|
/**
|
|
4807
4846
|
* Prefer `String#replaceAll()` over regex searches with the global flag.
|
|
4808
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4847
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-replace-all.md
|
|
4809
4848
|
*/
|
|
4810
4849
|
'unicorn/prefer-string-replace-all'?: Linter.RuleEntry<[]>
|
|
4811
4850
|
/**
|
|
4812
4851
|
* Prefer `String#slice()` over `String#substr()` and `String#substring()`.
|
|
4813
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4852
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-slice.md
|
|
4814
4853
|
*/
|
|
4815
4854
|
'unicorn/prefer-string-slice'?: Linter.RuleEntry<[]>
|
|
4816
4855
|
/**
|
|
4817
4856
|
* Prefer `String#startsWith()` & `String#endsWith()` over `RegExp#test()`.
|
|
4818
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4857
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-starts-ends-with.md
|
|
4819
4858
|
*/
|
|
4820
4859
|
'unicorn/prefer-string-starts-ends-with'?: Linter.RuleEntry<[]>
|
|
4821
4860
|
/**
|
|
4822
4861
|
* Prefer `String#trimStart()` / `String#trimEnd()` over `String#trimLeft()` / `String#trimRight()`.
|
|
4823
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4862
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-string-trim-start-end.md
|
|
4824
4863
|
*/
|
|
4825
4864
|
'unicorn/prefer-string-trim-start-end'?: Linter.RuleEntry<[]>
|
|
4826
4865
|
/**
|
|
4827
4866
|
* Prefer using `structuredClone` to create a deep clone.
|
|
4828
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4867
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-structured-clone.md
|
|
4829
4868
|
*/
|
|
4830
4869
|
'unicorn/prefer-structured-clone'?: Linter.RuleEntry<UnicornPreferStructuredClone>
|
|
4831
4870
|
/**
|
|
4832
4871
|
* Prefer `switch` over multiple `else-if`.
|
|
4833
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4872
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-switch.md
|
|
4834
4873
|
*/
|
|
4835
4874
|
'unicorn/prefer-switch'?: Linter.RuleEntry<UnicornPreferSwitch>
|
|
4836
4875
|
/**
|
|
4837
4876
|
* Prefer ternary expressions over simple `if-else` statements.
|
|
4838
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4877
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-ternary.md
|
|
4839
4878
|
*/
|
|
4840
4879
|
'unicorn/prefer-ternary'?: Linter.RuleEntry<UnicornPreferTernary>
|
|
4841
4880
|
/**
|
|
4842
4881
|
* Prefer top-level await over top-level promises and async function calls.
|
|
4843
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4882
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-top-level-await.md
|
|
4844
4883
|
*/
|
|
4845
4884
|
'unicorn/prefer-top-level-await'?: Linter.RuleEntry<[]>
|
|
4846
4885
|
/**
|
|
4847
4886
|
* Enforce throwing `TypeError` in type checking conditions.
|
|
4848
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4887
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prefer-type-error.md
|
|
4849
4888
|
*/
|
|
4850
4889
|
'unicorn/prefer-type-error'?: Linter.RuleEntry<[]>
|
|
4851
4890
|
/**
|
|
4852
4891
|
* Prevent abbreviations.
|
|
4853
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4892
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/prevent-abbreviations.md
|
|
4854
4893
|
*/
|
|
4855
4894
|
'unicorn/prevent-abbreviations'?: Linter.RuleEntry<UnicornPreventAbbreviations>
|
|
4856
4895
|
/**
|
|
4857
4896
|
* Enforce consistent relative URL style.
|
|
4858
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4897
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/relative-url-style.md
|
|
4859
4898
|
*/
|
|
4860
4899
|
'unicorn/relative-url-style'?: Linter.RuleEntry<UnicornRelativeUrlStyle>
|
|
4861
4900
|
/**
|
|
4862
4901
|
* Enforce using the separator argument with `Array#join()`.
|
|
4863
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4902
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-array-join-separator.md
|
|
4864
4903
|
*/
|
|
4865
4904
|
'unicorn/require-array-join-separator'?: Linter.RuleEntry<[]>
|
|
4866
4905
|
/**
|
|
4867
4906
|
* Enforce using the digits argument with `Number#toFixed()`.
|
|
4868
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4907
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-number-to-fixed-digits-argument.md
|
|
4869
4908
|
*/
|
|
4870
4909
|
'unicorn/require-number-to-fixed-digits-argument'?: Linter.RuleEntry<[]>
|
|
4871
4910
|
/**
|
|
4872
4911
|
* Enforce using the `targetOrigin` argument with `window.postMessage()`.
|
|
4873
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4912
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/require-post-message-target-origin.md
|
|
4874
4913
|
*/
|
|
4875
4914
|
'unicorn/require-post-message-target-origin'?: Linter.RuleEntry<[]>
|
|
4876
4915
|
/**
|
|
4877
4916
|
* Enforce better string content.
|
|
4878
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4917
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/string-content.md
|
|
4879
4918
|
*/
|
|
4880
4919
|
'unicorn/string-content'?: Linter.RuleEntry<UnicornStringContent>
|
|
4881
4920
|
/**
|
|
4882
4921
|
* Enforce consistent brace style for `case` clauses.
|
|
4883
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4922
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/switch-case-braces.md
|
|
4884
4923
|
*/
|
|
4885
4924
|
'unicorn/switch-case-braces'?: Linter.RuleEntry<UnicornSwitchCaseBraces>
|
|
4886
4925
|
/**
|
|
4887
4926
|
* Fix whitespace-insensitive template indentation.
|
|
4888
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4927
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/template-indent.md
|
|
4889
4928
|
*/
|
|
4890
4929
|
'unicorn/template-indent'?: Linter.RuleEntry<UnicornTemplateIndent>
|
|
4891
4930
|
/**
|
|
4892
4931
|
* Enforce consistent case for text encoding identifiers.
|
|
4893
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4932
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/text-encoding-identifier-case.md
|
|
4894
4933
|
*/
|
|
4895
4934
|
'unicorn/text-encoding-identifier-case'?: Linter.RuleEntry<[]>
|
|
4896
4935
|
/**
|
|
4897
4936
|
* Require `new` when creating an error.
|
|
4898
|
-
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/
|
|
4937
|
+
* @see https://github.com/sindresorhus/eslint-plugin-unicorn/blob/v59.0.1/docs/rules/throw-new-error.md
|
|
4899
4938
|
*/
|
|
4900
4939
|
'unicorn/throw-new-error'?: Linter.RuleEntry<[]>
|
|
4901
4940
|
/**
|
|
@@ -5039,6 +5078,8 @@ type CapitalizedComments = []|[("always" | "never")]|[("always" | "never"), ({
|
|
|
5039
5078
|
type ClassMethodsUseThis = []|[{
|
|
5040
5079
|
exceptMethods?: string[]
|
|
5041
5080
|
enforceForClassFields?: boolean
|
|
5081
|
+
ignoreOverrideMethods?: boolean
|
|
5082
|
+
ignoreClassesWithImplements?: ("all" | "public-fields")
|
|
5042
5083
|
}]
|
|
5043
5084
|
// ----- comma-dangle -----
|
|
5044
5085
|
type CommaDangle = []|[(_CommaDangleValue | {
|
|
@@ -6374,7 +6415,7 @@ type NoEmpty = []|[{
|
|
|
6374
6415
|
}]
|
|
6375
6416
|
// ----- no-empty-function -----
|
|
6376
6417
|
type NoEmptyFunction = []|[{
|
|
6377
|
-
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")[]
|
|
6378
6419
|
}]
|
|
6379
6420
|
// ----- no-empty-pattern -----
|
|
6380
6421
|
type NoEmptyPattern = []|[{
|
|
@@ -6576,13 +6617,9 @@ type NoRestrictedModules = ((string | {
|
|
|
6576
6617
|
}[])
|
|
6577
6618
|
// ----- no-restricted-properties -----
|
|
6578
6619
|
type NoRestrictedProperties = ({
|
|
6579
|
-
|
|
6580
|
-
property?: string
|
|
6581
|
-
message?: string
|
|
6620
|
+
[k: string]: unknown | undefined
|
|
6582
6621
|
} | {
|
|
6583
|
-
|
|
6584
|
-
property: string
|
|
6585
|
-
message?: string
|
|
6622
|
+
[k: string]: unknown | undefined
|
|
6586
6623
|
})[]
|
|
6587
6624
|
// ----- no-restricted-syntax -----
|
|
6588
6625
|
type NoRestrictedSyntax = (string | {
|
|
@@ -6606,6 +6643,10 @@ type NoShadow = []|[{
|
|
|
6606
6643
|
allow?: string[]
|
|
6607
6644
|
ignoreOnInitialization?: boolean
|
|
6608
6645
|
}]
|
|
6646
|
+
// ----- no-shadow-restricted-names -----
|
|
6647
|
+
type NoShadowRestrictedNames = []|[{
|
|
6648
|
+
reportGlobalThis?: boolean
|
|
6649
|
+
}]
|
|
6609
6650
|
// ----- no-sync -----
|
|
6610
6651
|
type NoSync = []|[{
|
|
6611
6652
|
allowAtRootLevel?: boolean
|
|
@@ -6657,6 +6698,7 @@ type NoUnusedExpressions = []|[{
|
|
|
6657
6698
|
allowTernary?: boolean
|
|
6658
6699
|
allowTaggedTemplates?: boolean
|
|
6659
6700
|
enforceForJSX?: boolean
|
|
6701
|
+
ignoreDirectives?: boolean
|
|
6660
6702
|
}]
|
|
6661
6703
|
// ----- no-unused-vars -----
|
|
6662
6704
|
type NoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -6887,6 +6929,7 @@ type NodeNoUnpublishedImport = []|[{
|
|
|
6887
6929
|
resolverConfig?: {
|
|
6888
6930
|
[k: string]: unknown | undefined
|
|
6889
6931
|
}
|
|
6932
|
+
tryExtensions?: string[]
|
|
6890
6933
|
ignoreTypeImport?: boolean
|
|
6891
6934
|
ignorePrivate?: boolean
|
|
6892
6935
|
}]
|
|
@@ -6930,7 +6973,7 @@ type NodeNoUnsupportedFeaturesEsSyntax = []|[{
|
|
|
6930
6973
|
type NodeNoUnsupportedFeaturesNodeBuiltins = []|[{
|
|
6931
6974
|
version?: string
|
|
6932
6975
|
allowExperimental?: boolean
|
|
6933
|
-
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")[]
|
|
6934
6977
|
}]
|
|
6935
6978
|
// ----- node/prefer-global/buffer -----
|
|
6936
6979
|
type NodePreferGlobalBuffer = []|[("always" | "never")]
|
|
@@ -7078,7 +7121,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7078
7121
|
order?: ("asc" | "desc")
|
|
7079
7122
|
|
|
7080
7123
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7081
|
-
[k: string]: unknown | undefined
|
|
7082
7124
|
}
|
|
7083
7125
|
|
|
7084
7126
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7104,10 +7146,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7104
7146
|
order?: ("asc" | "desc")
|
|
7105
7147
|
|
|
7106
7148
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7107
|
-
[k: string]: unknown | undefined
|
|
7108
7149
|
}
|
|
7109
7150
|
|
|
7110
|
-
groupName
|
|
7151
|
+
groupName: string
|
|
7111
7152
|
|
|
7112
7153
|
order?: ("asc" | "desc")
|
|
7113
7154
|
|
|
@@ -7117,10 +7158,14 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7117
7158
|
selector?: ("literal" | "spread")
|
|
7118
7159
|
|
|
7119
7160
|
elementNamePattern?: (({
|
|
7120
|
-
|
|
7161
|
+
|
|
7162
|
+
pattern: string
|
|
7163
|
+
|
|
7121
7164
|
flags?: string
|
|
7122
7165
|
} | string)[] | ({
|
|
7123
|
-
|
|
7166
|
+
|
|
7167
|
+
pattern: string
|
|
7168
|
+
|
|
7124
7169
|
flags?: string
|
|
7125
7170
|
} | string))
|
|
7126
7171
|
}[]
|
|
@@ -7133,10 +7178,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7133
7178
|
order?: ("asc" | "desc")
|
|
7134
7179
|
|
|
7135
7180
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7136
|
-
[k: string]: unknown | undefined
|
|
7137
7181
|
}
|
|
7138
7182
|
|
|
7139
|
-
groupName
|
|
7183
|
+
groupName: string
|
|
7140
7184
|
|
|
7141
7185
|
order?: ("asc" | "desc")
|
|
7142
7186
|
|
|
@@ -7145,43 +7189,66 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7145
7189
|
selector?: ("literal" | "spread")
|
|
7146
7190
|
|
|
7147
7191
|
elementNamePattern?: (({
|
|
7148
|
-
|
|
7192
|
+
|
|
7193
|
+
pattern: string
|
|
7194
|
+
|
|
7149
7195
|
flags?: string
|
|
7150
7196
|
} | string)[] | ({
|
|
7151
|
-
|
|
7197
|
+
|
|
7198
|
+
pattern: string
|
|
7199
|
+
|
|
7152
7200
|
flags?: string
|
|
7153
7201
|
} | string))
|
|
7154
7202
|
})[]
|
|
7203
|
+
|
|
7155
7204
|
useConfigurationIf?: {
|
|
7156
7205
|
|
|
7157
7206
|
allNamesMatchPattern?: (({
|
|
7158
|
-
|
|
7207
|
+
|
|
7208
|
+
pattern: string
|
|
7209
|
+
|
|
7159
7210
|
flags?: string
|
|
7160
7211
|
} | string)[] | ({
|
|
7161
|
-
|
|
7212
|
+
|
|
7213
|
+
pattern: string
|
|
7214
|
+
|
|
7162
7215
|
flags?: string
|
|
7163
7216
|
} | string))
|
|
7164
7217
|
}
|
|
7165
7218
|
|
|
7166
7219
|
partitionByComment?: (boolean | (({
|
|
7167
|
-
|
|
7220
|
+
|
|
7221
|
+
pattern: string
|
|
7222
|
+
|
|
7168
7223
|
flags?: string
|
|
7169
7224
|
} | string)[] | ({
|
|
7170
|
-
|
|
7225
|
+
|
|
7226
|
+
pattern: string
|
|
7227
|
+
|
|
7171
7228
|
flags?: string
|
|
7172
7229
|
} | string)) | {
|
|
7230
|
+
|
|
7173
7231
|
block?: (boolean | (({
|
|
7174
|
-
|
|
7232
|
+
|
|
7233
|
+
pattern: string
|
|
7234
|
+
|
|
7175
7235
|
flags?: string
|
|
7176
7236
|
} | string)[] | ({
|
|
7177
|
-
|
|
7237
|
+
|
|
7238
|
+
pattern: string
|
|
7239
|
+
|
|
7178
7240
|
flags?: string
|
|
7179
7241
|
} | string)))
|
|
7242
|
+
|
|
7180
7243
|
line?: (boolean | (({
|
|
7181
|
-
|
|
7244
|
+
|
|
7245
|
+
pattern: string
|
|
7246
|
+
|
|
7182
7247
|
flags?: string
|
|
7183
7248
|
} | string)[] | ({
|
|
7184
|
-
|
|
7249
|
+
|
|
7250
|
+
pattern: string
|
|
7251
|
+
|
|
7185
7252
|
flags?: string
|
|
7186
7253
|
} | string)))
|
|
7187
7254
|
})
|
|
@@ -7192,7 +7259,7 @@ type PerfectionistSortArrayIncludes = {
|
|
|
7192
7259
|
|
|
7193
7260
|
groups?: (string | string[] | {
|
|
7194
7261
|
|
|
7195
|
-
newlinesBetween
|
|
7262
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7196
7263
|
})[]
|
|
7197
7264
|
}[]
|
|
7198
7265
|
// ----- perfectionist/sort-classes -----
|
|
@@ -7203,7 +7270,6 @@ type PerfectionistSortClasses = []|[{
|
|
|
7203
7270
|
order?: ("asc" | "desc")
|
|
7204
7271
|
|
|
7205
7272
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7206
|
-
[k: string]: unknown | undefined
|
|
7207
7273
|
}
|
|
7208
7274
|
|
|
7209
7275
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7227,10 +7293,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
7227
7293
|
order?: ("asc" | "desc")
|
|
7228
7294
|
|
|
7229
7295
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7230
|
-
[k: string]: unknown | undefined
|
|
7231
7296
|
}
|
|
7232
7297
|
|
|
7233
|
-
groupName
|
|
7298
|
+
groupName: string
|
|
7234
7299
|
|
|
7235
7300
|
order?: ("asc" | "desc")
|
|
7236
7301
|
|
|
@@ -7242,26 +7307,38 @@ type PerfectionistSortClasses = []|[{
|
|
|
7242
7307
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7243
7308
|
|
|
7244
7309
|
decoratorNamePattern?: (({
|
|
7245
|
-
|
|
7310
|
+
|
|
7311
|
+
pattern: string
|
|
7312
|
+
|
|
7246
7313
|
flags?: string
|
|
7247
7314
|
} | string)[] | ({
|
|
7248
|
-
|
|
7315
|
+
|
|
7316
|
+
pattern: string
|
|
7317
|
+
|
|
7249
7318
|
flags?: string
|
|
7250
7319
|
} | string))
|
|
7251
7320
|
|
|
7252
7321
|
elementValuePattern?: (({
|
|
7253
|
-
|
|
7322
|
+
|
|
7323
|
+
pattern: string
|
|
7324
|
+
|
|
7254
7325
|
flags?: string
|
|
7255
7326
|
} | string)[] | ({
|
|
7256
|
-
|
|
7327
|
+
|
|
7328
|
+
pattern: string
|
|
7329
|
+
|
|
7257
7330
|
flags?: string
|
|
7258
7331
|
} | string))
|
|
7259
7332
|
|
|
7260
7333
|
elementNamePattern?: (({
|
|
7261
|
-
|
|
7334
|
+
|
|
7335
|
+
pattern: string
|
|
7336
|
+
|
|
7262
7337
|
flags?: string
|
|
7263
7338
|
} | string)[] | ({
|
|
7264
|
-
|
|
7339
|
+
|
|
7340
|
+
pattern: string
|
|
7341
|
+
|
|
7265
7342
|
flags?: string
|
|
7266
7343
|
} | string))
|
|
7267
7344
|
}[]
|
|
@@ -7274,10 +7351,9 @@ type PerfectionistSortClasses = []|[{
|
|
|
7274
7351
|
order?: ("asc" | "desc")
|
|
7275
7352
|
|
|
7276
7353
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7277
|
-
[k: string]: unknown | undefined
|
|
7278
7354
|
}
|
|
7279
7355
|
|
|
7280
|
-
groupName
|
|
7356
|
+
groupName: string
|
|
7281
7357
|
|
|
7282
7358
|
order?: ("asc" | "desc")
|
|
7283
7359
|
|
|
@@ -7288,57 +7364,87 @@ type PerfectionistSortClasses = []|[{
|
|
|
7288
7364
|
selector?: ("accessor-property" | "index-signature" | "constructor" | "static-block" | "get-method" | "set-method" | "function-property" | "property" | "method")
|
|
7289
7365
|
|
|
7290
7366
|
decoratorNamePattern?: (({
|
|
7291
|
-
|
|
7367
|
+
|
|
7368
|
+
pattern: string
|
|
7369
|
+
|
|
7292
7370
|
flags?: string
|
|
7293
7371
|
} | string)[] | ({
|
|
7294
|
-
|
|
7372
|
+
|
|
7373
|
+
pattern: string
|
|
7374
|
+
|
|
7295
7375
|
flags?: string
|
|
7296
7376
|
} | string))
|
|
7297
7377
|
|
|
7298
7378
|
elementValuePattern?: (({
|
|
7299
|
-
|
|
7379
|
+
|
|
7380
|
+
pattern: string
|
|
7381
|
+
|
|
7300
7382
|
flags?: string
|
|
7301
7383
|
} | string)[] | ({
|
|
7302
|
-
|
|
7384
|
+
|
|
7385
|
+
pattern: string
|
|
7386
|
+
|
|
7303
7387
|
flags?: string
|
|
7304
7388
|
} | string))
|
|
7305
7389
|
|
|
7306
7390
|
elementNamePattern?: (({
|
|
7307
|
-
|
|
7391
|
+
|
|
7392
|
+
pattern: string
|
|
7393
|
+
|
|
7308
7394
|
flags?: string
|
|
7309
7395
|
} | string)[] | ({
|
|
7310
|
-
|
|
7396
|
+
|
|
7397
|
+
pattern: string
|
|
7398
|
+
|
|
7311
7399
|
flags?: string
|
|
7312
7400
|
} | string))
|
|
7313
7401
|
})[]
|
|
7314
7402
|
|
|
7315
7403
|
ignoreCallbackDependenciesPatterns?: (({
|
|
7316
|
-
|
|
7404
|
+
|
|
7405
|
+
pattern: string
|
|
7406
|
+
|
|
7317
7407
|
flags?: string
|
|
7318
7408
|
} | string)[] | ({
|
|
7319
|
-
|
|
7409
|
+
|
|
7410
|
+
pattern: string
|
|
7411
|
+
|
|
7320
7412
|
flags?: string
|
|
7321
7413
|
} | string))
|
|
7322
7414
|
|
|
7323
7415
|
partitionByComment?: (boolean | (({
|
|
7324
|
-
|
|
7416
|
+
|
|
7417
|
+
pattern: string
|
|
7418
|
+
|
|
7325
7419
|
flags?: string
|
|
7326
7420
|
} | string)[] | ({
|
|
7327
|
-
|
|
7421
|
+
|
|
7422
|
+
pattern: string
|
|
7423
|
+
|
|
7328
7424
|
flags?: string
|
|
7329
7425
|
} | string)) | {
|
|
7426
|
+
|
|
7330
7427
|
block?: (boolean | (({
|
|
7331
|
-
|
|
7428
|
+
|
|
7429
|
+
pattern: string
|
|
7430
|
+
|
|
7332
7431
|
flags?: string
|
|
7333
7432
|
} | string)[] | ({
|
|
7334
|
-
|
|
7433
|
+
|
|
7434
|
+
pattern: string
|
|
7435
|
+
|
|
7335
7436
|
flags?: string
|
|
7336
7437
|
} | string)))
|
|
7438
|
+
|
|
7337
7439
|
line?: (boolean | (({
|
|
7338
|
-
|
|
7440
|
+
|
|
7441
|
+
pattern: string
|
|
7442
|
+
|
|
7339
7443
|
flags?: string
|
|
7340
7444
|
} | string)[] | ({
|
|
7341
|
-
|
|
7445
|
+
|
|
7446
|
+
pattern: string
|
|
7447
|
+
|
|
7342
7448
|
flags?: string
|
|
7343
7449
|
} | string)))
|
|
7344
7450
|
})
|
|
@@ -7349,7 +7455,7 @@ type PerfectionistSortClasses = []|[{
|
|
|
7349
7455
|
|
|
7350
7456
|
groups?: (string | string[] | {
|
|
7351
7457
|
|
|
7352
|
-
newlinesBetween
|
|
7458
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7353
7459
|
})[]
|
|
7354
7460
|
}]
|
|
7355
7461
|
// ----- perfectionist/sort-decorators -----
|
|
@@ -7360,7 +7466,6 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7360
7466
|
order?: ("asc" | "desc")
|
|
7361
7467
|
|
|
7362
7468
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7363
|
-
[k: string]: unknown | undefined
|
|
7364
7469
|
}
|
|
7365
7470
|
|
|
7366
7471
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7386,24 +7491,38 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7386
7491
|
sortOnClasses?: boolean
|
|
7387
7492
|
|
|
7388
7493
|
partitionByComment?: (boolean | (({
|
|
7389
|
-
|
|
7494
|
+
|
|
7495
|
+
pattern: string
|
|
7496
|
+
|
|
7390
7497
|
flags?: string
|
|
7391
7498
|
} | string)[] | ({
|
|
7392
|
-
|
|
7499
|
+
|
|
7500
|
+
pattern: string
|
|
7501
|
+
|
|
7393
7502
|
flags?: string
|
|
7394
7503
|
} | string)) | {
|
|
7504
|
+
|
|
7395
7505
|
block?: (boolean | (({
|
|
7396
|
-
|
|
7506
|
+
|
|
7507
|
+
pattern: string
|
|
7508
|
+
|
|
7397
7509
|
flags?: string
|
|
7398
7510
|
} | string)[] | ({
|
|
7399
|
-
|
|
7511
|
+
|
|
7512
|
+
pattern: string
|
|
7513
|
+
|
|
7400
7514
|
flags?: string
|
|
7401
7515
|
} | string)))
|
|
7516
|
+
|
|
7402
7517
|
line?: (boolean | (({
|
|
7403
|
-
|
|
7518
|
+
|
|
7519
|
+
pattern: string
|
|
7520
|
+
|
|
7404
7521
|
flags?: string
|
|
7405
7522
|
} | string)[] | ({
|
|
7406
|
-
|
|
7523
|
+
|
|
7524
|
+
pattern: string
|
|
7525
|
+
|
|
7407
7526
|
flags?: string
|
|
7408
7527
|
} | string)))
|
|
7409
7528
|
})
|
|
@@ -7414,7 +7533,7 @@ type PerfectionistSortDecorators = []|[{
|
|
|
7414
7533
|
|
|
7415
7534
|
groups?: (string | string[] | {
|
|
7416
7535
|
|
|
7417
|
-
newlinesBetween
|
|
7536
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7418
7537
|
})[]
|
|
7419
7538
|
}]
|
|
7420
7539
|
// ----- perfectionist/sort-enums -----
|
|
@@ -7425,7 +7544,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
7425
7544
|
order?: ("asc" | "desc")
|
|
7426
7545
|
|
|
7427
7546
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7428
|
-
[k: string]: unknown | undefined
|
|
7429
7547
|
}
|
|
7430
7548
|
|
|
7431
7549
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7439,8 +7557,6 @@ type PerfectionistSortEnums = []|[{
|
|
|
7439
7557
|
order?: ("asc" | "desc")
|
|
7440
7558
|
|
|
7441
7559
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7442
|
-
|
|
7443
|
-
forceNumericSort?: boolean
|
|
7444
7560
|
customGroups?: ({
|
|
7445
7561
|
[k: string]: (string | string[]) | undefined
|
|
7446
7562
|
} | ({
|
|
@@ -7452,10 +7568,9 @@ type PerfectionistSortEnums = []|[{
|
|
|
7452
7568
|
order?: ("asc" | "desc")
|
|
7453
7569
|
|
|
7454
7570
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7455
|
-
[k: string]: unknown | undefined
|
|
7456
7571
|
}
|
|
7457
7572
|
|
|
7458
|
-
groupName
|
|
7573
|
+
groupName: string
|
|
7459
7574
|
|
|
7460
7575
|
order?: ("asc" | "desc")
|
|
7461
7576
|
|
|
@@ -7463,18 +7578,26 @@ type PerfectionistSortEnums = []|[{
|
|
|
7463
7578
|
anyOf?: {
|
|
7464
7579
|
|
|
7465
7580
|
elementValuePattern?: (({
|
|
7466
|
-
|
|
7581
|
+
|
|
7582
|
+
pattern: string
|
|
7583
|
+
|
|
7467
7584
|
flags?: string
|
|
7468
7585
|
} | string)[] | ({
|
|
7469
|
-
|
|
7586
|
+
|
|
7587
|
+
pattern: string
|
|
7588
|
+
|
|
7470
7589
|
flags?: string
|
|
7471
7590
|
} | string))
|
|
7472
7591
|
|
|
7473
7592
|
elementNamePattern?: (({
|
|
7474
|
-
|
|
7593
|
+
|
|
7594
|
+
pattern: string
|
|
7595
|
+
|
|
7475
7596
|
flags?: string
|
|
7476
7597
|
} | string)[] | ({
|
|
7477
|
-
|
|
7598
|
+
|
|
7599
|
+
pattern: string
|
|
7600
|
+
|
|
7478
7601
|
flags?: string
|
|
7479
7602
|
} | string))
|
|
7480
7603
|
}[]
|
|
@@ -7487,53 +7610,76 @@ type PerfectionistSortEnums = []|[{
|
|
|
7487
7610
|
order?: ("asc" | "desc")
|
|
7488
7611
|
|
|
7489
7612
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7490
|
-
[k: string]: unknown | undefined
|
|
7491
7613
|
}
|
|
7492
7614
|
|
|
7493
|
-
groupName
|
|
7615
|
+
groupName: string
|
|
7494
7616
|
|
|
7495
7617
|
order?: ("asc" | "desc")
|
|
7496
7618
|
|
|
7497
7619
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7498
7620
|
|
|
7499
7621
|
elementValuePattern?: (({
|
|
7500
|
-
|
|
7622
|
+
|
|
7623
|
+
pattern: string
|
|
7624
|
+
|
|
7501
7625
|
flags?: string
|
|
7502
7626
|
} | string)[] | ({
|
|
7503
|
-
|
|
7627
|
+
|
|
7628
|
+
pattern: string
|
|
7629
|
+
|
|
7504
7630
|
flags?: string
|
|
7505
7631
|
} | string))
|
|
7506
7632
|
|
|
7507
7633
|
elementNamePattern?: (({
|
|
7508
|
-
|
|
7634
|
+
|
|
7635
|
+
pattern: string
|
|
7636
|
+
|
|
7509
7637
|
flags?: string
|
|
7510
7638
|
} | string)[] | ({
|
|
7511
|
-
|
|
7639
|
+
|
|
7640
|
+
pattern: string
|
|
7641
|
+
|
|
7512
7642
|
flags?: string
|
|
7513
7643
|
} | string))
|
|
7514
7644
|
})[])
|
|
7515
7645
|
|
|
7646
|
+
forceNumericSort?: boolean
|
|
7647
|
+
|
|
7516
7648
|
sortByValue?: boolean
|
|
7517
7649
|
|
|
7518
7650
|
partitionByComment?: (boolean | (({
|
|
7519
|
-
|
|
7651
|
+
|
|
7652
|
+
pattern: string
|
|
7653
|
+
|
|
7520
7654
|
flags?: string
|
|
7521
7655
|
} | string)[] | ({
|
|
7522
|
-
|
|
7656
|
+
|
|
7657
|
+
pattern: string
|
|
7658
|
+
|
|
7523
7659
|
flags?: string
|
|
7524
7660
|
} | string)) | {
|
|
7661
|
+
|
|
7525
7662
|
block?: (boolean | (({
|
|
7526
|
-
|
|
7663
|
+
|
|
7664
|
+
pattern: string
|
|
7665
|
+
|
|
7527
7666
|
flags?: string
|
|
7528
7667
|
} | string)[] | ({
|
|
7529
|
-
|
|
7668
|
+
|
|
7669
|
+
pattern: string
|
|
7670
|
+
|
|
7530
7671
|
flags?: string
|
|
7531
7672
|
} | string)))
|
|
7673
|
+
|
|
7532
7674
|
line?: (boolean | (({
|
|
7533
|
-
|
|
7675
|
+
|
|
7676
|
+
pattern: string
|
|
7677
|
+
|
|
7534
7678
|
flags?: string
|
|
7535
7679
|
} | string)[] | ({
|
|
7536
|
-
|
|
7680
|
+
|
|
7681
|
+
pattern: string
|
|
7682
|
+
|
|
7537
7683
|
flags?: string
|
|
7538
7684
|
} | string)))
|
|
7539
7685
|
})
|
|
@@ -7544,7 +7690,7 @@ type PerfectionistSortEnums = []|[{
|
|
|
7544
7690
|
|
|
7545
7691
|
groups?: (string | string[] | {
|
|
7546
7692
|
|
|
7547
|
-
newlinesBetween
|
|
7693
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7548
7694
|
})[]
|
|
7549
7695
|
}]
|
|
7550
7696
|
// ----- perfectionist/sort-exports -----
|
|
@@ -7555,7 +7701,6 @@ type PerfectionistSortExports = {
|
|
|
7555
7701
|
order?: ("asc" | "desc")
|
|
7556
7702
|
|
|
7557
7703
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7558
|
-
[k: string]: unknown | undefined
|
|
7559
7704
|
}
|
|
7560
7705
|
|
|
7561
7706
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7581,10 +7726,9 @@ type PerfectionistSortExports = {
|
|
|
7581
7726
|
order?: ("asc" | "desc")
|
|
7582
7727
|
|
|
7583
7728
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7584
|
-
[k: string]: unknown | undefined
|
|
7585
7729
|
}
|
|
7586
7730
|
|
|
7587
|
-
groupName
|
|
7731
|
+
groupName: string
|
|
7588
7732
|
|
|
7589
7733
|
order?: ("asc" | "desc")
|
|
7590
7734
|
|
|
@@ -7596,10 +7740,14 @@ type PerfectionistSortExports = {
|
|
|
7596
7740
|
selector?: "export"
|
|
7597
7741
|
|
|
7598
7742
|
elementNamePattern?: (({
|
|
7599
|
-
|
|
7743
|
+
|
|
7744
|
+
pattern: string
|
|
7745
|
+
|
|
7600
7746
|
flags?: string
|
|
7601
7747
|
} | string)[] | ({
|
|
7602
|
-
|
|
7748
|
+
|
|
7749
|
+
pattern: string
|
|
7750
|
+
|
|
7603
7751
|
flags?: string
|
|
7604
7752
|
} | string))
|
|
7605
7753
|
}[]
|
|
@@ -7612,10 +7760,9 @@ type PerfectionistSortExports = {
|
|
|
7612
7760
|
order?: ("asc" | "desc")
|
|
7613
7761
|
|
|
7614
7762
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7615
|
-
[k: string]: unknown | undefined
|
|
7616
7763
|
}
|
|
7617
7764
|
|
|
7618
|
-
groupName
|
|
7765
|
+
groupName: string
|
|
7619
7766
|
|
|
7620
7767
|
order?: ("asc" | "desc")
|
|
7621
7768
|
|
|
@@ -7626,33 +7773,51 @@ type PerfectionistSortExports = {
|
|
|
7626
7773
|
selector?: "export"
|
|
7627
7774
|
|
|
7628
7775
|
elementNamePattern?: (({
|
|
7629
|
-
|
|
7776
|
+
|
|
7777
|
+
pattern: string
|
|
7778
|
+
|
|
7630
7779
|
flags?: string
|
|
7631
7780
|
} | string)[] | ({
|
|
7632
|
-
|
|
7781
|
+
|
|
7782
|
+
pattern: string
|
|
7783
|
+
|
|
7633
7784
|
flags?: string
|
|
7634
7785
|
} | string))
|
|
7635
7786
|
})[]
|
|
7636
7787
|
|
|
7637
7788
|
partitionByComment?: (boolean | (({
|
|
7638
|
-
|
|
7789
|
+
|
|
7790
|
+
pattern: string
|
|
7791
|
+
|
|
7639
7792
|
flags?: string
|
|
7640
7793
|
} | string)[] | ({
|
|
7641
|
-
|
|
7794
|
+
|
|
7795
|
+
pattern: string
|
|
7796
|
+
|
|
7642
7797
|
flags?: string
|
|
7643
7798
|
} | string)) | {
|
|
7799
|
+
|
|
7644
7800
|
block?: (boolean | (({
|
|
7645
|
-
|
|
7801
|
+
|
|
7802
|
+
pattern: string
|
|
7803
|
+
|
|
7646
7804
|
flags?: string
|
|
7647
7805
|
} | string)[] | ({
|
|
7648
|
-
|
|
7806
|
+
|
|
7807
|
+
pattern: string
|
|
7808
|
+
|
|
7649
7809
|
flags?: string
|
|
7650
7810
|
} | string)))
|
|
7811
|
+
|
|
7651
7812
|
line?: (boolean | (({
|
|
7652
|
-
|
|
7813
|
+
|
|
7814
|
+
pattern: string
|
|
7815
|
+
|
|
7653
7816
|
flags?: string
|
|
7654
7817
|
} | string)[] | ({
|
|
7655
|
-
|
|
7818
|
+
|
|
7819
|
+
pattern: string
|
|
7820
|
+
|
|
7656
7821
|
flags?: string
|
|
7657
7822
|
} | string)))
|
|
7658
7823
|
})
|
|
@@ -7663,7 +7828,7 @@ type PerfectionistSortExports = {
|
|
|
7663
7828
|
|
|
7664
7829
|
groups?: (string | string[] | {
|
|
7665
7830
|
|
|
7666
|
-
newlinesBetween
|
|
7831
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7667
7832
|
})[]
|
|
7668
7833
|
}[]
|
|
7669
7834
|
// ----- perfectionist/sort-heritage-clauses -----
|
|
@@ -7674,7 +7839,6 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
7674
7839
|
order?: ("asc" | "desc")
|
|
7675
7840
|
|
|
7676
7841
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7677
|
-
[k: string]: unknown | undefined
|
|
7678
7842
|
}
|
|
7679
7843
|
|
|
7680
7844
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7695,19 +7859,17 @@ type PerfectionistSortHeritageClauses = []|[{
|
|
|
7695
7859
|
|
|
7696
7860
|
groups?: (string | string[] | {
|
|
7697
7861
|
|
|
7698
|
-
newlinesBetween
|
|
7862
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7699
7863
|
})[]
|
|
7700
7864
|
}]
|
|
7701
7865
|
// ----- perfectionist/sort-imports -----
|
|
7702
|
-
type PerfectionistSortImports =
|
|
7703
|
-
type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLengthRequiresLineLengthType & {
|
|
7866
|
+
type PerfectionistSortImports = {
|
|
7704
7867
|
|
|
7705
7868
|
fallbackSort?: {
|
|
7706
7869
|
|
|
7707
7870
|
order?: ("asc" | "desc")
|
|
7708
7871
|
|
|
7709
7872
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7710
|
-
[k: string]: unknown | undefined
|
|
7711
7873
|
}
|
|
7712
7874
|
|
|
7713
7875
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7721,97 +7883,15 @@ type _PerfectionistSortImportsSortImports = (_PerfectionistSortImportsMaxLineLen
|
|
|
7721
7883
|
order?: ("asc" | "desc")
|
|
7722
7884
|
|
|
7723
7885
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7724
|
-
|
|
7725
|
-
customGroups?: {
|
|
7886
|
+
customGroups?: ({
|
|
7726
7887
|
|
|
7727
7888
|
value?: {
|
|
7728
|
-
[k: string]:
|
|
7889
|
+
[k: string]: (string | string[]) | undefined
|
|
7729
7890
|
}
|
|
7730
7891
|
|
|
7731
7892
|
type?: {
|
|
7732
|
-
[k: string]:
|
|
7893
|
+
[k: string]: (string | string[]) | undefined
|
|
7733
7894
|
}
|
|
7734
|
-
}
|
|
7735
|
-
|
|
7736
|
-
maxLineLength?: number
|
|
7737
|
-
|
|
7738
|
-
sortSideEffects?: boolean
|
|
7739
|
-
|
|
7740
|
-
environment?: ("node" | "bun")
|
|
7741
|
-
|
|
7742
|
-
tsconfigRootDir?: string
|
|
7743
|
-
|
|
7744
|
-
partitionByComment?: (boolean | (({
|
|
7745
|
-
pattern?: string
|
|
7746
|
-
flags?: string
|
|
7747
|
-
} | string)[] | ({
|
|
7748
|
-
pattern?: string
|
|
7749
|
-
flags?: string
|
|
7750
|
-
} | string)) | {
|
|
7751
|
-
block?: (boolean | (({
|
|
7752
|
-
pattern?: string
|
|
7753
|
-
flags?: string
|
|
7754
|
-
} | string)[] | ({
|
|
7755
|
-
pattern?: string
|
|
7756
|
-
flags?: string
|
|
7757
|
-
} | string)))
|
|
7758
|
-
line?: (boolean | (({
|
|
7759
|
-
pattern?: string
|
|
7760
|
-
flags?: string
|
|
7761
|
-
} | string)[] | ({
|
|
7762
|
-
pattern?: string
|
|
7763
|
-
flags?: string
|
|
7764
|
-
} | string)))
|
|
7765
|
-
})
|
|
7766
|
-
|
|
7767
|
-
partitionByNewLine?: boolean
|
|
7768
|
-
|
|
7769
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7770
|
-
|
|
7771
|
-
internalPattern?: (({
|
|
7772
|
-
pattern?: string
|
|
7773
|
-
flags?: string
|
|
7774
|
-
} | string)[] | ({
|
|
7775
|
-
pattern?: string
|
|
7776
|
-
flags?: string
|
|
7777
|
-
} | string))
|
|
7778
|
-
|
|
7779
|
-
groups?: (string | string[] | {
|
|
7780
|
-
|
|
7781
|
-
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7782
|
-
})[]
|
|
7783
|
-
})
|
|
7784
|
-
type _PerfectionistSortImportsMaxLineLengthRequiresLineLengthType = ({
|
|
7785
|
-
[k: string]: unknown | undefined
|
|
7786
|
-
} | _PerfectionistSortImports_IsLineLength)
|
|
7787
|
-
interface _PerfectionistSortImports_IsLineLength {
|
|
7788
|
-
type: "line-length"
|
|
7789
|
-
[k: string]: unknown | undefined
|
|
7790
|
-
}
|
|
7791
|
-
// ----- perfectionist/sort-interfaces -----
|
|
7792
|
-
type PerfectionistSortInterfaces = {
|
|
7793
|
-
|
|
7794
|
-
fallbackSort?: {
|
|
7795
|
-
|
|
7796
|
-
order?: ("asc" | "desc")
|
|
7797
|
-
|
|
7798
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7799
|
-
[k: string]: unknown | undefined
|
|
7800
|
-
}
|
|
7801
|
-
|
|
7802
|
-
specialCharacters?: ("remove" | "trim" | "keep")
|
|
7803
|
-
|
|
7804
|
-
ignoreCase?: boolean
|
|
7805
|
-
|
|
7806
|
-
alphabet?: string
|
|
7807
|
-
|
|
7808
|
-
locales?: (string | string[])
|
|
7809
|
-
|
|
7810
|
-
order?: ("asc" | "desc")
|
|
7811
|
-
|
|
7812
|
-
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7813
|
-
customGroups?: ({
|
|
7814
|
-
[k: string]: (string | string[]) | undefined
|
|
7815
7895
|
} | ({
|
|
7816
7896
|
|
|
7817
7897
|
newlinesInside?: ("always" | "never")
|
|
@@ -7821,37 +7901,42 @@ type PerfectionistSortInterfaces = {
|
|
|
7821
7901
|
order?: ("asc" | "desc")
|
|
7822
7902
|
|
|
7823
7903
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7824
|
-
sortBy?: ("name" | "value")
|
|
7825
|
-
[k: string]: unknown | undefined
|
|
7826
7904
|
}
|
|
7827
7905
|
|
|
7828
|
-
groupName
|
|
7906
|
+
groupName: string
|
|
7829
7907
|
|
|
7830
7908
|
order?: ("asc" | "desc")
|
|
7831
7909
|
|
|
7832
7910
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7833
7911
|
anyOf?: {
|
|
7834
7912
|
|
|
7835
|
-
modifiers?: ("
|
|
7913
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
7836
7914
|
|
|
7837
|
-
selector?: ("
|
|
7915
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
7838
7916
|
|
|
7839
7917
|
elementValuePattern?: (({
|
|
7840
|
-
|
|
7918
|
+
|
|
7919
|
+
pattern: string
|
|
7920
|
+
|
|
7841
7921
|
flags?: string
|
|
7842
7922
|
} | string)[] | ({
|
|
7843
|
-
|
|
7923
|
+
|
|
7924
|
+
pattern: string
|
|
7925
|
+
|
|
7844
7926
|
flags?: string
|
|
7845
7927
|
} | string))
|
|
7846
7928
|
|
|
7847
7929
|
elementNamePattern?: (({
|
|
7848
|
-
|
|
7930
|
+
|
|
7931
|
+
pattern: string
|
|
7932
|
+
|
|
7849
7933
|
flags?: string
|
|
7850
7934
|
} | string)[] | ({
|
|
7851
|
-
|
|
7935
|
+
|
|
7936
|
+
pattern: string
|
|
7937
|
+
|
|
7852
7938
|
flags?: string
|
|
7853
7939
|
} | string))
|
|
7854
|
-
sortBy?: ("name" | "value")
|
|
7855
7940
|
}[]
|
|
7856
7941
|
} | {
|
|
7857
7942
|
|
|
@@ -7862,77 +7947,291 @@ type PerfectionistSortInterfaces = {
|
|
|
7862
7947
|
order?: ("asc" | "desc")
|
|
7863
7948
|
|
|
7864
7949
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7865
|
-
sortBy?: ("name" | "value")
|
|
7866
|
-
[k: string]: unknown | undefined
|
|
7867
7950
|
}
|
|
7868
7951
|
|
|
7869
|
-
groupName
|
|
7952
|
+
groupName: string
|
|
7870
7953
|
|
|
7871
7954
|
order?: ("asc" | "desc")
|
|
7872
7955
|
|
|
7873
7956
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7874
7957
|
|
|
7875
|
-
modifiers?: ("
|
|
7958
|
+
modifiers?: ("default" | "named" | "require" | "side-effect" | "ts-equals" | "type" | "value" | "wildcard")[]
|
|
7876
7959
|
|
|
7877
|
-
selector?: ("
|
|
7960
|
+
selector?: ("side-effect-style" | "tsconfig-path" | "side-effect" | "external" | "internal" | "builtin" | "sibling" | "subpath" | "import" | "parent" | "index" | "style" | "type")
|
|
7878
7961
|
|
|
7879
7962
|
elementValuePattern?: (({
|
|
7880
|
-
|
|
7963
|
+
|
|
7964
|
+
pattern: string
|
|
7965
|
+
|
|
7881
7966
|
flags?: string
|
|
7882
7967
|
} | string)[] | ({
|
|
7883
|
-
|
|
7968
|
+
|
|
7969
|
+
pattern: string
|
|
7970
|
+
|
|
7884
7971
|
flags?: string
|
|
7885
7972
|
} | string))
|
|
7886
7973
|
|
|
7887
7974
|
elementNamePattern?: (({
|
|
7888
|
-
|
|
7975
|
+
|
|
7976
|
+
pattern: string
|
|
7977
|
+
|
|
7889
7978
|
flags?: string
|
|
7890
7979
|
} | string)[] | ({
|
|
7891
|
-
|
|
7980
|
+
|
|
7981
|
+
pattern: string
|
|
7982
|
+
|
|
7892
7983
|
flags?: string
|
|
7893
7984
|
} | string))
|
|
7894
|
-
sortBy?: ("name" | "value")
|
|
7895
7985
|
})[])
|
|
7896
7986
|
|
|
7897
|
-
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
|
|
7901
|
-
|
|
7902
|
-
|
|
7903
|
-
|
|
7904
|
-
|
|
7987
|
+
maxLineLength?: number
|
|
7988
|
+
|
|
7989
|
+
sortSideEffects?: boolean
|
|
7990
|
+
|
|
7991
|
+
environment?: ("node" | "bun")
|
|
7992
|
+
|
|
7993
|
+
tsconfigRootDir?: string
|
|
7994
|
+
|
|
7995
|
+
partitionByComment?: (boolean | (({
|
|
7996
|
+
|
|
7997
|
+
pattern: string
|
|
7998
|
+
|
|
7999
|
+
flags?: string
|
|
8000
|
+
} | string)[] | ({
|
|
8001
|
+
|
|
8002
|
+
pattern: string
|
|
8003
|
+
|
|
8004
|
+
flags?: string
|
|
8005
|
+
} | string)) | {
|
|
8006
|
+
|
|
8007
|
+
block?: (boolean | (({
|
|
8008
|
+
|
|
8009
|
+
pattern: string
|
|
8010
|
+
|
|
8011
|
+
flags?: string
|
|
8012
|
+
} | string)[] | ({
|
|
8013
|
+
|
|
8014
|
+
pattern: string
|
|
8015
|
+
|
|
8016
|
+
flags?: string
|
|
8017
|
+
} | string)))
|
|
8018
|
+
|
|
8019
|
+
line?: (boolean | (({
|
|
8020
|
+
|
|
8021
|
+
pattern: string
|
|
8022
|
+
|
|
8023
|
+
flags?: string
|
|
8024
|
+
} | string)[] | ({
|
|
8025
|
+
|
|
8026
|
+
pattern: string
|
|
8027
|
+
|
|
8028
|
+
flags?: string
|
|
8029
|
+
} | string)))
|
|
8030
|
+
})
|
|
8031
|
+
|
|
8032
|
+
partitionByNewLine?: boolean
|
|
8033
|
+
|
|
8034
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8035
|
+
|
|
8036
|
+
internalPattern?: (({
|
|
8037
|
+
|
|
8038
|
+
pattern: string
|
|
8039
|
+
|
|
8040
|
+
flags?: string
|
|
8041
|
+
} | string)[] | ({
|
|
8042
|
+
|
|
8043
|
+
pattern: string
|
|
8044
|
+
|
|
8045
|
+
flags?: string
|
|
8046
|
+
} | string))
|
|
8047
|
+
|
|
8048
|
+
groups?: (string | string[] | {
|
|
8049
|
+
|
|
8050
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8051
|
+
})[]
|
|
8052
|
+
}[]
|
|
8053
|
+
// ----- perfectionist/sort-interfaces -----
|
|
8054
|
+
type PerfectionistSortInterfaces = {
|
|
8055
|
+
|
|
8056
|
+
fallbackSort?: {
|
|
8057
|
+
|
|
8058
|
+
order?: ("asc" | "desc")
|
|
8059
|
+
|
|
8060
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8061
|
+
sortBy?: ("name" | "value")
|
|
8062
|
+
}
|
|
8063
|
+
|
|
8064
|
+
specialCharacters?: ("remove" | "trim" | "keep")
|
|
8065
|
+
|
|
8066
|
+
ignoreCase?: boolean
|
|
8067
|
+
|
|
8068
|
+
alphabet?: string
|
|
8069
|
+
|
|
8070
|
+
locales?: (string | string[])
|
|
8071
|
+
|
|
8072
|
+
order?: ("asc" | "desc")
|
|
8073
|
+
|
|
8074
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8075
|
+
customGroups?: ({
|
|
8076
|
+
[k: string]: (string | string[]) | undefined
|
|
8077
|
+
} | ({
|
|
8078
|
+
|
|
8079
|
+
newlinesInside?: ("always" | "never")
|
|
8080
|
+
|
|
8081
|
+
fallbackSort?: {
|
|
8082
|
+
|
|
8083
|
+
order?: ("asc" | "desc")
|
|
8084
|
+
|
|
8085
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8086
|
+
sortBy?: ("name" | "value")
|
|
8087
|
+
}
|
|
8088
|
+
|
|
8089
|
+
groupName: string
|
|
8090
|
+
|
|
8091
|
+
order?: ("asc" | "desc")
|
|
8092
|
+
|
|
8093
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8094
|
+
anyOf?: {
|
|
8095
|
+
|
|
8096
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8097
|
+
|
|
8098
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8099
|
+
|
|
8100
|
+
elementValuePattern?: (({
|
|
8101
|
+
|
|
8102
|
+
pattern: string
|
|
8103
|
+
|
|
8104
|
+
flags?: string
|
|
8105
|
+
} | string)[] | ({
|
|
8106
|
+
|
|
8107
|
+
pattern: string
|
|
8108
|
+
|
|
8109
|
+
flags?: string
|
|
8110
|
+
} | string))
|
|
8111
|
+
|
|
8112
|
+
elementNamePattern?: (({
|
|
8113
|
+
|
|
8114
|
+
pattern: string
|
|
8115
|
+
|
|
8116
|
+
flags?: string
|
|
8117
|
+
} | string)[] | ({
|
|
8118
|
+
|
|
8119
|
+
pattern: string
|
|
8120
|
+
|
|
8121
|
+
flags?: string
|
|
8122
|
+
} | string))
|
|
8123
|
+
sortBy?: ("name" | "value")
|
|
8124
|
+
}[]
|
|
8125
|
+
} | {
|
|
8126
|
+
|
|
8127
|
+
newlinesInside?: ("always" | "never")
|
|
8128
|
+
|
|
8129
|
+
fallbackSort?: {
|
|
8130
|
+
|
|
8131
|
+
order?: ("asc" | "desc")
|
|
8132
|
+
|
|
8133
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8134
|
+
sortBy?: ("name" | "value")
|
|
8135
|
+
}
|
|
8136
|
+
|
|
8137
|
+
groupName: string
|
|
8138
|
+
|
|
8139
|
+
order?: ("asc" | "desc")
|
|
8140
|
+
|
|
8141
|
+
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8142
|
+
|
|
8143
|
+
modifiers?: ("optional" | "required" | "multiline")[]
|
|
8144
|
+
|
|
8145
|
+
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8146
|
+
|
|
8147
|
+
elementValuePattern?: (({
|
|
8148
|
+
|
|
8149
|
+
pattern: string
|
|
8150
|
+
|
|
8151
|
+
flags?: string
|
|
8152
|
+
} | string)[] | ({
|
|
8153
|
+
|
|
8154
|
+
pattern: string
|
|
8155
|
+
|
|
8156
|
+
flags?: string
|
|
8157
|
+
} | string))
|
|
8158
|
+
|
|
8159
|
+
elementNamePattern?: (({
|
|
8160
|
+
|
|
8161
|
+
pattern: string
|
|
8162
|
+
|
|
8163
|
+
flags?: string
|
|
8164
|
+
} | string)[] | ({
|
|
8165
|
+
|
|
8166
|
+
pattern: string
|
|
8167
|
+
|
|
8168
|
+
flags?: string
|
|
8169
|
+
} | string))
|
|
8170
|
+
sortBy?: ("name" | "value")
|
|
8171
|
+
})[])
|
|
8172
|
+
|
|
8173
|
+
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
8174
|
+
|
|
8175
|
+
useConfigurationIf?: {
|
|
8176
|
+
|
|
8177
|
+
allNamesMatchPattern?: (({
|
|
8178
|
+
|
|
8179
|
+
pattern: string
|
|
8180
|
+
|
|
8181
|
+
flags?: string
|
|
8182
|
+
} | string)[] | ({
|
|
8183
|
+
|
|
8184
|
+
pattern: string
|
|
8185
|
+
|
|
7905
8186
|
flags?: string
|
|
7906
8187
|
} | string))
|
|
7907
8188
|
|
|
7908
8189
|
declarationMatchesPattern?: (({
|
|
7909
|
-
|
|
8190
|
+
|
|
8191
|
+
pattern: string
|
|
8192
|
+
|
|
7910
8193
|
flags?: string
|
|
7911
8194
|
} | string)[] | ({
|
|
7912
|
-
|
|
8195
|
+
|
|
8196
|
+
pattern: string
|
|
8197
|
+
|
|
7913
8198
|
flags?: string
|
|
7914
8199
|
} | string))
|
|
7915
8200
|
}
|
|
7916
8201
|
|
|
7917
8202
|
partitionByComment?: (boolean | (({
|
|
7918
|
-
|
|
8203
|
+
|
|
8204
|
+
pattern: string
|
|
8205
|
+
|
|
7919
8206
|
flags?: string
|
|
7920
8207
|
} | string)[] | ({
|
|
7921
|
-
|
|
8208
|
+
|
|
8209
|
+
pattern: string
|
|
8210
|
+
|
|
7922
8211
|
flags?: string
|
|
7923
8212
|
} | string)) | {
|
|
8213
|
+
|
|
7924
8214
|
block?: (boolean | (({
|
|
7925
|
-
|
|
8215
|
+
|
|
8216
|
+
pattern: string
|
|
8217
|
+
|
|
7926
8218
|
flags?: string
|
|
7927
8219
|
} | string)[] | ({
|
|
7928
|
-
|
|
8220
|
+
|
|
8221
|
+
pattern: string
|
|
8222
|
+
|
|
7929
8223
|
flags?: string
|
|
7930
8224
|
} | string)))
|
|
8225
|
+
|
|
7931
8226
|
line?: (boolean | (({
|
|
7932
|
-
|
|
8227
|
+
|
|
8228
|
+
pattern: string
|
|
8229
|
+
|
|
7933
8230
|
flags?: string
|
|
7934
8231
|
} | string)[] | ({
|
|
7935
|
-
|
|
8232
|
+
|
|
8233
|
+
pattern: string
|
|
8234
|
+
|
|
7936
8235
|
flags?: string
|
|
7937
8236
|
} | string)))
|
|
7938
8237
|
})
|
|
@@ -7942,28 +8241,31 @@ type PerfectionistSortInterfaces = {
|
|
|
7942
8241
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
7943
8242
|
|
|
7944
8243
|
ignorePattern?: (({
|
|
7945
|
-
|
|
8244
|
+
|
|
8245
|
+
pattern: string
|
|
8246
|
+
|
|
7946
8247
|
flags?: string
|
|
7947
8248
|
} | string)[] | ({
|
|
7948
|
-
|
|
8249
|
+
|
|
8250
|
+
pattern: string
|
|
8251
|
+
|
|
7949
8252
|
flags?: string
|
|
7950
8253
|
} | string))
|
|
7951
8254
|
sortBy?: ("name" | "value")
|
|
7952
8255
|
|
|
7953
8256
|
groups?: (string | string[] | {
|
|
7954
8257
|
|
|
7955
|
-
newlinesBetween
|
|
8258
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
7956
8259
|
})[]
|
|
7957
8260
|
}[]
|
|
7958
8261
|
// ----- perfectionist/sort-intersection-types -----
|
|
7959
|
-
type PerfectionistSortIntersectionTypes =
|
|
8262
|
+
type PerfectionistSortIntersectionTypes = {
|
|
7960
8263
|
|
|
7961
8264
|
fallbackSort?: {
|
|
7962
8265
|
|
|
7963
8266
|
order?: ("asc" | "desc")
|
|
7964
8267
|
|
|
7965
8268
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7966
|
-
[k: string]: unknown | undefined
|
|
7967
8269
|
}
|
|
7968
8270
|
|
|
7969
8271
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -7978,25 +8280,103 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
7978
8280
|
|
|
7979
8281
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
7980
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
|
+
|
|
7981
8347
|
partitionByComment?: (boolean | (({
|
|
7982
|
-
|
|
8348
|
+
|
|
8349
|
+
pattern: string
|
|
8350
|
+
|
|
7983
8351
|
flags?: string
|
|
7984
8352
|
} | string)[] | ({
|
|
7985
|
-
|
|
8353
|
+
|
|
8354
|
+
pattern: string
|
|
8355
|
+
|
|
7986
8356
|
flags?: string
|
|
7987
8357
|
} | string)) | {
|
|
8358
|
+
|
|
7988
8359
|
block?: (boolean | (({
|
|
7989
|
-
|
|
8360
|
+
|
|
8361
|
+
pattern: string
|
|
8362
|
+
|
|
7990
8363
|
flags?: string
|
|
7991
8364
|
} | string)[] | ({
|
|
7992
|
-
|
|
8365
|
+
|
|
8366
|
+
pattern: string
|
|
8367
|
+
|
|
7993
8368
|
flags?: string
|
|
7994
8369
|
} | string)))
|
|
8370
|
+
|
|
7995
8371
|
line?: (boolean | (({
|
|
7996
|
-
|
|
8372
|
+
|
|
8373
|
+
pattern: string
|
|
8374
|
+
|
|
7997
8375
|
flags?: string
|
|
7998
8376
|
} | string)[] | ({
|
|
7999
|
-
|
|
8377
|
+
|
|
8378
|
+
pattern: string
|
|
8379
|
+
|
|
8000
8380
|
flags?: string
|
|
8001
8381
|
} | string)))
|
|
8002
8382
|
})
|
|
@@ -8007,9 +8387,9 @@ type PerfectionistSortIntersectionTypes = []|[{
|
|
|
8007
8387
|
|
|
8008
8388
|
groups?: (string | string[] | {
|
|
8009
8389
|
|
|
8010
|
-
newlinesBetween
|
|
8390
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8011
8391
|
})[]
|
|
8012
|
-
}]
|
|
8392
|
+
}[]
|
|
8013
8393
|
// ----- perfectionist/sort-jsx-props -----
|
|
8014
8394
|
type PerfectionistSortJsxProps = {
|
|
8015
8395
|
|
|
@@ -8018,7 +8398,6 @@ type PerfectionistSortJsxProps = {
|
|
|
8018
8398
|
order?: ("asc" | "desc")
|
|
8019
8399
|
|
|
8020
8400
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8021
|
-
[k: string]: unknown | undefined
|
|
8022
8401
|
}
|
|
8023
8402
|
|
|
8024
8403
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8043,10 +8422,9 @@ type PerfectionistSortJsxProps = {
|
|
|
8043
8422
|
order?: ("asc" | "desc")
|
|
8044
8423
|
|
|
8045
8424
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8046
|
-
[k: string]: unknown | undefined
|
|
8047
8425
|
}
|
|
8048
8426
|
|
|
8049
|
-
groupName
|
|
8427
|
+
groupName: string
|
|
8050
8428
|
|
|
8051
8429
|
order?: ("asc" | "desc")
|
|
8052
8430
|
|
|
@@ -8058,18 +8436,26 @@ type PerfectionistSortJsxProps = {
|
|
|
8058
8436
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
8059
8437
|
|
|
8060
8438
|
elementValuePattern?: (({
|
|
8061
|
-
|
|
8439
|
+
|
|
8440
|
+
pattern: string
|
|
8441
|
+
|
|
8062
8442
|
flags?: string
|
|
8063
8443
|
} | string)[] | ({
|
|
8064
|
-
|
|
8444
|
+
|
|
8445
|
+
pattern: string
|
|
8446
|
+
|
|
8065
8447
|
flags?: string
|
|
8066
8448
|
} | string))
|
|
8067
8449
|
|
|
8068
8450
|
elementNamePattern?: (({
|
|
8069
|
-
|
|
8451
|
+
|
|
8452
|
+
pattern: string
|
|
8453
|
+
|
|
8070
8454
|
flags?: string
|
|
8071
8455
|
} | string)[] | ({
|
|
8072
|
-
|
|
8456
|
+
|
|
8457
|
+
pattern: string
|
|
8458
|
+
|
|
8073
8459
|
flags?: string
|
|
8074
8460
|
} | string))
|
|
8075
8461
|
}[]
|
|
@@ -8082,10 +8468,9 @@ type PerfectionistSortJsxProps = {
|
|
|
8082
8468
|
order?: ("asc" | "desc")
|
|
8083
8469
|
|
|
8084
8470
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8085
|
-
[k: string]: unknown | undefined
|
|
8086
8471
|
}
|
|
8087
8472
|
|
|
8088
|
-
groupName
|
|
8473
|
+
groupName: string
|
|
8089
8474
|
|
|
8090
8475
|
order?: ("asc" | "desc")
|
|
8091
8476
|
|
|
@@ -8096,36 +8481,53 @@ type PerfectionistSortJsxProps = {
|
|
|
8096
8481
|
selector?: ("multiline" | "prop" | "shorthand")
|
|
8097
8482
|
|
|
8098
8483
|
elementValuePattern?: (({
|
|
8099
|
-
|
|
8484
|
+
|
|
8485
|
+
pattern: string
|
|
8486
|
+
|
|
8100
8487
|
flags?: string
|
|
8101
8488
|
} | string)[] | ({
|
|
8102
|
-
|
|
8489
|
+
|
|
8490
|
+
pattern: string
|
|
8491
|
+
|
|
8103
8492
|
flags?: string
|
|
8104
8493
|
} | string))
|
|
8105
8494
|
|
|
8106
8495
|
elementNamePattern?: (({
|
|
8107
|
-
|
|
8496
|
+
|
|
8497
|
+
pattern: string
|
|
8498
|
+
|
|
8108
8499
|
flags?: string
|
|
8109
8500
|
} | string)[] | ({
|
|
8110
|
-
|
|
8501
|
+
|
|
8502
|
+
pattern: string
|
|
8503
|
+
|
|
8111
8504
|
flags?: string
|
|
8112
8505
|
} | string))
|
|
8113
8506
|
})[])
|
|
8507
|
+
|
|
8114
8508
|
useConfigurationIf?: {
|
|
8115
8509
|
|
|
8116
8510
|
allNamesMatchPattern?: (({
|
|
8117
|
-
|
|
8511
|
+
|
|
8512
|
+
pattern: string
|
|
8513
|
+
|
|
8118
8514
|
flags?: string
|
|
8119
8515
|
} | string)[] | ({
|
|
8120
|
-
|
|
8516
|
+
|
|
8517
|
+
pattern: string
|
|
8518
|
+
|
|
8121
8519
|
flags?: string
|
|
8122
8520
|
} | string))
|
|
8123
8521
|
|
|
8124
8522
|
tagMatchesPattern?: (({
|
|
8125
|
-
|
|
8523
|
+
|
|
8524
|
+
pattern: string
|
|
8525
|
+
|
|
8126
8526
|
flags?: string
|
|
8127
8527
|
} | string)[] | ({
|
|
8128
|
-
|
|
8528
|
+
|
|
8529
|
+
pattern: string
|
|
8530
|
+
|
|
8129
8531
|
flags?: string
|
|
8130
8532
|
} | string))
|
|
8131
8533
|
}
|
|
@@ -8135,16 +8537,20 @@ type PerfectionistSortJsxProps = {
|
|
|
8135
8537
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8136
8538
|
|
|
8137
8539
|
ignorePattern?: (({
|
|
8138
|
-
|
|
8540
|
+
|
|
8541
|
+
pattern: string
|
|
8542
|
+
|
|
8139
8543
|
flags?: string
|
|
8140
8544
|
} | string)[] | ({
|
|
8141
|
-
|
|
8545
|
+
|
|
8546
|
+
pattern: string
|
|
8547
|
+
|
|
8142
8548
|
flags?: string
|
|
8143
8549
|
} | string))
|
|
8144
8550
|
|
|
8145
8551
|
groups?: (string | string[] | {
|
|
8146
8552
|
|
|
8147
|
-
newlinesBetween
|
|
8553
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8148
8554
|
})[]
|
|
8149
8555
|
}[]
|
|
8150
8556
|
// ----- perfectionist/sort-maps -----
|
|
@@ -8155,7 +8561,6 @@ type PerfectionistSortMaps = {
|
|
|
8155
8561
|
order?: ("asc" | "desc")
|
|
8156
8562
|
|
|
8157
8563
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8158
|
-
[k: string]: unknown | undefined
|
|
8159
8564
|
}
|
|
8160
8565
|
|
|
8161
8566
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8179,10 +8584,9 @@ type PerfectionistSortMaps = {
|
|
|
8179
8584
|
order?: ("asc" | "desc")
|
|
8180
8585
|
|
|
8181
8586
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8182
|
-
[k: string]: unknown | undefined
|
|
8183
8587
|
}
|
|
8184
8588
|
|
|
8185
|
-
groupName
|
|
8589
|
+
groupName: string
|
|
8186
8590
|
|
|
8187
8591
|
order?: ("asc" | "desc")
|
|
8188
8592
|
|
|
@@ -8190,10 +8594,14 @@ type PerfectionistSortMaps = {
|
|
|
8190
8594
|
anyOf?: {
|
|
8191
8595
|
|
|
8192
8596
|
elementNamePattern?: (({
|
|
8193
|
-
|
|
8597
|
+
|
|
8598
|
+
pattern: string
|
|
8599
|
+
|
|
8194
8600
|
flags?: string
|
|
8195
8601
|
} | string)[] | ({
|
|
8196
|
-
|
|
8602
|
+
|
|
8603
|
+
pattern: string
|
|
8604
|
+
|
|
8197
8605
|
flags?: string
|
|
8198
8606
|
} | string))
|
|
8199
8607
|
}[]
|
|
@@ -8206,53 +8614,75 @@ type PerfectionistSortMaps = {
|
|
|
8206
8614
|
order?: ("asc" | "desc")
|
|
8207
8615
|
|
|
8208
8616
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8209
|
-
[k: string]: unknown | undefined
|
|
8210
8617
|
}
|
|
8211
8618
|
|
|
8212
|
-
groupName
|
|
8619
|
+
groupName: string
|
|
8213
8620
|
|
|
8214
8621
|
order?: ("asc" | "desc")
|
|
8215
8622
|
|
|
8216
8623
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8217
8624
|
|
|
8218
8625
|
elementNamePattern?: (({
|
|
8219
|
-
|
|
8626
|
+
|
|
8627
|
+
pattern: string
|
|
8628
|
+
|
|
8220
8629
|
flags?: string
|
|
8221
8630
|
} | string)[] | ({
|
|
8222
|
-
|
|
8631
|
+
|
|
8632
|
+
pattern: string
|
|
8633
|
+
|
|
8223
8634
|
flags?: string
|
|
8224
8635
|
} | string))
|
|
8225
8636
|
})[]
|
|
8637
|
+
|
|
8226
8638
|
useConfigurationIf?: {
|
|
8227
8639
|
|
|
8228
8640
|
allNamesMatchPattern?: (({
|
|
8229
|
-
|
|
8641
|
+
|
|
8642
|
+
pattern: string
|
|
8643
|
+
|
|
8230
8644
|
flags?: string
|
|
8231
8645
|
} | string)[] | ({
|
|
8232
|
-
|
|
8646
|
+
|
|
8647
|
+
pattern: string
|
|
8648
|
+
|
|
8233
8649
|
flags?: string
|
|
8234
8650
|
} | string))
|
|
8235
8651
|
}
|
|
8236
8652
|
|
|
8237
8653
|
partitionByComment?: (boolean | (({
|
|
8238
|
-
|
|
8654
|
+
|
|
8655
|
+
pattern: string
|
|
8656
|
+
|
|
8239
8657
|
flags?: string
|
|
8240
8658
|
} | string)[] | ({
|
|
8241
|
-
|
|
8659
|
+
|
|
8660
|
+
pattern: string
|
|
8661
|
+
|
|
8242
8662
|
flags?: string
|
|
8243
8663
|
} | string)) | {
|
|
8664
|
+
|
|
8244
8665
|
block?: (boolean | (({
|
|
8245
|
-
|
|
8666
|
+
|
|
8667
|
+
pattern: string
|
|
8668
|
+
|
|
8246
8669
|
flags?: string
|
|
8247
8670
|
} | string)[] | ({
|
|
8248
|
-
|
|
8671
|
+
|
|
8672
|
+
pattern: string
|
|
8673
|
+
|
|
8249
8674
|
flags?: string
|
|
8250
8675
|
} | string)))
|
|
8676
|
+
|
|
8251
8677
|
line?: (boolean | (({
|
|
8252
|
-
|
|
8678
|
+
|
|
8679
|
+
pattern: string
|
|
8680
|
+
|
|
8253
8681
|
flags?: string
|
|
8254
8682
|
} | string)[] | ({
|
|
8255
|
-
|
|
8683
|
+
|
|
8684
|
+
pattern: string
|
|
8685
|
+
|
|
8256
8686
|
flags?: string
|
|
8257
8687
|
} | string)))
|
|
8258
8688
|
})
|
|
@@ -8263,7 +8693,7 @@ type PerfectionistSortMaps = {
|
|
|
8263
8693
|
|
|
8264
8694
|
groups?: (string | string[] | {
|
|
8265
8695
|
|
|
8266
|
-
newlinesBetween
|
|
8696
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8267
8697
|
})[]
|
|
8268
8698
|
}[]
|
|
8269
8699
|
// ----- perfectionist/sort-modules -----
|
|
@@ -8274,7 +8704,6 @@ type PerfectionistSortModules = []|[{
|
|
|
8274
8704
|
order?: ("asc" | "desc")
|
|
8275
8705
|
|
|
8276
8706
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8277
|
-
[k: string]: unknown | undefined
|
|
8278
8707
|
}
|
|
8279
8708
|
|
|
8280
8709
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8298,10 +8727,9 @@ type PerfectionistSortModules = []|[{
|
|
|
8298
8727
|
order?: ("asc" | "desc")
|
|
8299
8728
|
|
|
8300
8729
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8301
|
-
[k: string]: unknown | undefined
|
|
8302
8730
|
}
|
|
8303
8731
|
|
|
8304
|
-
groupName
|
|
8732
|
+
groupName: string
|
|
8305
8733
|
|
|
8306
8734
|
order?: ("asc" | "desc")
|
|
8307
8735
|
|
|
@@ -8313,18 +8741,26 @@ type PerfectionistSortModules = []|[{
|
|
|
8313
8741
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8314
8742
|
|
|
8315
8743
|
decoratorNamePattern?: (({
|
|
8316
|
-
|
|
8744
|
+
|
|
8745
|
+
pattern: string
|
|
8746
|
+
|
|
8317
8747
|
flags?: string
|
|
8318
8748
|
} | string)[] | ({
|
|
8319
|
-
|
|
8749
|
+
|
|
8750
|
+
pattern: string
|
|
8751
|
+
|
|
8320
8752
|
flags?: string
|
|
8321
8753
|
} | string))
|
|
8322
8754
|
|
|
8323
8755
|
elementNamePattern?: (({
|
|
8324
|
-
|
|
8756
|
+
|
|
8757
|
+
pattern: string
|
|
8758
|
+
|
|
8325
8759
|
flags?: string
|
|
8326
8760
|
} | string)[] | ({
|
|
8327
|
-
|
|
8761
|
+
|
|
8762
|
+
pattern: string
|
|
8763
|
+
|
|
8328
8764
|
flags?: string
|
|
8329
8765
|
} | string))
|
|
8330
8766
|
}[]
|
|
@@ -8337,10 +8773,9 @@ type PerfectionistSortModules = []|[{
|
|
|
8337
8773
|
order?: ("asc" | "desc")
|
|
8338
8774
|
|
|
8339
8775
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8340
|
-
[k: string]: unknown | undefined
|
|
8341
8776
|
}
|
|
8342
8777
|
|
|
8343
|
-
groupName
|
|
8778
|
+
groupName: string
|
|
8344
8779
|
|
|
8345
8780
|
order?: ("asc" | "desc")
|
|
8346
8781
|
|
|
@@ -8351,41 +8786,63 @@ type PerfectionistSortModules = []|[{
|
|
|
8351
8786
|
selector?: ("enum" | "function" | "interface" | "type" | "class")
|
|
8352
8787
|
|
|
8353
8788
|
decoratorNamePattern?: (({
|
|
8354
|
-
|
|
8789
|
+
|
|
8790
|
+
pattern: string
|
|
8791
|
+
|
|
8355
8792
|
flags?: string
|
|
8356
8793
|
} | string)[] | ({
|
|
8357
|
-
|
|
8794
|
+
|
|
8795
|
+
pattern: string
|
|
8796
|
+
|
|
8358
8797
|
flags?: string
|
|
8359
8798
|
} | string))
|
|
8360
8799
|
|
|
8361
8800
|
elementNamePattern?: (({
|
|
8362
|
-
|
|
8801
|
+
|
|
8802
|
+
pattern: string
|
|
8803
|
+
|
|
8363
8804
|
flags?: string
|
|
8364
8805
|
} | string)[] | ({
|
|
8365
|
-
|
|
8806
|
+
|
|
8807
|
+
pattern: string
|
|
8808
|
+
|
|
8366
8809
|
flags?: string
|
|
8367
8810
|
} | string))
|
|
8368
8811
|
})[]
|
|
8369
8812
|
|
|
8370
8813
|
partitionByComment?: (boolean | (({
|
|
8371
|
-
|
|
8814
|
+
|
|
8815
|
+
pattern: string
|
|
8816
|
+
|
|
8372
8817
|
flags?: string
|
|
8373
8818
|
} | string)[] | ({
|
|
8374
|
-
|
|
8819
|
+
|
|
8820
|
+
pattern: string
|
|
8821
|
+
|
|
8375
8822
|
flags?: string
|
|
8376
8823
|
} | string)) | {
|
|
8824
|
+
|
|
8377
8825
|
block?: (boolean | (({
|
|
8378
|
-
|
|
8826
|
+
|
|
8827
|
+
pattern: string
|
|
8828
|
+
|
|
8379
8829
|
flags?: string
|
|
8380
8830
|
} | string)[] | ({
|
|
8381
|
-
|
|
8831
|
+
|
|
8832
|
+
pattern: string
|
|
8833
|
+
|
|
8382
8834
|
flags?: string
|
|
8383
8835
|
} | string)))
|
|
8836
|
+
|
|
8384
8837
|
line?: (boolean | (({
|
|
8385
|
-
|
|
8838
|
+
|
|
8839
|
+
pattern: string
|
|
8840
|
+
|
|
8386
8841
|
flags?: string
|
|
8387
8842
|
} | string)[] | ({
|
|
8388
|
-
|
|
8843
|
+
|
|
8844
|
+
pattern: string
|
|
8845
|
+
|
|
8389
8846
|
flags?: string
|
|
8390
8847
|
} | string)))
|
|
8391
8848
|
})
|
|
@@ -8396,18 +8853,17 @@ type PerfectionistSortModules = []|[{
|
|
|
8396
8853
|
|
|
8397
8854
|
groups?: (string | string[] | {
|
|
8398
8855
|
|
|
8399
|
-
newlinesBetween
|
|
8856
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8400
8857
|
})[]
|
|
8401
8858
|
}]
|
|
8402
8859
|
// ----- perfectionist/sort-named-exports -----
|
|
8403
|
-
type PerfectionistSortNamedExports =
|
|
8860
|
+
type PerfectionistSortNamedExports = {
|
|
8404
8861
|
|
|
8405
8862
|
fallbackSort?: {
|
|
8406
8863
|
|
|
8407
8864
|
order?: ("asc" | "desc")
|
|
8408
8865
|
|
|
8409
8866
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8410
|
-
[k: string]: unknown | undefined
|
|
8411
8867
|
}
|
|
8412
8868
|
|
|
8413
8869
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8426,40 +8882,128 @@ type PerfectionistSortNamedExports = []|[{
|
|
|
8426
8882
|
|
|
8427
8883
|
ignoreAlias?: boolean
|
|
8428
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
|
+
|
|
8429
8953
|
partitionByComment?: (boolean | (({
|
|
8430
|
-
|
|
8954
|
+
|
|
8955
|
+
pattern: string
|
|
8956
|
+
|
|
8431
8957
|
flags?: string
|
|
8432
8958
|
} | string)[] | ({
|
|
8433
|
-
|
|
8959
|
+
|
|
8960
|
+
pattern: string
|
|
8961
|
+
|
|
8434
8962
|
flags?: string
|
|
8435
8963
|
} | string)) | {
|
|
8964
|
+
|
|
8436
8965
|
block?: (boolean | (({
|
|
8437
|
-
|
|
8966
|
+
|
|
8967
|
+
pattern: string
|
|
8968
|
+
|
|
8438
8969
|
flags?: string
|
|
8439
8970
|
} | string)[] | ({
|
|
8440
|
-
|
|
8971
|
+
|
|
8972
|
+
pattern: string
|
|
8973
|
+
|
|
8441
8974
|
flags?: string
|
|
8442
8975
|
} | string)))
|
|
8976
|
+
|
|
8443
8977
|
line?: (boolean | (({
|
|
8444
|
-
|
|
8978
|
+
|
|
8979
|
+
pattern: string
|
|
8980
|
+
|
|
8445
8981
|
flags?: string
|
|
8446
8982
|
} | string)[] | ({
|
|
8447
|
-
|
|
8983
|
+
|
|
8984
|
+
pattern: string
|
|
8985
|
+
|
|
8448
8986
|
flags?: string
|
|
8449
8987
|
} | string)))
|
|
8450
8988
|
})
|
|
8451
8989
|
|
|
8452
8990
|
partitionByNewLine?: boolean
|
|
8453
|
-
|
|
8991
|
+
|
|
8992
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8993
|
+
|
|
8994
|
+
groups?: (string | string[] | {
|
|
8995
|
+
|
|
8996
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8997
|
+
})[]
|
|
8998
|
+
}[]
|
|
8454
8999
|
// ----- perfectionist/sort-named-imports -----
|
|
8455
|
-
type PerfectionistSortNamedImports =
|
|
9000
|
+
type PerfectionistSortNamedImports = {
|
|
8456
9001
|
|
|
8457
9002
|
fallbackSort?: {
|
|
8458
9003
|
|
|
8459
9004
|
order?: ("asc" | "desc")
|
|
8460
9005
|
|
|
8461
9006
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8462
|
-
[k: string]: unknown | undefined
|
|
8463
9007
|
}
|
|
8464
9008
|
|
|
8465
9009
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8478,31 +9022,120 @@ type PerfectionistSortNamedImports = []|[{
|
|
|
8478
9022
|
|
|
8479
9023
|
ignoreAlias?: boolean
|
|
8480
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
|
+
|
|
8481
9093
|
partitionByComment?: (boolean | (({
|
|
8482
|
-
|
|
9094
|
+
|
|
9095
|
+
pattern: string
|
|
9096
|
+
|
|
8483
9097
|
flags?: string
|
|
8484
9098
|
} | string)[] | ({
|
|
8485
|
-
|
|
9099
|
+
|
|
9100
|
+
pattern: string
|
|
9101
|
+
|
|
8486
9102
|
flags?: string
|
|
8487
9103
|
} | string)) | {
|
|
9104
|
+
|
|
8488
9105
|
block?: (boolean | (({
|
|
8489
|
-
|
|
9106
|
+
|
|
9107
|
+
pattern: string
|
|
9108
|
+
|
|
8490
9109
|
flags?: string
|
|
8491
9110
|
} | string)[] | ({
|
|
8492
|
-
|
|
9111
|
+
|
|
9112
|
+
pattern: string
|
|
9113
|
+
|
|
8493
9114
|
flags?: string
|
|
8494
9115
|
} | string)))
|
|
9116
|
+
|
|
8495
9117
|
line?: (boolean | (({
|
|
8496
|
-
|
|
9118
|
+
|
|
9119
|
+
pattern: string
|
|
9120
|
+
|
|
8497
9121
|
flags?: string
|
|
8498
9122
|
} | string)[] | ({
|
|
8499
|
-
|
|
9123
|
+
|
|
9124
|
+
pattern: string
|
|
9125
|
+
|
|
8500
9126
|
flags?: string
|
|
8501
9127
|
} | string)))
|
|
8502
9128
|
})
|
|
8503
9129
|
|
|
8504
9130
|
partitionByNewLine?: boolean
|
|
8505
|
-
|
|
9131
|
+
|
|
9132
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9133
|
+
|
|
9134
|
+
groups?: (string | string[] | {
|
|
9135
|
+
|
|
9136
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9137
|
+
})[]
|
|
9138
|
+
}[]
|
|
8506
9139
|
// ----- perfectionist/sort-object-types -----
|
|
8507
9140
|
type PerfectionistSortObjectTypes = {
|
|
8508
9141
|
|
|
@@ -8511,7 +9144,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
8511
9144
|
order?: ("asc" | "desc")
|
|
8512
9145
|
|
|
8513
9146
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8514
|
-
|
|
9147
|
+
sortBy?: ("name" | "value")
|
|
8515
9148
|
}
|
|
8516
9149
|
|
|
8517
9150
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8537,10 +9170,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
8537
9170
|
|
|
8538
9171
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8539
9172
|
sortBy?: ("name" | "value")
|
|
8540
|
-
[k: string]: unknown | undefined
|
|
8541
9173
|
}
|
|
8542
9174
|
|
|
8543
|
-
groupName
|
|
9175
|
+
groupName: string
|
|
8544
9176
|
|
|
8545
9177
|
order?: ("asc" | "desc")
|
|
8546
9178
|
|
|
@@ -8552,18 +9184,26 @@ type PerfectionistSortObjectTypes = {
|
|
|
8552
9184
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8553
9185
|
|
|
8554
9186
|
elementValuePattern?: (({
|
|
8555
|
-
|
|
9187
|
+
|
|
9188
|
+
pattern: string
|
|
9189
|
+
|
|
8556
9190
|
flags?: string
|
|
8557
9191
|
} | string)[] | ({
|
|
8558
|
-
|
|
9192
|
+
|
|
9193
|
+
pattern: string
|
|
9194
|
+
|
|
8559
9195
|
flags?: string
|
|
8560
9196
|
} | string))
|
|
8561
9197
|
|
|
8562
9198
|
elementNamePattern?: (({
|
|
8563
|
-
|
|
9199
|
+
|
|
9200
|
+
pattern: string
|
|
9201
|
+
|
|
8564
9202
|
flags?: string
|
|
8565
9203
|
} | string)[] | ({
|
|
8566
|
-
|
|
9204
|
+
|
|
9205
|
+
pattern: string
|
|
9206
|
+
|
|
8567
9207
|
flags?: string
|
|
8568
9208
|
} | string))
|
|
8569
9209
|
sortBy?: ("name" | "value")
|
|
@@ -8578,10 +9218,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
8578
9218
|
|
|
8579
9219
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8580
9220
|
sortBy?: ("name" | "value")
|
|
8581
|
-
[k: string]: unknown | undefined
|
|
8582
9221
|
}
|
|
8583
9222
|
|
|
8584
|
-
groupName
|
|
9223
|
+
groupName: string
|
|
8585
9224
|
|
|
8586
9225
|
order?: ("asc" | "desc")
|
|
8587
9226
|
|
|
@@ -8592,62 +9231,93 @@ type PerfectionistSortObjectTypes = {
|
|
|
8592
9231
|
selector?: ("index-signature" | "member" | "method" | "multiline" | "property")
|
|
8593
9232
|
|
|
8594
9233
|
elementValuePattern?: (({
|
|
8595
|
-
|
|
9234
|
+
|
|
9235
|
+
pattern: string
|
|
9236
|
+
|
|
8596
9237
|
flags?: string
|
|
8597
9238
|
} | string)[] | ({
|
|
8598
|
-
|
|
9239
|
+
|
|
9240
|
+
pattern: string
|
|
9241
|
+
|
|
8599
9242
|
flags?: string
|
|
8600
9243
|
} | string))
|
|
8601
9244
|
|
|
8602
9245
|
elementNamePattern?: (({
|
|
8603
|
-
|
|
9246
|
+
|
|
9247
|
+
pattern: string
|
|
9248
|
+
|
|
8604
9249
|
flags?: string
|
|
8605
9250
|
} | string)[] | ({
|
|
8606
|
-
|
|
9251
|
+
|
|
9252
|
+
pattern: string
|
|
9253
|
+
|
|
8607
9254
|
flags?: string
|
|
8608
9255
|
} | string))
|
|
8609
9256
|
sortBy?: ("name" | "value")
|
|
8610
9257
|
})[])
|
|
8611
9258
|
|
|
8612
9259
|
groupKind?: ("mixed" | "required-first" | "optional-first")
|
|
9260
|
+
|
|
8613
9261
|
useConfigurationIf?: {
|
|
8614
9262
|
|
|
8615
9263
|
allNamesMatchPattern?: (({
|
|
8616
|
-
|
|
9264
|
+
|
|
9265
|
+
pattern: string
|
|
9266
|
+
|
|
8617
9267
|
flags?: string
|
|
8618
9268
|
} | string)[] | ({
|
|
8619
|
-
|
|
9269
|
+
|
|
9270
|
+
pattern: string
|
|
9271
|
+
|
|
8620
9272
|
flags?: string
|
|
8621
9273
|
} | string))
|
|
8622
9274
|
|
|
8623
9275
|
declarationMatchesPattern?: (({
|
|
8624
|
-
|
|
9276
|
+
|
|
9277
|
+
pattern: string
|
|
9278
|
+
|
|
8625
9279
|
flags?: string
|
|
8626
9280
|
} | string)[] | ({
|
|
8627
|
-
|
|
9281
|
+
|
|
9282
|
+
pattern: string
|
|
9283
|
+
|
|
8628
9284
|
flags?: string
|
|
8629
9285
|
} | string))
|
|
8630
9286
|
}
|
|
8631
9287
|
|
|
8632
9288
|
partitionByComment?: (boolean | (({
|
|
8633
|
-
|
|
9289
|
+
|
|
9290
|
+
pattern: string
|
|
9291
|
+
|
|
8634
9292
|
flags?: string
|
|
8635
9293
|
} | string)[] | ({
|
|
8636
|
-
|
|
9294
|
+
|
|
9295
|
+
pattern: string
|
|
9296
|
+
|
|
8637
9297
|
flags?: string
|
|
8638
9298
|
} | string)) | {
|
|
9299
|
+
|
|
8639
9300
|
block?: (boolean | (({
|
|
8640
|
-
|
|
9301
|
+
|
|
9302
|
+
pattern: string
|
|
9303
|
+
|
|
8641
9304
|
flags?: string
|
|
8642
9305
|
} | string)[] | ({
|
|
8643
|
-
|
|
9306
|
+
|
|
9307
|
+
pattern: string
|
|
9308
|
+
|
|
8644
9309
|
flags?: string
|
|
8645
9310
|
} | string)))
|
|
9311
|
+
|
|
8646
9312
|
line?: (boolean | (({
|
|
8647
|
-
|
|
9313
|
+
|
|
9314
|
+
pattern: string
|
|
9315
|
+
|
|
8648
9316
|
flags?: string
|
|
8649
9317
|
} | string)[] | ({
|
|
8650
|
-
|
|
9318
|
+
|
|
9319
|
+
pattern: string
|
|
9320
|
+
|
|
8651
9321
|
flags?: string
|
|
8652
9322
|
} | string)))
|
|
8653
9323
|
})
|
|
@@ -8657,17 +9327,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
8657
9327
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8658
9328
|
|
|
8659
9329
|
ignorePattern?: (({
|
|
8660
|
-
|
|
9330
|
+
|
|
9331
|
+
pattern: string
|
|
9332
|
+
|
|
8661
9333
|
flags?: string
|
|
8662
9334
|
} | string)[] | ({
|
|
8663
|
-
|
|
9335
|
+
|
|
9336
|
+
pattern: string
|
|
9337
|
+
|
|
8664
9338
|
flags?: string
|
|
8665
9339
|
} | string))
|
|
8666
9340
|
sortBy?: ("name" | "value")
|
|
8667
9341
|
|
|
8668
9342
|
groups?: (string | string[] | {
|
|
8669
9343
|
|
|
8670
|
-
newlinesBetween
|
|
9344
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8671
9345
|
})[]
|
|
8672
9346
|
}[]
|
|
8673
9347
|
// ----- perfectionist/sort-objects -----
|
|
@@ -8678,7 +9352,6 @@ type PerfectionistSortObjects = {
|
|
|
8678
9352
|
order?: ("asc" | "desc")
|
|
8679
9353
|
|
|
8680
9354
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8681
|
-
[k: string]: unknown | undefined
|
|
8682
9355
|
}
|
|
8683
9356
|
|
|
8684
9357
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8708,10 +9381,9 @@ type PerfectionistSortObjects = {
|
|
|
8708
9381
|
order?: ("asc" | "desc")
|
|
8709
9382
|
|
|
8710
9383
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8711
|
-
[k: string]: unknown | undefined
|
|
8712
9384
|
}
|
|
8713
9385
|
|
|
8714
|
-
groupName
|
|
9386
|
+
groupName: string
|
|
8715
9387
|
|
|
8716
9388
|
order?: ("asc" | "desc")
|
|
8717
9389
|
|
|
@@ -8723,18 +9395,26 @@ type PerfectionistSortObjects = {
|
|
|
8723
9395
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
8724
9396
|
|
|
8725
9397
|
elementValuePattern?: (({
|
|
8726
|
-
|
|
9398
|
+
|
|
9399
|
+
pattern: string
|
|
9400
|
+
|
|
8727
9401
|
flags?: string
|
|
8728
9402
|
} | string)[] | ({
|
|
8729
|
-
|
|
9403
|
+
|
|
9404
|
+
pattern: string
|
|
9405
|
+
|
|
8730
9406
|
flags?: string
|
|
8731
9407
|
} | string))
|
|
8732
9408
|
|
|
8733
9409
|
elementNamePattern?: (({
|
|
8734
|
-
|
|
9410
|
+
|
|
9411
|
+
pattern: string
|
|
9412
|
+
|
|
8735
9413
|
flags?: string
|
|
8736
9414
|
} | string)[] | ({
|
|
8737
|
-
|
|
9415
|
+
|
|
9416
|
+
pattern: string
|
|
9417
|
+
|
|
8738
9418
|
flags?: string
|
|
8739
9419
|
} | string))
|
|
8740
9420
|
}[]
|
|
@@ -8747,10 +9427,9 @@ type PerfectionistSortObjects = {
|
|
|
8747
9427
|
order?: ("asc" | "desc")
|
|
8748
9428
|
|
|
8749
9429
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8750
|
-
[k: string]: unknown | undefined
|
|
8751
9430
|
}
|
|
8752
9431
|
|
|
8753
|
-
groupName
|
|
9432
|
+
groupName: string
|
|
8754
9433
|
|
|
8755
9434
|
order?: ("asc" | "desc")
|
|
8756
9435
|
|
|
@@ -8761,36 +9440,53 @@ type PerfectionistSortObjects = {
|
|
|
8761
9440
|
selector?: ("member" | "method" | "multiline" | "property")
|
|
8762
9441
|
|
|
8763
9442
|
elementValuePattern?: (({
|
|
8764
|
-
|
|
9443
|
+
|
|
9444
|
+
pattern: string
|
|
9445
|
+
|
|
8765
9446
|
flags?: string
|
|
8766
9447
|
} | string)[] | ({
|
|
8767
|
-
|
|
9448
|
+
|
|
9449
|
+
pattern: string
|
|
9450
|
+
|
|
8768
9451
|
flags?: string
|
|
8769
9452
|
} | string))
|
|
8770
9453
|
|
|
8771
9454
|
elementNamePattern?: (({
|
|
8772
|
-
|
|
9455
|
+
|
|
9456
|
+
pattern: string
|
|
9457
|
+
|
|
8773
9458
|
flags?: string
|
|
8774
9459
|
} | string)[] | ({
|
|
8775
|
-
|
|
9460
|
+
|
|
9461
|
+
pattern: string
|
|
9462
|
+
|
|
8776
9463
|
flags?: string
|
|
8777
9464
|
} | string))
|
|
8778
9465
|
})[])
|
|
9466
|
+
|
|
8779
9467
|
useConfigurationIf?: {
|
|
8780
9468
|
|
|
8781
9469
|
allNamesMatchPattern?: (({
|
|
8782
|
-
|
|
9470
|
+
|
|
9471
|
+
pattern: string
|
|
9472
|
+
|
|
8783
9473
|
flags?: string
|
|
8784
9474
|
} | string)[] | ({
|
|
8785
|
-
|
|
9475
|
+
|
|
9476
|
+
pattern: string
|
|
9477
|
+
|
|
8786
9478
|
flags?: string
|
|
8787
9479
|
} | string))
|
|
8788
9480
|
|
|
8789
9481
|
callingFunctionNamePattern?: (({
|
|
8790
|
-
|
|
9482
|
+
|
|
9483
|
+
pattern: string
|
|
9484
|
+
|
|
8791
9485
|
flags?: string
|
|
8792
9486
|
} | string)[] | ({
|
|
8793
|
-
|
|
9487
|
+
|
|
9488
|
+
pattern: string
|
|
9489
|
+
|
|
8794
9490
|
flags?: string
|
|
8795
9491
|
} | string))
|
|
8796
9492
|
}
|
|
@@ -8802,24 +9498,38 @@ type PerfectionistSortObjects = {
|
|
|
8802
9498
|
styledComponents?: boolean
|
|
8803
9499
|
|
|
8804
9500
|
partitionByComment?: (boolean | (({
|
|
8805
|
-
|
|
9501
|
+
|
|
9502
|
+
pattern: string
|
|
9503
|
+
|
|
8806
9504
|
flags?: string
|
|
8807
9505
|
} | string)[] | ({
|
|
8808
|
-
|
|
9506
|
+
|
|
9507
|
+
pattern: string
|
|
9508
|
+
|
|
8809
9509
|
flags?: string
|
|
8810
9510
|
} | string)) | {
|
|
9511
|
+
|
|
8811
9512
|
block?: (boolean | (({
|
|
8812
|
-
|
|
9513
|
+
|
|
9514
|
+
pattern: string
|
|
9515
|
+
|
|
8813
9516
|
flags?: string
|
|
8814
9517
|
} | string)[] | ({
|
|
8815
|
-
|
|
9518
|
+
|
|
9519
|
+
pattern: string
|
|
9520
|
+
|
|
8816
9521
|
flags?: string
|
|
8817
9522
|
} | string)))
|
|
9523
|
+
|
|
8818
9524
|
line?: (boolean | (({
|
|
8819
|
-
|
|
9525
|
+
|
|
9526
|
+
pattern: string
|
|
9527
|
+
|
|
8820
9528
|
flags?: string
|
|
8821
9529
|
} | string)[] | ({
|
|
8822
|
-
|
|
9530
|
+
|
|
9531
|
+
pattern: string
|
|
9532
|
+
|
|
8823
9533
|
flags?: string
|
|
8824
9534
|
} | string)))
|
|
8825
9535
|
})
|
|
@@ -8829,16 +9539,20 @@ type PerfectionistSortObjects = {
|
|
|
8829
9539
|
newlinesBetween?: ("ignore" | "always" | "never")
|
|
8830
9540
|
|
|
8831
9541
|
ignorePattern?: (({
|
|
8832
|
-
|
|
9542
|
+
|
|
9543
|
+
pattern: string
|
|
9544
|
+
|
|
8833
9545
|
flags?: string
|
|
8834
9546
|
} | string)[] | ({
|
|
8835
|
-
|
|
9547
|
+
|
|
9548
|
+
pattern: string
|
|
9549
|
+
|
|
8836
9550
|
flags?: string
|
|
8837
9551
|
} | string))
|
|
8838
9552
|
|
|
8839
9553
|
groups?: (string | string[] | {
|
|
8840
9554
|
|
|
8841
|
-
newlinesBetween
|
|
9555
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8842
9556
|
})[]
|
|
8843
9557
|
}[]
|
|
8844
9558
|
// ----- perfectionist/sort-sets -----
|
|
@@ -8849,7 +9563,6 @@ type PerfectionistSortSets = {
|
|
|
8849
9563
|
order?: ("asc" | "desc")
|
|
8850
9564
|
|
|
8851
9565
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8852
|
-
[k: string]: unknown | undefined
|
|
8853
9566
|
}
|
|
8854
9567
|
|
|
8855
9568
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8875,10 +9588,9 @@ type PerfectionistSortSets = {
|
|
|
8875
9588
|
order?: ("asc" | "desc")
|
|
8876
9589
|
|
|
8877
9590
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8878
|
-
[k: string]: unknown | undefined
|
|
8879
9591
|
}
|
|
8880
9592
|
|
|
8881
|
-
groupName
|
|
9593
|
+
groupName: string
|
|
8882
9594
|
|
|
8883
9595
|
order?: ("asc" | "desc")
|
|
8884
9596
|
|
|
@@ -8888,10 +9600,14 @@ type PerfectionistSortSets = {
|
|
|
8888
9600
|
selector?: ("literal" | "spread")
|
|
8889
9601
|
|
|
8890
9602
|
elementNamePattern?: (({
|
|
8891
|
-
|
|
9603
|
+
|
|
9604
|
+
pattern: string
|
|
9605
|
+
|
|
8892
9606
|
flags?: string
|
|
8893
9607
|
} | string)[] | ({
|
|
8894
|
-
|
|
9608
|
+
|
|
9609
|
+
pattern: string
|
|
9610
|
+
|
|
8895
9611
|
flags?: string
|
|
8896
9612
|
} | string))
|
|
8897
9613
|
}[]
|
|
@@ -8904,10 +9620,9 @@ type PerfectionistSortSets = {
|
|
|
8904
9620
|
order?: ("asc" | "desc")
|
|
8905
9621
|
|
|
8906
9622
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8907
|
-
[k: string]: unknown | undefined
|
|
8908
9623
|
}
|
|
8909
9624
|
|
|
8910
|
-
groupName
|
|
9625
|
+
groupName: string
|
|
8911
9626
|
|
|
8912
9627
|
order?: ("asc" | "desc")
|
|
8913
9628
|
|
|
@@ -8916,43 +9631,66 @@ type PerfectionistSortSets = {
|
|
|
8916
9631
|
selector?: ("literal" | "spread")
|
|
8917
9632
|
|
|
8918
9633
|
elementNamePattern?: (({
|
|
8919
|
-
|
|
9634
|
+
|
|
9635
|
+
pattern: string
|
|
9636
|
+
|
|
8920
9637
|
flags?: string
|
|
8921
9638
|
} | string)[] | ({
|
|
8922
|
-
|
|
9639
|
+
|
|
9640
|
+
pattern: string
|
|
9641
|
+
|
|
8923
9642
|
flags?: string
|
|
8924
9643
|
} | string))
|
|
8925
9644
|
})[]
|
|
9645
|
+
|
|
8926
9646
|
useConfigurationIf?: {
|
|
8927
9647
|
|
|
8928
9648
|
allNamesMatchPattern?: (({
|
|
8929
|
-
|
|
9649
|
+
|
|
9650
|
+
pattern: string
|
|
9651
|
+
|
|
8930
9652
|
flags?: string
|
|
8931
9653
|
} | string)[] | ({
|
|
8932
|
-
|
|
9654
|
+
|
|
9655
|
+
pattern: string
|
|
9656
|
+
|
|
8933
9657
|
flags?: string
|
|
8934
9658
|
} | string))
|
|
8935
9659
|
}
|
|
8936
9660
|
|
|
8937
9661
|
partitionByComment?: (boolean | (({
|
|
8938
|
-
|
|
9662
|
+
|
|
9663
|
+
pattern: string
|
|
9664
|
+
|
|
8939
9665
|
flags?: string
|
|
8940
9666
|
} | string)[] | ({
|
|
8941
|
-
|
|
9667
|
+
|
|
9668
|
+
pattern: string
|
|
9669
|
+
|
|
8942
9670
|
flags?: string
|
|
8943
9671
|
} | string)) | {
|
|
9672
|
+
|
|
8944
9673
|
block?: (boolean | (({
|
|
8945
|
-
|
|
9674
|
+
|
|
9675
|
+
pattern: string
|
|
9676
|
+
|
|
8946
9677
|
flags?: string
|
|
8947
9678
|
} | string)[] | ({
|
|
8948
|
-
|
|
9679
|
+
|
|
9680
|
+
pattern: string
|
|
9681
|
+
|
|
8949
9682
|
flags?: string
|
|
8950
9683
|
} | string)))
|
|
9684
|
+
|
|
8951
9685
|
line?: (boolean | (({
|
|
8952
|
-
|
|
9686
|
+
|
|
9687
|
+
pattern: string
|
|
9688
|
+
|
|
8953
9689
|
flags?: string
|
|
8954
9690
|
} | string)[] | ({
|
|
8955
|
-
|
|
9691
|
+
|
|
9692
|
+
pattern: string
|
|
9693
|
+
|
|
8956
9694
|
flags?: string
|
|
8957
9695
|
} | string)))
|
|
8958
9696
|
})
|
|
@@ -8963,7 +9701,7 @@ type PerfectionistSortSets = {
|
|
|
8963
9701
|
|
|
8964
9702
|
groups?: (string | string[] | {
|
|
8965
9703
|
|
|
8966
|
-
newlinesBetween
|
|
9704
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
8967
9705
|
})[]
|
|
8968
9706
|
}[]
|
|
8969
9707
|
// ----- perfectionist/sort-switch-case -----
|
|
@@ -8974,7 +9712,6 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
8974
9712
|
order?: ("asc" | "desc")
|
|
8975
9713
|
|
|
8976
9714
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8977
|
-
[k: string]: unknown | undefined
|
|
8978
9715
|
}
|
|
8979
9716
|
|
|
8980
9717
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -8990,14 +9727,13 @@ type PerfectionistSortSwitchCase = []|[{
|
|
|
8990
9727
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
8991
9728
|
}]
|
|
8992
9729
|
// ----- perfectionist/sort-union-types -----
|
|
8993
|
-
type PerfectionistSortUnionTypes =
|
|
9730
|
+
type PerfectionistSortUnionTypes = {
|
|
8994
9731
|
|
|
8995
9732
|
fallbackSort?: {
|
|
8996
9733
|
|
|
8997
9734
|
order?: ("asc" | "desc")
|
|
8998
9735
|
|
|
8999
9736
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9000
|
-
[k: string]: unknown | undefined
|
|
9001
9737
|
}
|
|
9002
9738
|
|
|
9003
9739
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9012,25 +9748,103 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
9012
9748
|
|
|
9013
9749
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9014
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
|
+
|
|
9015
9815
|
partitionByComment?: (boolean | (({
|
|
9016
|
-
|
|
9816
|
+
|
|
9817
|
+
pattern: string
|
|
9818
|
+
|
|
9017
9819
|
flags?: string
|
|
9018
9820
|
} | string)[] | ({
|
|
9019
|
-
|
|
9821
|
+
|
|
9822
|
+
pattern: string
|
|
9823
|
+
|
|
9020
9824
|
flags?: string
|
|
9021
9825
|
} | string)) | {
|
|
9826
|
+
|
|
9022
9827
|
block?: (boolean | (({
|
|
9023
|
-
|
|
9828
|
+
|
|
9829
|
+
pattern: string
|
|
9830
|
+
|
|
9024
9831
|
flags?: string
|
|
9025
9832
|
} | string)[] | ({
|
|
9026
|
-
|
|
9833
|
+
|
|
9834
|
+
pattern: string
|
|
9835
|
+
|
|
9027
9836
|
flags?: string
|
|
9028
9837
|
} | string)))
|
|
9838
|
+
|
|
9029
9839
|
line?: (boolean | (({
|
|
9030
|
-
|
|
9840
|
+
|
|
9841
|
+
pattern: string
|
|
9842
|
+
|
|
9031
9843
|
flags?: string
|
|
9032
9844
|
} | string)[] | ({
|
|
9033
|
-
|
|
9845
|
+
|
|
9846
|
+
pattern: string
|
|
9847
|
+
|
|
9034
9848
|
flags?: string
|
|
9035
9849
|
} | string)))
|
|
9036
9850
|
})
|
|
@@ -9041,9 +9855,9 @@ type PerfectionistSortUnionTypes = []|[{
|
|
|
9041
9855
|
|
|
9042
9856
|
groups?: (string | string[] | {
|
|
9043
9857
|
|
|
9044
|
-
newlinesBetween
|
|
9858
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9045
9859
|
})[]
|
|
9046
|
-
}]
|
|
9860
|
+
}[]
|
|
9047
9861
|
// ----- perfectionist/sort-variable-declarations -----
|
|
9048
9862
|
type PerfectionistSortVariableDeclarations = []|[{
|
|
9049
9863
|
|
|
@@ -9052,7 +9866,6 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
9052
9866
|
order?: ("asc" | "desc")
|
|
9053
9867
|
|
|
9054
9868
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9055
|
-
[k: string]: unknown | undefined
|
|
9056
9869
|
}
|
|
9057
9870
|
|
|
9058
9871
|
specialCharacters?: ("remove" | "trim" | "keep")
|
|
@@ -9067,30 +9880,115 @@ type PerfectionistSortVariableDeclarations = []|[{
|
|
|
9067
9880
|
|
|
9068
9881
|
type?: ("alphabetical" | "natural" | "line-length" | "custom" | "unsorted")
|
|
9069
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
|
+
|
|
9070
9947
|
partitionByComment?: (boolean | (({
|
|
9071
|
-
|
|
9948
|
+
|
|
9949
|
+
pattern: string
|
|
9950
|
+
|
|
9072
9951
|
flags?: string
|
|
9073
9952
|
} | string)[] | ({
|
|
9074
|
-
|
|
9953
|
+
|
|
9954
|
+
pattern: string
|
|
9955
|
+
|
|
9075
9956
|
flags?: string
|
|
9076
9957
|
} | string)) | {
|
|
9958
|
+
|
|
9077
9959
|
block?: (boolean | (({
|
|
9078
|
-
|
|
9960
|
+
|
|
9961
|
+
pattern: string
|
|
9962
|
+
|
|
9079
9963
|
flags?: string
|
|
9080
9964
|
} | string)[] | ({
|
|
9081
|
-
|
|
9965
|
+
|
|
9966
|
+
pattern: string
|
|
9967
|
+
|
|
9082
9968
|
flags?: string
|
|
9083
9969
|
} | string)))
|
|
9970
|
+
|
|
9084
9971
|
line?: (boolean | (({
|
|
9085
|
-
|
|
9972
|
+
|
|
9973
|
+
pattern: string
|
|
9974
|
+
|
|
9086
9975
|
flags?: string
|
|
9087
9976
|
} | string)[] | ({
|
|
9088
|
-
|
|
9977
|
+
|
|
9978
|
+
pattern: string
|
|
9979
|
+
|
|
9089
9980
|
flags?: string
|
|
9090
9981
|
} | string)))
|
|
9091
9982
|
})
|
|
9092
9983
|
|
|
9093
9984
|
partitionByNewLine?: boolean
|
|
9985
|
+
|
|
9986
|
+
newlinesBetween?: ("ignore" | "always" | "never")
|
|
9987
|
+
|
|
9988
|
+
groups?: (string | string[] | {
|
|
9989
|
+
|
|
9990
|
+
newlinesBetween: ("ignore" | "always" | "never")
|
|
9991
|
+
})[]
|
|
9094
9992
|
}]
|
|
9095
9993
|
// ----- prefer-arrow-callback -----
|
|
9096
9994
|
type PreferArrowCallback = []|[{
|
|
@@ -11687,6 +12585,8 @@ type TypescriptNoUnnecessaryCondition = []|[{
|
|
|
11687
12585
|
// ----- typescript/no-unnecessary-type-assertion -----
|
|
11688
12586
|
type TypescriptNoUnnecessaryTypeAssertion = []|[{
|
|
11689
12587
|
|
|
12588
|
+
checkLiteralConstAssertions?: boolean
|
|
12589
|
+
|
|
11690
12590
|
typesToIgnore?: string[]
|
|
11691
12591
|
}]
|
|
11692
12592
|
// ----- typescript/no-unused-expressions -----
|
|
@@ -11695,6 +12595,7 @@ type TypescriptNoUnusedExpressions = []|[{
|
|
|
11695
12595
|
allowTernary?: boolean
|
|
11696
12596
|
allowTaggedTemplates?: boolean
|
|
11697
12597
|
enforceForJSX?: boolean
|
|
12598
|
+
ignoreDirectives?: boolean
|
|
11698
12599
|
}]
|
|
11699
12600
|
// ----- typescript/no-unused-vars -----
|
|
11700
12601
|
type TypescriptNoUnusedVars = []|[(("all" | "local") | {
|
|
@@ -11757,6 +12658,8 @@ type TypescriptOnlyThrowError = []|[{
|
|
|
11757
12658
|
package: string
|
|
11758
12659
|
})[]
|
|
11759
12660
|
|
|
12661
|
+
allowRethrowing?: boolean
|
|
12662
|
+
|
|
11760
12663
|
allowThrowingAny?: boolean
|
|
11761
12664
|
|
|
11762
12665
|
allowThrowingUnknown?: boolean
|
|
@@ -12102,10 +13005,6 @@ interface _UnicornImportStyle_ModuleStyles {
|
|
|
12102
13005
|
interface _UnicornImportStyle_BooleanObject {
|
|
12103
13006
|
[k: string]: boolean | undefined
|
|
12104
13007
|
}
|
|
12105
|
-
// ----- unicorn/no-array-push-push -----
|
|
12106
|
-
type UnicornNoArrayPushPush = []|[{
|
|
12107
|
-
ignore?: unknown[]
|
|
12108
|
-
}]
|
|
12109
13008
|
// ----- unicorn/no-array-reduce -----
|
|
12110
13009
|
type UnicornNoArrayReduce = []|[{
|
|
12111
13010
|
allowSimpleOperations?: boolean
|
|
@@ -12201,6 +13100,10 @@ type UnicornPreferNumberProperties = []|[{
|
|
|
12201
13100
|
type UnicornPreferObjectFromEntries = []|[{
|
|
12202
13101
|
functions?: unknown[]
|
|
12203
13102
|
}]
|
|
13103
|
+
// ----- unicorn/prefer-single-call -----
|
|
13104
|
+
type UnicornPreferSingleCall = []|[{
|
|
13105
|
+
ignore?: unknown[]
|
|
13106
|
+
}]
|
|
12204
13107
|
// ----- unicorn/prefer-structured-clone -----
|
|
12205
13108
|
type UnicornPreferStructuredClone = []|[{
|
|
12206
13109
|
functions?: unknown[]
|