@kitschpatrol/eslint-config 5.4.2 → 5.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +1 -1
- package/dist/index.d.ts +258 -73
- package/dist/index.js +19 -3
- package/package.json +18 -18
package/bin/cli.js
CHANGED
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
|
*/
|
|
@@ -1386,11 +1438,11 @@ interface RuleOptions {
|
|
|
1386
1438
|
* Enforce that package.json has all properties required by the npm spec
|
|
1387
1439
|
* @deprecated
|
|
1388
1440
|
*/
|
|
1389
|
-
'json-package/valid-package-def'?: Linter.RuleEntry<
|
|
1441
|
+
'json-package/valid-package-def'?: Linter.RuleEntry<JsonPackageValidPackageDef>
|
|
1390
1442
|
/**
|
|
1391
1443
|
* Enforce that package.json has all properties required by the npm spec
|
|
1392
1444
|
*/
|
|
1393
|
-
'json-package/valid-package-definition'?: Linter.RuleEntry<
|
|
1445
|
+
'json-package/valid-package-definition'?: Linter.RuleEntry<JsonPackageValidPackageDefinition>
|
|
1394
1446
|
/**
|
|
1395
1447
|
* Enforce that if repository directory is specified, it matches the path to the package.json file
|
|
1396
1448
|
*/
|
|
@@ -2879,6 +2931,11 @@ interface RuleOptions {
|
|
|
2879
2931
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-sync.md
|
|
2880
2932
|
*/
|
|
2881
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>
|
|
2882
2939
|
/**
|
|
2883
2940
|
* disallow `bin` files that npm ignores
|
|
2884
2941
|
* @see https://github.com/eslint-community/eslint-plugin-n/blob/HEAD/docs/rules/no-unpublished-bin.md
|
|
@@ -3461,6 +3518,11 @@ interface RuleOptions {
|
|
|
3461
3518
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-duplicate-props
|
|
3462
3519
|
*/
|
|
3463
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<[]>
|
|
3464
3526
|
/**
|
|
3465
3527
|
* Disallow undefined variables in JSX.
|
|
3466
3528
|
* @see https://eslint-react.xyz/docs/rules/jsx-no-undef
|
|
@@ -4060,7 +4122,7 @@ interface RuleOptions {
|
|
|
4060
4122
|
* enforce using quantifier
|
|
4061
4123
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-quantifier.html
|
|
4062
4124
|
*/
|
|
4063
|
-
'regexp/prefer-quantifier'?: Linter.RuleEntry<
|
|
4125
|
+
'regexp/prefer-quantifier'?: Linter.RuleEntry<RegexpPreferQuantifier>
|
|
4064
4126
|
/**
|
|
4065
4127
|
* enforce using `?` quantifier
|
|
4066
4128
|
* @see https://ota-meshi.github.io/eslint-plugin-regexp/rules/prefer-question-quantifier.html
|
|
@@ -5753,6 +5815,7 @@ interface RuleOptions {
|
|
|
5753
5815
|
/**
|
|
5754
5816
|
* Require type annotations in certain places
|
|
5755
5817
|
* @see https://typescript-eslint.io/rules/typedef
|
|
5818
|
+
* @deprecated
|
|
5756
5819
|
*/
|
|
5757
5820
|
'ts/typedef'?: Linter.RuleEntry<TsTypedef>
|
|
5758
5821
|
/**
|
|
@@ -7401,6 +7464,7 @@ type FuncStyle =
|
|
|
7401
7464
|
'declaration' | 'expression',
|
|
7402
7465
|
{
|
|
7403
7466
|
allowArrowFunctions?: boolean
|
|
7467
|
+
allowTypeAnnotation?: boolean
|
|
7404
7468
|
overrides?: {
|
|
7405
7469
|
namedExports?: 'declaration' | 'expression' | 'ignore'
|
|
7406
7470
|
}
|
|
@@ -8173,10 +8237,10 @@ type JsdocCheckLineAlignment =
|
|
|
8173
8237
|
postTag?: number
|
|
8174
8238
|
postType?: number
|
|
8175
8239
|
}
|
|
8240
|
+
disableWrapIndent?: boolean
|
|
8176
8241
|
preserveMainDescriptionPostDelimiter?: boolean
|
|
8177
8242
|
tags?: string[]
|
|
8178
8243
|
wrapIndent?: string
|
|
8179
|
-
disableWrapIndent?: boolean
|
|
8180
8244
|
},
|
|
8181
8245
|
]
|
|
8182
8246
|
// ----- jsdoc/check-param-names -----
|
|
@@ -8906,6 +8970,22 @@ type JsonPackageRestrictDependencyRanges =
|
|
|
8906
8970
|
]
|
|
8907
8971
|
// ----- json-package/sort-collections -----
|
|
8908
8972
|
type JsonPackageSortCollections = [] | [string[]]
|
|
8973
|
+
// ----- json-package/valid-package-def -----
|
|
8974
|
+
type JsonPackageValidPackageDef =
|
|
8975
|
+
| []
|
|
8976
|
+
| [
|
|
8977
|
+
{
|
|
8978
|
+
ignoreProperties?: string[]
|
|
8979
|
+
},
|
|
8980
|
+
]
|
|
8981
|
+
// ----- json-package/valid-package-definition -----
|
|
8982
|
+
type JsonPackageValidPackageDefinition =
|
|
8983
|
+
| []
|
|
8984
|
+
| [
|
|
8985
|
+
{
|
|
8986
|
+
ignoreProperties?: string[]
|
|
8987
|
+
},
|
|
8988
|
+
]
|
|
8909
8989
|
// ----- json/array-bracket-newline -----
|
|
8910
8990
|
type JsonArrayBracketNewline =
|
|
8911
8991
|
| []
|
|
@@ -10649,6 +10729,10 @@ type NoMagicNumbers =
|
|
|
10649
10729
|
ignoreArrayIndexes?: boolean
|
|
10650
10730
|
ignoreDefaultValues?: boolean
|
|
10651
10731
|
ignoreClassFieldInitialValues?: boolean
|
|
10732
|
+
ignoreEnums?: boolean
|
|
10733
|
+
ignoreNumericLiteralTypes?: boolean
|
|
10734
|
+
ignoreReadonlyClassProperties?: boolean
|
|
10735
|
+
ignoreTypeIndexes?: boolean
|
|
10652
10736
|
},
|
|
10653
10737
|
]
|
|
10654
10738
|
// ----- no-misleading-character-class -----
|
|
@@ -10965,9 +11049,11 @@ type NoShadow =
|
|
|
10965
11049
|
| [
|
|
10966
11050
|
{
|
|
10967
11051
|
builtinGlobals?: boolean
|
|
10968
|
-
hoist?: 'all' | 'functions' | 'never'
|
|
11052
|
+
hoist?: 'all' | 'functions' | 'never' | 'types' | 'functions-and-types'
|
|
10969
11053
|
allow?: string[]
|
|
10970
11054
|
ignoreOnInitialization?: boolean
|
|
11055
|
+
ignoreTypeValueShadow?: boolean
|
|
11056
|
+
ignoreFunctionTypeParameterNameValueShadow?: boolean
|
|
10971
11057
|
},
|
|
10972
11058
|
]
|
|
10973
11059
|
// ----- no-shadow-restricted-names -----
|
|
@@ -11105,6 +11191,9 @@ type NoUseBeforeDefine =
|
|
|
11105
11191
|
classes?: boolean
|
|
11106
11192
|
variables?: boolean
|
|
11107
11193
|
allowNamedExports?: boolean
|
|
11194
|
+
enums?: boolean
|
|
11195
|
+
typedefs?: boolean
|
|
11196
|
+
ignoreTypeReferences?: boolean
|
|
11108
11197
|
},
|
|
11109
11198
|
]
|
|
11110
11199
|
// ----- no-useless-computed-key -----
|
|
@@ -11517,7 +11606,49 @@ type NodeNoSync =
|
|
|
11517
11606
|
| [
|
|
11518
11607
|
{
|
|
11519
11608
|
allowAtRootLevel?: boolean
|
|
11520
|
-
ignores?:
|
|
11609
|
+
ignores?: (
|
|
11610
|
+
| string
|
|
11611
|
+
| {
|
|
11612
|
+
from?: 'file'
|
|
11613
|
+
path?: string
|
|
11614
|
+
name?: string[]
|
|
11615
|
+
}
|
|
11616
|
+
| {
|
|
11617
|
+
from?: 'lib'
|
|
11618
|
+
name?: string[]
|
|
11619
|
+
}
|
|
11620
|
+
| {
|
|
11621
|
+
from?: 'package'
|
|
11622
|
+
package?: string
|
|
11623
|
+
name?: string[]
|
|
11624
|
+
}
|
|
11625
|
+
)[]
|
|
11626
|
+
},
|
|
11627
|
+
]
|
|
11628
|
+
// ----- node/no-top-level-await -----
|
|
11629
|
+
type NodeNoTopLevelAwait =
|
|
11630
|
+
| []
|
|
11631
|
+
| [
|
|
11632
|
+
{
|
|
11633
|
+
ignoreBin?: boolean
|
|
11634
|
+
convertPath?:
|
|
11635
|
+
| {
|
|
11636
|
+
[k: string]: [string, string]
|
|
11637
|
+
}
|
|
11638
|
+
| [
|
|
11639
|
+
{
|
|
11640
|
+
include: [string, ...string[]]
|
|
11641
|
+
exclude?: string[]
|
|
11642
|
+
|
|
11643
|
+
replace: [string, string]
|
|
11644
|
+
},
|
|
11645
|
+
...{
|
|
11646
|
+
include: [string, ...string[]]
|
|
11647
|
+
exclude?: string[]
|
|
11648
|
+
|
|
11649
|
+
replace: [string, string]
|
|
11650
|
+
}[],
|
|
11651
|
+
]
|
|
11521
11652
|
},
|
|
11522
11653
|
]
|
|
11523
11654
|
// ----- node/no-unpublished-bin -----
|
|
@@ -14538,7 +14669,9 @@ type PerfectionistSortArrayIncludes = {
|
|
|
14538
14669
|
| string
|
|
14539
14670
|
| string[]
|
|
14540
14671
|
| {
|
|
14541
|
-
newlinesBetween
|
|
14672
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14673
|
+
|
|
14674
|
+
commentAbove?: string
|
|
14542
14675
|
}
|
|
14543
14676
|
)[]
|
|
14544
14677
|
}[]
|
|
@@ -14847,7 +14980,9 @@ type PerfectionistSortClasses =
|
|
|
14847
14980
|
| string
|
|
14848
14981
|
| string[]
|
|
14849
14982
|
| {
|
|
14850
|
-
newlinesBetween
|
|
14983
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
14984
|
+
|
|
14985
|
+
commentAbove?: string
|
|
14851
14986
|
}
|
|
14852
14987
|
)[]
|
|
14853
14988
|
},
|
|
@@ -14957,7 +15092,9 @@ type PerfectionistSortDecorators =
|
|
|
14957
15092
|
| string
|
|
14958
15093
|
| string[]
|
|
14959
15094
|
| {
|
|
14960
|
-
newlinesBetween
|
|
15095
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15096
|
+
|
|
15097
|
+
commentAbove?: string
|
|
14961
15098
|
}
|
|
14962
15099
|
)[]
|
|
14963
15100
|
},
|
|
@@ -15170,7 +15307,9 @@ type PerfectionistSortEnums =
|
|
|
15170
15307
|
| string
|
|
15171
15308
|
| string[]
|
|
15172
15309
|
| {
|
|
15173
|
-
newlinesBetween
|
|
15310
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15311
|
+
|
|
15312
|
+
commentAbove?: string
|
|
15174
15313
|
}
|
|
15175
15314
|
)[]
|
|
15176
15315
|
},
|
|
@@ -15347,7 +15486,9 @@ type PerfectionistSortExports = {
|
|
|
15347
15486
|
| string
|
|
15348
15487
|
| string[]
|
|
15349
15488
|
| {
|
|
15350
|
-
newlinesBetween
|
|
15489
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15490
|
+
|
|
15491
|
+
commentAbove?: string
|
|
15351
15492
|
}
|
|
15352
15493
|
)[]
|
|
15353
15494
|
}[]
|
|
@@ -15382,7 +15523,9 @@ type PerfectionistSortHeritageClauses =
|
|
|
15382
15523
|
| string
|
|
15383
15524
|
| string[]
|
|
15384
15525
|
| {
|
|
15385
|
-
newlinesBetween
|
|
15526
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15527
|
+
|
|
15528
|
+
commentAbove?: string
|
|
15386
15529
|
}
|
|
15387
15530
|
)[]
|
|
15388
15531
|
},
|
|
@@ -15573,6 +15716,11 @@ type PerfectionistSortImports = {
|
|
|
15573
15716
|
)
|
|
15574
15717
|
}
|
|
15575
15718
|
)[]
|
|
15719
|
+
tsconfig?: {
|
|
15720
|
+
rootDir: string
|
|
15721
|
+
|
|
15722
|
+
filename?: string
|
|
15723
|
+
}
|
|
15576
15724
|
|
|
15577
15725
|
maxLineLength?: number
|
|
15578
15726
|
|
|
@@ -15672,7 +15820,9 @@ type PerfectionistSortImports = {
|
|
|
15672
15820
|
| string
|
|
15673
15821
|
| string[]
|
|
15674
15822
|
| {
|
|
15675
|
-
newlinesBetween
|
|
15823
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
15824
|
+
|
|
15825
|
+
commentAbove?: string
|
|
15676
15826
|
}
|
|
15677
15827
|
)[]
|
|
15678
15828
|
}[]
|
|
@@ -15949,7 +16099,9 @@ type PerfectionistSortInterfaces = {
|
|
|
15949
16099
|
| string
|
|
15950
16100
|
| string[]
|
|
15951
16101
|
| {
|
|
15952
|
-
newlinesBetween
|
|
16102
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16103
|
+
|
|
16104
|
+
commentAbove?: string
|
|
15953
16105
|
}
|
|
15954
16106
|
)[]
|
|
15955
16107
|
}[]
|
|
@@ -16143,7 +16295,9 @@ type PerfectionistSortIntersectionTypes = {
|
|
|
16143
16295
|
| string
|
|
16144
16296
|
| string[]
|
|
16145
16297
|
| {
|
|
16146
|
-
newlinesBetween
|
|
16298
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16299
|
+
|
|
16300
|
+
commentAbove?: string
|
|
16147
16301
|
}
|
|
16148
16302
|
)[]
|
|
16149
16303
|
}[]
|
|
@@ -16348,7 +16502,9 @@ type PerfectionistSortJsxProps = {
|
|
|
16348
16502
|
| string
|
|
16349
16503
|
| string[]
|
|
16350
16504
|
| {
|
|
16351
|
-
newlinesBetween
|
|
16505
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16506
|
+
|
|
16507
|
+
commentAbove?: string
|
|
16352
16508
|
}
|
|
16353
16509
|
)[]
|
|
16354
16510
|
}[]
|
|
@@ -16534,7 +16690,9 @@ type PerfectionistSortMaps = {
|
|
|
16534
16690
|
| string
|
|
16535
16691
|
| string[]
|
|
16536
16692
|
| {
|
|
16537
|
-
newlinesBetween
|
|
16693
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16694
|
+
|
|
16695
|
+
commentAbove?: string
|
|
16538
16696
|
}
|
|
16539
16697
|
)[]
|
|
16540
16698
|
}[]
|
|
@@ -16747,7 +16905,9 @@ type PerfectionistSortModules =
|
|
|
16747
16905
|
| string
|
|
16748
16906
|
| string[]
|
|
16749
16907
|
| {
|
|
16750
|
-
newlinesBetween
|
|
16908
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
16909
|
+
|
|
16910
|
+
commentAbove?: string
|
|
16751
16911
|
}
|
|
16752
16912
|
)[]
|
|
16753
16913
|
},
|
|
@@ -16926,7 +17086,9 @@ type PerfectionistSortNamedExports = {
|
|
|
16926
17086
|
| string
|
|
16927
17087
|
| string[]
|
|
16928
17088
|
| {
|
|
16929
|
-
newlinesBetween
|
|
17089
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17090
|
+
|
|
17091
|
+
commentAbove?: string
|
|
16930
17092
|
}
|
|
16931
17093
|
)[]
|
|
16932
17094
|
}[]
|
|
@@ -17104,7 +17266,9 @@ type PerfectionistSortNamedImports = {
|
|
|
17104
17266
|
| string
|
|
17105
17267
|
| string[]
|
|
17106
17268
|
| {
|
|
17107
|
-
newlinesBetween
|
|
17269
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17270
|
+
|
|
17271
|
+
commentAbove?: string
|
|
17108
17272
|
}
|
|
17109
17273
|
)[]
|
|
17110
17274
|
}[]
|
|
@@ -17381,7 +17545,9 @@ type PerfectionistSortObjectTypes = {
|
|
|
17381
17545
|
| string
|
|
17382
17546
|
| string[]
|
|
17383
17547
|
| {
|
|
17384
|
-
newlinesBetween
|
|
17548
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17549
|
+
|
|
17550
|
+
commentAbove?: string
|
|
17385
17551
|
}
|
|
17386
17552
|
)[]
|
|
17387
17553
|
}[]
|
|
@@ -17662,7 +17828,9 @@ type PerfectionistSortObjects = {
|
|
|
17662
17828
|
| string
|
|
17663
17829
|
| string[]
|
|
17664
17830
|
| {
|
|
17665
|
-
newlinesBetween
|
|
17831
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
17832
|
+
|
|
17833
|
+
commentAbove?: string
|
|
17666
17834
|
}
|
|
17667
17835
|
)[]
|
|
17668
17836
|
}[]
|
|
@@ -17854,7 +18022,9 @@ type PerfectionistSortSets = {
|
|
|
17854
18022
|
| string
|
|
17855
18023
|
| string[]
|
|
17856
18024
|
| {
|
|
17857
|
-
newlinesBetween
|
|
18025
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18026
|
+
|
|
18027
|
+
commentAbove?: string
|
|
17858
18028
|
}
|
|
17859
18029
|
)[]
|
|
17860
18030
|
}[]
|
|
@@ -18072,7 +18242,9 @@ type PerfectionistSortUnionTypes = {
|
|
|
18072
18242
|
| string
|
|
18073
18243
|
| string[]
|
|
18074
18244
|
| {
|
|
18075
|
-
newlinesBetween
|
|
18245
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18246
|
+
|
|
18247
|
+
commentAbove?: string
|
|
18076
18248
|
}
|
|
18077
18249
|
)[]
|
|
18078
18250
|
}[]
|
|
@@ -18245,7 +18417,9 @@ type PerfectionistSortVariableDeclarations =
|
|
|
18245
18417
|
| string
|
|
18246
18418
|
| string[]
|
|
18247
18419
|
| {
|
|
18248
|
-
newlinesBetween
|
|
18420
|
+
newlinesBetween?: 'ignore' | 'always' | 'never'
|
|
18421
|
+
|
|
18422
|
+
commentAbove?: string
|
|
18249
18423
|
}
|
|
18250
18424
|
)[]
|
|
18251
18425
|
},
|
|
@@ -18624,6 +18798,14 @@ type RegexpPreferNamedReplacement =
|
|
|
18624
18798
|
strictTypes?: boolean
|
|
18625
18799
|
},
|
|
18626
18800
|
]
|
|
18801
|
+
// ----- regexp/prefer-quantifier -----
|
|
18802
|
+
type RegexpPreferQuantifier =
|
|
18803
|
+
| []
|
|
18804
|
+
| [
|
|
18805
|
+
{
|
|
18806
|
+
allows?: string[]
|
|
18807
|
+
},
|
|
18808
|
+
]
|
|
18627
18809
|
// ----- regexp/prefer-range -----
|
|
18628
18810
|
type RegexpPreferRange =
|
|
18629
18811
|
| []
|
|
@@ -19115,6 +19297,7 @@ type SveltePreferConst =
|
|
|
19115
19297
|
destructuring?: 'any' | 'all'
|
|
19116
19298
|
ignoreReadBeforeAssign?: boolean
|
|
19117
19299
|
excludedRunes?: string[]
|
|
19300
|
+
[k: string]: unknown | undefined
|
|
19118
19301
|
},
|
|
19119
19302
|
]
|
|
19120
19303
|
// ----- svelte/require-event-prefix -----
|
|
@@ -24231,6 +24414,8 @@ declare const GLOB_JSONC = "**/*.jsonc";
|
|
|
24231
24414
|
declare const GLOB_MARKDOWN = "**/*.md";
|
|
24232
24415
|
declare const GLOB_MDX = "**/*.mdx";
|
|
24233
24416
|
declare const GLOB_SVELTE = "**/*.svelte";
|
|
24417
|
+
declare const GLOB_SVELTE_TS = "**/*.svelte.ts";
|
|
24418
|
+
declare const GLOB_SVELTE_JS = "**/*.svelte.js";
|
|
24234
24419
|
declare const GLOB_YAML = "**/*.y?(a)ml";
|
|
24235
24420
|
declare const GLOB_TOML = "**/*.toml";
|
|
24236
24421
|
declare const GLOB_XML = "**/*.xml";
|
|
@@ -24332,4 +24517,4 @@ declare function generatePerfectionistSortConfig(strings: string[], matchType?:
|
|
|
24332
24517
|
};
|
|
24333
24518
|
};
|
|
24334
24519
|
|
|
24335
|
-
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_JS, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_MDX_CODE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_XML, GLOB_YAML, type OptionsConfig, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsOverridesEmbeddedScripts, type OptionsTypeAware, type ResolvedOptions, type Rules, type TypedFlatConfigItem, astro, combine, eslintConfig as default, defaultPluginRenaming, disables, eslintConfig, generatePerfectionistSortConfig, getLanguageOptions, getOverrides, getOverridesEmbeddedScripts, html, ignores, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, js, json, jsx, md, mdx, react, renamePluginInConfigs, renameRules, resolveSubOptions, svelte, test, toArray, toml, ts, tsx, yaml };
|
|
24520
|
+
export { type Awaitable, type ConfigNames, GLOB_ALL_SRC, GLOB_ASTRO, GLOB_ASTRO_JS, GLOB_ASTRO_TS, GLOB_CSS, GLOB_EXCLUDE, GLOB_GRAPHQL, GLOB_HTML, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_LESS, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_MDX, GLOB_MDX_CODE, GLOB_POSTCSS, GLOB_SCSS, GLOB_SRC, GLOB_SRC_EXT, GLOB_STYLE, GLOB_SVELTE, GLOB_SVELTE_JS, GLOB_SVELTE_TS, GLOB_SVG, GLOB_TESTS, GLOB_TOML, GLOB_TS, GLOB_TSX, GLOB_XML, GLOB_YAML, type OptionsConfig, type OptionsHasTypeScript, type OptionsIsInEditor, type OptionsOverrides, type OptionsOverridesEmbeddedScripts, type OptionsTypeAware, type ResolvedOptions, type Rules, type TypedFlatConfigItem, astro, combine, eslintConfig as default, defaultPluginRenaming, disables, eslintConfig, generatePerfectionistSortConfig, getLanguageOptions, getOverrides, getOverridesEmbeddedScripts, html, ignores, interopDefault, isInEditorEnv, isInGitHooksOrLintStaged, js, json, jsx, md, mdx, react, renamePluginInConfigs, renameRules, resolveSubOptions, svelte, test, toArray, toml, ts, tsx, yaml };
|
package/dist/index.js
CHANGED
|
@@ -21,6 +21,8 @@ var GLOB_JSONC = "**/*.jsonc";
|
|
|
21
21
|
var GLOB_MARKDOWN = "**/*.md";
|
|
22
22
|
var GLOB_MDX = "**/*.mdx";
|
|
23
23
|
var GLOB_SVELTE = "**/*.svelte";
|
|
24
|
+
var GLOB_SVELTE_TS = "**/*.svelte.ts";
|
|
25
|
+
var GLOB_SVELTE_JS = "**/*.svelte.js";
|
|
24
26
|
var GLOB_YAML = "**/*.y?(a)ml";
|
|
25
27
|
var GLOB_TOML = "**/*.toml";
|
|
26
28
|
var GLOB_XML = "**/*.xml";
|
|
@@ -47,6 +49,8 @@ var GLOB_ALL_SRC = [
|
|
|
47
49
|
GLOB_MARKDOWN,
|
|
48
50
|
GLOB_MDX,
|
|
49
51
|
GLOB_SVELTE,
|
|
52
|
+
GLOB_SVELTE_JS,
|
|
53
|
+
GLOB_SVELTE_TS,
|
|
50
54
|
GLOB_YAML,
|
|
51
55
|
GLOB_XML,
|
|
52
56
|
GLOB_HTML
|
|
@@ -770,13 +774,17 @@ var jsonPackageRecommendedRules = {
|
|
|
770
774
|
"json-package/order-properties": "error",
|
|
771
775
|
"json-package/require-description": "error",
|
|
772
776
|
"json-package/require-name": "error",
|
|
777
|
+
"json-package/require-type": "error",
|
|
773
778
|
"json-package/require-version": "error",
|
|
774
779
|
"json-package/repository-shorthand": "error",
|
|
775
780
|
"json-package/sort-collections": "error",
|
|
776
781
|
"json-package/unique-dependencies": "error",
|
|
777
782
|
"json-package/valid-local-dependency": "error",
|
|
778
783
|
"json-package/valid-name": "error",
|
|
779
|
-
"json-package/valid-package-definition":
|
|
784
|
+
"json-package/valid-package-definition": [
|
|
785
|
+
"error",
|
|
786
|
+
{ ignoreProperties: ["local-dependency", "name", "repository-directory", "version"] }
|
|
787
|
+
],
|
|
780
788
|
"json-package/valid-repository-directory": "error",
|
|
781
789
|
"json-package/valid-version": "error"
|
|
782
790
|
// End expansion
|
|
@@ -3760,9 +3768,11 @@ async function react(options = {}) {
|
|
|
3760
3768
|
}
|
|
3761
3769
|
|
|
3762
3770
|
// src/configs/svelte.ts
|
|
3771
|
+
import path2 from "path";
|
|
3772
|
+
import process4 from "process";
|
|
3763
3773
|
async function svelte(options = {}) {
|
|
3764
3774
|
const { overrides = {} } = options;
|
|
3765
|
-
const files = [GLOB_SVELTE];
|
|
3775
|
+
const files = [GLOB_SVELTE, GLOB_SVELTE_JS, GLOB_SVELTE_TS];
|
|
3766
3776
|
const [pluginSvelte, parserSvelte] = await Promise.all([
|
|
3767
3777
|
interopDefault(import("eslint-plugin-svelte")),
|
|
3768
3778
|
interopDefault(import("svelte-eslint-parser"))
|
|
@@ -3782,13 +3792,17 @@ async function svelte(options = {}) {
|
|
|
3782
3792
|
parser: parserSvelte,
|
|
3783
3793
|
parserOptions: {
|
|
3784
3794
|
extraFileExtensions: [".svelte"],
|
|
3785
|
-
parser: tsParser
|
|
3795
|
+
parser: tsParser,
|
|
3786
3796
|
// TODO js version?
|
|
3797
|
+
project: path2.join(process4.cwd(), "tsconfig.json"),
|
|
3798
|
+
// Not sure why this isn't inherited
|
|
3799
|
+
svelteConfig: path2.join(process4.cwd(), "svelte.config.js")
|
|
3787
3800
|
}
|
|
3788
3801
|
},
|
|
3789
3802
|
name: "kp/svelte/rules",
|
|
3790
3803
|
processor: pluginSvelte.processors[".svelte"],
|
|
3791
3804
|
rules: {
|
|
3805
|
+
...sharedScriptConfig.rules,
|
|
3792
3806
|
...svelteRecommendedRules,
|
|
3793
3807
|
"import/no-mutable-exports": "off",
|
|
3794
3808
|
// Allow prop export
|
|
@@ -4045,6 +4059,8 @@ export {
|
|
|
4045
4059
|
GLOB_SRC_EXT,
|
|
4046
4060
|
GLOB_STYLE,
|
|
4047
4061
|
GLOB_SVELTE,
|
|
4062
|
+
GLOB_SVELTE_JS,
|
|
4063
|
+
GLOB_SVELTE_TS,
|
|
4048
4064
|
GLOB_SVG,
|
|
4049
4065
|
GLOB_TESTS,
|
|
4050
4066
|
GLOB_TOML,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kitschpatrol/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "ESLint configuration for @kitschpatrol/shared-config.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"shared-config",
|
|
@@ -42,37 +42,37 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
45
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
46
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
47
|
-
"@html-eslint/parser": "^0.
|
|
45
|
+
"@eslint-react/eslint-plugin": "^1.51.3",
|
|
46
|
+
"@html-eslint/eslint-plugin": "^0.41.0",
|
|
47
|
+
"@html-eslint/parser": "^0.41.0",
|
|
48
48
|
"@pinojs/json-colorizer": "^4.0.0",
|
|
49
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
50
|
-
"@typescript-eslint/parser": "^8.
|
|
51
|
-
"@vitest/eslint-plugin": "^1.2.
|
|
49
|
+
"@typescript-eslint/eslint-plugin": "^8.34.0",
|
|
50
|
+
"@typescript-eslint/parser": "^8.34.0",
|
|
51
|
+
"@vitest/eslint-plugin": "^1.2.2",
|
|
52
52
|
"astro-eslint-parser": "^1.2.2",
|
|
53
|
-
"eslint": "^9.
|
|
53
|
+
"eslint": "^9.28.0",
|
|
54
54
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
55
55
|
"eslint-flat-config-utils": "^2.1.0",
|
|
56
|
-
"eslint-import-resolver-typescript": "^4.4.
|
|
56
|
+
"eslint-import-resolver-typescript": "^4.4.3",
|
|
57
57
|
"eslint-mdx": "^3.4.2",
|
|
58
58
|
"eslint-plugin-astro": "^1.3.1",
|
|
59
59
|
"eslint-plugin-depend": "^1.2.0",
|
|
60
60
|
"eslint-plugin-html": "^8.1.3",
|
|
61
|
-
"eslint-plugin-import-x": "^4.
|
|
62
|
-
"eslint-plugin-jsdoc": "^50.
|
|
61
|
+
"eslint-plugin-import-x": "^4.15.1",
|
|
62
|
+
"eslint-plugin-jsdoc": "^50.7.1",
|
|
63
63
|
"eslint-plugin-jsonc": "^2.20.1",
|
|
64
64
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
65
65
|
"eslint-plugin-mdx": "^3.4.2",
|
|
66
|
-
"eslint-plugin-n": "^17.
|
|
66
|
+
"eslint-plugin-n": "^17.19.0",
|
|
67
67
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
68
|
-
"eslint-plugin-package-json": "^0.
|
|
69
|
-
"eslint-plugin-perfectionist": "^4.
|
|
70
|
-
"eslint-plugin-regexp": "^2.
|
|
71
|
-
"eslint-plugin-svelte": "^3.9.
|
|
68
|
+
"eslint-plugin-package-json": "^0.35.1",
|
|
69
|
+
"eslint-plugin-perfectionist": "^4.14.0",
|
|
70
|
+
"eslint-plugin-regexp": "^2.9.0",
|
|
71
|
+
"eslint-plugin-svelte": "^3.9.2",
|
|
72
72
|
"eslint-plugin-toml": "^0.12.0",
|
|
73
73
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
74
74
|
"eslint-plugin-yml": "^1.18.0",
|
|
75
|
-
"execa": "^9.
|
|
75
|
+
"execa": "^9.6.0",
|
|
76
76
|
"find-workspaces": "^0.3.1",
|
|
77
77
|
"fs-extra": "^11.3.0",
|
|
78
78
|
"globals": "^16.2.0",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
"eslint-config-xo-typescript": "^8.0.1",
|
|
93
93
|
"eslint-typegen": "^2.2.0",
|
|
94
94
|
"globby": "^14.1.0",
|
|
95
|
-
"svelte": "^5.33.
|
|
95
|
+
"svelte": "^5.33.19",
|
|
96
96
|
"tsup": "^8.5.0"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|