@kitschpatrol/eslint-config 5.4.2 → 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 CHANGED
@@ -5138,7 +5138,7 @@ var Yargs = YargsFactory(esm_default);
5138
5138
  var yargs_default = Yargs;
5139
5139
 
5140
5140
  // ../../package.json
5141
- var version = "5.4.2";
5141
+ var version = "5.4.4";
5142
5142
 
5143
5143
  // ../../src/execa-utilities.ts
5144
5144
  function isErrorExecaError(error) {
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 `<meta name="viewport">` in `<head>`
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.13.1/docs/rules/consistent-type-specifier-style.md
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.13.1/docs/rules/default.md
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.13.1/docs/rules/dynamic-import-chunkname.md
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.13.1/docs/rules/export.md
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.13.1/docs/rules/exports-last.md
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.13.1/docs/rules/extensions.md
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.13.1/docs/rules/first.md
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.13.1/docs/rules/group-exports.md
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.13.1/docs/rules/imports-first.md
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.13.1/docs/rules/max-dependencies.md
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.13.1/docs/rules/named.md
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.13.1/docs/rules/namespace.md
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.13.1/docs/rules/newline-after-import.md
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.13.1/docs/rules/no-absolute-path.md
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.13.1/docs/rules/no-amd.md
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.13.1/docs/rules/no-anonymous-default-export.md
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.13.1/docs/rules/no-commonjs.md
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.13.1/docs/rules/no-cycle.md
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.13.1/docs/rules/no-default-export.md
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.13.1/docs/rules/no-deprecated.md
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.13.1/docs/rules/no-duplicates.md
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.13.1/docs/rules/no-dynamic-require.md
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.13.1/docs/rules/no-empty-named-blocks.md
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.13.1/docs/rules/no-extraneous-dependencies.md
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.13.1/docs/rules/no-import-module-exports.md
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.13.1/docs/rules/no-internal-modules.md
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.13.1/docs/rules/no-mutable-exports.md
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.13.1/docs/rules/no-named-as-default.md
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.13.1/docs/rules/no-named-as-default-member.md
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.13.1/docs/rules/no-named-default.md
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.13.1/docs/rules/no-named-export.md
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.13.1/docs/rules/no-namespace.md
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.13.1/docs/rules/no-nodejs-modules.md
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.13.1/docs/rules/no-relative-packages.md
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.13.1/docs/rules/no-relative-parent-imports.md
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.13.1/docs/rules/no-rename-default.md
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.13.1/docs/rules/no-restricted-paths.md
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.13.1/docs/rules/no-self-import.md
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.13.1/docs/rules/no-unassigned-import.md
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.13.1/docs/rules/no-unresolved.md
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.13.1/docs/rules/no-unused-modules.md
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.13.1/docs/rules/no-useless-path-segments.md
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.13.1/docs/rules/no-webpack-loader-syntax.md
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.13.1/docs/rules/order.md
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.13.1/docs/rules/prefer-default-export.md
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.13.1/docs/rules/unambiguous.md
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
  */
@@ -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 -----
@@ -10649,6 +10713,10 @@ type NoMagicNumbers =
10649
10713
  ignoreArrayIndexes?: boolean
10650
10714
  ignoreDefaultValues?: boolean
10651
10715
  ignoreClassFieldInitialValues?: boolean
10716
+ ignoreEnums?: boolean
10717
+ ignoreNumericLiteralTypes?: boolean
10718
+ ignoreReadonlyClassProperties?: boolean
10719
+ ignoreTypeIndexes?: boolean
10652
10720
  },
10653
10721
  ]
10654
10722
  // ----- no-misleading-character-class -----
@@ -10965,9 +11033,11 @@ type NoShadow =
10965
11033
  | [
10966
11034
  {
10967
11035
  builtinGlobals?: boolean
10968
- hoist?: 'all' | 'functions' | 'never'
11036
+ hoist?: 'all' | 'functions' | 'never' | 'types' | 'functions-and-types'
10969
11037
  allow?: string[]
10970
11038
  ignoreOnInitialization?: boolean
11039
+ ignoreTypeValueShadow?: boolean
11040
+ ignoreFunctionTypeParameterNameValueShadow?: boolean
10971
11041
  },
10972
11042
  ]
10973
11043
  // ----- no-shadow-restricted-names -----
@@ -11105,6 +11175,9 @@ type NoUseBeforeDefine =
11105
11175
  classes?: boolean
11106
11176
  variables?: boolean
11107
11177
  allowNamedExports?: boolean
11178
+ enums?: boolean
11179
+ typedefs?: boolean
11180
+ ignoreTypeReferences?: boolean
11108
11181
  },
11109
11182
  ]
11110
11183
  // ----- no-useless-computed-key -----
@@ -11517,7 +11590,49 @@ type NodeNoSync =
11517
11590
  | [
11518
11591
  {
11519
11592
  allowAtRootLevel?: boolean
11520
- ignores?: string[]
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
+ ]
11521
11636
  },
11522
11637
  ]
11523
11638
  // ----- node/no-unpublished-bin -----
@@ -14538,7 +14653,9 @@ type PerfectionistSortArrayIncludes = {
14538
14653
  | string
14539
14654
  | string[]
14540
14655
  | {
14541
- newlinesBetween: 'ignore' | 'always' | 'never'
14656
+ newlinesBetween?: 'ignore' | 'always' | 'never'
14657
+
14658
+ commentAbove?: string
14542
14659
  }
14543
14660
  )[]
14544
14661
  }[]
@@ -14847,7 +14964,9 @@ type PerfectionistSortClasses =
14847
14964
  | string
14848
14965
  | string[]
14849
14966
  | {
14850
- newlinesBetween: 'ignore' | 'always' | 'never'
14967
+ newlinesBetween?: 'ignore' | 'always' | 'never'
14968
+
14969
+ commentAbove?: string
14851
14970
  }
14852
14971
  )[]
14853
14972
  },
@@ -14957,7 +15076,9 @@ type PerfectionistSortDecorators =
14957
15076
  | string
14958
15077
  | string[]
14959
15078
  | {
14960
- newlinesBetween: 'ignore' | 'always' | 'never'
15079
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15080
+
15081
+ commentAbove?: string
14961
15082
  }
14962
15083
  )[]
14963
15084
  },
@@ -15170,7 +15291,9 @@ type PerfectionistSortEnums =
15170
15291
  | string
15171
15292
  | string[]
15172
15293
  | {
15173
- newlinesBetween: 'ignore' | 'always' | 'never'
15294
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15295
+
15296
+ commentAbove?: string
15174
15297
  }
15175
15298
  )[]
15176
15299
  },
@@ -15347,7 +15470,9 @@ type PerfectionistSortExports = {
15347
15470
  | string
15348
15471
  | string[]
15349
15472
  | {
15350
- newlinesBetween: 'ignore' | 'always' | 'never'
15473
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15474
+
15475
+ commentAbove?: string
15351
15476
  }
15352
15477
  )[]
15353
15478
  }[]
@@ -15382,7 +15507,9 @@ type PerfectionistSortHeritageClauses =
15382
15507
  | string
15383
15508
  | string[]
15384
15509
  | {
15385
- newlinesBetween: 'ignore' | 'always' | 'never'
15510
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15511
+
15512
+ commentAbove?: string
15386
15513
  }
15387
15514
  )[]
15388
15515
  },
@@ -15573,6 +15700,11 @@ type PerfectionistSortImports = {
15573
15700
  )
15574
15701
  }
15575
15702
  )[]
15703
+ tsconfig?: {
15704
+ rootDir: string
15705
+
15706
+ filename?: string
15707
+ }
15576
15708
 
15577
15709
  maxLineLength?: number
15578
15710
 
@@ -15672,7 +15804,9 @@ type PerfectionistSortImports = {
15672
15804
  | string
15673
15805
  | string[]
15674
15806
  | {
15675
- newlinesBetween: 'ignore' | 'always' | 'never'
15807
+ newlinesBetween?: 'ignore' | 'always' | 'never'
15808
+
15809
+ commentAbove?: string
15676
15810
  }
15677
15811
  )[]
15678
15812
  }[]
@@ -15949,7 +16083,9 @@ type PerfectionistSortInterfaces = {
15949
16083
  | string
15950
16084
  | string[]
15951
16085
  | {
15952
- newlinesBetween: 'ignore' | 'always' | 'never'
16086
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16087
+
16088
+ commentAbove?: string
15953
16089
  }
15954
16090
  )[]
15955
16091
  }[]
@@ -16143,7 +16279,9 @@ type PerfectionistSortIntersectionTypes = {
16143
16279
  | string
16144
16280
  | string[]
16145
16281
  | {
16146
- newlinesBetween: 'ignore' | 'always' | 'never'
16282
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16283
+
16284
+ commentAbove?: string
16147
16285
  }
16148
16286
  )[]
16149
16287
  }[]
@@ -16348,7 +16486,9 @@ type PerfectionistSortJsxProps = {
16348
16486
  | string
16349
16487
  | string[]
16350
16488
  | {
16351
- newlinesBetween: 'ignore' | 'always' | 'never'
16489
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16490
+
16491
+ commentAbove?: string
16352
16492
  }
16353
16493
  )[]
16354
16494
  }[]
@@ -16534,7 +16674,9 @@ type PerfectionistSortMaps = {
16534
16674
  | string
16535
16675
  | string[]
16536
16676
  | {
16537
- newlinesBetween: 'ignore' | 'always' | 'never'
16677
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16678
+
16679
+ commentAbove?: string
16538
16680
  }
16539
16681
  )[]
16540
16682
  }[]
@@ -16747,7 +16889,9 @@ type PerfectionistSortModules =
16747
16889
  | string
16748
16890
  | string[]
16749
16891
  | {
16750
- newlinesBetween: 'ignore' | 'always' | 'never'
16892
+ newlinesBetween?: 'ignore' | 'always' | 'never'
16893
+
16894
+ commentAbove?: string
16751
16895
  }
16752
16896
  )[]
16753
16897
  },
@@ -16926,7 +17070,9 @@ type PerfectionistSortNamedExports = {
16926
17070
  | string
16927
17071
  | string[]
16928
17072
  | {
16929
- newlinesBetween: 'ignore' | 'always' | 'never'
17073
+ newlinesBetween?: 'ignore' | 'always' | 'never'
17074
+
17075
+ commentAbove?: string
16930
17076
  }
16931
17077
  )[]
16932
17078
  }[]
@@ -17104,7 +17250,9 @@ type PerfectionistSortNamedImports = {
17104
17250
  | string
17105
17251
  | string[]
17106
17252
  | {
17107
- newlinesBetween: 'ignore' | 'always' | 'never'
17253
+ newlinesBetween?: 'ignore' | 'always' | 'never'
17254
+
17255
+ commentAbove?: string
17108
17256
  }
17109
17257
  )[]
17110
17258
  }[]
@@ -17381,7 +17529,9 @@ type PerfectionistSortObjectTypes = {
17381
17529
  | string
17382
17530
  | string[]
17383
17531
  | {
17384
- newlinesBetween: 'ignore' | 'always' | 'never'
17532
+ newlinesBetween?: 'ignore' | 'always' | 'never'
17533
+
17534
+ commentAbove?: string
17385
17535
  }
17386
17536
  )[]
17387
17537
  }[]
@@ -17662,7 +17812,9 @@ type PerfectionistSortObjects = {
17662
17812
  | string
17663
17813
  | string[]
17664
17814
  | {
17665
- newlinesBetween: 'ignore' | 'always' | 'never'
17815
+ newlinesBetween?: 'ignore' | 'always' | 'never'
17816
+
17817
+ commentAbove?: string
17666
17818
  }
17667
17819
  )[]
17668
17820
  }[]
@@ -17854,7 +18006,9 @@ type PerfectionistSortSets = {
17854
18006
  | string
17855
18007
  | string[]
17856
18008
  | {
17857
- newlinesBetween: 'ignore' | 'always' | 'never'
18009
+ newlinesBetween?: 'ignore' | 'always' | 'never'
18010
+
18011
+ commentAbove?: string
17858
18012
  }
17859
18013
  )[]
17860
18014
  }[]
@@ -18072,7 +18226,9 @@ type PerfectionistSortUnionTypes = {
18072
18226
  | string
18073
18227
  | string[]
18074
18228
  | {
18075
- newlinesBetween: 'ignore' | 'always' | 'never'
18229
+ newlinesBetween?: 'ignore' | 'always' | 'never'
18230
+
18231
+ commentAbove?: string
18076
18232
  }
18077
18233
  )[]
18078
18234
  }[]
@@ -18245,7 +18401,9 @@ type PerfectionistSortVariableDeclarations =
18245
18401
  | string
18246
18402
  | string[]
18247
18403
  | {
18248
- newlinesBetween: 'ignore' | 'always' | 'never'
18404
+ newlinesBetween?: 'ignore' | 'always' | 'never'
18405
+
18406
+ commentAbove?: string
18249
18407
  }
18250
18408
  )[]
18251
18409
  },
@@ -18624,6 +18782,14 @@ type RegexpPreferNamedReplacement =
18624
18782
  strictTypes?: boolean
18625
18783
  },
18626
18784
  ]
18785
+ // ----- regexp/prefer-quantifier -----
18786
+ type RegexpPreferQuantifier =
18787
+ | []
18788
+ | [
18789
+ {
18790
+ allows?: string[]
18791
+ },
18792
+ ]
18627
18793
  // ----- regexp/prefer-range -----
18628
18794
  type RegexpPreferRange =
18629
18795
  | []
@@ -19115,6 +19281,7 @@ type SveltePreferConst =
19115
19281
  destructuring?: 'any' | 'all'
19116
19282
  ignoreReadBeforeAssign?: boolean
19117
19283
  excludedRunes?: string[]
19284
+ [k: string]: unknown | undefined
19118
19285
  },
19119
19286
  ]
19120
19287
  // ----- svelte/require-event-prefix -----
package/dist/index.js CHANGED
@@ -770,6 +770,7 @@ var jsonPackageRecommendedRules = {
770
770
  "json-package/order-properties": "error",
771
771
  "json-package/require-description": "error",
772
772
  "json-package/require-name": "error",
773
+ "json-package/require-type": "error",
773
774
  "json-package/require-version": "error",
774
775
  "json-package/repository-shorthand": "error",
775
776
  "json-package/sort-collections": "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/eslint-config",
3
- "version": "5.4.2",
3
+ "version": "5.4.4",
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.50.0",
46
- "@html-eslint/eslint-plugin": "^0.40.3",
47
- "@html-eslint/parser": "^0.40.0",
45
+ "@eslint-react/eslint-plugin": "^1.51.2",
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.32.1",
50
- "@typescript-eslint/parser": "^8.32.1",
49
+ "@typescript-eslint/eslint-plugin": "^8.33.1",
50
+ "@typescript-eslint/parser": "^8.33.1",
51
51
  "@vitest/eslint-plugin": "^1.2.1",
52
52
  "astro-eslint-parser": "^1.2.2",
53
- "eslint": "^9.27.0",
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.0",
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.13.1",
62
- "eslint-plugin-jsdoc": "^50.6.17",
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.18.0",
66
+ "eslint-plugin-n": "^17.19.0",
67
67
  "eslint-plugin-no-only-tests": "^3.3.0",
68
- "eslint-plugin-package-json": "^0.31.0",
69
- "eslint-plugin-perfectionist": "^4.13.0",
70
- "eslint-plugin-regexp": "^2.7.0",
71
- "eslint-plugin-svelte": "^3.9.0",
68
+ "eslint-plugin-package-json": "^0.33.2",
69
+ "eslint-plugin-perfectionist": "^4.14.0",
70
+ "eslint-plugin-regexp": "^2.9.0",
71
+ "eslint-plugin-svelte": "^3.9.1",
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.5.3",
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.2",
95
+ "svelte": "^5.33.18",
96
96
  "tsup": "^8.5.0"
97
97
  },
98
98
  "engines": {