@kitschpatrol/eslint-config 5.4.1 → 5.4.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/bin/cli.js +1 -1
- package/dist/index.d.ts +1542 -555
- package/dist/index.js +5 -6
- package/package.json +27 -27
package/dist/index.d.ts
CHANGED
|
@@ -560,14 +560,17 @@ interface RuleOptions {
|
|
|
560
560
|
'handle-callback-err'?: Linter.RuleEntry<HandleCallbackErr>
|
|
561
561
|
/**
|
|
562
562
|
* Enforce newline between attributes
|
|
563
|
+
* @see https://html-eslint.org/docs/rules/attrs-newline
|
|
563
564
|
*/
|
|
564
565
|
'html/attrs-newline'?: Linter.RuleEntry<HtmlAttrsNewline>
|
|
565
566
|
/**
|
|
566
567
|
* Enforce newline between elements.
|
|
568
|
+
* @see https://html-eslint.org/docs/rules/element-newline
|
|
567
569
|
*/
|
|
568
570
|
'html/element-newline'?: Linter.RuleEntry<HtmlElementNewline>
|
|
569
571
|
/**
|
|
570
572
|
* Enforce consistent naming id attributes
|
|
573
|
+
* @see https://html-eslint.org/docs/rules/id-naming-convention
|
|
571
574
|
*/
|
|
572
575
|
'html/id-naming-convention'?: Linter.RuleEntry<HtmlIdNamingConvention>
|
|
573
576
|
/**
|
|
@@ -576,182 +579,227 @@ interface RuleOptions {
|
|
|
576
579
|
'html/indent'?: Linter.RuleEntry<HtmlIndent>
|
|
577
580
|
/**
|
|
578
581
|
* Enforce to use lowercase for tag and attribute names.
|
|
582
|
+
* @see https://html-eslint.org/docs/rules/lowercase
|
|
579
583
|
*/
|
|
580
584
|
'html/lowercase'?: Linter.RuleEntry<[]>
|
|
581
585
|
/**
|
|
582
586
|
* Enforce element maximum depth
|
|
587
|
+
* @see https://html-eslint.org/docs/rules/max-element-depth
|
|
583
588
|
*/
|
|
584
589
|
'html/max-element-depth'?: Linter.RuleEntry<HtmlMaxElementDepth>
|
|
585
590
|
/**
|
|
586
591
|
* Disallow to use of abstract roles
|
|
592
|
+
* @see https://html-eslint.org/docs/rules/no-abstract-roles
|
|
587
593
|
*/
|
|
588
594
|
'html/no-abstract-roles'?: Linter.RuleEntry<[]>
|
|
589
595
|
/**
|
|
590
596
|
* Disallow to use of accesskey attribute
|
|
597
|
+
* @see https://html-eslint.org/docs/rules/no-accesskey-attrs
|
|
591
598
|
*/
|
|
592
599
|
'html/no-accesskey-attrs'?: Linter.RuleEntry<[]>
|
|
593
600
|
/**
|
|
594
601
|
* Disallow to use aria-hidden attributes on the `body` element.
|
|
602
|
+
* @see https://html-eslint.org/docs/rules/no-aria-hidden-body
|
|
595
603
|
*/
|
|
596
604
|
'html/no-aria-hidden-body'?: Linter.RuleEntry<[]>
|
|
597
605
|
/**
|
|
598
606
|
* Disallow to use duplicate attributes
|
|
607
|
+
* @see https://html-eslint.org/docs/rules/no-duplicate-attrs
|
|
599
608
|
*/
|
|
600
609
|
'html/no-duplicate-attrs'?: Linter.RuleEntry<[]>
|
|
601
610
|
/**
|
|
602
611
|
* Disallow to use duplicate class
|
|
612
|
+
* @see https://html-eslint.org/docs/rules/no-duplicate-class
|
|
603
613
|
*/
|
|
604
614
|
'html/no-duplicate-class'?: Linter.RuleEntry<[]>
|
|
605
615
|
/**
|
|
606
616
|
* Disallow to use duplicate id
|
|
617
|
+
* @see https://html-eslint.org/docs/rules/no-duplicate-id
|
|
607
618
|
*/
|
|
608
619
|
'html/no-duplicate-id'?: Linter.RuleEntry<[]>
|
|
609
620
|
/**
|
|
610
621
|
* Disallow an extra spacing around attributes
|
|
622
|
+
* @see https://html-eslint.org/docs/rules/no-extra-spacing-attrs
|
|
611
623
|
*/
|
|
612
624
|
'html/no-extra-spacing-attrs'?: Linter.RuleEntry<HtmlNoExtraSpacingAttrs>
|
|
613
625
|
/**
|
|
614
626
|
* Disallow unnecessary consecutive spaces
|
|
627
|
+
* @see https://html-eslint.org/docs/rules/no-extra-spacing-text
|
|
615
628
|
*/
|
|
616
629
|
'html/no-extra-spacing-text'?: Linter.RuleEntry<HtmlNoExtraSpacingText>
|
|
617
630
|
/**
|
|
618
631
|
* Disallows the use of heading elements inside <button>.
|
|
632
|
+
* @see https://html-eslint.org/docs/rules/no-heading-inside-button
|
|
619
633
|
*/
|
|
620
634
|
'html/no-heading-inside-button'?: Linter.RuleEntry<[]>
|
|
621
635
|
/**
|
|
622
636
|
* Disallow using inline style
|
|
637
|
+
* @see https://html-eslint.org/docs/rules/no-inline-styles
|
|
623
638
|
*/
|
|
624
639
|
'html/no-inline-styles'?: Linter.RuleEntry<[]>
|
|
625
640
|
/**
|
|
626
641
|
* Disallows use of invalid role.
|
|
642
|
+
* @see https://html-eslint.org/docs/rules/no-invalid-role
|
|
627
643
|
*/
|
|
628
644
|
'html/no-invalid-role'?: Linter.RuleEntry<[]>
|
|
629
645
|
/**
|
|
630
646
|
* Disallow multiple empty lines
|
|
647
|
+
* @see https://html-eslint.org/docs/rules/no-multiple-empty-lines
|
|
631
648
|
*/
|
|
632
649
|
'html/no-multiple-empty-lines'?: Linter.RuleEntry<HtmlNoMultipleEmptyLines>
|
|
633
650
|
/**
|
|
634
651
|
* Disallow multiple `<h1></h1>`.
|
|
652
|
+
* @see https://html-eslint.org/docs/rules/no-multiple-h1
|
|
635
653
|
*/
|
|
636
654
|
'html/no-multiple-h1'?: Linter.RuleEntry<[]>
|
|
637
655
|
/**
|
|
638
656
|
* Disallows nested interactive elements
|
|
657
|
+
* @see https://html-eslint.org/docs/rules/no-nested-interactive
|
|
639
658
|
*/
|
|
640
659
|
'html/no-nested-interactive'?: Linter.RuleEntry<[]>
|
|
641
660
|
/**
|
|
642
661
|
* Disallow use of `user-scalable=no` in `<meta name="viewport">`.
|
|
662
|
+
* @see https://html-eslint.org/docs/rules/no-non-scalable-viewport
|
|
643
663
|
*/
|
|
644
664
|
'html/no-non-scalable-viewport'?: Linter.RuleEntry<[]>
|
|
645
665
|
/**
|
|
646
666
|
* Disallow to use obsolete elements in HTML5
|
|
667
|
+
* @see https://html-eslint.org/docs/rules/no-obsolete-tags
|
|
647
668
|
*/
|
|
648
669
|
'html/no-obsolete-tags'?: Linter.RuleEntry<[]>
|
|
649
670
|
/**
|
|
650
671
|
* Disallow use of positive `tabindex`.
|
|
672
|
+
* @see https://html-eslint.org/docs/rules/no-positive-tabindex
|
|
651
673
|
*/
|
|
652
674
|
'html/no-positive-tabindex'?: Linter.RuleEntry<[]>
|
|
653
675
|
/**
|
|
654
676
|
* Disallow specified attributes
|
|
677
|
+
* @see https://html-eslint.org/docs/rules/no-restricted-attr-values
|
|
655
678
|
*/
|
|
656
679
|
'html/no-restricted-attr-values'?: Linter.RuleEntry<HtmlNoRestrictedAttrValues>
|
|
657
680
|
/**
|
|
658
681
|
* Disallow specified attributes
|
|
682
|
+
* @see https://html-eslint.org/docs/rules/no-restricted-attrs
|
|
659
683
|
*/
|
|
660
684
|
'html/no-restricted-attrs'?: Linter.RuleEntry<HtmlNoRestrictedAttrs>
|
|
661
685
|
/**
|
|
662
686
|
* Enforce to omit type attributes for style sheets and scripts
|
|
687
|
+
* @see https://html-eslint.org/docs/rules/no-script-style-type
|
|
663
688
|
*/
|
|
664
689
|
'html/no-script-style-type'?: Linter.RuleEntry<[]>
|
|
665
690
|
/**
|
|
666
691
|
* Disallow skipping heading levels
|
|
692
|
+
* @see https://html-eslint.org/docs/rules/no-skip-heading-levels
|
|
667
693
|
*/
|
|
668
694
|
'html/no-skip-heading-levels'?: Linter.RuleEntry<[]>
|
|
669
695
|
/**
|
|
670
696
|
* Disallow usage of unsafe `target='_blank'`
|
|
697
|
+
* @see https://html-eslint.org/docs/rules/no-target-blank
|
|
671
698
|
*/
|
|
672
699
|
'html/no-target-blank'?: Linter.RuleEntry<[]>
|
|
673
700
|
/**
|
|
674
701
|
* Disallow trailing whitespace at the end of lines
|
|
702
|
+
* @see https://html-eslint.org/docs/rules/no-trailing-spaces
|
|
675
703
|
*/
|
|
676
704
|
'html/no-trailing-spaces'?: Linter.RuleEntry<[]>
|
|
677
705
|
/**
|
|
678
706
|
* Prefer to use HTTPS for embedded resources
|
|
707
|
+
* @see https://html-eslint.org/docs/rules/prefer-https
|
|
679
708
|
*/
|
|
680
709
|
'html/prefer-https'?: Linter.RuleEntry<[]>
|
|
681
710
|
/**
|
|
682
711
|
* Enforce consistent quoting attributes with double(") or single(')
|
|
712
|
+
* @see https://html-eslint.org/docs/rules/quotes
|
|
683
713
|
*/
|
|
684
714
|
'html/quotes'?: Linter.RuleEntry<HtmlQuotes>
|
|
685
715
|
/**
|
|
686
716
|
* Require specified attributes
|
|
717
|
+
* @see https://html-eslint.org/docs/rules/require-attrs
|
|
687
718
|
*/
|
|
688
719
|
'html/require-attrs'?: Linter.RuleEntry<HtmlRequireAttrs>
|
|
689
720
|
/**
|
|
690
721
|
* Require use of button element with a valid type attribute.
|
|
722
|
+
* @see https://html-eslint.org/docs/rules/require-button-type
|
|
691
723
|
*/
|
|
692
724
|
'html/require-button-type'?: Linter.RuleEntry<[]>
|
|
693
725
|
/**
|
|
694
726
|
* Require closing tags.
|
|
727
|
+
* @see https://html-eslint.org/docs/rules/require-closing-tags
|
|
695
728
|
*/
|
|
696
729
|
'html/require-closing-tags'?: Linter.RuleEntry<HtmlRequireClosingTags>
|
|
697
730
|
/**
|
|
698
731
|
* Require `<!DOCTYPE HTML>` in html,
|
|
732
|
+
* @see https://html-eslint.org/docs/rules/require-doctype
|
|
699
733
|
*/
|
|
700
734
|
'html/require-doctype'?: Linter.RuleEntry<[]>
|
|
701
735
|
/**
|
|
702
736
|
* Enforces that some elements (img, iframe) have explicitly defined width and height attributes.
|
|
737
|
+
* @see https://html-eslint.org/docs/rules/require-explicit-size
|
|
703
738
|
*/
|
|
704
739
|
'html/require-explicit-size'?: Linter.RuleEntry<HtmlRequireExplicitSize>
|
|
705
740
|
/**
|
|
706
741
|
* Require `method` attribute in `<form>`
|
|
742
|
+
* @see https://html-eslint.org/docs/rules/require-form-method
|
|
707
743
|
*/
|
|
708
744
|
'html/require-form-method'?: Linter.RuleEntry<[]>
|
|
709
745
|
/**
|
|
710
746
|
* Require `title` in `<frame>`, `<iframe>`
|
|
747
|
+
* @see https://html-eslint.org/docs/rules/require-frame-title
|
|
711
748
|
*/
|
|
712
749
|
'html/require-frame-title'?: Linter.RuleEntry<[]>
|
|
713
750
|
/**
|
|
714
751
|
* Require `alt` attribute at `<img>` tag
|
|
752
|
+
* @see https://html-eslint.org/docs/rules/require-img-alt
|
|
715
753
|
*/
|
|
716
754
|
'html/require-img-alt'?: Linter.RuleEntry<HtmlRequireImgAlt>
|
|
717
755
|
/**
|
|
718
756
|
* Enforces use of label for form elements(`input`, `textarea`, `select`)
|
|
757
|
+
* @see https://html-eslint.org/docs/rules/require-input-label
|
|
719
758
|
*/
|
|
720
759
|
'html/require-input-label'?: Linter.RuleEntry<[]>
|
|
721
760
|
/**
|
|
722
761
|
* Require `lang` attribute at `<html>` tag
|
|
762
|
+
* @see https://html-eslint.org/docs/rules/require-lang
|
|
723
763
|
*/
|
|
724
764
|
'html/require-lang'?: Linter.RuleEntry<[]>
|
|
725
765
|
/**
|
|
726
766
|
* Enforce `<li>` to be in `<ul>`, `<ol>` or `<menu>`.
|
|
767
|
+
* @see https://html-eslint.org/docs/rules/require-li-container
|
|
727
768
|
*/
|
|
728
769
|
'html/require-li-container'?: Linter.RuleEntry<[]>
|
|
729
770
|
/**
|
|
730
771
|
* Enforce to use `<meta charset="...">` in `<head>`
|
|
772
|
+
* @see https://html-eslint.org/docs/rules/require-meta-charset
|
|
731
773
|
*/
|
|
732
774
|
'html/require-meta-charset'?: Linter.RuleEntry<[]>
|
|
733
775
|
/**
|
|
734
776
|
* Require use of `<meta name="description">` in `<head>`
|
|
777
|
+
* @see https://html-eslint.org/docs/rules/require-meta-description
|
|
735
778
|
*/
|
|
736
779
|
'html/require-meta-description'?: Linter.RuleEntry<[]>
|
|
737
780
|
/**
|
|
738
781
|
* Enforce to use `<meta name="viewport">` in `<head>`
|
|
782
|
+
* @see https://html-eslint.org/docs/rules/require-meta-viewport
|
|
739
783
|
*/
|
|
740
784
|
'html/require-meta-viewport'?: Linter.RuleEntry<[]>
|
|
741
785
|
/**
|
|
742
|
-
* Enforce to use
|
|
786
|
+
* Enforce to use specified meta tags for open graph protocol.
|
|
787
|
+
* @see https://html-eslint.org/docs/rules/require-open-graph-protocol
|
|
743
788
|
*/
|
|
744
789
|
'html/require-open-graph-protocol'?: Linter.RuleEntry<HtmlRequireOpenGraphProtocol>
|
|
745
790
|
/**
|
|
746
791
|
* Require `<title><title/>` in the `<head><head/>`
|
|
792
|
+
* @see https://html-eslint.org/docs/rules/require-title
|
|
747
793
|
*/
|
|
748
794
|
'html/require-title'?: Linter.RuleEntry<[]>
|
|
749
795
|
/**
|
|
750
796
|
* Enforce attributes alphabetical sorting
|
|
797
|
+
* @see https://html-eslint.org/docs/rules/sort-attrs
|
|
751
798
|
*/
|
|
752
799
|
'html/sort-attrs'?: Linter.RuleEntry<HtmlSortAttrs>
|
|
753
800
|
/**
|
|
754
801
|
* Enforce the use of baseline features.
|
|
802
|
+
* @see https://html-eslint.org/docs/rules/use-baseline
|
|
755
803
|
*/
|
|
756
804
|
'html/use-baseline'?: Linter.RuleEntry<HtmlUseBaseline>
|
|
757
805
|
/**
|
|
@@ -783,233 +831,233 @@ interface RuleOptions {
|
|
|
783
831
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
784
832
|
/**
|
|
785
833
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
786
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
834
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/consistent-type-specifier-style.md
|
|
787
835
|
*/
|
|
788
836
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
789
837
|
/**
|
|
790
838
|
* Ensure a default export is present, given a default import.
|
|
791
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
839
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/default.md
|
|
792
840
|
*/
|
|
793
841
|
'import/default'?: Linter.RuleEntry<[]>
|
|
794
842
|
/**
|
|
795
843
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
796
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
844
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/dynamic-import-chunkname.md
|
|
797
845
|
*/
|
|
798
846
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
799
847
|
/**
|
|
800
848
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
801
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
849
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/export.md
|
|
802
850
|
*/
|
|
803
851
|
'import/export'?: Linter.RuleEntry<[]>
|
|
804
852
|
/**
|
|
805
853
|
* Ensure all exports appear after other statements.
|
|
806
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
854
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/exports-last.md
|
|
807
855
|
*/
|
|
808
856
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
809
857
|
/**
|
|
810
858
|
* Ensure consistent use of file extension within the import path.
|
|
811
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
859
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/extensions.md
|
|
812
860
|
*/
|
|
813
861
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
814
862
|
/**
|
|
815
863
|
* Ensure all imports appear before other statements.
|
|
816
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
864
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/first.md
|
|
817
865
|
*/
|
|
818
866
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
819
867
|
/**
|
|
820
868
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
821
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
869
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/group-exports.md
|
|
822
870
|
*/
|
|
823
871
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
824
872
|
/**
|
|
825
873
|
* Replaced by `import-x/first`.
|
|
826
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
874
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/imports-first.md
|
|
827
875
|
* @deprecated
|
|
828
876
|
*/
|
|
829
877
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
830
878
|
/**
|
|
831
879
|
* Enforce the maximum number of dependencies a module can have.
|
|
832
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
880
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/max-dependencies.md
|
|
833
881
|
*/
|
|
834
882
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
835
883
|
/**
|
|
836
884
|
* Ensure named imports correspond to a named export in the remote file.
|
|
837
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
885
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/named.md
|
|
838
886
|
*/
|
|
839
887
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
840
888
|
/**
|
|
841
889
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
842
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
890
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/namespace.md
|
|
843
891
|
*/
|
|
844
892
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
845
893
|
/**
|
|
846
894
|
* Enforce a newline after import statements.
|
|
847
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
895
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/newline-after-import.md
|
|
848
896
|
*/
|
|
849
897
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
850
898
|
/**
|
|
851
899
|
* Forbid import of modules using absolute paths.
|
|
852
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
900
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-absolute-path.md
|
|
853
901
|
*/
|
|
854
902
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
855
903
|
/**
|
|
856
904
|
* Forbid AMD `require` and `define` calls.
|
|
857
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
905
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-amd.md
|
|
858
906
|
*/
|
|
859
907
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
860
908
|
/**
|
|
861
909
|
* Forbid anonymous values as default exports.
|
|
862
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
910
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-anonymous-default-export.md
|
|
863
911
|
*/
|
|
864
912
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
865
913
|
/**
|
|
866
914
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
867
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
915
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-commonjs.md
|
|
868
916
|
*/
|
|
869
917
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
870
918
|
/**
|
|
871
919
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
872
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
920
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-cycle.md
|
|
873
921
|
*/
|
|
874
922
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
875
923
|
/**
|
|
876
924
|
* Forbid default exports.
|
|
877
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
925
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-default-export.md
|
|
878
926
|
*/
|
|
879
927
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
880
928
|
/**
|
|
881
929
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
882
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
930
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-deprecated.md
|
|
883
931
|
*/
|
|
884
932
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
885
933
|
/**
|
|
886
934
|
* Forbid repeated import of the same module in multiple places.
|
|
887
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
935
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-duplicates.md
|
|
888
936
|
*/
|
|
889
937
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
890
938
|
/**
|
|
891
939
|
* Forbid `require()` calls with expressions.
|
|
892
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
940
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-dynamic-require.md
|
|
893
941
|
*/
|
|
894
942
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
895
943
|
/**
|
|
896
944
|
* Forbid empty named import blocks.
|
|
897
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
945
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-empty-named-blocks.md
|
|
898
946
|
*/
|
|
899
947
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
900
948
|
/**
|
|
901
949
|
* Forbid the use of extraneous packages.
|
|
902
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
950
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-extraneous-dependencies.md
|
|
903
951
|
*/
|
|
904
952
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
905
953
|
/**
|
|
906
954
|
* Forbid import statements with CommonJS module.exports.
|
|
907
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
955
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-import-module-exports.md
|
|
908
956
|
*/
|
|
909
957
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
910
958
|
/**
|
|
911
959
|
* Forbid importing the submodules of other modules.
|
|
912
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
960
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-internal-modules.md
|
|
913
961
|
*/
|
|
914
962
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
915
963
|
/**
|
|
916
964
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
917
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
965
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-mutable-exports.md
|
|
918
966
|
*/
|
|
919
967
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
920
968
|
/**
|
|
921
969
|
* Forbid use of exported name as identifier of default export.
|
|
922
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
970
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default.md
|
|
923
971
|
*/
|
|
924
972
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
925
973
|
/**
|
|
926
974
|
* Forbid use of exported name as property of default export.
|
|
927
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
975
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-as-default-member.md
|
|
928
976
|
*/
|
|
929
977
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
930
978
|
/**
|
|
931
979
|
* Forbid named default exports.
|
|
932
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
980
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-default.md
|
|
933
981
|
*/
|
|
934
982
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
935
983
|
/**
|
|
936
984
|
* Forbid named exports.
|
|
937
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
985
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-named-export.md
|
|
938
986
|
*/
|
|
939
987
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
940
988
|
/**
|
|
941
989
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
942
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
990
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-namespace.md
|
|
943
991
|
*/
|
|
944
992
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
945
993
|
/**
|
|
946
994
|
* Forbid Node.js builtin modules.
|
|
947
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
995
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-nodejs-modules.md
|
|
948
996
|
*/
|
|
949
997
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
950
998
|
/**
|
|
951
999
|
* Forbid importing packages through relative paths.
|
|
952
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1000
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-packages.md
|
|
953
1001
|
*/
|
|
954
1002
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
955
1003
|
/**
|
|
956
1004
|
* Forbid importing modules from parent directories.
|
|
957
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1005
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-relative-parent-imports.md
|
|
958
1006
|
*/
|
|
959
1007
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
960
1008
|
/**
|
|
961
1009
|
* Forbid importing a default export by a different name.
|
|
962
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1010
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-rename-default.md
|
|
963
1011
|
*/
|
|
964
1012
|
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
965
1013
|
/**
|
|
966
1014
|
* Enforce which files can be imported in a given folder.
|
|
967
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1015
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-restricted-paths.md
|
|
968
1016
|
*/
|
|
969
1017
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
970
1018
|
/**
|
|
971
1019
|
* Forbid a module from importing itself.
|
|
972
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1020
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-self-import.md
|
|
973
1021
|
*/
|
|
974
1022
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
975
1023
|
/**
|
|
976
1024
|
* Forbid unassigned imports.
|
|
977
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1025
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unassigned-import.md
|
|
978
1026
|
*/
|
|
979
1027
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
980
1028
|
/**
|
|
981
1029
|
* Ensure imports point to a file/module that can be resolved.
|
|
982
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1030
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unresolved.md
|
|
983
1031
|
*/
|
|
984
1032
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
985
1033
|
/**
|
|
986
1034
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
987
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1035
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-unused-modules.md
|
|
988
1036
|
*/
|
|
989
1037
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
990
1038
|
/**
|
|
991
1039
|
* Forbid unnecessary path segments in import and require statements.
|
|
992
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1040
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-useless-path-segments.md
|
|
993
1041
|
*/
|
|
994
1042
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
995
1043
|
/**
|
|
996
1044
|
* Forbid webpack loader syntax in imports.
|
|
997
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1045
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/no-webpack-loader-syntax.md
|
|
998
1046
|
*/
|
|
999
1047
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
1000
1048
|
/**
|
|
1001
1049
|
* Enforce a convention in module import order.
|
|
1002
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1050
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/order.md
|
|
1003
1051
|
*/
|
|
1004
1052
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
1005
1053
|
/**
|
|
1006
1054
|
* Prefer a default export if module exports a single name or multiple names.
|
|
1007
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1055
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/prefer-default-export.md
|
|
1008
1056
|
*/
|
|
1009
1057
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
1010
1058
|
/**
|
|
1011
1059
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
1012
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.
|
|
1060
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.15.1/docs/rules/unambiguous.md
|
|
1013
1061
|
*/
|
|
1014
1062
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
1015
1063
|
/**
|
|
@@ -1354,6 +1402,10 @@ interface RuleOptions {
|
|
|
1354
1402
|
* Requires the `name` property to be present.
|
|
1355
1403
|
*/
|
|
1356
1404
|
'json-package/require-name'?: Linter.RuleEntry<[]>
|
|
1405
|
+
/**
|
|
1406
|
+
* Requires the `type` property to be present.
|
|
1407
|
+
*/
|
|
1408
|
+
'json-package/require-type'?: Linter.RuleEntry<[]>
|
|
1357
1409
|
/**
|
|
1358
1410
|
* Requires the `types` property to be present.
|
|
1359
1411
|
*/
|
|
@@ -1568,7 +1620,7 @@ interface RuleOptions {
|
|
|
1568
1620
|
* disallow unnecessary escape usage
|
|
1569
1621
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/no-useless-escape.html
|
|
1570
1622
|
*/
|
|
1571
|
-
'json/no-useless-escape'?: Linter.RuleEntry<
|
|
1623
|
+
'json/no-useless-escape'?: Linter.RuleEntry<JsonNoUselessEscape>
|
|
1572
1624
|
/**
|
|
1573
1625
|
* enforce consistent line breaks inside braces
|
|
1574
1626
|
* @see https://ota-meshi.github.io/eslint-plugin-jsonc/rules/object-curly-newline.html
|
|
@@ -2602,6 +2654,11 @@ interface RuleOptions {
|
|
|
2602
2654
|
* @deprecated
|
|
2603
2655
|
*/
|
|
2604
2656
|
'no-trailing-spaces'?: Linter.RuleEntry<NoTrailingSpaces>
|
|
2657
|
+
/**
|
|
2658
|
+
* Disallow `let` or `var` variables that are read but never assigned
|
|
2659
|
+
* @see https://eslint.org/docs/latest/rules/no-unassigned-vars
|
|
2660
|
+
*/
|
|
2661
|
+
'no-unassigned-vars'?: Linter.RuleEntry<[]>
|
|
2605
2662
|
/**
|
|
2606
2663
|
* Disallow the use of undeclared variables unless mentioned in `/*global *\/` comments
|
|
2607
2664
|
* @see https://eslint.org/docs/latest/rules/no-undef
|
|
@@ -2726,7 +2783,7 @@ interface RuleOptions {
|
|
|
2726
2783
|
* Disallow unnecessary escape characters
|
|
2727
2784
|
* @see https://eslint.org/docs/latest/rules/no-useless-escape
|
|
2728
2785
|
*/
|
|
2729
|
-
'no-useless-escape'?: Linter.RuleEntry<
|
|
2786
|
+
'no-useless-escape'?: Linter.RuleEntry<NoUselessEscape>
|
|
2730
2787
|
/**
|
|
2731
2788
|
* Disallow renaming import, export, and destructured assignments to the same name
|
|
2732
2789
|
* @see https://eslint.org/docs/latest/rules/no-useless-rename
|
|
@@ -2874,6 +2931,11 @@ interface RuleOptions {
|
|
|
2874
2931
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
2875
2932
|
*/
|
|
2876
2933
|
'node/no-sync'?: Linter.RuleEntry<NodeNoSync>
|
|
2934
|
+
/**
|
|
2935
|
+
* disallow top-level `await` in published modules
|
|
2936
|
+
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-top-level-await.md
|
|
2937
|
+
*/
|
|
2938
|
+
'node/no-top-level-await'?: Linter.RuleEntry<NodeNoTopLevelAwait>
|
|
2877
2939
|
/**
|
|
2878
2940
|
* disallow `bin` files that npm ignores
|
|
2879
2941
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
@@ -3456,6 +3518,11 @@ interface RuleOptions {
|
|
|
3456
3518
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3457
3519
|
*/
|
|
3458
3520
|
'react/jsx-no-duplicate-props'?: Linter.RuleEntry<[]>
|
|
3521
|
+
/**
|
|
3522
|
+
* Disallows 'IIFE' in JSX elements.
|
|
3523
|
+
* @see https://eslint-react.xyz/docs/rules/jsx-no-iife
|
|
3524
|
+
*/
|
|
3525
|
+
'react/jsx-no-iife'?: Linter.RuleEntry<[]>
|
|
3459
3526
|
/**
|
|
3460
3527
|
* Disallow undefined variables in JSX.
|
|
3461
3528
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
@@ -4055,7 +4122,7 @@ interface RuleOptions {
|
|
|
4055
4122
|
* enforce using quantifier
|
|
4056
4123
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4057
4124
|
*/
|
|
4058
|
-
'regexp/prefer-quantifier'?: Linter.RuleEntry<
|
|
4125
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<RegexpPreferQuantifier>
|
|
4059
4126
|
/**
|
|
4060
4127
|
* enforce using `?` quantifier
|
|
4061
4128
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -4337,6 +4404,11 @@ interface RuleOptions {
|
|
|
4337
4404
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/mustache-spacing/
|
|
4338
4405
|
*/
|
|
4339
4406
|
'svelte/mustache-spacing'?: Linter.RuleEntry<SvelteMustacheSpacing>
|
|
4407
|
+
/**
|
|
4408
|
+
* Warns against the use of `addEventListener`
|
|
4409
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-add-event-listener/
|
|
4410
|
+
*/
|
|
4411
|
+
'svelte/no-add-event-listener'?: Linter.RuleEntry<[]>
|
|
4340
4412
|
/**
|
|
4341
4413
|
* disallow the use of `{@debug}`
|
|
4342
4414
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-at-debug-tags/
|
|
@@ -4484,6 +4556,11 @@ interface RuleOptions {
|
|
|
4484
4556
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-target-blank/
|
|
4485
4557
|
*/
|
|
4486
4558
|
'svelte/no-target-blank'?: Linter.RuleEntry<SvelteNoTargetBlank>
|
|
4559
|
+
/**
|
|
4560
|
+
* disallow using top-level browser global variables
|
|
4561
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-top-level-browser-globals/
|
|
4562
|
+
*/
|
|
4563
|
+
'svelte/no-top-level-browser-globals'?: Linter.RuleEntry<[]>
|
|
4487
4564
|
/**
|
|
4488
4565
|
* disallow trailing whitespace at the end of lines
|
|
4489
4566
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/no-trailing-spaces/
|
|
@@ -4544,6 +4621,11 @@ interface RuleOptions {
|
|
|
4544
4621
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-style-directive/
|
|
4545
4622
|
*/
|
|
4546
4623
|
'svelte/prefer-style-directive'?: Linter.RuleEntry<[]>
|
|
4624
|
+
/**
|
|
4625
|
+
* Prefer using writable $derived instead of $state and $effect
|
|
4626
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/prefer-writable-derived/
|
|
4627
|
+
*/
|
|
4628
|
+
'svelte/prefer-writable-derived'?: Linter.RuleEntry<[]>
|
|
4547
4629
|
/**
|
|
4548
4630
|
* require keyed `{#each}` block
|
|
4549
4631
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-each-key/
|
|
@@ -4554,6 +4636,11 @@ interface RuleOptions {
|
|
|
4554
4636
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-dispatcher-types/
|
|
4555
4637
|
*/
|
|
4556
4638
|
'svelte/require-event-dispatcher-types'?: Linter.RuleEntry<[]>
|
|
4639
|
+
/**
|
|
4640
|
+
* require component event names to start with "on"
|
|
4641
|
+
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-event-prefix/
|
|
4642
|
+
*/
|
|
4643
|
+
'svelte/require-event-prefix'?: Linter.RuleEntry<SvelteRequireEventPrefix>
|
|
4557
4644
|
/**
|
|
4558
4645
|
* require style attributes that can be optimized
|
|
4559
4646
|
* @see https://sveltejs.github.io/eslint-plugin-svelte/rules/require-optimized-style-attribute/
|
|
@@ -5728,6 +5815,7 @@ interface RuleOptions {
|
|
|
5728
5815
|
/**
|
|
5729
5816
|
* Require type annotations in certain places
|
|
5730
5817
|
* @see https://typescript-eslint.io/rules/typedef
|
|
5818
|
+
* @deprecated
|
|
5731
5819
|
*/
|
|
5732
5820
|
'ts/typedef'?: Linter.RuleEntry<TsTypedef>
|
|
5733
5821
|
/**
|
|
@@ -7376,6 +7464,7 @@ type FuncStyle =
|
|
|
7376
7464
|
'declaration' | 'expression',
|
|
7377
7465
|
{
|
|
7378
7466
|
allowArrowFunctions?: boolean
|
|
7467
|
+
allowTypeAnnotation?: boolean
|
|
7379
7468
|
overrides?: {
|
|
7380
7469
|
namedExports?: 'declaration' | 'expression' | 'ignore'
|
|
7381
7470
|
}
|
|
@@ -7639,6 +7728,14 @@ type ImportExtensions =
|
|
|
7639
7728
|
}
|
|
7640
7729
|
ignorePackages?: boolean
|
|
7641
7730
|
checkTypeImports?: boolean
|
|
7731
|
+
pathGroupOverrides?: {
|
|
7732
|
+
pattern: string
|
|
7733
|
+
patternOptions?: {
|
|
7734
|
+
[k: string]: unknown | undefined
|
|
7735
|
+
}
|
|
7736
|
+
action: 'enforce' | 'ignore'
|
|
7737
|
+
}[]
|
|
7738
|
+
fix?: boolean
|
|
7642
7739
|
[k: string]: unknown | undefined
|
|
7643
7740
|
},
|
|
7644
7741
|
]
|
|
@@ -7650,6 +7747,14 @@ type ImportExtensions =
|
|
|
7650
7747
|
}
|
|
7651
7748
|
ignorePackages?: boolean
|
|
7652
7749
|
checkTypeImports?: boolean
|
|
7750
|
+
pathGroupOverrides?: {
|
|
7751
|
+
pattern: string
|
|
7752
|
+
patternOptions?: {
|
|
7753
|
+
[k: string]: unknown | undefined
|
|
7754
|
+
}
|
|
7755
|
+
action: 'enforce' | 'ignore'
|
|
7756
|
+
}[]
|
|
7757
|
+
fix?: boolean
|
|
7653
7758
|
[k: string]: unknown | undefined
|
|
7654
7759
|
},
|
|
7655
7760
|
]
|
|
@@ -8132,10 +8237,10 @@ type JsdocCheckLineAlignment =
|
|
|
8132
8237
|
postTag?: number
|
|
8133
8238
|
postType?: number
|
|
8134
8239
|
}
|
|
8240
|
+
disableWrapIndent?: boolean
|
|
8135
8241
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
8136
8242
|
tags?: string[]
|
|
8137
8243
|
wrapIndent?: string
|
|
8138
|
-
disableWrapIndent?: boolean
|
|
8139
8244
|
},
|
|
8140
8245
|
]
|
|
8141
8246
|
// ----- jsdoc/check-param-names -----
|
|
@@ -9057,6 +9162,14 @@ type JsonNoIrregularWhitespace =
|
|
|
9057
9162
|
skipJSXText?: boolean
|
|
9058
9163
|
},
|
|
9059
9164
|
]
|
|
9165
|
+
// ----- json/no-useless-escape -----
|
|
9166
|
+
type JsonNoUselessEscape =
|
|
9167
|
+
| []
|
|
9168
|
+
| [
|
|
9169
|
+
{
|
|
9170
|
+
allowRegexCharacters?: string[]
|
|
9171
|
+
},
|
|
9172
|
+
]
|
|
9060
9173
|
// ----- json/object-curly-newline -----
|
|
9061
9174
|
type JsonObjectCurlyNewline =
|
|
9062
9175
|
| []
|
|
@@ -10269,6 +10382,8 @@ type MaxParams =
|
|
|
10269
10382
|
| {
|
|
10270
10383
|
maximum?: number
|
|
10271
10384
|
max?: number
|
|
10385
|
+
|
|
10386
|
+
countVoidThis?: boolean
|
|
10272
10387
|
},
|
|
10273
10388
|
]
|
|
10274
10389
|
// ----- max-statements -----
|
|
@@ -10598,6 +10713,10 @@ type NoMagicNumbers =
|
|
|
10598
10713
|
ignoreArrayIndexes?: boolean
|
|
10599
10714
|
ignoreDefaultValues?: boolean
|
|
10600
10715
|
ignoreClassFieldInitialValues?: boolean
|
|
10716
|
+
ignoreEnums?: boolean
|
|
10717
|
+
ignoreNumericLiteralTypes?: boolean
|
|
10718
|
+
ignoreReadonlyClassProperties?: boolean
|
|
10719
|
+
ignoreTypeIndexes?: boolean
|
|
10601
10720
|
},
|
|
10602
10721
|
]
|
|
10603
10722
|
// ----- no-misleading-character-class -----
|
|
@@ -10914,9 +11033,11 @@ type NoShadow =
|
|
|
10914
11033
|
| [
|
|
10915
11034
|
{
|
|
10916
11035
|
builtinGlobals?: boolean
|
|
10917
|
-
hoist?: 'all' | 'functions' | 'never'
|
|
11036
|
+
hoist?: 'all' | 'functions' | 'never' | 'types' | 'functions-and-types'
|
|
10918
11037
|
allow?: string[]
|
|
10919
11038
|
ignoreOnInitialization?: boolean
|
|
11039
|
+
ignoreTypeValueShadow?: boolean
|
|
11040
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
10920
11041
|
},
|
|
10921
11042
|
]
|
|
10922
11043
|
// ----- no-shadow-restricted-names -----
|
|
@@ -11054,6 +11175,9 @@ type NoUseBeforeDefine =
|
|
|
11054
11175
|
classes?: boolean
|
|
11055
11176
|
variables?: boolean
|
|
11056
11177
|
allowNamedExports?: boolean
|
|
11178
|
+
enums?: boolean
|
|
11179
|
+
typedefs?: boolean
|
|
11180
|
+
ignoreTypeReferences?: boolean
|
|
11057
11181
|
},
|
|
11058
11182
|
]
|
|
11059
11183
|
// ----- no-useless-computed-key -----
|
|
@@ -11064,6 +11188,14 @@ type NoUselessComputedKey =
|
|
|
11064
11188
|
enforceForClassMembers?: boolean
|
|
11065
11189
|
},
|
|
11066
11190
|
]
|
|
11191
|
+
// ----- no-useless-escape -----
|
|
11192
|
+
type NoUselessEscape =
|
|
11193
|
+
| []
|
|
11194
|
+
| [
|
|
11195
|
+
{
|
|
11196
|
+
allowRegexCharacters?: string[]
|
|
11197
|
+
},
|
|
11198
|
+
]
|
|
11067
11199
|
// ----- no-useless-rename -----
|
|
11068
11200
|
type NoUselessRename =
|
|
11069
11201
|
| []
|
|
@@ -11458,7 +11590,49 @@ type NodeNoSync =
|
|
|
11458
11590
|
| [
|
|
11459
11591
|
{
|
|
11460
11592
|
allowAtRootLevel?: boolean
|
|
11461
|
-
ignores?:
|
|
11593
|
+
ignores?: (
|
|
11594
|
+
| string
|
|
11595
|
+
| {
|
|
11596
|
+
from?: 'file'
|
|
11597
|
+
path?: string
|
|
11598
|
+
name?: string[]
|
|
11599
|
+
}
|
|
11600
|
+
| {
|
|
11601
|
+
from?: 'lib'
|
|
11602
|
+
name?: string[]
|
|
11603
|
+
}
|
|
11604
|
+
| {
|
|
11605
|
+
from?: 'package'
|
|
11606
|
+
package?: string
|
|
11607
|
+
name?: string[]
|
|
11608
|
+
}
|
|
11609
|
+
)[]
|
|
11610
|
+
},
|
|
11611
|
+
]
|
|
11612
|
+
// ----- node/no-top-level-await -----
|
|
11613
|
+
type NodeNoTopLevelAwait =
|
|
11614
|
+
| []
|
|
11615
|
+
| [
|
|
11616
|
+
{
|
|
11617
|
+
ignoreBin?: boolean
|
|
11618
|
+
convertPath?:
|
|
11619
|
+
| {
|
|
11620
|
+
[k: string]: [string, string]
|
|
11621
|
+
}
|
|
11622
|
+
| [
|
|
11623
|
+
{
|
|
11624
|
+
include: [string, ...string[]]
|
|
11625
|
+
exclude?: string[]
|
|
11626
|
+
|
|
11627
|
+
replace: [string, string]
|
|
11628
|
+
},
|
|
11629
|
+
...{
|
|
11630
|
+
include: [string, ...string[]]
|
|
11631
|
+
exclude?: string[]
|
|
11632
|
+
|
|
11633
|
+
replace: [string, string]
|
|
11634
|
+
}[],
|
|
11635
|
+
]
|
|
11462
11636
|
},
|
|
11463
11637
|
]
|
|
11464
11638
|
// ----- node/no-unpublished-bin -----
|
|
@@ -14297,7 +14471,6 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14297
14471
|
order?: 'asc' | 'desc'
|
|
14298
14472
|
|
|
14299
14473
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14300
|
-
[k: string]: unknown | undefined
|
|
14301
14474
|
}
|
|
14302
14475
|
|
|
14303
14476
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -14322,10 +14495,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14322
14495
|
order?: 'asc' | 'desc'
|
|
14323
14496
|
|
|
14324
14497
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14325
|
-
[k: string]: unknown | undefined
|
|
14326
14498
|
}
|
|
14327
14499
|
|
|
14328
|
-
groupName
|
|
14500
|
+
groupName: string
|
|
14329
14501
|
|
|
14330
14502
|
order?: 'asc' | 'desc'
|
|
14331
14503
|
|
|
@@ -14336,14 +14508,16 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14336
14508
|
elementNamePattern?:
|
|
14337
14509
|
| (
|
|
14338
14510
|
| {
|
|
14339
|
-
pattern
|
|
14511
|
+
pattern: string
|
|
14512
|
+
|
|
14340
14513
|
flags?: string
|
|
14341
14514
|
}
|
|
14342
14515
|
| string
|
|
14343
14516
|
)[]
|
|
14344
14517
|
| (
|
|
14345
14518
|
| {
|
|
14346
|
-
pattern
|
|
14519
|
+
pattern: string
|
|
14520
|
+
|
|
14347
14521
|
flags?: string
|
|
14348
14522
|
}
|
|
14349
14523
|
| string
|
|
@@ -14357,10 +14531,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14357
14531
|
order?: 'asc' | 'desc'
|
|
14358
14532
|
|
|
14359
14533
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14360
|
-
[k: string]: unknown | undefined
|
|
14361
14534
|
}
|
|
14362
14535
|
|
|
14363
|
-
groupName
|
|
14536
|
+
groupName: string
|
|
14364
14537
|
|
|
14365
14538
|
order?: 'asc' | 'desc'
|
|
14366
14539
|
|
|
@@ -14371,32 +14544,37 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14371
14544
|
elementNamePattern?:
|
|
14372
14545
|
| (
|
|
14373
14546
|
| {
|
|
14374
|
-
pattern
|
|
14547
|
+
pattern: string
|
|
14548
|
+
|
|
14375
14549
|
flags?: string
|
|
14376
14550
|
}
|
|
14377
14551
|
| string
|
|
14378
14552
|
)[]
|
|
14379
14553
|
| (
|
|
14380
14554
|
| {
|
|
14381
|
-
pattern
|
|
14555
|
+
pattern: string
|
|
14556
|
+
|
|
14382
14557
|
flags?: string
|
|
14383
14558
|
}
|
|
14384
14559
|
| string
|
|
14385
14560
|
)
|
|
14386
14561
|
}
|
|
14387
14562
|
)[]
|
|
14563
|
+
|
|
14388
14564
|
useConfigurationIf?: {
|
|
14389
14565
|
allNamesMatchPattern?:
|
|
14390
14566
|
| (
|
|
14391
14567
|
| {
|
|
14392
|
-
pattern
|
|
14568
|
+
pattern: string
|
|
14569
|
+
|
|
14393
14570
|
flags?: string
|
|
14394
14571
|
}
|
|
14395
14572
|
| string
|
|
14396
14573
|
)[]
|
|
14397
14574
|
| (
|
|
14398
14575
|
| {
|
|
14399
|
-
pattern
|
|
14576
|
+
pattern: string
|
|
14577
|
+
|
|
14400
14578
|
flags?: string
|
|
14401
14579
|
}
|
|
14402
14580
|
| string
|
|
@@ -14408,14 +14586,16 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14408
14586
|
| (
|
|
14409
14587
|
| (
|
|
14410
14588
|
| {
|
|
14411
|
-
pattern
|
|
14589
|
+
pattern: string
|
|
14590
|
+
|
|
14412
14591
|
flags?: string
|
|
14413
14592
|
}
|
|
14414
14593
|
| string
|
|
14415
14594
|
)[]
|
|
14416
14595
|
| (
|
|
14417
14596
|
| {
|
|
14418
|
-
pattern
|
|
14597
|
+
pattern: string
|
|
14598
|
+
|
|
14419
14599
|
flags?: string
|
|
14420
14600
|
}
|
|
14421
14601
|
| string
|
|
@@ -14427,32 +14607,37 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14427
14607
|
| (
|
|
14428
14608
|
| (
|
|
14429
14609
|
| {
|
|
14430
|
-
pattern
|
|
14610
|
+
pattern: string
|
|
14611
|
+
|
|
14431
14612
|
flags?: string
|
|
14432
14613
|
}
|
|
14433
14614
|
| string
|
|
14434
14615
|
)[]
|
|
14435
14616
|
| (
|
|
14436
14617
|
| {
|
|
14437
|
-
pattern
|
|
14618
|
+
pattern: string
|
|
14619
|
+
|
|
14438
14620
|
flags?: string
|
|
14439
14621
|
}
|
|
14440
14622
|
| string
|
|
14441
14623
|
)
|
|
14442
14624
|
)
|
|
14625
|
+
|
|
14443
14626
|
line?:
|
|
14444
14627
|
| boolean
|
|
14445
14628
|
| (
|
|
14446
14629
|
| (
|
|
14447
14630
|
| {
|
|
14448
|
-
pattern
|
|
14631
|
+
pattern: string
|
|
14632
|
+
|
|
14449
14633
|
flags?: string
|
|
14450
14634
|
}
|
|
14451
14635
|
| string
|
|
14452
14636
|
)[]
|
|
14453
14637
|
| (
|
|
14454
14638
|
| {
|
|
14455
|
-
pattern
|
|
14639
|
+
pattern: string
|
|
14640
|
+
|
|
14456
14641
|
flags?: string
|
|
14457
14642
|
}
|
|
14458
14643
|
| string
|
|
@@ -14469,6 +14654,8 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14469
14654
|
| string[]
|
|
14470
14655
|
| {
|
|
14471
14656
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14657
|
+
|
|
14658
|
+
commentAbove?: string
|
|
14472
14659
|
}
|
|
14473
14660
|
)[]
|
|
14474
14661
|
}[]
|
|
@@ -14481,7 +14668,6 @@ type PerfectionistSortClasses =
|
|
|
14481
14668
|
order?: 'asc' | 'desc'
|
|
14482
14669
|
|
|
14483
14670
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14484
|
-
[k: string]: unknown | undefined
|
|
14485
14671
|
}
|
|
14486
14672
|
|
|
14487
14673
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -14504,10 +14690,9 @@ type PerfectionistSortClasses =
|
|
|
14504
14690
|
order?: 'asc' | 'desc'
|
|
14505
14691
|
|
|
14506
14692
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14507
|
-
[k: string]: unknown | undefined
|
|
14508
14693
|
}
|
|
14509
14694
|
|
|
14510
|
-
groupName
|
|
14695
|
+
groupName: string
|
|
14511
14696
|
|
|
14512
14697
|
order?: 'asc' | 'desc'
|
|
14513
14698
|
|
|
@@ -14541,14 +14726,16 @@ type PerfectionistSortClasses =
|
|
|
14541
14726
|
decoratorNamePattern?:
|
|
14542
14727
|
| (
|
|
14543
14728
|
| {
|
|
14544
|
-
pattern
|
|
14729
|
+
pattern: string
|
|
14730
|
+
|
|
14545
14731
|
flags?: string
|
|
14546
14732
|
}
|
|
14547
14733
|
| string
|
|
14548
14734
|
)[]
|
|
14549
14735
|
| (
|
|
14550
14736
|
| {
|
|
14551
|
-
pattern
|
|
14737
|
+
pattern: string
|
|
14738
|
+
|
|
14552
14739
|
flags?: string
|
|
14553
14740
|
}
|
|
14554
14741
|
| string
|
|
@@ -14557,14 +14744,16 @@ type PerfectionistSortClasses =
|
|
|
14557
14744
|
elementValuePattern?:
|
|
14558
14745
|
| (
|
|
14559
14746
|
| {
|
|
14560
|
-
pattern
|
|
14747
|
+
pattern: string
|
|
14748
|
+
|
|
14561
14749
|
flags?: string
|
|
14562
14750
|
}
|
|
14563
14751
|
| string
|
|
14564
14752
|
)[]
|
|
14565
14753
|
| (
|
|
14566
14754
|
| {
|
|
14567
|
-
pattern
|
|
14755
|
+
pattern: string
|
|
14756
|
+
|
|
14568
14757
|
flags?: string
|
|
14569
14758
|
}
|
|
14570
14759
|
| string
|
|
@@ -14573,14 +14762,16 @@ type PerfectionistSortClasses =
|
|
|
14573
14762
|
elementNamePattern?:
|
|
14574
14763
|
| (
|
|
14575
14764
|
| {
|
|
14576
|
-
pattern
|
|
14765
|
+
pattern: string
|
|
14766
|
+
|
|
14577
14767
|
flags?: string
|
|
14578
14768
|
}
|
|
14579
14769
|
| string
|
|
14580
14770
|
)[]
|
|
14581
14771
|
| (
|
|
14582
14772
|
| {
|
|
14583
|
-
pattern
|
|
14773
|
+
pattern: string
|
|
14774
|
+
|
|
14584
14775
|
flags?: string
|
|
14585
14776
|
}
|
|
14586
14777
|
| string
|
|
@@ -14594,10 +14785,9 @@ type PerfectionistSortClasses =
|
|
|
14594
14785
|
order?: 'asc' | 'desc'
|
|
14595
14786
|
|
|
14596
14787
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14597
|
-
[k: string]: unknown | undefined
|
|
14598
14788
|
}
|
|
14599
14789
|
|
|
14600
|
-
groupName
|
|
14790
|
+
groupName: string
|
|
14601
14791
|
|
|
14602
14792
|
order?: 'asc' | 'desc'
|
|
14603
14793
|
|
|
@@ -14631,14 +14821,16 @@ type PerfectionistSortClasses =
|
|
|
14631
14821
|
decoratorNamePattern?:
|
|
14632
14822
|
| (
|
|
14633
14823
|
| {
|
|
14634
|
-
pattern
|
|
14824
|
+
pattern: string
|
|
14825
|
+
|
|
14635
14826
|
flags?: string
|
|
14636
14827
|
}
|
|
14637
14828
|
| string
|
|
14638
14829
|
)[]
|
|
14639
14830
|
| (
|
|
14640
14831
|
| {
|
|
14641
|
-
pattern
|
|
14832
|
+
pattern: string
|
|
14833
|
+
|
|
14642
14834
|
flags?: string
|
|
14643
14835
|
}
|
|
14644
14836
|
| string
|
|
@@ -14647,14 +14839,16 @@ type PerfectionistSortClasses =
|
|
|
14647
14839
|
elementValuePattern?:
|
|
14648
14840
|
| (
|
|
14649
14841
|
| {
|
|
14650
|
-
pattern
|
|
14842
|
+
pattern: string
|
|
14843
|
+
|
|
14651
14844
|
flags?: string
|
|
14652
14845
|
}
|
|
14653
14846
|
| string
|
|
14654
14847
|
)[]
|
|
14655
14848
|
| (
|
|
14656
14849
|
| {
|
|
14657
|
-
pattern
|
|
14850
|
+
pattern: string
|
|
14851
|
+
|
|
14658
14852
|
flags?: string
|
|
14659
14853
|
}
|
|
14660
14854
|
| string
|
|
@@ -14663,14 +14857,16 @@ type PerfectionistSortClasses =
|
|
|
14663
14857
|
elementNamePattern?:
|
|
14664
14858
|
| (
|
|
14665
14859
|
| {
|
|
14666
|
-
pattern
|
|
14860
|
+
pattern: string
|
|
14861
|
+
|
|
14667
14862
|
flags?: string
|
|
14668
14863
|
}
|
|
14669
14864
|
| string
|
|
14670
14865
|
)[]
|
|
14671
14866
|
| (
|
|
14672
14867
|
| {
|
|
14673
|
-
pattern
|
|
14868
|
+
pattern: string
|
|
14869
|
+
|
|
14674
14870
|
flags?: string
|
|
14675
14871
|
}
|
|
14676
14872
|
| string
|
|
@@ -14681,14 +14877,16 @@ type PerfectionistSortClasses =
|
|
|
14681
14877
|
ignoreCallbackDependenciesPatterns?:
|
|
14682
14878
|
| (
|
|
14683
14879
|
| {
|
|
14684
|
-
pattern
|
|
14880
|
+
pattern: string
|
|
14881
|
+
|
|
14685
14882
|
flags?: string
|
|
14686
14883
|
}
|
|
14687
14884
|
| string
|
|
14688
14885
|
)[]
|
|
14689
14886
|
| (
|
|
14690
14887
|
| {
|
|
14691
|
-
pattern
|
|
14888
|
+
pattern: string
|
|
14889
|
+
|
|
14692
14890
|
flags?: string
|
|
14693
14891
|
}
|
|
14694
14892
|
| string
|
|
@@ -14699,14 +14897,16 @@ type PerfectionistSortClasses =
|
|
|
14699
14897
|
| (
|
|
14700
14898
|
| (
|
|
14701
14899
|
| {
|
|
14702
|
-
pattern
|
|
14900
|
+
pattern: string
|
|
14901
|
+
|
|
14703
14902
|
flags?: string
|
|
14704
14903
|
}
|
|
14705
14904
|
| string
|
|
14706
14905
|
)[]
|
|
14707
14906
|
| (
|
|
14708
14907
|
| {
|
|
14709
|
-
pattern
|
|
14908
|
+
pattern: string
|
|
14909
|
+
|
|
14710
14910
|
flags?: string
|
|
14711
14911
|
}
|
|
14712
14912
|
| string
|
|
@@ -14718,32 +14918,37 @@ type PerfectionistSortClasses =
|
|
|
14718
14918
|
| (
|
|
14719
14919
|
| (
|
|
14720
14920
|
| {
|
|
14721
|
-
pattern
|
|
14921
|
+
pattern: string
|
|
14922
|
+
|
|
14722
14923
|
flags?: string
|
|
14723
14924
|
}
|
|
14724
14925
|
| string
|
|
14725
14926
|
)[]
|
|
14726
14927
|
| (
|
|
14727
14928
|
| {
|
|
14728
|
-
pattern
|
|
14929
|
+
pattern: string
|
|
14930
|
+
|
|
14729
14931
|
flags?: string
|
|
14730
14932
|
}
|
|
14731
14933
|
| string
|
|
14732
14934
|
)
|
|
14733
14935
|
)
|
|
14936
|
+
|
|
14734
14937
|
line?:
|
|
14735
14938
|
| boolean
|
|
14736
14939
|
| (
|
|
14737
14940
|
| (
|
|
14738
14941
|
| {
|
|
14739
|
-
pattern
|
|
14942
|
+
pattern: string
|
|
14943
|
+
|
|
14740
14944
|
flags?: string
|
|
14741
14945
|
}
|
|
14742
14946
|
| string
|
|
14743
14947
|
)[]
|
|
14744
14948
|
| (
|
|
14745
14949
|
| {
|
|
14746
|
-
pattern
|
|
14950
|
+
pattern: string
|
|
14951
|
+
|
|
14747
14952
|
flags?: string
|
|
14748
14953
|
}
|
|
14749
14954
|
| string
|
|
@@ -14760,6 +14965,8 @@ type PerfectionistSortClasses =
|
|
|
14760
14965
|
| string[]
|
|
14761
14966
|
| {
|
|
14762
14967
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14968
|
+
|
|
14969
|
+
commentAbove?: string
|
|
14763
14970
|
}
|
|
14764
14971
|
)[]
|
|
14765
14972
|
},
|
|
@@ -14773,7 +14980,6 @@ type PerfectionistSortDecorators =
|
|
|
14773
14980
|
order?: 'asc' | 'desc'
|
|
14774
14981
|
|
|
14775
14982
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14776
|
-
[k: string]: unknown | undefined
|
|
14777
14983
|
}
|
|
14778
14984
|
|
|
14779
14985
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -14803,14 +15009,16 @@ type PerfectionistSortDecorators =
|
|
|
14803
15009
|
| (
|
|
14804
15010
|
| (
|
|
14805
15011
|
| {
|
|
14806
|
-
pattern
|
|
15012
|
+
pattern: string
|
|
15013
|
+
|
|
14807
15014
|
flags?: string
|
|
14808
15015
|
}
|
|
14809
15016
|
| string
|
|
14810
15017
|
)[]
|
|
14811
15018
|
| (
|
|
14812
15019
|
| {
|
|
14813
|
-
pattern
|
|
15020
|
+
pattern: string
|
|
15021
|
+
|
|
14814
15022
|
flags?: string
|
|
14815
15023
|
}
|
|
14816
15024
|
| string
|
|
@@ -14822,32 +15030,37 @@ type PerfectionistSortDecorators =
|
|
|
14822
15030
|
| (
|
|
14823
15031
|
| (
|
|
14824
15032
|
| {
|
|
14825
|
-
pattern
|
|
15033
|
+
pattern: string
|
|
15034
|
+
|
|
14826
15035
|
flags?: string
|
|
14827
15036
|
}
|
|
14828
15037
|
| string
|
|
14829
15038
|
)[]
|
|
14830
15039
|
| (
|
|
14831
15040
|
| {
|
|
14832
|
-
pattern
|
|
15041
|
+
pattern: string
|
|
15042
|
+
|
|
14833
15043
|
flags?: string
|
|
14834
15044
|
}
|
|
14835
15045
|
| string
|
|
14836
15046
|
)
|
|
14837
15047
|
)
|
|
15048
|
+
|
|
14838
15049
|
line?:
|
|
14839
15050
|
| boolean
|
|
14840
15051
|
| (
|
|
14841
15052
|
| (
|
|
14842
15053
|
| {
|
|
14843
|
-
pattern
|
|
15054
|
+
pattern: string
|
|
15055
|
+
|
|
14844
15056
|
flags?: string
|
|
14845
15057
|
}
|
|
14846
15058
|
| string
|
|
14847
15059
|
)[]
|
|
14848
15060
|
| (
|
|
14849
15061
|
| {
|
|
14850
|
-
pattern
|
|
15062
|
+
pattern: string
|
|
15063
|
+
|
|
14851
15064
|
flags?: string
|
|
14852
15065
|
}
|
|
14853
15066
|
| string
|
|
@@ -14864,6 +15077,8 @@ type PerfectionistSortDecorators =
|
|
|
14864
15077
|
| string[]
|
|
14865
15078
|
| {
|
|
14866
15079
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15080
|
+
|
|
15081
|
+
commentAbove?: string
|
|
14867
15082
|
}
|
|
14868
15083
|
)[]
|
|
14869
15084
|
},
|
|
@@ -14877,7 +15092,6 @@ type PerfectionistSortEnums =
|
|
|
14877
15092
|
order?: 'asc' | 'desc'
|
|
14878
15093
|
|
|
14879
15094
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14880
|
-
[k: string]: unknown | undefined
|
|
14881
15095
|
}
|
|
14882
15096
|
|
|
14883
15097
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -14891,8 +15105,6 @@ type PerfectionistSortEnums =
|
|
|
14891
15105
|
order?: 'asc' | 'desc'
|
|
14892
15106
|
|
|
14893
15107
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14894
|
-
|
|
14895
|
-
forceNumericSort?: boolean
|
|
14896
15108
|
customGroups?:
|
|
14897
15109
|
| {
|
|
14898
15110
|
[k: string]: (string | string[]) | undefined
|
|
@@ -14905,10 +15117,9 @@ type PerfectionistSortEnums =
|
|
|
14905
15117
|
order?: 'asc' | 'desc'
|
|
14906
15118
|
|
|
14907
15119
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14908
|
-
[k: string]: unknown | undefined
|
|
14909
15120
|
}
|
|
14910
15121
|
|
|
14911
|
-
groupName
|
|
15122
|
+
groupName: string
|
|
14912
15123
|
|
|
14913
15124
|
order?: 'asc' | 'desc'
|
|
14914
15125
|
|
|
@@ -14917,14 +15128,16 @@ type PerfectionistSortEnums =
|
|
|
14917
15128
|
elementValuePattern?:
|
|
14918
15129
|
| (
|
|
14919
15130
|
| {
|
|
14920
|
-
pattern
|
|
15131
|
+
pattern: string
|
|
15132
|
+
|
|
14921
15133
|
flags?: string
|
|
14922
15134
|
}
|
|
14923
15135
|
| string
|
|
14924
15136
|
)[]
|
|
14925
15137
|
| (
|
|
14926
15138
|
| {
|
|
14927
|
-
pattern
|
|
15139
|
+
pattern: string
|
|
15140
|
+
|
|
14928
15141
|
flags?: string
|
|
14929
15142
|
}
|
|
14930
15143
|
| string
|
|
@@ -14933,14 +15146,16 @@ type PerfectionistSortEnums =
|
|
|
14933
15146
|
elementNamePattern?:
|
|
14934
15147
|
| (
|
|
14935
15148
|
| {
|
|
14936
|
-
pattern
|
|
15149
|
+
pattern: string
|
|
15150
|
+
|
|
14937
15151
|
flags?: string
|
|
14938
15152
|
}
|
|
14939
15153
|
| string
|
|
14940
15154
|
)[]
|
|
14941
15155
|
| (
|
|
14942
15156
|
| {
|
|
14943
|
-
pattern
|
|
15157
|
+
pattern: string
|
|
15158
|
+
|
|
14944
15159
|
flags?: string
|
|
14945
15160
|
}
|
|
14946
15161
|
| string
|
|
@@ -14954,10 +15169,9 @@ type PerfectionistSortEnums =
|
|
|
14954
15169
|
order?: 'asc' | 'desc'
|
|
14955
15170
|
|
|
14956
15171
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
14957
|
-
[k: string]: unknown | undefined
|
|
14958
15172
|
}
|
|
14959
15173
|
|
|
14960
|
-
groupName
|
|
15174
|
+
groupName: string
|
|
14961
15175
|
|
|
14962
15176
|
order?: 'asc' | 'desc'
|
|
14963
15177
|
|
|
@@ -14966,14 +15180,16 @@ type PerfectionistSortEnums =
|
|
|
14966
15180
|
elementValuePattern?:
|
|
14967
15181
|
| (
|
|
14968
15182
|
| {
|
|
14969
|
-
pattern
|
|
15183
|
+
pattern: string
|
|
15184
|
+
|
|
14970
15185
|
flags?: string
|
|
14971
15186
|
}
|
|
14972
15187
|
| string
|
|
14973
15188
|
)[]
|
|
14974
15189
|
| (
|
|
14975
15190
|
| {
|
|
14976
|
-
pattern
|
|
15191
|
+
pattern: string
|
|
15192
|
+
|
|
14977
15193
|
flags?: string
|
|
14978
15194
|
}
|
|
14979
15195
|
| string
|
|
@@ -14982,14 +15198,16 @@ type PerfectionistSortEnums =
|
|
|
14982
15198
|
elementNamePattern?:
|
|
14983
15199
|
| (
|
|
14984
15200
|
| {
|
|
14985
|
-
pattern
|
|
15201
|
+
pattern: string
|
|
15202
|
+
|
|
14986
15203
|
flags?: string
|
|
14987
15204
|
}
|
|
14988
15205
|
| string
|
|
14989
15206
|
)[]
|
|
14990
15207
|
| (
|
|
14991
15208
|
| {
|
|
14992
|
-
pattern
|
|
15209
|
+
pattern: string
|
|
15210
|
+
|
|
14993
15211
|
flags?: string
|
|
14994
15212
|
}
|
|
14995
15213
|
| string
|
|
@@ -14997,6 +15215,8 @@ type PerfectionistSortEnums =
|
|
|
14997
15215
|
}
|
|
14998
15216
|
)[]
|
|
14999
15217
|
|
|
15218
|
+
forceNumericSort?: boolean
|
|
15219
|
+
|
|
15000
15220
|
sortByValue?: boolean
|
|
15001
15221
|
|
|
15002
15222
|
partitionByComment?:
|
|
@@ -15004,14 +15224,16 @@ type PerfectionistSortEnums =
|
|
|
15004
15224
|
| (
|
|
15005
15225
|
| (
|
|
15006
15226
|
| {
|
|
15007
|
-
pattern
|
|
15227
|
+
pattern: string
|
|
15228
|
+
|
|
15008
15229
|
flags?: string
|
|
15009
15230
|
}
|
|
15010
15231
|
| string
|
|
15011
15232
|
)[]
|
|
15012
15233
|
| (
|
|
15013
15234
|
| {
|
|
15014
|
-
pattern
|
|
15235
|
+
pattern: string
|
|
15236
|
+
|
|
15015
15237
|
flags?: string
|
|
15016
15238
|
}
|
|
15017
15239
|
| string
|
|
@@ -15023,32 +15245,37 @@ type PerfectionistSortEnums =
|
|
|
15023
15245
|
| (
|
|
15024
15246
|
| (
|
|
15025
15247
|
| {
|
|
15026
|
-
pattern
|
|
15248
|
+
pattern: string
|
|
15249
|
+
|
|
15027
15250
|
flags?: string
|
|
15028
15251
|
}
|
|
15029
15252
|
| string
|
|
15030
15253
|
)[]
|
|
15031
15254
|
| (
|
|
15032
15255
|
| {
|
|
15033
|
-
pattern
|
|
15256
|
+
pattern: string
|
|
15257
|
+
|
|
15034
15258
|
flags?: string
|
|
15035
15259
|
}
|
|
15036
15260
|
| string
|
|
15037
15261
|
)
|
|
15038
15262
|
)
|
|
15263
|
+
|
|
15039
15264
|
line?:
|
|
15040
15265
|
| boolean
|
|
15041
15266
|
| (
|
|
15042
15267
|
| (
|
|
15043
15268
|
| {
|
|
15044
|
-
pattern
|
|
15269
|
+
pattern: string
|
|
15270
|
+
|
|
15045
15271
|
flags?: string
|
|
15046
15272
|
}
|
|
15047
15273
|
| string
|
|
15048
15274
|
)[]
|
|
15049
15275
|
| (
|
|
15050
15276
|
| {
|
|
15051
|
-
pattern
|
|
15277
|
+
pattern: string
|
|
15278
|
+
|
|
15052
15279
|
flags?: string
|
|
15053
15280
|
}
|
|
15054
15281
|
| string
|
|
@@ -15065,6 +15292,8 @@ type PerfectionistSortEnums =
|
|
|
15065
15292
|
| string[]
|
|
15066
15293
|
| {
|
|
15067
15294
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15295
|
+
|
|
15296
|
+
commentAbove?: string
|
|
15068
15297
|
}
|
|
15069
15298
|
)[]
|
|
15070
15299
|
},
|
|
@@ -15075,7 +15304,6 @@ type PerfectionistSortExports = {
|
|
|
15075
15304
|
order?: 'asc' | 'desc'
|
|
15076
15305
|
|
|
15077
15306
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15078
|
-
[k: string]: unknown | undefined
|
|
15079
15307
|
}
|
|
15080
15308
|
|
|
15081
15309
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -15100,10 +15328,9 @@ type PerfectionistSortExports = {
|
|
|
15100
15328
|
order?: 'asc' | 'desc'
|
|
15101
15329
|
|
|
15102
15330
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15103
|
-
[k: string]: unknown | undefined
|
|
15104
15331
|
}
|
|
15105
15332
|
|
|
15106
|
-
groupName
|
|
15333
|
+
groupName: string
|
|
15107
15334
|
|
|
15108
15335
|
order?: 'asc' | 'desc'
|
|
15109
15336
|
|
|
@@ -15116,14 +15343,16 @@ type PerfectionistSortExports = {
|
|
|
15116
15343
|
elementNamePattern?:
|
|
15117
15344
|
| (
|
|
15118
15345
|
| {
|
|
15119
|
-
pattern
|
|
15346
|
+
pattern: string
|
|
15347
|
+
|
|
15120
15348
|
flags?: string
|
|
15121
15349
|
}
|
|
15122
15350
|
| string
|
|
15123
15351
|
)[]
|
|
15124
15352
|
| (
|
|
15125
15353
|
| {
|
|
15126
|
-
pattern
|
|
15354
|
+
pattern: string
|
|
15355
|
+
|
|
15127
15356
|
flags?: string
|
|
15128
15357
|
}
|
|
15129
15358
|
| string
|
|
@@ -15137,10 +15366,9 @@ type PerfectionistSortExports = {
|
|
|
15137
15366
|
order?: 'asc' | 'desc'
|
|
15138
15367
|
|
|
15139
15368
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15140
|
-
[k: string]: unknown | undefined
|
|
15141
15369
|
}
|
|
15142
15370
|
|
|
15143
|
-
groupName
|
|
15371
|
+
groupName: string
|
|
15144
15372
|
|
|
15145
15373
|
order?: 'asc' | 'desc'
|
|
15146
15374
|
|
|
@@ -15153,14 +15381,16 @@ type PerfectionistSortExports = {
|
|
|
15153
15381
|
elementNamePattern?:
|
|
15154
15382
|
| (
|
|
15155
15383
|
| {
|
|
15156
|
-
pattern
|
|
15384
|
+
pattern: string
|
|
15385
|
+
|
|
15157
15386
|
flags?: string
|
|
15158
15387
|
}
|
|
15159
15388
|
| string
|
|
15160
15389
|
)[]
|
|
15161
15390
|
| (
|
|
15162
15391
|
| {
|
|
15163
|
-
pattern
|
|
15392
|
+
pattern: string
|
|
15393
|
+
|
|
15164
15394
|
flags?: string
|
|
15165
15395
|
}
|
|
15166
15396
|
| string
|
|
@@ -15173,14 +15403,16 @@ type PerfectionistSortExports = {
|
|
|
15173
15403
|
| (
|
|
15174
15404
|
| (
|
|
15175
15405
|
| {
|
|
15176
|
-
pattern
|
|
15406
|
+
pattern: string
|
|
15407
|
+
|
|
15177
15408
|
flags?: string
|
|
15178
15409
|
}
|
|
15179
15410
|
| string
|
|
15180
15411
|
)[]
|
|
15181
15412
|
| (
|
|
15182
15413
|
| {
|
|
15183
|
-
pattern
|
|
15414
|
+
pattern: string
|
|
15415
|
+
|
|
15184
15416
|
flags?: string
|
|
15185
15417
|
}
|
|
15186
15418
|
| string
|
|
@@ -15192,32 +15424,37 @@ type PerfectionistSortExports = {
|
|
|
15192
15424
|
| (
|
|
15193
15425
|
| (
|
|
15194
15426
|
| {
|
|
15195
|
-
pattern
|
|
15427
|
+
pattern: string
|
|
15428
|
+
|
|
15196
15429
|
flags?: string
|
|
15197
15430
|
}
|
|
15198
15431
|
| string
|
|
15199
15432
|
)[]
|
|
15200
15433
|
| (
|
|
15201
15434
|
| {
|
|
15202
|
-
pattern
|
|
15435
|
+
pattern: string
|
|
15436
|
+
|
|
15203
15437
|
flags?: string
|
|
15204
15438
|
}
|
|
15205
15439
|
| string
|
|
15206
15440
|
)
|
|
15207
15441
|
)
|
|
15442
|
+
|
|
15208
15443
|
line?:
|
|
15209
15444
|
| boolean
|
|
15210
15445
|
| (
|
|
15211
15446
|
| (
|
|
15212
15447
|
| {
|
|
15213
|
-
pattern
|
|
15448
|
+
pattern: string
|
|
15449
|
+
|
|
15214
15450
|
flags?: string
|
|
15215
15451
|
}
|
|
15216
15452
|
| string
|
|
15217
15453
|
)[]
|
|
15218
15454
|
| (
|
|
15219
15455
|
| {
|
|
15220
|
-
pattern
|
|
15456
|
+
pattern: string
|
|
15457
|
+
|
|
15221
15458
|
flags?: string
|
|
15222
15459
|
}
|
|
15223
15460
|
| string
|
|
@@ -15234,6 +15471,8 @@ type PerfectionistSortExports = {
|
|
|
15234
15471
|
| string[]
|
|
15235
15472
|
| {
|
|
15236
15473
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15474
|
+
|
|
15475
|
+
commentAbove?: string
|
|
15237
15476
|
}
|
|
15238
15477
|
)[]
|
|
15239
15478
|
}[]
|
|
@@ -15246,7 +15485,6 @@ type PerfectionistSortHeritageClauses =
|
|
|
15246
15485
|
order?: 'asc' | 'desc'
|
|
15247
15486
|
|
|
15248
15487
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15249
|
-
[k: string]: unknown | undefined
|
|
15250
15488
|
}
|
|
15251
15489
|
|
|
15252
15490
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -15270,17 +15508,18 @@ type PerfectionistSortHeritageClauses =
|
|
|
15270
15508
|
| string[]
|
|
15271
15509
|
| {
|
|
15272
15510
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15511
|
+
|
|
15512
|
+
commentAbove?: string
|
|
15273
15513
|
}
|
|
15274
15514
|
)[]
|
|
15275
15515
|
},
|
|
15276
15516
|
]
|
|
15277
|
-
// ----- perfectionist/sort-
|
|
15278
|
-
type
|
|
15517
|
+
// ----- perfectionist/sort-imports -----
|
|
15518
|
+
type PerfectionistSortImports = {
|
|
15279
15519
|
fallbackSort?: {
|
|
15280
15520
|
order?: 'asc' | 'desc'
|
|
15281
15521
|
|
|
15282
15522
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15283
|
-
[k: string]: unknown | undefined
|
|
15284
15523
|
}
|
|
15285
15524
|
|
|
15286
15525
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -15296,7 +15535,13 @@ type PerfectionistSortInterfaces = {
|
|
|
15296
15535
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15297
15536
|
customGroups?:
|
|
15298
15537
|
| {
|
|
15299
|
-
|
|
15538
|
+
value?: {
|
|
15539
|
+
[k: string]: (string | string[]) | undefined
|
|
15540
|
+
}
|
|
15541
|
+
|
|
15542
|
+
type?: {
|
|
15543
|
+
[k: string]: (string | string[]) | undefined
|
|
15544
|
+
}
|
|
15300
15545
|
}
|
|
15301
15546
|
| (
|
|
15302
15547
|
| {
|
|
@@ -15306,31 +15551,53 @@ type PerfectionistSortInterfaces = {
|
|
|
15306
15551
|
order?: 'asc' | 'desc'
|
|
15307
15552
|
|
|
15308
15553
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15309
|
-
sortBy?: 'name' | 'value'
|
|
15310
|
-
[k: string]: unknown | undefined
|
|
15311
15554
|
}
|
|
15312
15555
|
|
|
15313
|
-
groupName
|
|
15556
|
+
groupName: string
|
|
15314
15557
|
|
|
15315
15558
|
order?: 'asc' | 'desc'
|
|
15316
15559
|
|
|
15317
15560
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15318
15561
|
anyOf?: {
|
|
15319
|
-
modifiers?: (
|
|
15562
|
+
modifiers?: (
|
|
15563
|
+
| 'default'
|
|
15564
|
+
| 'named'
|
|
15565
|
+
| 'require'
|
|
15566
|
+
| 'side-effect'
|
|
15567
|
+
| 'ts-equals'
|
|
15568
|
+
| 'type'
|
|
15569
|
+
| 'value'
|
|
15570
|
+
| 'wildcard'
|
|
15571
|
+
)[]
|
|
15320
15572
|
|
|
15321
|
-
selector?:
|
|
15573
|
+
selector?:
|
|
15574
|
+
| 'side-effect-style'
|
|
15575
|
+
| 'tsconfig-path'
|
|
15576
|
+
| 'side-effect'
|
|
15577
|
+
| 'external'
|
|
15578
|
+
| 'internal'
|
|
15579
|
+
| 'builtin'
|
|
15580
|
+
| 'sibling'
|
|
15581
|
+
| 'subpath'
|
|
15582
|
+
| 'import'
|
|
15583
|
+
| 'parent'
|
|
15584
|
+
| 'index'
|
|
15585
|
+
| 'style'
|
|
15586
|
+
| 'type'
|
|
15322
15587
|
|
|
15323
15588
|
elementValuePattern?:
|
|
15324
15589
|
| (
|
|
15325
15590
|
| {
|
|
15326
|
-
pattern
|
|
15591
|
+
pattern: string
|
|
15592
|
+
|
|
15327
15593
|
flags?: string
|
|
15328
15594
|
}
|
|
15329
15595
|
| string
|
|
15330
15596
|
)[]
|
|
15331
15597
|
| (
|
|
15332
15598
|
| {
|
|
15333
|
-
pattern
|
|
15599
|
+
pattern: string
|
|
15600
|
+
|
|
15334
15601
|
flags?: string
|
|
15335
15602
|
}
|
|
15336
15603
|
| string
|
|
@@ -15339,19 +15606,20 @@ type PerfectionistSortInterfaces = {
|
|
|
15339
15606
|
elementNamePattern?:
|
|
15340
15607
|
| (
|
|
15341
15608
|
| {
|
|
15342
|
-
pattern
|
|
15609
|
+
pattern: string
|
|
15610
|
+
|
|
15343
15611
|
flags?: string
|
|
15344
15612
|
}
|
|
15345
15613
|
| string
|
|
15346
15614
|
)[]
|
|
15347
15615
|
| (
|
|
15348
15616
|
| {
|
|
15349
|
-
pattern
|
|
15617
|
+
pattern: string
|
|
15618
|
+
|
|
15350
15619
|
flags?: string
|
|
15351
15620
|
}
|
|
15352
15621
|
| string
|
|
15353
15622
|
)
|
|
15354
|
-
sortBy?: 'name' | 'value'
|
|
15355
15623
|
}[]
|
|
15356
15624
|
}
|
|
15357
15625
|
| {
|
|
@@ -15361,31 +15629,53 @@ type PerfectionistSortInterfaces = {
|
|
|
15361
15629
|
order?: 'asc' | 'desc'
|
|
15362
15630
|
|
|
15363
15631
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15364
|
-
sortBy?: 'name' | 'value'
|
|
15365
|
-
[k: string]: unknown | undefined
|
|
15366
15632
|
}
|
|
15367
15633
|
|
|
15368
|
-
groupName
|
|
15634
|
+
groupName: string
|
|
15369
15635
|
|
|
15370
15636
|
order?: 'asc' | 'desc'
|
|
15371
15637
|
|
|
15372
15638
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15373
15639
|
|
|
15374
|
-
modifiers?: (
|
|
15375
|
-
|
|
15376
|
-
|
|
15640
|
+
modifiers?: (
|
|
15641
|
+
| 'default'
|
|
15642
|
+
| 'named'
|
|
15643
|
+
| 'require'
|
|
15644
|
+
| 'side-effect'
|
|
15645
|
+
| 'ts-equals'
|
|
15646
|
+
| 'type'
|
|
15647
|
+
| 'value'
|
|
15648
|
+
| 'wildcard'
|
|
15649
|
+
)[]
|
|
15650
|
+
|
|
15651
|
+
selector?:
|
|
15652
|
+
| 'side-effect-style'
|
|
15653
|
+
| 'tsconfig-path'
|
|
15654
|
+
| 'side-effect'
|
|
15655
|
+
| 'external'
|
|
15656
|
+
| 'internal'
|
|
15657
|
+
| 'builtin'
|
|
15658
|
+
| 'sibling'
|
|
15659
|
+
| 'subpath'
|
|
15660
|
+
| 'import'
|
|
15661
|
+
| 'parent'
|
|
15662
|
+
| 'index'
|
|
15663
|
+
| 'style'
|
|
15664
|
+
| 'type'
|
|
15377
15665
|
|
|
15378
15666
|
elementValuePattern?:
|
|
15379
15667
|
| (
|
|
15380
15668
|
| {
|
|
15381
|
-
pattern
|
|
15669
|
+
pattern: string
|
|
15670
|
+
|
|
15382
15671
|
flags?: string
|
|
15383
15672
|
}
|
|
15384
15673
|
| string
|
|
15385
15674
|
)[]
|
|
15386
15675
|
| (
|
|
15387
15676
|
| {
|
|
15388
|
-
pattern
|
|
15677
|
+
pattern: string
|
|
15678
|
+
|
|
15389
15679
|
flags?: string
|
|
15390
15680
|
}
|
|
15391
15681
|
| string
|
|
@@ -15394,70 +15684,51 @@ type PerfectionistSortInterfaces = {
|
|
|
15394
15684
|
elementNamePattern?:
|
|
15395
15685
|
| (
|
|
15396
15686
|
| {
|
|
15397
|
-
pattern
|
|
15687
|
+
pattern: string
|
|
15688
|
+
|
|
15398
15689
|
flags?: string
|
|
15399
15690
|
}
|
|
15400
15691
|
| string
|
|
15401
15692
|
)[]
|
|
15402
15693
|
| (
|
|
15403
15694
|
| {
|
|
15404
|
-
pattern
|
|
15695
|
+
pattern: string
|
|
15696
|
+
|
|
15405
15697
|
flags?: string
|
|
15406
15698
|
}
|
|
15407
15699
|
| string
|
|
15408
15700
|
)
|
|
15409
|
-
sortBy?: 'name' | 'value'
|
|
15410
15701
|
}
|
|
15411
15702
|
)[]
|
|
15703
|
+
tsconfig?: {
|
|
15704
|
+
rootDir: string
|
|
15412
15705
|
|
|
15413
|
-
|
|
15414
|
-
useConfigurationIf?: {
|
|
15415
|
-
allNamesMatchPattern?:
|
|
15416
|
-
| (
|
|
15417
|
-
| {
|
|
15418
|
-
pattern?: string
|
|
15419
|
-
flags?: string
|
|
15420
|
-
}
|
|
15421
|
-
| string
|
|
15422
|
-
)[]
|
|
15423
|
-
| (
|
|
15424
|
-
| {
|
|
15425
|
-
pattern?: string
|
|
15426
|
-
flags?: string
|
|
15427
|
-
}
|
|
15428
|
-
| string
|
|
15429
|
-
)
|
|
15430
|
-
|
|
15431
|
-
declarationMatchesPattern?:
|
|
15432
|
-
| (
|
|
15433
|
-
| {
|
|
15434
|
-
pattern?: string
|
|
15435
|
-
flags?: string
|
|
15436
|
-
}
|
|
15437
|
-
| string
|
|
15438
|
-
)[]
|
|
15439
|
-
| (
|
|
15440
|
-
| {
|
|
15441
|
-
pattern?: string
|
|
15442
|
-
flags?: string
|
|
15443
|
-
}
|
|
15444
|
-
| string
|
|
15445
|
-
)
|
|
15706
|
+
filename?: string
|
|
15446
15707
|
}
|
|
15447
15708
|
|
|
15709
|
+
maxLineLength?: number
|
|
15710
|
+
|
|
15711
|
+
sortSideEffects?: boolean
|
|
15712
|
+
|
|
15713
|
+
environment?: 'node' | 'bun'
|
|
15714
|
+
|
|
15715
|
+
tsconfigRootDir?: string
|
|
15716
|
+
|
|
15448
15717
|
partitionByComment?:
|
|
15449
15718
|
| boolean
|
|
15450
15719
|
| (
|
|
15451
15720
|
| (
|
|
15452
15721
|
| {
|
|
15453
|
-
pattern
|
|
15722
|
+
pattern: string
|
|
15723
|
+
|
|
15454
15724
|
flags?: string
|
|
15455
15725
|
}
|
|
15456
15726
|
| string
|
|
15457
15727
|
)[]
|
|
15458
15728
|
| (
|
|
15459
15729
|
| {
|
|
15460
|
-
pattern
|
|
15730
|
+
pattern: string
|
|
15731
|
+
|
|
15461
15732
|
flags?: string
|
|
15462
15733
|
}
|
|
15463
15734
|
| string
|
|
@@ -15469,32 +15740,37 @@ type PerfectionistSortInterfaces = {
|
|
|
15469
15740
|
| (
|
|
15470
15741
|
| (
|
|
15471
15742
|
| {
|
|
15472
|
-
pattern
|
|
15743
|
+
pattern: string
|
|
15744
|
+
|
|
15473
15745
|
flags?: string
|
|
15474
15746
|
}
|
|
15475
15747
|
| string
|
|
15476
15748
|
)[]
|
|
15477
15749
|
| (
|
|
15478
15750
|
| {
|
|
15479
|
-
pattern
|
|
15751
|
+
pattern: string
|
|
15752
|
+
|
|
15480
15753
|
flags?: string
|
|
15481
15754
|
}
|
|
15482
15755
|
| string
|
|
15483
15756
|
)
|
|
15484
15757
|
)
|
|
15758
|
+
|
|
15485
15759
|
line?:
|
|
15486
15760
|
| boolean
|
|
15487
15761
|
| (
|
|
15488
15762
|
| (
|
|
15489
15763
|
| {
|
|
15490
|
-
pattern
|
|
15764
|
+
pattern: string
|
|
15765
|
+
|
|
15491
15766
|
flags?: string
|
|
15492
15767
|
}
|
|
15493
15768
|
| string
|
|
15494
15769
|
)[]
|
|
15495
15770
|
| (
|
|
15496
15771
|
| {
|
|
15497
|
-
pattern
|
|
15772
|
+
pattern: string
|
|
15773
|
+
|
|
15498
15774
|
flags?: string
|
|
15499
15775
|
}
|
|
15500
15776
|
| string
|
|
@@ -15506,132 +15782,515 @@ type PerfectionistSortInterfaces = {
|
|
|
15506
15782
|
|
|
15507
15783
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15508
15784
|
|
|
15509
|
-
|
|
15785
|
+
internalPattern?:
|
|
15510
15786
|
| (
|
|
15511
15787
|
| {
|
|
15512
|
-
pattern
|
|
15788
|
+
pattern: string
|
|
15789
|
+
|
|
15513
15790
|
flags?: string
|
|
15514
15791
|
}
|
|
15515
15792
|
| string
|
|
15516
15793
|
)[]
|
|
15517
15794
|
| (
|
|
15518
15795
|
| {
|
|
15519
|
-
pattern
|
|
15796
|
+
pattern: string
|
|
15797
|
+
|
|
15520
15798
|
flags?: string
|
|
15521
15799
|
}
|
|
15522
15800
|
| string
|
|
15523
15801
|
)
|
|
15524
|
-
sortBy?: 'name' | 'value'
|
|
15525
15802
|
|
|
15526
15803
|
groups?: (
|
|
15527
15804
|
| string
|
|
15528
15805
|
| string[]
|
|
15529
15806
|
| {
|
|
15530
15807
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15808
|
+
|
|
15809
|
+
commentAbove?: string
|
|
15531
15810
|
}
|
|
15532
15811
|
)[]
|
|
15533
15812
|
}[]
|
|
15534
|
-
// ----- perfectionist/sort-
|
|
15535
|
-
type
|
|
15536
|
-
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15813
|
+
// ----- perfectionist/sort-interfaces -----
|
|
15814
|
+
type PerfectionistSortInterfaces = {
|
|
15815
|
+
fallbackSort?: {
|
|
15816
|
+
order?: 'asc' | 'desc'
|
|
15817
|
+
|
|
15818
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15819
|
+
sortBy?: 'name' | 'value'
|
|
15820
|
+
}
|
|
15821
|
+
|
|
15822
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
15823
|
+
|
|
15824
|
+
ignoreCase?: boolean
|
|
15825
|
+
|
|
15826
|
+
alphabet?: string
|
|
15827
|
+
|
|
15828
|
+
locales?: string | string[]
|
|
15829
|
+
|
|
15830
|
+
order?: 'asc' | 'desc'
|
|
15831
|
+
|
|
15832
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15833
|
+
customGroups?:
|
|
15834
|
+
| {
|
|
15835
|
+
[k: string]: (string | string[]) | undefined
|
|
15836
|
+
}
|
|
15837
|
+
| (
|
|
15838
|
+
| {
|
|
15839
|
+
newlinesInside?: 'always' | 'never'
|
|
15840
|
+
|
|
15841
|
+
fallbackSort?: {
|
|
15842
|
+
order?: 'asc' | 'desc'
|
|
15843
|
+
|
|
15844
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15845
|
+
sortBy?: 'name' | 'value'
|
|
15846
|
+
}
|
|
15847
|
+
|
|
15848
|
+
groupName: string
|
|
15849
|
+
|
|
15850
|
+
order?: 'asc' | 'desc'
|
|
15851
|
+
|
|
15852
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15853
|
+
anyOf?: {
|
|
15854
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
15855
|
+
|
|
15856
|
+
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
15857
|
+
|
|
15858
|
+
elementValuePattern?:
|
|
15859
|
+
| (
|
|
15860
|
+
| {
|
|
15861
|
+
pattern: string
|
|
15862
|
+
|
|
15863
|
+
flags?: string
|
|
15864
|
+
}
|
|
15865
|
+
| string
|
|
15866
|
+
)[]
|
|
15867
|
+
| (
|
|
15868
|
+
| {
|
|
15869
|
+
pattern: string
|
|
15870
|
+
|
|
15871
|
+
flags?: string
|
|
15872
|
+
}
|
|
15873
|
+
| string
|
|
15874
|
+
)
|
|
15875
|
+
|
|
15876
|
+
elementNamePattern?:
|
|
15877
|
+
| (
|
|
15878
|
+
| {
|
|
15879
|
+
pattern: string
|
|
15880
|
+
|
|
15881
|
+
flags?: string
|
|
15882
|
+
}
|
|
15883
|
+
| string
|
|
15884
|
+
)[]
|
|
15885
|
+
| (
|
|
15886
|
+
| {
|
|
15887
|
+
pattern: string
|
|
15888
|
+
|
|
15889
|
+
flags?: string
|
|
15890
|
+
}
|
|
15891
|
+
| string
|
|
15892
|
+
)
|
|
15893
|
+
sortBy?: 'name' | 'value'
|
|
15894
|
+
}[]
|
|
15895
|
+
}
|
|
15896
|
+
| {
|
|
15897
|
+
newlinesInside?: 'always' | 'never'
|
|
15898
|
+
|
|
15899
|
+
fallbackSort?: {
|
|
15900
|
+
order?: 'asc' | 'desc'
|
|
15901
|
+
|
|
15902
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15903
|
+
sortBy?: 'name' | 'value'
|
|
15904
|
+
}
|
|
15905
|
+
|
|
15906
|
+
groupName: string
|
|
15907
|
+
|
|
15908
|
+
order?: 'asc' | 'desc'
|
|
15909
|
+
|
|
15910
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15911
|
+
|
|
15912
|
+
modifiers?: ('optional' | 'required' | 'multiline')[]
|
|
15913
|
+
|
|
15914
|
+
selector?: 'index-signature' | 'member' | 'method' | 'multiline' | 'property'
|
|
15915
|
+
|
|
15916
|
+
elementValuePattern?:
|
|
15917
|
+
| (
|
|
15918
|
+
| {
|
|
15919
|
+
pattern: string
|
|
15920
|
+
|
|
15921
|
+
flags?: string
|
|
15922
|
+
}
|
|
15923
|
+
| string
|
|
15924
|
+
)[]
|
|
15925
|
+
| (
|
|
15926
|
+
| {
|
|
15927
|
+
pattern: string
|
|
15928
|
+
|
|
15929
|
+
flags?: string
|
|
15930
|
+
}
|
|
15931
|
+
| string
|
|
15932
|
+
)
|
|
15933
|
+
|
|
15934
|
+
elementNamePattern?:
|
|
15935
|
+
| (
|
|
15936
|
+
| {
|
|
15937
|
+
pattern: string
|
|
15938
|
+
|
|
15939
|
+
flags?: string
|
|
15940
|
+
}
|
|
15941
|
+
| string
|
|
15942
|
+
)[]
|
|
15943
|
+
| (
|
|
15944
|
+
| {
|
|
15945
|
+
pattern: string
|
|
15946
|
+
|
|
15947
|
+
flags?: string
|
|
15948
|
+
}
|
|
15949
|
+
| string
|
|
15950
|
+
)
|
|
15951
|
+
sortBy?: 'name' | 'value'
|
|
15952
|
+
}
|
|
15953
|
+
)[]
|
|
15954
|
+
|
|
15955
|
+
groupKind?: 'mixed' | 'required-first' | 'optional-first'
|
|
15956
|
+
|
|
15957
|
+
useConfigurationIf?: {
|
|
15958
|
+
allNamesMatchPattern?:
|
|
15959
|
+
| (
|
|
15960
|
+
| {
|
|
15961
|
+
pattern: string
|
|
15962
|
+
|
|
15963
|
+
flags?: string
|
|
15964
|
+
}
|
|
15965
|
+
| string
|
|
15966
|
+
)[]
|
|
15967
|
+
| (
|
|
15968
|
+
| {
|
|
15969
|
+
pattern: string
|
|
15970
|
+
|
|
15971
|
+
flags?: string
|
|
15972
|
+
}
|
|
15973
|
+
| string
|
|
15974
|
+
)
|
|
15975
|
+
|
|
15976
|
+
declarationMatchesPattern?:
|
|
15977
|
+
| (
|
|
15978
|
+
| {
|
|
15979
|
+
pattern: string
|
|
15980
|
+
|
|
15981
|
+
flags?: string
|
|
15982
|
+
}
|
|
15983
|
+
| string
|
|
15984
|
+
)[]
|
|
15985
|
+
| (
|
|
15986
|
+
| {
|
|
15987
|
+
pattern: string
|
|
15988
|
+
|
|
15989
|
+
flags?: string
|
|
15990
|
+
}
|
|
15991
|
+
| string
|
|
15992
|
+
)
|
|
15993
|
+
}
|
|
15994
|
+
|
|
15995
|
+
partitionByComment?:
|
|
15996
|
+
| boolean
|
|
15997
|
+
| (
|
|
15998
|
+
| (
|
|
15999
|
+
| {
|
|
16000
|
+
pattern: string
|
|
16001
|
+
|
|
16002
|
+
flags?: string
|
|
16003
|
+
}
|
|
16004
|
+
| string
|
|
16005
|
+
)[]
|
|
16006
|
+
| (
|
|
16007
|
+
| {
|
|
16008
|
+
pattern: string
|
|
16009
|
+
|
|
16010
|
+
flags?: string
|
|
16011
|
+
}
|
|
16012
|
+
| string
|
|
16013
|
+
)
|
|
16014
|
+
)
|
|
16015
|
+
| {
|
|
16016
|
+
block?:
|
|
16017
|
+
| boolean
|
|
16018
|
+
| (
|
|
16019
|
+
| (
|
|
16020
|
+
| {
|
|
16021
|
+
pattern: string
|
|
16022
|
+
|
|
16023
|
+
flags?: string
|
|
16024
|
+
}
|
|
16025
|
+
| string
|
|
16026
|
+
)[]
|
|
16027
|
+
| (
|
|
16028
|
+
| {
|
|
16029
|
+
pattern: string
|
|
16030
|
+
|
|
16031
|
+
flags?: string
|
|
16032
|
+
}
|
|
16033
|
+
| string
|
|
16034
|
+
)
|
|
16035
|
+
)
|
|
16036
|
+
|
|
16037
|
+
line?:
|
|
16038
|
+
| boolean
|
|
16039
|
+
| (
|
|
16040
|
+
| (
|
|
16041
|
+
| {
|
|
16042
|
+
pattern: string
|
|
16043
|
+
|
|
16044
|
+
flags?: string
|
|
16045
|
+
}
|
|
16046
|
+
| string
|
|
16047
|
+
)[]
|
|
16048
|
+
| (
|
|
16049
|
+
| {
|
|
16050
|
+
pattern: string
|
|
16051
|
+
|
|
16052
|
+
flags?: string
|
|
16053
|
+
}
|
|
16054
|
+
| string
|
|
16055
|
+
)
|
|
16056
|
+
)
|
|
16057
|
+
}
|
|
16058
|
+
|
|
16059
|
+
partitionByNewLine?: boolean
|
|
16060
|
+
|
|
16061
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16062
|
+
|
|
16063
|
+
ignorePattern?:
|
|
16064
|
+
| (
|
|
16065
|
+
| {
|
|
16066
|
+
pattern: string
|
|
16067
|
+
|
|
16068
|
+
flags?: string
|
|
16069
|
+
}
|
|
16070
|
+
| string
|
|
16071
|
+
)[]
|
|
16072
|
+
| (
|
|
16073
|
+
| {
|
|
16074
|
+
pattern: string
|
|
16075
|
+
|
|
16076
|
+
flags?: string
|
|
16077
|
+
}
|
|
16078
|
+
| string
|
|
16079
|
+
)
|
|
16080
|
+
sortBy?: 'name' | 'value'
|
|
16081
|
+
|
|
16082
|
+
groups?: (
|
|
16083
|
+
| string
|
|
16084
|
+
| string[]
|
|
16085
|
+
| {
|
|
16086
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16087
|
+
|
|
16088
|
+
commentAbove?: string
|
|
16089
|
+
}
|
|
16090
|
+
)[]
|
|
16091
|
+
}[]
|
|
16092
|
+
// ----- perfectionist/sort-intersection-types -----
|
|
16093
|
+
type PerfectionistSortIntersectionTypes = {
|
|
16094
|
+
fallbackSort?: {
|
|
16095
|
+
order?: 'asc' | 'desc'
|
|
16096
|
+
|
|
16097
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16098
|
+
}
|
|
16099
|
+
|
|
16100
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
16101
|
+
|
|
16102
|
+
ignoreCase?: boolean
|
|
16103
|
+
|
|
16104
|
+
alphabet?: string
|
|
16105
|
+
|
|
16106
|
+
locales?: string | string[]
|
|
16107
|
+
|
|
16108
|
+
order?: 'asc' | 'desc'
|
|
16109
|
+
|
|
16110
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16111
|
+
|
|
16112
|
+
customGroups?: (
|
|
16113
|
+
| {
|
|
16114
|
+
newlinesInside?: 'always' | 'never'
|
|
16115
|
+
|
|
16116
|
+
fallbackSort?: {
|
|
16117
|
+
order?: 'asc' | 'desc'
|
|
16118
|
+
|
|
16119
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15544
16120
|
}
|
|
15545
16121
|
|
|
15546
|
-
|
|
16122
|
+
groupName: string
|
|
15547
16123
|
|
|
15548
|
-
|
|
16124
|
+
order?: 'asc' | 'desc'
|
|
15549
16125
|
|
|
15550
|
-
|
|
16126
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16127
|
+
anyOf?: {
|
|
16128
|
+
selector?:
|
|
16129
|
+
| 'intersection'
|
|
16130
|
+
| 'conditional'
|
|
16131
|
+
| 'function'
|
|
16132
|
+
| 'operator'
|
|
16133
|
+
| 'keyword'
|
|
16134
|
+
| 'literal'
|
|
16135
|
+
| 'nullish'
|
|
16136
|
+
| 'import'
|
|
16137
|
+
| 'object'
|
|
16138
|
+
| 'named'
|
|
16139
|
+
| 'tuple'
|
|
16140
|
+
| 'union'
|
|
15551
16141
|
|
|
15552
|
-
|
|
16142
|
+
elementNamePattern?:
|
|
16143
|
+
| (
|
|
16144
|
+
| {
|
|
16145
|
+
pattern: string
|
|
16146
|
+
|
|
16147
|
+
flags?: string
|
|
16148
|
+
}
|
|
16149
|
+
| string
|
|
16150
|
+
)[]
|
|
16151
|
+
| (
|
|
16152
|
+
| {
|
|
16153
|
+
pattern: string
|
|
16154
|
+
|
|
16155
|
+
flags?: string
|
|
16156
|
+
}
|
|
16157
|
+
| string
|
|
16158
|
+
)
|
|
16159
|
+
}[]
|
|
16160
|
+
}
|
|
16161
|
+
| {
|
|
16162
|
+
newlinesInside?: 'always' | 'never'
|
|
16163
|
+
|
|
16164
|
+
fallbackSort?: {
|
|
16165
|
+
order?: 'asc' | 'desc'
|
|
16166
|
+
|
|
16167
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16168
|
+
}
|
|
16169
|
+
|
|
16170
|
+
groupName: string
|
|
15553
16171
|
|
|
15554
16172
|
order?: 'asc' | 'desc'
|
|
15555
16173
|
|
|
15556
16174
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15557
16175
|
|
|
15558
|
-
|
|
16176
|
+
selector?:
|
|
16177
|
+
| 'intersection'
|
|
16178
|
+
| 'conditional'
|
|
16179
|
+
| 'function'
|
|
16180
|
+
| 'operator'
|
|
16181
|
+
| 'keyword'
|
|
16182
|
+
| 'literal'
|
|
16183
|
+
| 'nullish'
|
|
16184
|
+
| 'import'
|
|
16185
|
+
| 'object'
|
|
16186
|
+
| 'named'
|
|
16187
|
+
| 'tuple'
|
|
16188
|
+
| 'union'
|
|
16189
|
+
|
|
16190
|
+
elementNamePattern?:
|
|
16191
|
+
| (
|
|
16192
|
+
| {
|
|
16193
|
+
pattern: string
|
|
16194
|
+
|
|
16195
|
+
flags?: string
|
|
16196
|
+
}
|
|
16197
|
+
| string
|
|
16198
|
+
)[]
|
|
16199
|
+
| (
|
|
16200
|
+
| {
|
|
16201
|
+
pattern: string
|
|
16202
|
+
|
|
16203
|
+
flags?: string
|
|
16204
|
+
}
|
|
16205
|
+
| string
|
|
16206
|
+
)
|
|
16207
|
+
}
|
|
16208
|
+
)[]
|
|
16209
|
+
|
|
16210
|
+
partitionByComment?:
|
|
16211
|
+
| boolean
|
|
16212
|
+
| (
|
|
16213
|
+
| (
|
|
16214
|
+
| {
|
|
16215
|
+
pattern: string
|
|
16216
|
+
|
|
16217
|
+
flags?: string
|
|
16218
|
+
}
|
|
16219
|
+
| string
|
|
16220
|
+
)[]
|
|
16221
|
+
| (
|
|
16222
|
+
| {
|
|
16223
|
+
pattern: string
|
|
16224
|
+
|
|
16225
|
+
flags?: string
|
|
16226
|
+
}
|
|
16227
|
+
| string
|
|
16228
|
+
)
|
|
16229
|
+
)
|
|
16230
|
+
| {
|
|
16231
|
+
block?:
|
|
15559
16232
|
| boolean
|
|
15560
16233
|
| (
|
|
15561
16234
|
| (
|
|
15562
16235
|
| {
|
|
15563
|
-
pattern
|
|
16236
|
+
pattern: string
|
|
16237
|
+
|
|
15564
16238
|
flags?: string
|
|
15565
16239
|
}
|
|
15566
16240
|
| string
|
|
15567
16241
|
)[]
|
|
15568
16242
|
| (
|
|
15569
16243
|
| {
|
|
15570
|
-
pattern
|
|
16244
|
+
pattern: string
|
|
16245
|
+
|
|
15571
16246
|
flags?: string
|
|
15572
16247
|
}
|
|
15573
16248
|
| string
|
|
15574
16249
|
)
|
|
15575
16250
|
)
|
|
15576
|
-
| {
|
|
15577
|
-
block?:
|
|
15578
|
-
| boolean
|
|
15579
|
-
| (
|
|
15580
|
-
| (
|
|
15581
|
-
| {
|
|
15582
|
-
pattern?: string
|
|
15583
|
-
flags?: string
|
|
15584
|
-
}
|
|
15585
|
-
| string
|
|
15586
|
-
)[]
|
|
15587
|
-
| (
|
|
15588
|
-
| {
|
|
15589
|
-
pattern?: string
|
|
15590
|
-
flags?: string
|
|
15591
|
-
}
|
|
15592
|
-
| string
|
|
15593
|
-
)
|
|
15594
|
-
)
|
|
15595
|
-
line?:
|
|
15596
|
-
| boolean
|
|
15597
|
-
| (
|
|
15598
|
-
| (
|
|
15599
|
-
| {
|
|
15600
|
-
pattern?: string
|
|
15601
|
-
flags?: string
|
|
15602
|
-
}
|
|
15603
|
-
| string
|
|
15604
|
-
)[]
|
|
15605
|
-
| (
|
|
15606
|
-
| {
|
|
15607
|
-
pattern?: string
|
|
15608
|
-
flags?: string
|
|
15609
|
-
}
|
|
15610
|
-
| string
|
|
15611
|
-
)
|
|
15612
|
-
)
|
|
15613
|
-
}
|
|
15614
16251
|
|
|
15615
|
-
|
|
16252
|
+
line?:
|
|
16253
|
+
| boolean
|
|
16254
|
+
| (
|
|
16255
|
+
| (
|
|
16256
|
+
| {
|
|
16257
|
+
pattern: string
|
|
16258
|
+
|
|
16259
|
+
flags?: string
|
|
16260
|
+
}
|
|
16261
|
+
| string
|
|
16262
|
+
)[]
|
|
16263
|
+
| (
|
|
16264
|
+
| {
|
|
16265
|
+
pattern: string
|
|
15616
16266
|
|
|
16267
|
+
flags?: string
|
|
16268
|
+
}
|
|
16269
|
+
| string
|
|
16270
|
+
)
|
|
16271
|
+
)
|
|
16272
|
+
}
|
|
16273
|
+
|
|
16274
|
+
partitionByNewLine?: boolean
|
|
16275
|
+
|
|
16276
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16277
|
+
|
|
16278
|
+
groups?: (
|
|
16279
|
+
| string
|
|
16280
|
+
| string[]
|
|
16281
|
+
| {
|
|
15617
16282
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15618
16283
|
|
|
15619
|
-
|
|
15620
|
-
|
|
15621
|
-
|
|
15622
|
-
|
|
15623
|
-
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15624
|
-
}
|
|
15625
|
-
)[]
|
|
15626
|
-
},
|
|
15627
|
-
]
|
|
16284
|
+
commentAbove?: string
|
|
16285
|
+
}
|
|
16286
|
+
)[]
|
|
16287
|
+
}[]
|
|
15628
16288
|
// ----- perfectionist/sort-jsx-props -----
|
|
15629
16289
|
type PerfectionistSortJsxProps = {
|
|
15630
16290
|
fallbackSort?: {
|
|
15631
16291
|
order?: 'asc' | 'desc'
|
|
15632
16292
|
|
|
15633
16293
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15634
|
-
[k: string]: unknown | undefined
|
|
15635
16294
|
}
|
|
15636
16295
|
|
|
15637
16296
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -15657,10 +16316,9 @@ type PerfectionistSortJsxProps = {
|
|
|
15657
16316
|
order?: 'asc' | 'desc'
|
|
15658
16317
|
|
|
15659
16318
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15660
|
-
[k: string]: unknown | undefined
|
|
15661
16319
|
}
|
|
15662
16320
|
|
|
15663
|
-
groupName
|
|
16321
|
+
groupName: string
|
|
15664
16322
|
|
|
15665
16323
|
order?: 'asc' | 'desc'
|
|
15666
16324
|
|
|
@@ -15673,14 +16331,16 @@ type PerfectionistSortJsxProps = {
|
|
|
15673
16331
|
elementValuePattern?:
|
|
15674
16332
|
| (
|
|
15675
16333
|
| {
|
|
15676
|
-
pattern
|
|
16334
|
+
pattern: string
|
|
16335
|
+
|
|
15677
16336
|
flags?: string
|
|
15678
16337
|
}
|
|
15679
16338
|
| string
|
|
15680
16339
|
)[]
|
|
15681
16340
|
| (
|
|
15682
16341
|
| {
|
|
15683
|
-
pattern
|
|
16342
|
+
pattern: string
|
|
16343
|
+
|
|
15684
16344
|
flags?: string
|
|
15685
16345
|
}
|
|
15686
16346
|
| string
|
|
@@ -15689,14 +16349,16 @@ type PerfectionistSortJsxProps = {
|
|
|
15689
16349
|
elementNamePattern?:
|
|
15690
16350
|
| (
|
|
15691
16351
|
| {
|
|
15692
|
-
pattern
|
|
16352
|
+
pattern: string
|
|
16353
|
+
|
|
15693
16354
|
flags?: string
|
|
15694
16355
|
}
|
|
15695
16356
|
| string
|
|
15696
16357
|
)[]
|
|
15697
16358
|
| (
|
|
15698
16359
|
| {
|
|
15699
|
-
pattern
|
|
16360
|
+
pattern: string
|
|
16361
|
+
|
|
15700
16362
|
flags?: string
|
|
15701
16363
|
}
|
|
15702
16364
|
| string
|
|
@@ -15710,10 +16372,9 @@ type PerfectionistSortJsxProps = {
|
|
|
15710
16372
|
order?: 'asc' | 'desc'
|
|
15711
16373
|
|
|
15712
16374
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15713
|
-
[k: string]: unknown | undefined
|
|
15714
16375
|
}
|
|
15715
16376
|
|
|
15716
|
-
groupName
|
|
16377
|
+
groupName: string
|
|
15717
16378
|
|
|
15718
16379
|
order?: 'asc' | 'desc'
|
|
15719
16380
|
|
|
@@ -15726,14 +16387,16 @@ type PerfectionistSortJsxProps = {
|
|
|
15726
16387
|
elementValuePattern?:
|
|
15727
16388
|
| (
|
|
15728
16389
|
| {
|
|
15729
|
-
pattern
|
|
16390
|
+
pattern: string
|
|
16391
|
+
|
|
15730
16392
|
flags?: string
|
|
15731
16393
|
}
|
|
15732
16394
|
| string
|
|
15733
16395
|
)[]
|
|
15734
16396
|
| (
|
|
15735
16397
|
| {
|
|
15736
|
-
pattern
|
|
16398
|
+
pattern: string
|
|
16399
|
+
|
|
15737
16400
|
flags?: string
|
|
15738
16401
|
}
|
|
15739
16402
|
| string
|
|
@@ -15742,32 +16405,37 @@ type PerfectionistSortJsxProps = {
|
|
|
15742
16405
|
elementNamePattern?:
|
|
15743
16406
|
| (
|
|
15744
16407
|
| {
|
|
15745
|
-
pattern
|
|
16408
|
+
pattern: string
|
|
16409
|
+
|
|
15746
16410
|
flags?: string
|
|
15747
16411
|
}
|
|
15748
16412
|
| string
|
|
15749
16413
|
)[]
|
|
15750
16414
|
| (
|
|
15751
16415
|
| {
|
|
15752
|
-
pattern
|
|
16416
|
+
pattern: string
|
|
16417
|
+
|
|
15753
16418
|
flags?: string
|
|
15754
16419
|
}
|
|
15755
16420
|
| string
|
|
15756
16421
|
)
|
|
15757
16422
|
}
|
|
15758
16423
|
)[]
|
|
16424
|
+
|
|
15759
16425
|
useConfigurationIf?: {
|
|
15760
16426
|
allNamesMatchPattern?:
|
|
15761
16427
|
| (
|
|
15762
16428
|
| {
|
|
15763
|
-
pattern
|
|
16429
|
+
pattern: string
|
|
16430
|
+
|
|
15764
16431
|
flags?: string
|
|
15765
16432
|
}
|
|
15766
16433
|
| string
|
|
15767
16434
|
)[]
|
|
15768
16435
|
| (
|
|
15769
16436
|
| {
|
|
15770
|
-
pattern
|
|
16437
|
+
pattern: string
|
|
16438
|
+
|
|
15771
16439
|
flags?: string
|
|
15772
16440
|
}
|
|
15773
16441
|
| string
|
|
@@ -15776,14 +16444,16 @@ type PerfectionistSortJsxProps = {
|
|
|
15776
16444
|
tagMatchesPattern?:
|
|
15777
16445
|
| (
|
|
15778
16446
|
| {
|
|
15779
|
-
pattern
|
|
16447
|
+
pattern: string
|
|
16448
|
+
|
|
15780
16449
|
flags?: string
|
|
15781
16450
|
}
|
|
15782
16451
|
| string
|
|
15783
16452
|
)[]
|
|
15784
16453
|
| (
|
|
15785
16454
|
| {
|
|
15786
|
-
pattern
|
|
16455
|
+
pattern: string
|
|
16456
|
+
|
|
15787
16457
|
flags?: string
|
|
15788
16458
|
}
|
|
15789
16459
|
| string
|
|
@@ -15797,14 +16467,16 @@ type PerfectionistSortJsxProps = {
|
|
|
15797
16467
|
ignorePattern?:
|
|
15798
16468
|
| (
|
|
15799
16469
|
| {
|
|
15800
|
-
pattern
|
|
16470
|
+
pattern: string
|
|
16471
|
+
|
|
15801
16472
|
flags?: string
|
|
15802
16473
|
}
|
|
15803
16474
|
| string
|
|
15804
16475
|
)[]
|
|
15805
16476
|
| (
|
|
15806
16477
|
| {
|
|
15807
|
-
pattern
|
|
16478
|
+
pattern: string
|
|
16479
|
+
|
|
15808
16480
|
flags?: string
|
|
15809
16481
|
}
|
|
15810
16482
|
| string
|
|
@@ -15815,6 +16487,8 @@ type PerfectionistSortJsxProps = {
|
|
|
15815
16487
|
| string[]
|
|
15816
16488
|
| {
|
|
15817
16489
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16490
|
+
|
|
16491
|
+
commentAbove?: string
|
|
15818
16492
|
}
|
|
15819
16493
|
)[]
|
|
15820
16494
|
}[]
|
|
@@ -15824,7 +16498,6 @@ type PerfectionistSortMaps = {
|
|
|
15824
16498
|
order?: 'asc' | 'desc'
|
|
15825
16499
|
|
|
15826
16500
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15827
|
-
[k: string]: unknown | undefined
|
|
15828
16501
|
}
|
|
15829
16502
|
|
|
15830
16503
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -15847,10 +16520,9 @@ type PerfectionistSortMaps = {
|
|
|
15847
16520
|
order?: 'asc' | 'desc'
|
|
15848
16521
|
|
|
15849
16522
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15850
|
-
[k: string]: unknown | undefined
|
|
15851
16523
|
}
|
|
15852
16524
|
|
|
15853
|
-
groupName
|
|
16525
|
+
groupName: string
|
|
15854
16526
|
|
|
15855
16527
|
order?: 'asc' | 'desc'
|
|
15856
16528
|
|
|
@@ -15859,14 +16531,16 @@ type PerfectionistSortMaps = {
|
|
|
15859
16531
|
elementNamePattern?:
|
|
15860
16532
|
| (
|
|
15861
16533
|
| {
|
|
15862
|
-
pattern
|
|
16534
|
+
pattern: string
|
|
16535
|
+
|
|
15863
16536
|
flags?: string
|
|
15864
16537
|
}
|
|
15865
16538
|
| string
|
|
15866
16539
|
)[]
|
|
15867
16540
|
| (
|
|
15868
16541
|
| {
|
|
15869
|
-
pattern
|
|
16542
|
+
pattern: string
|
|
16543
|
+
|
|
15870
16544
|
flags?: string
|
|
15871
16545
|
}
|
|
15872
16546
|
| string
|
|
@@ -15880,10 +16554,9 @@ type PerfectionistSortMaps = {
|
|
|
15880
16554
|
order?: 'asc' | 'desc'
|
|
15881
16555
|
|
|
15882
16556
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
15883
|
-
[k: string]: unknown | undefined
|
|
15884
16557
|
}
|
|
15885
16558
|
|
|
15886
|
-
groupName
|
|
16559
|
+
groupName: string
|
|
15887
16560
|
|
|
15888
16561
|
order?: 'asc' | 'desc'
|
|
15889
16562
|
|
|
@@ -15892,32 +16565,37 @@ type PerfectionistSortMaps = {
|
|
|
15892
16565
|
elementNamePattern?:
|
|
15893
16566
|
| (
|
|
15894
16567
|
| {
|
|
15895
|
-
pattern
|
|
16568
|
+
pattern: string
|
|
16569
|
+
|
|
15896
16570
|
flags?: string
|
|
15897
16571
|
}
|
|
15898
16572
|
| string
|
|
15899
16573
|
)[]
|
|
15900
16574
|
| (
|
|
15901
16575
|
| {
|
|
15902
|
-
pattern
|
|
16576
|
+
pattern: string
|
|
16577
|
+
|
|
15903
16578
|
flags?: string
|
|
15904
16579
|
}
|
|
15905
16580
|
| string
|
|
15906
16581
|
)
|
|
15907
16582
|
}
|
|
15908
16583
|
)[]
|
|
16584
|
+
|
|
15909
16585
|
useConfigurationIf?: {
|
|
15910
16586
|
allNamesMatchPattern?:
|
|
15911
16587
|
| (
|
|
15912
16588
|
| {
|
|
15913
|
-
pattern
|
|
16589
|
+
pattern: string
|
|
16590
|
+
|
|
15914
16591
|
flags?: string
|
|
15915
16592
|
}
|
|
15916
16593
|
| string
|
|
15917
16594
|
)[]
|
|
15918
16595
|
| (
|
|
15919
16596
|
| {
|
|
15920
|
-
pattern
|
|
16597
|
+
pattern: string
|
|
16598
|
+
|
|
15921
16599
|
flags?: string
|
|
15922
16600
|
}
|
|
15923
16601
|
| string
|
|
@@ -15929,14 +16607,16 @@ type PerfectionistSortMaps = {
|
|
|
15929
16607
|
| (
|
|
15930
16608
|
| (
|
|
15931
16609
|
| {
|
|
15932
|
-
pattern
|
|
16610
|
+
pattern: string
|
|
16611
|
+
|
|
15933
16612
|
flags?: string
|
|
15934
16613
|
}
|
|
15935
16614
|
| string
|
|
15936
16615
|
)[]
|
|
15937
16616
|
| (
|
|
15938
16617
|
| {
|
|
15939
|
-
pattern
|
|
16618
|
+
pattern: string
|
|
16619
|
+
|
|
15940
16620
|
flags?: string
|
|
15941
16621
|
}
|
|
15942
16622
|
| string
|
|
@@ -15948,32 +16628,37 @@ type PerfectionistSortMaps = {
|
|
|
15948
16628
|
| (
|
|
15949
16629
|
| (
|
|
15950
16630
|
| {
|
|
15951
|
-
pattern
|
|
16631
|
+
pattern: string
|
|
16632
|
+
|
|
15952
16633
|
flags?: string
|
|
15953
16634
|
}
|
|
15954
16635
|
| string
|
|
15955
16636
|
)[]
|
|
15956
16637
|
| (
|
|
15957
16638
|
| {
|
|
15958
|
-
pattern
|
|
16639
|
+
pattern: string
|
|
16640
|
+
|
|
15959
16641
|
flags?: string
|
|
15960
16642
|
}
|
|
15961
16643
|
| string
|
|
15962
16644
|
)
|
|
15963
16645
|
)
|
|
16646
|
+
|
|
15964
16647
|
line?:
|
|
15965
16648
|
| boolean
|
|
15966
16649
|
| (
|
|
15967
16650
|
| (
|
|
15968
16651
|
| {
|
|
15969
|
-
pattern
|
|
16652
|
+
pattern: string
|
|
16653
|
+
|
|
15970
16654
|
flags?: string
|
|
15971
16655
|
}
|
|
15972
16656
|
| string
|
|
15973
16657
|
)[]
|
|
15974
16658
|
| (
|
|
15975
16659
|
| {
|
|
15976
|
-
pattern
|
|
16660
|
+
pattern: string
|
|
16661
|
+
|
|
15977
16662
|
flags?: string
|
|
15978
16663
|
}
|
|
15979
16664
|
| string
|
|
@@ -15990,6 +16675,8 @@ type PerfectionistSortMaps = {
|
|
|
15990
16675
|
| string[]
|
|
15991
16676
|
| {
|
|
15992
16677
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16678
|
+
|
|
16679
|
+
commentAbove?: string
|
|
15993
16680
|
}
|
|
15994
16681
|
)[]
|
|
15995
16682
|
}[]
|
|
@@ -16002,7 +16689,6 @@ type PerfectionistSortModules =
|
|
|
16002
16689
|
order?: 'asc' | 'desc'
|
|
16003
16690
|
|
|
16004
16691
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16005
|
-
[k: string]: unknown | undefined
|
|
16006
16692
|
}
|
|
16007
16693
|
|
|
16008
16694
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -16025,10 +16711,9 @@ type PerfectionistSortModules =
|
|
|
16025
16711
|
order?: 'asc' | 'desc'
|
|
16026
16712
|
|
|
16027
16713
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16028
|
-
[k: string]: unknown | undefined
|
|
16029
16714
|
}
|
|
16030
16715
|
|
|
16031
|
-
groupName
|
|
16716
|
+
groupName: string
|
|
16032
16717
|
|
|
16033
16718
|
order?: 'asc' | 'desc'
|
|
16034
16719
|
|
|
@@ -16041,14 +16726,16 @@ type PerfectionistSortModules =
|
|
|
16041
16726
|
decoratorNamePattern?:
|
|
16042
16727
|
| (
|
|
16043
16728
|
| {
|
|
16044
|
-
pattern
|
|
16729
|
+
pattern: string
|
|
16730
|
+
|
|
16045
16731
|
flags?: string
|
|
16046
16732
|
}
|
|
16047
16733
|
| string
|
|
16048
16734
|
)[]
|
|
16049
16735
|
| (
|
|
16050
16736
|
| {
|
|
16051
|
-
pattern
|
|
16737
|
+
pattern: string
|
|
16738
|
+
|
|
16052
16739
|
flags?: string
|
|
16053
16740
|
}
|
|
16054
16741
|
| string
|
|
@@ -16057,14 +16744,16 @@ type PerfectionistSortModules =
|
|
|
16057
16744
|
elementNamePattern?:
|
|
16058
16745
|
| (
|
|
16059
16746
|
| {
|
|
16060
|
-
pattern
|
|
16747
|
+
pattern: string
|
|
16748
|
+
|
|
16061
16749
|
flags?: string
|
|
16062
16750
|
}
|
|
16063
16751
|
| string
|
|
16064
16752
|
)[]
|
|
16065
16753
|
| (
|
|
16066
16754
|
| {
|
|
16067
|
-
pattern
|
|
16755
|
+
pattern: string
|
|
16756
|
+
|
|
16068
16757
|
flags?: string
|
|
16069
16758
|
}
|
|
16070
16759
|
| string
|
|
@@ -16078,10 +16767,9 @@ type PerfectionistSortModules =
|
|
|
16078
16767
|
order?: 'asc' | 'desc'
|
|
16079
16768
|
|
|
16080
16769
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16081
|
-
[k: string]: unknown | undefined
|
|
16082
16770
|
}
|
|
16083
16771
|
|
|
16084
|
-
groupName
|
|
16772
|
+
groupName: string
|
|
16085
16773
|
|
|
16086
16774
|
order?: 'asc' | 'desc'
|
|
16087
16775
|
|
|
@@ -16094,14 +16782,16 @@ type PerfectionistSortModules =
|
|
|
16094
16782
|
decoratorNamePattern?:
|
|
16095
16783
|
| (
|
|
16096
16784
|
| {
|
|
16097
|
-
pattern
|
|
16785
|
+
pattern: string
|
|
16786
|
+
|
|
16098
16787
|
flags?: string
|
|
16099
16788
|
}
|
|
16100
16789
|
| string
|
|
16101
16790
|
)[]
|
|
16102
16791
|
| (
|
|
16103
16792
|
| {
|
|
16104
|
-
pattern
|
|
16793
|
+
pattern: string
|
|
16794
|
+
|
|
16105
16795
|
flags?: string
|
|
16106
16796
|
}
|
|
16107
16797
|
| string
|
|
@@ -16110,14 +16800,16 @@ type PerfectionistSortModules =
|
|
|
16110
16800
|
elementNamePattern?:
|
|
16111
16801
|
| (
|
|
16112
16802
|
| {
|
|
16113
|
-
pattern
|
|
16803
|
+
pattern: string
|
|
16804
|
+
|
|
16114
16805
|
flags?: string
|
|
16115
16806
|
}
|
|
16116
16807
|
| string
|
|
16117
16808
|
)[]
|
|
16118
16809
|
| (
|
|
16119
16810
|
| {
|
|
16120
|
-
pattern
|
|
16811
|
+
pattern: string
|
|
16812
|
+
|
|
16121
16813
|
flags?: string
|
|
16122
16814
|
}
|
|
16123
16815
|
| string
|
|
@@ -16130,14 +16822,16 @@ type PerfectionistSortModules =
|
|
|
16130
16822
|
| (
|
|
16131
16823
|
| (
|
|
16132
16824
|
| {
|
|
16133
|
-
pattern
|
|
16825
|
+
pattern: string
|
|
16826
|
+
|
|
16134
16827
|
flags?: string
|
|
16135
16828
|
}
|
|
16136
16829
|
| string
|
|
16137
16830
|
)[]
|
|
16138
16831
|
| (
|
|
16139
16832
|
| {
|
|
16140
|
-
pattern
|
|
16833
|
+
pattern: string
|
|
16834
|
+
|
|
16141
16835
|
flags?: string
|
|
16142
16836
|
}
|
|
16143
16837
|
| string
|
|
@@ -16149,32 +16843,37 @@ type PerfectionistSortModules =
|
|
|
16149
16843
|
| (
|
|
16150
16844
|
| (
|
|
16151
16845
|
| {
|
|
16152
|
-
pattern
|
|
16846
|
+
pattern: string
|
|
16847
|
+
|
|
16153
16848
|
flags?: string
|
|
16154
16849
|
}
|
|
16155
16850
|
| string
|
|
16156
16851
|
)[]
|
|
16157
16852
|
| (
|
|
16158
16853
|
| {
|
|
16159
|
-
pattern
|
|
16854
|
+
pattern: string
|
|
16855
|
+
|
|
16160
16856
|
flags?: string
|
|
16161
16857
|
}
|
|
16162
16858
|
| string
|
|
16163
16859
|
)
|
|
16164
16860
|
)
|
|
16861
|
+
|
|
16165
16862
|
line?:
|
|
16166
16863
|
| boolean
|
|
16167
16864
|
| (
|
|
16168
16865
|
| (
|
|
16169
16866
|
| {
|
|
16170
|
-
pattern
|
|
16867
|
+
pattern: string
|
|
16868
|
+
|
|
16171
16869
|
flags?: string
|
|
16172
16870
|
}
|
|
16173
16871
|
| string
|
|
16174
16872
|
)[]
|
|
16175
16873
|
| (
|
|
16176
16874
|
| {
|
|
16177
|
-
pattern
|
|
16875
|
+
pattern: string
|
|
16876
|
+
|
|
16178
16877
|
flags?: string
|
|
16179
16878
|
}
|
|
16180
16879
|
| string
|
|
@@ -16191,6 +16890,8 @@ type PerfectionistSortModules =
|
|
|
16191
16890
|
| string[]
|
|
16192
16891
|
| {
|
|
16193
16892
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16893
|
+
|
|
16894
|
+
commentAbove?: string
|
|
16194
16895
|
}
|
|
16195
16896
|
)[]
|
|
16196
16897
|
},
|
|
@@ -16201,7 +16902,6 @@ type PerfectionistSortNamedExports = {
|
|
|
16201
16902
|
order?: 'asc' | 'desc'
|
|
16202
16903
|
|
|
16203
16904
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16204
|
-
[k: string]: unknown | undefined
|
|
16205
16905
|
}
|
|
16206
16906
|
|
|
16207
16907
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -16228,10 +16928,9 @@ type PerfectionistSortNamedExports = {
|
|
|
16228
16928
|
order?: 'asc' | 'desc'
|
|
16229
16929
|
|
|
16230
16930
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16231
|
-
[k: string]: unknown | undefined
|
|
16232
16931
|
}
|
|
16233
16932
|
|
|
16234
|
-
groupName
|
|
16933
|
+
groupName: string
|
|
16235
16934
|
|
|
16236
16935
|
order?: 'asc' | 'desc'
|
|
16237
16936
|
|
|
@@ -16244,14 +16943,16 @@ type PerfectionistSortNamedExports = {
|
|
|
16244
16943
|
elementNamePattern?:
|
|
16245
16944
|
| (
|
|
16246
16945
|
| {
|
|
16247
|
-
pattern
|
|
16946
|
+
pattern: string
|
|
16947
|
+
|
|
16248
16948
|
flags?: string
|
|
16249
16949
|
}
|
|
16250
16950
|
| string
|
|
16251
16951
|
)[]
|
|
16252
16952
|
| (
|
|
16253
16953
|
| {
|
|
16254
|
-
pattern
|
|
16954
|
+
pattern: string
|
|
16955
|
+
|
|
16255
16956
|
flags?: string
|
|
16256
16957
|
}
|
|
16257
16958
|
| string
|
|
@@ -16265,10 +16966,9 @@ type PerfectionistSortNamedExports = {
|
|
|
16265
16966
|
order?: 'asc' | 'desc'
|
|
16266
16967
|
|
|
16267
16968
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16268
|
-
[k: string]: unknown | undefined
|
|
16269
16969
|
}
|
|
16270
16970
|
|
|
16271
|
-
groupName
|
|
16971
|
+
groupName: string
|
|
16272
16972
|
|
|
16273
16973
|
order?: 'asc' | 'desc'
|
|
16274
16974
|
|
|
@@ -16281,14 +16981,16 @@ type PerfectionistSortNamedExports = {
|
|
|
16281
16981
|
elementNamePattern?:
|
|
16282
16982
|
| (
|
|
16283
16983
|
| {
|
|
16284
|
-
pattern
|
|
16984
|
+
pattern: string
|
|
16985
|
+
|
|
16285
16986
|
flags?: string
|
|
16286
16987
|
}
|
|
16287
16988
|
| string
|
|
16288
16989
|
)[]
|
|
16289
16990
|
| (
|
|
16290
16991
|
| {
|
|
16291
|
-
pattern
|
|
16992
|
+
pattern: string
|
|
16993
|
+
|
|
16292
16994
|
flags?: string
|
|
16293
16995
|
}
|
|
16294
16996
|
| string
|
|
@@ -16301,14 +17003,16 @@ type PerfectionistSortNamedExports = {
|
|
|
16301
17003
|
| (
|
|
16302
17004
|
| (
|
|
16303
17005
|
| {
|
|
16304
|
-
pattern
|
|
17006
|
+
pattern: string
|
|
17007
|
+
|
|
16305
17008
|
flags?: string
|
|
16306
17009
|
}
|
|
16307
17010
|
| string
|
|
16308
17011
|
)[]
|
|
16309
17012
|
| (
|
|
16310
17013
|
| {
|
|
16311
|
-
pattern
|
|
17014
|
+
pattern: string
|
|
17015
|
+
|
|
16312
17016
|
flags?: string
|
|
16313
17017
|
}
|
|
16314
17018
|
| string
|
|
@@ -16320,32 +17024,37 @@ type PerfectionistSortNamedExports = {
|
|
|
16320
17024
|
| (
|
|
16321
17025
|
| (
|
|
16322
17026
|
| {
|
|
16323
|
-
pattern
|
|
17027
|
+
pattern: string
|
|
17028
|
+
|
|
16324
17029
|
flags?: string
|
|
16325
17030
|
}
|
|
16326
17031
|
| string
|
|
16327
17032
|
)[]
|
|
16328
17033
|
| (
|
|
16329
17034
|
| {
|
|
16330
|
-
pattern
|
|
17035
|
+
pattern: string
|
|
17036
|
+
|
|
16331
17037
|
flags?: string
|
|
16332
17038
|
}
|
|
16333
17039
|
| string
|
|
16334
17040
|
)
|
|
16335
17041
|
)
|
|
17042
|
+
|
|
16336
17043
|
line?:
|
|
16337
17044
|
| boolean
|
|
16338
17045
|
| (
|
|
16339
17046
|
| (
|
|
16340
17047
|
| {
|
|
16341
|
-
pattern
|
|
17048
|
+
pattern: string
|
|
17049
|
+
|
|
16342
17050
|
flags?: string
|
|
16343
17051
|
}
|
|
16344
17052
|
| string
|
|
16345
17053
|
)[]
|
|
16346
17054
|
| (
|
|
16347
17055
|
| {
|
|
16348
|
-
pattern
|
|
17056
|
+
pattern: string
|
|
17057
|
+
|
|
16349
17058
|
flags?: string
|
|
16350
17059
|
}
|
|
16351
17060
|
| string
|
|
@@ -16362,6 +17071,8 @@ type PerfectionistSortNamedExports = {
|
|
|
16362
17071
|
| string[]
|
|
16363
17072
|
| {
|
|
16364
17073
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17074
|
+
|
|
17075
|
+
commentAbove?: string
|
|
16365
17076
|
}
|
|
16366
17077
|
)[]
|
|
16367
17078
|
}[]
|
|
@@ -16371,7 +17082,6 @@ type PerfectionistSortNamedImports = {
|
|
|
16371
17082
|
order?: 'asc' | 'desc'
|
|
16372
17083
|
|
|
16373
17084
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16374
|
-
[k: string]: unknown | undefined
|
|
16375
17085
|
}
|
|
16376
17086
|
|
|
16377
17087
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -16398,10 +17108,9 @@ type PerfectionistSortNamedImports = {
|
|
|
16398
17108
|
order?: 'asc' | 'desc'
|
|
16399
17109
|
|
|
16400
17110
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16401
|
-
[k: string]: unknown | undefined
|
|
16402
17111
|
}
|
|
16403
17112
|
|
|
16404
|
-
groupName
|
|
17113
|
+
groupName: string
|
|
16405
17114
|
|
|
16406
17115
|
order?: 'asc' | 'desc'
|
|
16407
17116
|
|
|
@@ -16414,14 +17123,16 @@ type PerfectionistSortNamedImports = {
|
|
|
16414
17123
|
elementNamePattern?:
|
|
16415
17124
|
| (
|
|
16416
17125
|
| {
|
|
16417
|
-
pattern
|
|
17126
|
+
pattern: string
|
|
17127
|
+
|
|
16418
17128
|
flags?: string
|
|
16419
17129
|
}
|
|
16420
17130
|
| string
|
|
16421
17131
|
)[]
|
|
16422
17132
|
| (
|
|
16423
17133
|
| {
|
|
16424
|
-
pattern
|
|
17134
|
+
pattern: string
|
|
17135
|
+
|
|
16425
17136
|
flags?: string
|
|
16426
17137
|
}
|
|
16427
17138
|
| string
|
|
@@ -16435,10 +17146,9 @@ type PerfectionistSortNamedImports = {
|
|
|
16435
17146
|
order?: 'asc' | 'desc'
|
|
16436
17147
|
|
|
16437
17148
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16438
|
-
[k: string]: unknown | undefined
|
|
16439
17149
|
}
|
|
16440
17150
|
|
|
16441
|
-
groupName
|
|
17151
|
+
groupName: string
|
|
16442
17152
|
|
|
16443
17153
|
order?: 'asc' | 'desc'
|
|
16444
17154
|
|
|
@@ -16451,14 +17161,16 @@ type PerfectionistSortNamedImports = {
|
|
|
16451
17161
|
elementNamePattern?:
|
|
16452
17162
|
| (
|
|
16453
17163
|
| {
|
|
16454
|
-
pattern
|
|
17164
|
+
pattern: string
|
|
17165
|
+
|
|
16455
17166
|
flags?: string
|
|
16456
17167
|
}
|
|
16457
17168
|
| string
|
|
16458
17169
|
)[]
|
|
16459
17170
|
| (
|
|
16460
17171
|
| {
|
|
16461
|
-
pattern
|
|
17172
|
+
pattern: string
|
|
17173
|
+
|
|
16462
17174
|
flags?: string
|
|
16463
17175
|
}
|
|
16464
17176
|
| string
|
|
@@ -16471,14 +17183,16 @@ type PerfectionistSortNamedImports = {
|
|
|
16471
17183
|
| (
|
|
16472
17184
|
| (
|
|
16473
17185
|
| {
|
|
16474
|
-
pattern
|
|
17186
|
+
pattern: string
|
|
17187
|
+
|
|
16475
17188
|
flags?: string
|
|
16476
17189
|
}
|
|
16477
17190
|
| string
|
|
16478
17191
|
)[]
|
|
16479
17192
|
| (
|
|
16480
17193
|
| {
|
|
16481
|
-
pattern
|
|
17194
|
+
pattern: string
|
|
17195
|
+
|
|
16482
17196
|
flags?: string
|
|
16483
17197
|
}
|
|
16484
17198
|
| string
|
|
@@ -16490,32 +17204,37 @@ type PerfectionistSortNamedImports = {
|
|
|
16490
17204
|
| (
|
|
16491
17205
|
| (
|
|
16492
17206
|
| {
|
|
16493
|
-
pattern
|
|
17207
|
+
pattern: string
|
|
17208
|
+
|
|
16494
17209
|
flags?: string
|
|
16495
17210
|
}
|
|
16496
17211
|
| string
|
|
16497
17212
|
)[]
|
|
16498
17213
|
| (
|
|
16499
17214
|
| {
|
|
16500
|
-
pattern
|
|
17215
|
+
pattern: string
|
|
17216
|
+
|
|
16501
17217
|
flags?: string
|
|
16502
17218
|
}
|
|
16503
17219
|
| string
|
|
16504
17220
|
)
|
|
16505
17221
|
)
|
|
17222
|
+
|
|
16506
17223
|
line?:
|
|
16507
17224
|
| boolean
|
|
16508
17225
|
| (
|
|
16509
17226
|
| (
|
|
16510
17227
|
| {
|
|
16511
|
-
pattern
|
|
17228
|
+
pattern: string
|
|
17229
|
+
|
|
16512
17230
|
flags?: string
|
|
16513
17231
|
}
|
|
16514
17232
|
| string
|
|
16515
17233
|
)[]
|
|
16516
17234
|
| (
|
|
16517
17235
|
| {
|
|
16518
|
-
pattern
|
|
17236
|
+
pattern: string
|
|
17237
|
+
|
|
16519
17238
|
flags?: string
|
|
16520
17239
|
}
|
|
16521
17240
|
| string
|
|
@@ -16532,6 +17251,8 @@ type PerfectionistSortNamedImports = {
|
|
|
16532
17251
|
| string[]
|
|
16533
17252
|
| {
|
|
16534
17253
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17254
|
+
|
|
17255
|
+
commentAbove?: string
|
|
16535
17256
|
}
|
|
16536
17257
|
)[]
|
|
16537
17258
|
}[]
|
|
@@ -16541,7 +17262,7 @@ type PerfectionistSortObjectTypes = {
|
|
|
16541
17262
|
order?: 'asc' | 'desc'
|
|
16542
17263
|
|
|
16543
17264
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16544
|
-
|
|
17265
|
+
sortBy?: 'name' | 'value'
|
|
16545
17266
|
}
|
|
16546
17267
|
|
|
16547
17268
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -16568,10 +17289,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
16568
17289
|
|
|
16569
17290
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16570
17291
|
sortBy?: 'name' | 'value'
|
|
16571
|
-
[k: string]: unknown | undefined
|
|
16572
17292
|
}
|
|
16573
17293
|
|
|
16574
|
-
groupName
|
|
17294
|
+
groupName: string
|
|
16575
17295
|
|
|
16576
17296
|
order?: 'asc' | 'desc'
|
|
16577
17297
|
|
|
@@ -16584,14 +17304,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16584
17304
|
elementValuePattern?:
|
|
16585
17305
|
| (
|
|
16586
17306
|
| {
|
|
16587
|
-
pattern
|
|
17307
|
+
pattern: string
|
|
17308
|
+
|
|
16588
17309
|
flags?: string
|
|
16589
17310
|
}
|
|
16590
17311
|
| string
|
|
16591
17312
|
)[]
|
|
16592
17313
|
| (
|
|
16593
17314
|
| {
|
|
16594
|
-
pattern
|
|
17315
|
+
pattern: string
|
|
17316
|
+
|
|
16595
17317
|
flags?: string
|
|
16596
17318
|
}
|
|
16597
17319
|
| string
|
|
@@ -16600,14 +17322,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16600
17322
|
elementNamePattern?:
|
|
16601
17323
|
| (
|
|
16602
17324
|
| {
|
|
16603
|
-
pattern
|
|
17325
|
+
pattern: string
|
|
17326
|
+
|
|
16604
17327
|
flags?: string
|
|
16605
17328
|
}
|
|
16606
17329
|
| string
|
|
16607
17330
|
)[]
|
|
16608
17331
|
| (
|
|
16609
17332
|
| {
|
|
16610
|
-
pattern
|
|
17333
|
+
pattern: string
|
|
17334
|
+
|
|
16611
17335
|
flags?: string
|
|
16612
17336
|
}
|
|
16613
17337
|
| string
|
|
@@ -16623,10 +17347,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
16623
17347
|
|
|
16624
17348
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16625
17349
|
sortBy?: 'name' | 'value'
|
|
16626
|
-
[k: string]: unknown | undefined
|
|
16627
17350
|
}
|
|
16628
17351
|
|
|
16629
|
-
groupName
|
|
17352
|
+
groupName: string
|
|
16630
17353
|
|
|
16631
17354
|
order?: 'asc' | 'desc'
|
|
16632
17355
|
|
|
@@ -16639,14 +17362,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16639
17362
|
elementValuePattern?:
|
|
16640
17363
|
| (
|
|
16641
17364
|
| {
|
|
16642
|
-
pattern
|
|
17365
|
+
pattern: string
|
|
17366
|
+
|
|
16643
17367
|
flags?: string
|
|
16644
17368
|
}
|
|
16645
17369
|
| string
|
|
16646
17370
|
)[]
|
|
16647
17371
|
| (
|
|
16648
17372
|
| {
|
|
16649
|
-
pattern
|
|
17373
|
+
pattern: string
|
|
17374
|
+
|
|
16650
17375
|
flags?: string
|
|
16651
17376
|
}
|
|
16652
17377
|
| string
|
|
@@ -16655,14 +17380,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16655
17380
|
elementNamePattern?:
|
|
16656
17381
|
| (
|
|
16657
17382
|
| {
|
|
16658
|
-
pattern
|
|
17383
|
+
pattern: string
|
|
17384
|
+
|
|
16659
17385
|
flags?: string
|
|
16660
17386
|
}
|
|
16661
17387
|
| string
|
|
16662
17388
|
)[]
|
|
16663
17389
|
| (
|
|
16664
17390
|
| {
|
|
16665
|
-
pattern
|
|
17391
|
+
pattern: string
|
|
17392
|
+
|
|
16666
17393
|
flags?: string
|
|
16667
17394
|
}
|
|
16668
17395
|
| string
|
|
@@ -16672,18 +17399,21 @@ type PerfectionistSortObjectTypes = {
|
|
|
16672
17399
|
)[]
|
|
16673
17400
|
|
|
16674
17401
|
groupKind?: 'mixed' | 'required-first' | 'optional-first'
|
|
17402
|
+
|
|
16675
17403
|
useConfigurationIf?: {
|
|
16676
17404
|
allNamesMatchPattern?:
|
|
16677
17405
|
| (
|
|
16678
17406
|
| {
|
|
16679
|
-
pattern
|
|
17407
|
+
pattern: string
|
|
17408
|
+
|
|
16680
17409
|
flags?: string
|
|
16681
17410
|
}
|
|
16682
17411
|
| string
|
|
16683
17412
|
)[]
|
|
16684
17413
|
| (
|
|
16685
17414
|
| {
|
|
16686
|
-
pattern
|
|
17415
|
+
pattern: string
|
|
17416
|
+
|
|
16687
17417
|
flags?: string
|
|
16688
17418
|
}
|
|
16689
17419
|
| string
|
|
@@ -16692,14 +17422,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16692
17422
|
declarationMatchesPattern?:
|
|
16693
17423
|
| (
|
|
16694
17424
|
| {
|
|
16695
|
-
pattern
|
|
17425
|
+
pattern: string
|
|
17426
|
+
|
|
16696
17427
|
flags?: string
|
|
16697
17428
|
}
|
|
16698
17429
|
| string
|
|
16699
17430
|
)[]
|
|
16700
17431
|
| (
|
|
16701
17432
|
| {
|
|
16702
|
-
pattern
|
|
17433
|
+
pattern: string
|
|
17434
|
+
|
|
16703
17435
|
flags?: string
|
|
16704
17436
|
}
|
|
16705
17437
|
| string
|
|
@@ -16711,14 +17443,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16711
17443
|
| (
|
|
16712
17444
|
| (
|
|
16713
17445
|
| {
|
|
16714
|
-
pattern
|
|
17446
|
+
pattern: string
|
|
17447
|
+
|
|
16715
17448
|
flags?: string
|
|
16716
17449
|
}
|
|
16717
17450
|
| string
|
|
16718
17451
|
)[]
|
|
16719
17452
|
| (
|
|
16720
17453
|
| {
|
|
16721
|
-
pattern
|
|
17454
|
+
pattern: string
|
|
17455
|
+
|
|
16722
17456
|
flags?: string
|
|
16723
17457
|
}
|
|
16724
17458
|
| string
|
|
@@ -16730,32 +17464,37 @@ type PerfectionistSortObjectTypes = {
|
|
|
16730
17464
|
| (
|
|
16731
17465
|
| (
|
|
16732
17466
|
| {
|
|
16733
|
-
pattern
|
|
17467
|
+
pattern: string
|
|
17468
|
+
|
|
16734
17469
|
flags?: string
|
|
16735
17470
|
}
|
|
16736
17471
|
| string
|
|
16737
17472
|
)[]
|
|
16738
17473
|
| (
|
|
16739
17474
|
| {
|
|
16740
|
-
pattern
|
|
17475
|
+
pattern: string
|
|
17476
|
+
|
|
16741
17477
|
flags?: string
|
|
16742
17478
|
}
|
|
16743
17479
|
| string
|
|
16744
17480
|
)
|
|
16745
17481
|
)
|
|
17482
|
+
|
|
16746
17483
|
line?:
|
|
16747
17484
|
| boolean
|
|
16748
17485
|
| (
|
|
16749
17486
|
| (
|
|
16750
17487
|
| {
|
|
16751
|
-
pattern
|
|
17488
|
+
pattern: string
|
|
17489
|
+
|
|
16752
17490
|
flags?: string
|
|
16753
17491
|
}
|
|
16754
17492
|
| string
|
|
16755
17493
|
)[]
|
|
16756
17494
|
| (
|
|
16757
17495
|
| {
|
|
16758
|
-
pattern
|
|
17496
|
+
pattern: string
|
|
17497
|
+
|
|
16759
17498
|
flags?: string
|
|
16760
17499
|
}
|
|
16761
17500
|
| string
|
|
@@ -16770,14 +17509,16 @@ type PerfectionistSortObjectTypes = {
|
|
|
16770
17509
|
ignorePattern?:
|
|
16771
17510
|
| (
|
|
16772
17511
|
| {
|
|
16773
|
-
pattern
|
|
17512
|
+
pattern: string
|
|
17513
|
+
|
|
16774
17514
|
flags?: string
|
|
16775
17515
|
}
|
|
16776
17516
|
| string
|
|
16777
17517
|
)[]
|
|
16778
17518
|
| (
|
|
16779
17519
|
| {
|
|
16780
|
-
pattern
|
|
17520
|
+
pattern: string
|
|
17521
|
+
|
|
16781
17522
|
flags?: string
|
|
16782
17523
|
}
|
|
16783
17524
|
| string
|
|
@@ -16789,6 +17530,8 @@ type PerfectionistSortObjectTypes = {
|
|
|
16789
17530
|
| string[]
|
|
16790
17531
|
| {
|
|
16791
17532
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17533
|
+
|
|
17534
|
+
commentAbove?: string
|
|
16792
17535
|
}
|
|
16793
17536
|
)[]
|
|
16794
17537
|
}[]
|
|
@@ -16798,7 +17541,6 @@ type PerfectionistSortObjects = {
|
|
|
16798
17541
|
order?: 'asc' | 'desc'
|
|
16799
17542
|
|
|
16800
17543
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16801
|
-
[k: string]: unknown | undefined
|
|
16802
17544
|
}
|
|
16803
17545
|
|
|
16804
17546
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -16830,10 +17572,9 @@ type PerfectionistSortObjects = {
|
|
|
16830
17572
|
order?: 'asc' | 'desc'
|
|
16831
17573
|
|
|
16832
17574
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16833
|
-
[k: string]: unknown | undefined
|
|
16834
17575
|
}
|
|
16835
17576
|
|
|
16836
|
-
groupName
|
|
17577
|
+
groupName: string
|
|
16837
17578
|
|
|
16838
17579
|
order?: 'asc' | 'desc'
|
|
16839
17580
|
|
|
@@ -16846,14 +17587,16 @@ type PerfectionistSortObjects = {
|
|
|
16846
17587
|
elementValuePattern?:
|
|
16847
17588
|
| (
|
|
16848
17589
|
| {
|
|
16849
|
-
pattern
|
|
17590
|
+
pattern: string
|
|
17591
|
+
|
|
16850
17592
|
flags?: string
|
|
16851
17593
|
}
|
|
16852
17594
|
| string
|
|
16853
17595
|
)[]
|
|
16854
17596
|
| (
|
|
16855
17597
|
| {
|
|
16856
|
-
pattern
|
|
17598
|
+
pattern: string
|
|
17599
|
+
|
|
16857
17600
|
flags?: string
|
|
16858
17601
|
}
|
|
16859
17602
|
| string
|
|
@@ -16862,14 +17605,16 @@ type PerfectionistSortObjects = {
|
|
|
16862
17605
|
elementNamePattern?:
|
|
16863
17606
|
| (
|
|
16864
17607
|
| {
|
|
16865
|
-
pattern
|
|
17608
|
+
pattern: string
|
|
17609
|
+
|
|
16866
17610
|
flags?: string
|
|
16867
17611
|
}
|
|
16868
17612
|
| string
|
|
16869
17613
|
)[]
|
|
16870
17614
|
| (
|
|
16871
17615
|
| {
|
|
16872
|
-
pattern
|
|
17616
|
+
pattern: string
|
|
17617
|
+
|
|
16873
17618
|
flags?: string
|
|
16874
17619
|
}
|
|
16875
17620
|
| string
|
|
@@ -16883,10 +17628,9 @@ type PerfectionistSortObjects = {
|
|
|
16883
17628
|
order?: 'asc' | 'desc'
|
|
16884
17629
|
|
|
16885
17630
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
16886
|
-
[k: string]: unknown | undefined
|
|
16887
17631
|
}
|
|
16888
17632
|
|
|
16889
|
-
groupName
|
|
17633
|
+
groupName: string
|
|
16890
17634
|
|
|
16891
17635
|
order?: 'asc' | 'desc'
|
|
16892
17636
|
|
|
@@ -16899,14 +17643,16 @@ type PerfectionistSortObjects = {
|
|
|
16899
17643
|
elementValuePattern?:
|
|
16900
17644
|
| (
|
|
16901
17645
|
| {
|
|
16902
|
-
pattern
|
|
17646
|
+
pattern: string
|
|
17647
|
+
|
|
16903
17648
|
flags?: string
|
|
16904
17649
|
}
|
|
16905
17650
|
| string
|
|
16906
17651
|
)[]
|
|
16907
17652
|
| (
|
|
16908
17653
|
| {
|
|
16909
|
-
pattern
|
|
17654
|
+
pattern: string
|
|
17655
|
+
|
|
16910
17656
|
flags?: string
|
|
16911
17657
|
}
|
|
16912
17658
|
| string
|
|
@@ -16915,32 +17661,37 @@ type PerfectionistSortObjects = {
|
|
|
16915
17661
|
elementNamePattern?:
|
|
16916
17662
|
| (
|
|
16917
17663
|
| {
|
|
16918
|
-
pattern
|
|
17664
|
+
pattern: string
|
|
17665
|
+
|
|
16919
17666
|
flags?: string
|
|
16920
17667
|
}
|
|
16921
17668
|
| string
|
|
16922
17669
|
)[]
|
|
16923
17670
|
| (
|
|
16924
17671
|
| {
|
|
16925
|
-
pattern
|
|
17672
|
+
pattern: string
|
|
17673
|
+
|
|
16926
17674
|
flags?: string
|
|
16927
17675
|
}
|
|
16928
17676
|
| string
|
|
16929
17677
|
)
|
|
16930
17678
|
}
|
|
16931
17679
|
)[]
|
|
17680
|
+
|
|
16932
17681
|
useConfigurationIf?: {
|
|
16933
17682
|
allNamesMatchPattern?:
|
|
16934
17683
|
| (
|
|
16935
17684
|
| {
|
|
16936
|
-
pattern
|
|
17685
|
+
pattern: string
|
|
17686
|
+
|
|
16937
17687
|
flags?: string
|
|
16938
17688
|
}
|
|
16939
17689
|
| string
|
|
16940
17690
|
)[]
|
|
16941
17691
|
| (
|
|
16942
17692
|
| {
|
|
16943
|
-
pattern
|
|
17693
|
+
pattern: string
|
|
17694
|
+
|
|
16944
17695
|
flags?: string
|
|
16945
17696
|
}
|
|
16946
17697
|
| string
|
|
@@ -16949,14 +17700,16 @@ type PerfectionistSortObjects = {
|
|
|
16949
17700
|
callingFunctionNamePattern?:
|
|
16950
17701
|
| (
|
|
16951
17702
|
| {
|
|
16952
|
-
pattern
|
|
17703
|
+
pattern: string
|
|
17704
|
+
|
|
16953
17705
|
flags?: string
|
|
16954
17706
|
}
|
|
16955
17707
|
| string
|
|
16956
17708
|
)[]
|
|
16957
17709
|
| (
|
|
16958
17710
|
| {
|
|
16959
|
-
pattern
|
|
17711
|
+
pattern: string
|
|
17712
|
+
|
|
16960
17713
|
flags?: string
|
|
16961
17714
|
}
|
|
16962
17715
|
| string
|
|
@@ -16974,14 +17727,16 @@ type PerfectionistSortObjects = {
|
|
|
16974
17727
|
| (
|
|
16975
17728
|
| (
|
|
16976
17729
|
| {
|
|
16977
|
-
pattern
|
|
17730
|
+
pattern: string
|
|
17731
|
+
|
|
16978
17732
|
flags?: string
|
|
16979
17733
|
}
|
|
16980
17734
|
| string
|
|
16981
17735
|
)[]
|
|
16982
17736
|
| (
|
|
16983
17737
|
| {
|
|
16984
|
-
pattern
|
|
17738
|
+
pattern: string
|
|
17739
|
+
|
|
16985
17740
|
flags?: string
|
|
16986
17741
|
}
|
|
16987
17742
|
| string
|
|
@@ -16993,32 +17748,37 @@ type PerfectionistSortObjects = {
|
|
|
16993
17748
|
| (
|
|
16994
17749
|
| (
|
|
16995
17750
|
| {
|
|
16996
|
-
pattern
|
|
17751
|
+
pattern: string
|
|
17752
|
+
|
|
16997
17753
|
flags?: string
|
|
16998
17754
|
}
|
|
16999
17755
|
| string
|
|
17000
17756
|
)[]
|
|
17001
17757
|
| (
|
|
17002
17758
|
| {
|
|
17003
|
-
pattern
|
|
17759
|
+
pattern: string
|
|
17760
|
+
|
|
17004
17761
|
flags?: string
|
|
17005
17762
|
}
|
|
17006
17763
|
| string
|
|
17007
17764
|
)
|
|
17008
17765
|
)
|
|
17766
|
+
|
|
17009
17767
|
line?:
|
|
17010
17768
|
| boolean
|
|
17011
17769
|
| (
|
|
17012
17770
|
| (
|
|
17013
17771
|
| {
|
|
17014
|
-
pattern
|
|
17772
|
+
pattern: string
|
|
17773
|
+
|
|
17015
17774
|
flags?: string
|
|
17016
17775
|
}
|
|
17017
17776
|
| string
|
|
17018
17777
|
)[]
|
|
17019
17778
|
| (
|
|
17020
17779
|
| {
|
|
17021
|
-
pattern
|
|
17780
|
+
pattern: string
|
|
17781
|
+
|
|
17022
17782
|
flags?: string
|
|
17023
17783
|
}
|
|
17024
17784
|
| string
|
|
@@ -17033,14 +17793,16 @@ type PerfectionistSortObjects = {
|
|
|
17033
17793
|
ignorePattern?:
|
|
17034
17794
|
| (
|
|
17035
17795
|
| {
|
|
17036
|
-
pattern
|
|
17796
|
+
pattern: string
|
|
17797
|
+
|
|
17037
17798
|
flags?: string
|
|
17038
17799
|
}
|
|
17039
17800
|
| string
|
|
17040
17801
|
)[]
|
|
17041
17802
|
| (
|
|
17042
17803
|
| {
|
|
17043
|
-
pattern
|
|
17804
|
+
pattern: string
|
|
17805
|
+
|
|
17044
17806
|
flags?: string
|
|
17045
17807
|
}
|
|
17046
17808
|
| string
|
|
@@ -17051,16 +17813,235 @@ type PerfectionistSortObjects = {
|
|
|
17051
17813
|
| string[]
|
|
17052
17814
|
| {
|
|
17053
17815
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17816
|
+
|
|
17817
|
+
commentAbove?: string
|
|
17818
|
+
}
|
|
17819
|
+
)[]
|
|
17820
|
+
}[]
|
|
17821
|
+
// ----- perfectionist/sort-sets -----
|
|
17822
|
+
type PerfectionistSortSets = {
|
|
17823
|
+
fallbackSort?: {
|
|
17824
|
+
order?: 'asc' | 'desc'
|
|
17825
|
+
|
|
17826
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17827
|
+
}
|
|
17828
|
+
|
|
17829
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
17830
|
+
|
|
17831
|
+
ignoreCase?: boolean
|
|
17832
|
+
|
|
17833
|
+
alphabet?: string
|
|
17834
|
+
|
|
17835
|
+
locales?: string | string[]
|
|
17836
|
+
|
|
17837
|
+
order?: 'asc' | 'desc'
|
|
17838
|
+
|
|
17839
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17840
|
+
|
|
17841
|
+
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
17842
|
+
|
|
17843
|
+
customGroups?: (
|
|
17844
|
+
| {
|
|
17845
|
+
newlinesInside?: 'always' | 'never'
|
|
17846
|
+
|
|
17847
|
+
fallbackSort?: {
|
|
17848
|
+
order?: 'asc' | 'desc'
|
|
17849
|
+
|
|
17850
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
groupName: string
|
|
17854
|
+
|
|
17855
|
+
order?: 'asc' | 'desc'
|
|
17856
|
+
|
|
17857
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17858
|
+
anyOf?: {
|
|
17859
|
+
selector?: 'literal' | 'spread'
|
|
17860
|
+
|
|
17861
|
+
elementNamePattern?:
|
|
17862
|
+
| (
|
|
17863
|
+
| {
|
|
17864
|
+
pattern: string
|
|
17865
|
+
|
|
17866
|
+
flags?: string
|
|
17867
|
+
}
|
|
17868
|
+
| string
|
|
17869
|
+
)[]
|
|
17870
|
+
| (
|
|
17871
|
+
| {
|
|
17872
|
+
pattern: string
|
|
17873
|
+
|
|
17874
|
+
flags?: string
|
|
17875
|
+
}
|
|
17876
|
+
| string
|
|
17877
|
+
)
|
|
17878
|
+
}[]
|
|
17879
|
+
}
|
|
17880
|
+
| {
|
|
17881
|
+
newlinesInside?: 'always' | 'never'
|
|
17882
|
+
|
|
17883
|
+
fallbackSort?: {
|
|
17884
|
+
order?: 'asc' | 'desc'
|
|
17885
|
+
|
|
17886
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17887
|
+
}
|
|
17888
|
+
|
|
17889
|
+
groupName: string
|
|
17890
|
+
|
|
17891
|
+
order?: 'asc' | 'desc'
|
|
17892
|
+
|
|
17893
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17894
|
+
|
|
17895
|
+
selector?: 'literal' | 'spread'
|
|
17896
|
+
|
|
17897
|
+
elementNamePattern?:
|
|
17898
|
+
| (
|
|
17899
|
+
| {
|
|
17900
|
+
pattern: string
|
|
17901
|
+
|
|
17902
|
+
flags?: string
|
|
17903
|
+
}
|
|
17904
|
+
| string
|
|
17905
|
+
)[]
|
|
17906
|
+
| (
|
|
17907
|
+
| {
|
|
17908
|
+
pattern: string
|
|
17909
|
+
|
|
17910
|
+
flags?: string
|
|
17911
|
+
}
|
|
17912
|
+
| string
|
|
17913
|
+
)
|
|
17914
|
+
}
|
|
17915
|
+
)[]
|
|
17916
|
+
|
|
17917
|
+
useConfigurationIf?: {
|
|
17918
|
+
allNamesMatchPattern?:
|
|
17919
|
+
| (
|
|
17920
|
+
| {
|
|
17921
|
+
pattern: string
|
|
17922
|
+
|
|
17923
|
+
flags?: string
|
|
17924
|
+
}
|
|
17925
|
+
| string
|
|
17926
|
+
)[]
|
|
17927
|
+
| (
|
|
17928
|
+
| {
|
|
17929
|
+
pattern: string
|
|
17930
|
+
|
|
17931
|
+
flags?: string
|
|
17932
|
+
}
|
|
17933
|
+
| string
|
|
17934
|
+
)
|
|
17935
|
+
}
|
|
17936
|
+
|
|
17937
|
+
partitionByComment?:
|
|
17938
|
+
| boolean
|
|
17939
|
+
| (
|
|
17940
|
+
| (
|
|
17941
|
+
| {
|
|
17942
|
+
pattern: string
|
|
17943
|
+
|
|
17944
|
+
flags?: string
|
|
17945
|
+
}
|
|
17946
|
+
| string
|
|
17947
|
+
)[]
|
|
17948
|
+
| (
|
|
17949
|
+
| {
|
|
17950
|
+
pattern: string
|
|
17951
|
+
|
|
17952
|
+
flags?: string
|
|
17953
|
+
}
|
|
17954
|
+
| string
|
|
17955
|
+
)
|
|
17956
|
+
)
|
|
17957
|
+
| {
|
|
17958
|
+
block?:
|
|
17959
|
+
| boolean
|
|
17960
|
+
| (
|
|
17961
|
+
| (
|
|
17962
|
+
| {
|
|
17963
|
+
pattern: string
|
|
17964
|
+
|
|
17965
|
+
flags?: string
|
|
17966
|
+
}
|
|
17967
|
+
| string
|
|
17968
|
+
)[]
|
|
17969
|
+
| (
|
|
17970
|
+
| {
|
|
17971
|
+
pattern: string
|
|
17972
|
+
|
|
17973
|
+
flags?: string
|
|
17974
|
+
}
|
|
17975
|
+
| string
|
|
17976
|
+
)
|
|
17977
|
+
)
|
|
17978
|
+
|
|
17979
|
+
line?:
|
|
17980
|
+
| boolean
|
|
17981
|
+
| (
|
|
17982
|
+
| (
|
|
17983
|
+
| {
|
|
17984
|
+
pattern: string
|
|
17985
|
+
|
|
17986
|
+
flags?: string
|
|
17987
|
+
}
|
|
17988
|
+
| string
|
|
17989
|
+
)[]
|
|
17990
|
+
| (
|
|
17991
|
+
| {
|
|
17992
|
+
pattern: string
|
|
17993
|
+
|
|
17994
|
+
flags?: string
|
|
17995
|
+
}
|
|
17996
|
+
| string
|
|
17997
|
+
)
|
|
17998
|
+
)
|
|
17999
|
+
}
|
|
18000
|
+
|
|
18001
|
+
partitionByNewLine?: boolean
|
|
18002
|
+
|
|
18003
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18004
|
+
|
|
18005
|
+
groups?: (
|
|
18006
|
+
| string
|
|
18007
|
+
| string[]
|
|
18008
|
+
| {
|
|
18009
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18010
|
+
|
|
18011
|
+
commentAbove?: string
|
|
17054
18012
|
}
|
|
17055
18013
|
)[]
|
|
17056
18014
|
}[]
|
|
17057
|
-
// ----- perfectionist/sort-
|
|
17058
|
-
type
|
|
18015
|
+
// ----- perfectionist/sort-switch-case -----
|
|
18016
|
+
type PerfectionistSortSwitchCase =
|
|
18017
|
+
| []
|
|
18018
|
+
| [
|
|
18019
|
+
{
|
|
18020
|
+
fallbackSort?: {
|
|
18021
|
+
order?: 'asc' | 'desc'
|
|
18022
|
+
|
|
18023
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18024
|
+
}
|
|
18025
|
+
|
|
18026
|
+
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
18027
|
+
|
|
18028
|
+
ignoreCase?: boolean
|
|
18029
|
+
|
|
18030
|
+
alphabet?: string
|
|
18031
|
+
|
|
18032
|
+
locales?: string | string[]
|
|
18033
|
+
|
|
18034
|
+
order?: 'asc' | 'desc'
|
|
18035
|
+
|
|
18036
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18037
|
+
},
|
|
18038
|
+
]
|
|
18039
|
+
// ----- perfectionist/sort-union-types -----
|
|
18040
|
+
type PerfectionistSortUnionTypes = {
|
|
17059
18041
|
fallbackSort?: {
|
|
17060
18042
|
order?: 'asc' | 'desc'
|
|
17061
18043
|
|
|
17062
18044
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17063
|
-
[k: string]: unknown | undefined
|
|
17064
18045
|
}
|
|
17065
18046
|
|
|
17066
18047
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -17075,8 +18056,6 @@ type PerfectionistSortSets = {
|
|
|
17075
18056
|
|
|
17076
18057
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17077
18058
|
|
|
17078
|
-
groupKind?: 'mixed' | 'literals-first' | 'spreads-first'
|
|
17079
|
-
|
|
17080
18059
|
customGroups?: (
|
|
17081
18060
|
| {
|
|
17082
18061
|
newlinesInside?: 'always' | 'never'
|
|
@@ -17085,28 +18064,41 @@ type PerfectionistSortSets = {
|
|
|
17085
18064
|
order?: 'asc' | 'desc'
|
|
17086
18065
|
|
|
17087
18066
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17088
|
-
[k: string]: unknown | undefined
|
|
17089
18067
|
}
|
|
17090
18068
|
|
|
17091
|
-
groupName
|
|
18069
|
+
groupName: string
|
|
17092
18070
|
|
|
17093
18071
|
order?: 'asc' | 'desc'
|
|
17094
18072
|
|
|
17095
18073
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17096
18074
|
anyOf?: {
|
|
17097
|
-
selector?:
|
|
18075
|
+
selector?:
|
|
18076
|
+
| 'intersection'
|
|
18077
|
+
| 'conditional'
|
|
18078
|
+
| 'function'
|
|
18079
|
+
| 'operator'
|
|
18080
|
+
| 'keyword'
|
|
18081
|
+
| 'literal'
|
|
18082
|
+
| 'nullish'
|
|
18083
|
+
| 'import'
|
|
18084
|
+
| 'object'
|
|
18085
|
+
| 'named'
|
|
18086
|
+
| 'tuple'
|
|
18087
|
+
| 'union'
|
|
17098
18088
|
|
|
17099
18089
|
elementNamePattern?:
|
|
17100
18090
|
| (
|
|
17101
18091
|
| {
|
|
17102
|
-
pattern
|
|
18092
|
+
pattern: string
|
|
18093
|
+
|
|
17103
18094
|
flags?: string
|
|
17104
18095
|
}
|
|
17105
18096
|
| string
|
|
17106
18097
|
)[]
|
|
17107
18098
|
| (
|
|
17108
18099
|
| {
|
|
17109
|
-
pattern
|
|
18100
|
+
pattern: string
|
|
18101
|
+
|
|
17110
18102
|
flags?: string
|
|
17111
18103
|
}
|
|
17112
18104
|
| string
|
|
@@ -17120,65 +18112,63 @@ type PerfectionistSortSets = {
|
|
|
17120
18112
|
order?: 'asc' | 'desc'
|
|
17121
18113
|
|
|
17122
18114
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17123
|
-
[k: string]: unknown | undefined
|
|
17124
18115
|
}
|
|
17125
18116
|
|
|
17126
|
-
groupName
|
|
18117
|
+
groupName: string
|
|
17127
18118
|
|
|
17128
18119
|
order?: 'asc' | 'desc'
|
|
17129
18120
|
|
|
17130
18121
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17131
18122
|
|
|
17132
|
-
selector?:
|
|
18123
|
+
selector?:
|
|
18124
|
+
| 'intersection'
|
|
18125
|
+
| 'conditional'
|
|
18126
|
+
| 'function'
|
|
18127
|
+
| 'operator'
|
|
18128
|
+
| 'keyword'
|
|
18129
|
+
| 'literal'
|
|
18130
|
+
| 'nullish'
|
|
18131
|
+
| 'import'
|
|
18132
|
+
| 'object'
|
|
18133
|
+
| 'named'
|
|
18134
|
+
| 'tuple'
|
|
18135
|
+
| 'union'
|
|
17133
18136
|
|
|
17134
18137
|
elementNamePattern?:
|
|
17135
18138
|
| (
|
|
17136
18139
|
| {
|
|
17137
|
-
pattern
|
|
18140
|
+
pattern: string
|
|
18141
|
+
|
|
17138
18142
|
flags?: string
|
|
17139
18143
|
}
|
|
17140
18144
|
| string
|
|
17141
18145
|
)[]
|
|
17142
18146
|
| (
|
|
17143
18147
|
| {
|
|
17144
|
-
pattern
|
|
18148
|
+
pattern: string
|
|
18149
|
+
|
|
17145
18150
|
flags?: string
|
|
17146
18151
|
}
|
|
17147
18152
|
| string
|
|
17148
18153
|
)
|
|
17149
18154
|
}
|
|
17150
18155
|
)[]
|
|
17151
|
-
useConfigurationIf?: {
|
|
17152
|
-
allNamesMatchPattern?:
|
|
17153
|
-
| (
|
|
17154
|
-
| {
|
|
17155
|
-
pattern?: string
|
|
17156
|
-
flags?: string
|
|
17157
|
-
}
|
|
17158
|
-
| string
|
|
17159
|
-
)[]
|
|
17160
|
-
| (
|
|
17161
|
-
| {
|
|
17162
|
-
pattern?: string
|
|
17163
|
-
flags?: string
|
|
17164
|
-
}
|
|
17165
|
-
| string
|
|
17166
|
-
)
|
|
17167
|
-
}
|
|
17168
18156
|
|
|
17169
18157
|
partitionByComment?:
|
|
17170
18158
|
| boolean
|
|
17171
18159
|
| (
|
|
17172
18160
|
| (
|
|
17173
18161
|
| {
|
|
17174
|
-
pattern
|
|
18162
|
+
pattern: string
|
|
18163
|
+
|
|
17175
18164
|
flags?: string
|
|
17176
18165
|
}
|
|
17177
18166
|
| string
|
|
17178
18167
|
)[]
|
|
17179
18168
|
| (
|
|
17180
18169
|
| {
|
|
17181
|
-
pattern
|
|
18170
|
+
pattern: string
|
|
18171
|
+
|
|
17182
18172
|
flags?: string
|
|
17183
18173
|
}
|
|
17184
18174
|
| string
|
|
@@ -17190,32 +18180,37 @@ type PerfectionistSortSets = {
|
|
|
17190
18180
|
| (
|
|
17191
18181
|
| (
|
|
17192
18182
|
| {
|
|
17193
|
-
pattern
|
|
18183
|
+
pattern: string
|
|
18184
|
+
|
|
17194
18185
|
flags?: string
|
|
17195
18186
|
}
|
|
17196
18187
|
| string
|
|
17197
18188
|
)[]
|
|
17198
18189
|
| (
|
|
17199
18190
|
| {
|
|
17200
|
-
pattern
|
|
18191
|
+
pattern: string
|
|
18192
|
+
|
|
17201
18193
|
flags?: string
|
|
17202
18194
|
}
|
|
17203
18195
|
| string
|
|
17204
18196
|
)
|
|
17205
18197
|
)
|
|
18198
|
+
|
|
17206
18199
|
line?:
|
|
17207
18200
|
| boolean
|
|
17208
18201
|
| (
|
|
17209
18202
|
| (
|
|
17210
18203
|
| {
|
|
17211
|
-
pattern
|
|
18204
|
+
pattern: string
|
|
18205
|
+
|
|
17212
18206
|
flags?: string
|
|
17213
18207
|
}
|
|
17214
18208
|
| string
|
|
17215
18209
|
)[]
|
|
17216
18210
|
| (
|
|
17217
18211
|
| {
|
|
17218
|
-
pattern
|
|
18212
|
+
pattern: string
|
|
18213
|
+
|
|
17219
18214
|
flags?: string
|
|
17220
18215
|
}
|
|
17221
18216
|
| string
|
|
@@ -17232,11 +18227,13 @@ type PerfectionistSortSets = {
|
|
|
17232
18227
|
| string[]
|
|
17233
18228
|
| {
|
|
17234
18229
|
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18230
|
+
|
|
18231
|
+
commentAbove?: string
|
|
17235
18232
|
}
|
|
17236
18233
|
)[]
|
|
17237
18234
|
}[]
|
|
17238
|
-
// ----- perfectionist/sort-
|
|
17239
|
-
type
|
|
18235
|
+
// ----- perfectionist/sort-variable-declarations -----
|
|
18236
|
+
type PerfectionistSortVariableDeclarations =
|
|
17240
18237
|
| []
|
|
17241
18238
|
| [
|
|
17242
18239
|
{
|
|
@@ -17244,7 +18241,6 @@ type PerfectionistSortSwitchCase =
|
|
|
17244
18241
|
order?: 'asc' | 'desc'
|
|
17245
18242
|
|
|
17246
18243
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17247
|
-
[k: string]: unknown | undefined
|
|
17248
18244
|
}
|
|
17249
18245
|
|
|
17250
18246
|
specialCharacters?: 'remove' | 'trim' | 'keep'
|
|
@@ -17258,139 +18254,96 @@ type PerfectionistSortSwitchCase =
|
|
|
17258
18254
|
order?: 'asc' | 'desc'
|
|
17259
18255
|
|
|
17260
18256
|
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17261
|
-
},
|
|
17262
|
-
]
|
|
17263
|
-
// ----- perfectionist/sort-union-types -----
|
|
17264
|
-
type PerfectionistSortUnionTypes =
|
|
17265
|
-
| []
|
|
17266
|
-
| [
|
|
17267
|
-
{
|
|
17268
|
-
fallbackSort?: {
|
|
17269
|
-
order?: 'asc' | 'desc'
|
|
17270
18257
|
|
|
17271
|
-
|
|
17272
|
-
|
|
17273
|
-
|
|
18258
|
+
customGroups?: (
|
|
18259
|
+
| {
|
|
18260
|
+
newlinesInside?: 'always' | 'never'
|
|
17274
18261
|
|
|
17275
|
-
|
|
18262
|
+
fallbackSort?: {
|
|
18263
|
+
order?: 'asc' | 'desc'
|
|
17276
18264
|
|
|
17277
|
-
|
|
18265
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18266
|
+
}
|
|
17278
18267
|
|
|
17279
|
-
|
|
18268
|
+
groupName: string
|
|
17280
18269
|
|
|
17281
|
-
|
|
18270
|
+
order?: 'asc' | 'desc'
|
|
17282
18271
|
|
|
17283
|
-
|
|
18272
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18273
|
+
anyOf?: {
|
|
18274
|
+
selector?: 'initialized' | 'uninitialized'
|
|
17284
18275
|
|
|
17285
|
-
|
|
18276
|
+
elementNamePattern?:
|
|
18277
|
+
| (
|
|
18278
|
+
| {
|
|
18279
|
+
pattern: string
|
|
17286
18280
|
|
|
17287
|
-
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
|
|
17291
|
-
|
|
|
17292
|
-
|
|
17293
|
-
|
|
17294
|
-
}
|
|
17295
|
-
| string
|
|
17296
|
-
)[]
|
|
17297
|
-
| (
|
|
17298
|
-
| {
|
|
17299
|
-
pattern?: string
|
|
17300
|
-
flags?: string
|
|
17301
|
-
}
|
|
17302
|
-
| string
|
|
17303
|
-
)
|
|
17304
|
-
)
|
|
17305
|
-
| {
|
|
17306
|
-
block?:
|
|
17307
|
-
| boolean
|
|
17308
|
-
| (
|
|
17309
|
-
| (
|
|
17310
|
-
| {
|
|
17311
|
-
pattern?: string
|
|
17312
|
-
flags?: string
|
|
17313
|
-
}
|
|
17314
|
-
| string
|
|
17315
|
-
)[]
|
|
17316
|
-
| (
|
|
17317
|
-
| {
|
|
17318
|
-
pattern?: string
|
|
17319
|
-
flags?: string
|
|
17320
|
-
}
|
|
17321
|
-
| string
|
|
17322
|
-
)
|
|
17323
|
-
)
|
|
17324
|
-
line?:
|
|
17325
|
-
| boolean
|
|
17326
|
-
| (
|
|
17327
|
-
| (
|
|
17328
|
-
| {
|
|
17329
|
-
pattern?: string
|
|
17330
|
-
flags?: string
|
|
17331
|
-
}
|
|
17332
|
-
| string
|
|
17333
|
-
)[]
|
|
17334
|
-
| (
|
|
17335
|
-
| {
|
|
17336
|
-
pattern?: string
|
|
17337
|
-
flags?: string
|
|
17338
|
-
}
|
|
17339
|
-
| string
|
|
17340
|
-
)
|
|
17341
|
-
)
|
|
17342
|
-
}
|
|
18281
|
+
flags?: string
|
|
18282
|
+
}
|
|
18283
|
+
| string
|
|
18284
|
+
)[]
|
|
18285
|
+
| (
|
|
18286
|
+
| {
|
|
18287
|
+
pattern: string
|
|
17343
18288
|
|
|
17344
|
-
|
|
18289
|
+
flags?: string
|
|
18290
|
+
}
|
|
18291
|
+
| string
|
|
18292
|
+
)
|
|
18293
|
+
}[]
|
|
18294
|
+
}
|
|
18295
|
+
| {
|
|
18296
|
+
newlinesInside?: 'always' | 'never'
|
|
17345
18297
|
|
|
17346
|
-
|
|
18298
|
+
fallbackSort?: {
|
|
18299
|
+
order?: 'asc' | 'desc'
|
|
17347
18300
|
|
|
17348
|
-
|
|
17349
|
-
|
|
17350
|
-
| string[]
|
|
17351
|
-
| {
|
|
17352
|
-
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17353
|
-
}
|
|
17354
|
-
)[]
|
|
17355
|
-
},
|
|
17356
|
-
]
|
|
17357
|
-
// ----- perfectionist/sort-variable-declarations -----
|
|
17358
|
-
type PerfectionistSortVariableDeclarations =
|
|
17359
|
-
| []
|
|
17360
|
-
| [
|
|
17361
|
-
{
|
|
17362
|
-
fallbackSort?: {
|
|
17363
|
-
order?: 'asc' | 'desc'
|
|
18301
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
18302
|
+
}
|
|
17364
18303
|
|
|
17365
|
-
|
|
17366
|
-
[k: string]: unknown | undefined
|
|
17367
|
-
}
|
|
18304
|
+
groupName: string
|
|
17368
18305
|
|
|
17369
|
-
|
|
18306
|
+
order?: 'asc' | 'desc'
|
|
17370
18307
|
|
|
17371
|
-
|
|
18308
|
+
type?: 'alphabetical' | 'natural' | 'line-length' | 'custom' | 'unsorted'
|
|
17372
18309
|
|
|
17373
|
-
|
|
18310
|
+
selector?: 'initialized' | 'uninitialized'
|
|
17374
18311
|
|
|
17375
|
-
|
|
18312
|
+
elementNamePattern?:
|
|
18313
|
+
| (
|
|
18314
|
+
| {
|
|
18315
|
+
pattern: string
|
|
17376
18316
|
|
|
17377
|
-
|
|
18317
|
+
flags?: string
|
|
18318
|
+
}
|
|
18319
|
+
| string
|
|
18320
|
+
)[]
|
|
18321
|
+
| (
|
|
18322
|
+
| {
|
|
18323
|
+
pattern: string
|
|
17378
18324
|
|
|
17379
|
-
|
|
18325
|
+
flags?: string
|
|
18326
|
+
}
|
|
18327
|
+
| string
|
|
18328
|
+
)
|
|
18329
|
+
}
|
|
18330
|
+
)[]
|
|
17380
18331
|
|
|
17381
18332
|
partitionByComment?:
|
|
17382
18333
|
| boolean
|
|
17383
18334
|
| (
|
|
17384
18335
|
| (
|
|
17385
18336
|
| {
|
|
17386
|
-
pattern
|
|
18337
|
+
pattern: string
|
|
18338
|
+
|
|
17387
18339
|
flags?: string
|
|
17388
18340
|
}
|
|
17389
18341
|
| string
|
|
17390
18342
|
)[]
|
|
17391
18343
|
| (
|
|
17392
18344
|
| {
|
|
17393
|
-
pattern
|
|
18345
|
+
pattern: string
|
|
18346
|
+
|
|
17394
18347
|
flags?: string
|
|
17395
18348
|
}
|
|
17396
18349
|
| string
|
|
@@ -17402,32 +18355,37 @@ type PerfectionistSortVariableDeclarations =
|
|
|
17402
18355
|
| (
|
|
17403
18356
|
| (
|
|
17404
18357
|
| {
|
|
17405
|
-
pattern
|
|
18358
|
+
pattern: string
|
|
18359
|
+
|
|
17406
18360
|
flags?: string
|
|
17407
18361
|
}
|
|
17408
18362
|
| string
|
|
17409
18363
|
)[]
|
|
17410
18364
|
| (
|
|
17411
18365
|
| {
|
|
17412
|
-
pattern
|
|
18366
|
+
pattern: string
|
|
18367
|
+
|
|
17413
18368
|
flags?: string
|
|
17414
18369
|
}
|
|
17415
18370
|
| string
|
|
17416
18371
|
)
|
|
17417
18372
|
)
|
|
18373
|
+
|
|
17418
18374
|
line?:
|
|
17419
18375
|
| boolean
|
|
17420
18376
|
| (
|
|
17421
18377
|
| (
|
|
17422
18378
|
| {
|
|
17423
|
-
pattern
|
|
18379
|
+
pattern: string
|
|
18380
|
+
|
|
17424
18381
|
flags?: string
|
|
17425
18382
|
}
|
|
17426
18383
|
| string
|
|
17427
18384
|
)[]
|
|
17428
18385
|
| (
|
|
17429
18386
|
| {
|
|
17430
|
-
pattern
|
|
18387
|
+
pattern: string
|
|
18388
|
+
|
|
17431
18389
|
flags?: string
|
|
17432
18390
|
}
|
|
17433
18391
|
| string
|
|
@@ -17436,6 +18394,18 @@ type PerfectionistSortVariableDeclarations =
|
|
|
17436
18394
|
}
|
|
17437
18395
|
|
|
17438
18396
|
partitionByNewLine?: boolean
|
|
18397
|
+
|
|
18398
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18399
|
+
|
|
18400
|
+
groups?: (
|
|
18401
|
+
| string
|
|
18402
|
+
| string[]
|
|
18403
|
+
| {
|
|
18404
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18405
|
+
|
|
18406
|
+
commentAbove?: string
|
|
18407
|
+
}
|
|
18408
|
+
)[]
|
|
17439
18409
|
},
|
|
17440
18410
|
]
|
|
17441
18411
|
// ----- prefer-arrow-callback -----
|
|
@@ -17812,6 +18782,14 @@ type RegexpPreferNamedReplacement =
|
|
|
17812
18782
|
strictTypes?: boolean
|
|
17813
18783
|
},
|
|
17814
18784
|
]
|
|
18785
|
+
// ----- regexp/prefer-quantifier -----
|
|
18786
|
+
type RegexpPreferQuantifier =
|
|
18787
|
+
| []
|
|
18788
|
+
| [
|
|
18789
|
+
{
|
|
18790
|
+
allows?: string[]
|
|
18791
|
+
},
|
|
18792
|
+
]
|
|
17815
18793
|
// ----- regexp/prefer-range -----
|
|
17816
18794
|
type RegexpPreferRange =
|
|
17817
18795
|
| []
|
|
@@ -18303,6 +19281,15 @@ type SveltePreferConst =
|
|
|
18303
19281
|
destructuring?: 'any' | 'all'
|
|
18304
19282
|
ignoreReadBeforeAssign?: boolean
|
|
18305
19283
|
excludedRunes?: string[]
|
|
19284
|
+
[k: string]: unknown | undefined
|
|
19285
|
+
},
|
|
19286
|
+
]
|
|
19287
|
+
// ----- svelte/require-event-prefix -----
|
|
19288
|
+
type SvelteRequireEventPrefix =
|
|
19289
|
+
| []
|
|
19290
|
+
| [
|
|
19291
|
+
{
|
|
19292
|
+
checkAsyncFunctions?: boolean
|
|
18306
19293
|
},
|
|
18307
19294
|
]
|
|
18308
19295
|
// ----- svelte/shorthand-attribute -----
|