@vinicunca/eslint-config 2.9.4 → 2.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +0 -1
- package/dist/index.d.cts +60 -45
- package/dist/index.d.ts +60 -45
- package/dist/index.js +0 -1
- package/package.json +8 -8
package/dist/index.cjs
CHANGED
|
@@ -507,7 +507,6 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
507
507
|
};
|
|
508
508
|
}
|
|
509
509
|
await ensurePackages([
|
|
510
|
-
"eslint-plugin-format",
|
|
511
510
|
options.markdown && options.slidev ? "prettier-plugin-slidev" : void 0,
|
|
512
511
|
options.astro ? "prettier-plugin-astro" : void 0,
|
|
513
512
|
options.xml || options.svg ? "@prettier/plugin-xml" : void 0
|
package/dist/index.d.cts
CHANGED
|
@@ -646,228 +646,233 @@ interface RuleOptions {
|
|
|
646
646
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
647
647
|
/**
|
|
648
648
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/consistent-type-specifier-style.md
|
|
650
650
|
*/
|
|
651
651
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
652
652
|
/**
|
|
653
653
|
* Ensure a default export is present, given a default import.
|
|
654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/default.md
|
|
655
655
|
*/
|
|
656
656
|
'import/default'?: Linter.RuleEntry<[]>
|
|
657
657
|
/**
|
|
658
658
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/dynamic-import-chunkname.md
|
|
660
660
|
*/
|
|
661
661
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
662
662
|
/**
|
|
663
663
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/export.md
|
|
665
665
|
*/
|
|
666
666
|
'import/export'?: Linter.RuleEntry<[]>
|
|
667
667
|
/**
|
|
668
668
|
* Ensure all exports appear after other statements.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/exports-last.md
|
|
670
670
|
*/
|
|
671
671
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
672
672
|
/**
|
|
673
673
|
* Ensure consistent use of file extension within the import path.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/extensions.md
|
|
675
675
|
*/
|
|
676
676
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
677
677
|
/**
|
|
678
678
|
* Ensure all imports appear before other statements.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/first.md
|
|
680
680
|
*/
|
|
681
681
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
682
682
|
/**
|
|
683
683
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/group-exports.md
|
|
685
685
|
*/
|
|
686
686
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
687
687
|
/**
|
|
688
688
|
* Replaced by `import-x/first`.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/imports-first.md
|
|
690
690
|
* @deprecated
|
|
691
691
|
*/
|
|
692
692
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
693
693
|
/**
|
|
694
694
|
* Enforce the maximum number of dependencies a module can have.
|
|
695
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
695
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/max-dependencies.md
|
|
696
696
|
*/
|
|
697
697
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
698
698
|
/**
|
|
699
699
|
* Ensure named imports correspond to a named export in the remote file.
|
|
700
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
700
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/named.md
|
|
701
701
|
*/
|
|
702
702
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
703
703
|
/**
|
|
704
704
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
705
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
705
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/namespace.md
|
|
706
706
|
*/
|
|
707
707
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
708
708
|
/**
|
|
709
709
|
* Enforce a newline after import statements.
|
|
710
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
710
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/newline-after-import.md
|
|
711
711
|
*/
|
|
712
712
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
713
713
|
/**
|
|
714
714
|
* Forbid import of modules using absolute paths.
|
|
715
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
715
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-absolute-path.md
|
|
716
716
|
*/
|
|
717
717
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
718
718
|
/**
|
|
719
719
|
* Forbid AMD `require` and `define` calls.
|
|
720
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
720
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-amd.md
|
|
721
721
|
*/
|
|
722
722
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
723
723
|
/**
|
|
724
724
|
* Forbid anonymous values as default exports.
|
|
725
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
725
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-anonymous-default-export.md
|
|
726
726
|
*/
|
|
727
727
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
728
728
|
/**
|
|
729
729
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
730
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
730
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-commonjs.md
|
|
731
731
|
*/
|
|
732
732
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
733
733
|
/**
|
|
734
734
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
735
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
735
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-cycle.md
|
|
736
736
|
*/
|
|
737
737
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
738
738
|
/**
|
|
739
739
|
* Forbid default exports.
|
|
740
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-default-export.md
|
|
741
741
|
*/
|
|
742
742
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
743
743
|
/**
|
|
744
744
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
745
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-deprecated.md
|
|
746
746
|
*/
|
|
747
747
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
748
748
|
/**
|
|
749
749
|
* Forbid repeated import of the same module in multiple places.
|
|
750
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-duplicates.md
|
|
751
751
|
*/
|
|
752
752
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
753
753
|
/**
|
|
754
754
|
* Forbid `require()` calls with expressions.
|
|
755
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-dynamic-require.md
|
|
756
756
|
*/
|
|
757
757
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
758
758
|
/**
|
|
759
759
|
* Forbid empty named import blocks.
|
|
760
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-empty-named-blocks.md
|
|
761
761
|
*/
|
|
762
762
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
763
763
|
/**
|
|
764
764
|
* Forbid the use of extraneous packages.
|
|
765
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-extraneous-dependencies.md
|
|
766
766
|
*/
|
|
767
767
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
768
768
|
/**
|
|
769
769
|
* Forbid import statements with CommonJS module.exports.
|
|
770
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-import-module-exports.md
|
|
771
771
|
*/
|
|
772
772
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
773
773
|
/**
|
|
774
774
|
* Forbid importing the submodules of other modules.
|
|
775
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-internal-modules.md
|
|
776
776
|
*/
|
|
777
777
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
778
778
|
/**
|
|
779
779
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
780
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-mutable-exports.md
|
|
781
781
|
*/
|
|
782
782
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
783
783
|
/**
|
|
784
784
|
* Forbid use of exported name as identifier of default export.
|
|
785
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
785
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default.md
|
|
786
786
|
*/
|
|
787
787
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
788
788
|
/**
|
|
789
789
|
* Forbid use of exported name as property of default export.
|
|
790
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
790
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default-member.md
|
|
791
791
|
*/
|
|
792
792
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
793
793
|
/**
|
|
794
794
|
* Forbid named default exports.
|
|
795
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
795
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-default.md
|
|
796
796
|
*/
|
|
797
797
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
798
798
|
/**
|
|
799
799
|
* Forbid named exports.
|
|
800
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
800
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-export.md
|
|
801
801
|
*/
|
|
802
802
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
803
803
|
/**
|
|
804
804
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
805
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
805
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-namespace.md
|
|
806
806
|
*/
|
|
807
807
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
808
808
|
/**
|
|
809
809
|
* Forbid Node.js builtin modules.
|
|
810
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
810
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-nodejs-modules.md
|
|
811
811
|
*/
|
|
812
812
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
813
813
|
/**
|
|
814
814
|
* Forbid importing packages through relative paths.
|
|
815
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
815
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-packages.md
|
|
816
816
|
*/
|
|
817
817
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
818
818
|
/**
|
|
819
819
|
* Forbid importing modules from parent directories.
|
|
820
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
820
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-parent-imports.md
|
|
821
821
|
*/
|
|
822
822
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
823
|
+
/**
|
|
824
|
+
* Forbid importing a default export by a different name.
|
|
825
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-rename-default.md
|
|
826
|
+
*/
|
|
827
|
+
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
823
828
|
/**
|
|
824
829
|
* Enforce which files can be imported in a given folder.
|
|
825
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
830
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-restricted-paths.md
|
|
826
831
|
*/
|
|
827
832
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
828
833
|
/**
|
|
829
834
|
* Forbid a module from importing itself.
|
|
830
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-self-import.md
|
|
831
836
|
*/
|
|
832
837
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
833
838
|
/**
|
|
834
839
|
* Forbid unassigned imports.
|
|
835
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unassigned-import.md
|
|
836
841
|
*/
|
|
837
842
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
838
843
|
/**
|
|
839
844
|
* Ensure imports point to a file/module that can be resolved.
|
|
840
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unresolved.md
|
|
841
846
|
*/
|
|
842
847
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
843
848
|
/**
|
|
844
849
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
845
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
850
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unused-modules.md
|
|
846
851
|
*/
|
|
847
852
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
848
853
|
/**
|
|
849
854
|
* Forbid unnecessary path segments in import and require statements.
|
|
850
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
855
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-useless-path-segments.md
|
|
851
856
|
*/
|
|
852
857
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
853
858
|
/**
|
|
854
859
|
* Forbid webpack loader syntax in imports.
|
|
855
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
860
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-webpack-loader-syntax.md
|
|
856
861
|
*/
|
|
857
862
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
858
863
|
/**
|
|
859
864
|
* Enforce a convention in module import order.
|
|
860
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
865
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/order.md
|
|
861
866
|
*/
|
|
862
867
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
863
868
|
/**
|
|
864
869
|
* Prefer a default export if module exports a single name or multiple names.
|
|
865
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
870
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/prefer-default-export.md
|
|
866
871
|
*/
|
|
867
872
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
868
873
|
/**
|
|
869
874
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
870
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
875
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/unambiguous.md
|
|
871
876
|
*/
|
|
872
877
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
873
878
|
/**
|
|
@@ -5239,6 +5244,11 @@ interface RuleOptions {
|
|
|
5239
5244
|
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
5240
5245
|
*/
|
|
5241
5246
|
'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
|
|
5247
|
+
/**
|
|
5248
|
+
* Disallow using code marked as `@deprecated`
|
|
5249
|
+
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
5250
|
+
*/
|
|
5251
|
+
'ts/no-deprecated'?: Linter.RuleEntry<[]>
|
|
5242
5252
|
/**
|
|
5243
5253
|
* Disallow duplicate class members
|
|
5244
5254
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -8274,6 +8284,11 @@ type ImportNoRelativeParentImports = []|[{
|
|
|
8274
8284
|
|
|
8275
8285
|
ignore?: [string, ...(string)[]]
|
|
8276
8286
|
}]
|
|
8287
|
+
// ----- import/no-rename-default -----
|
|
8288
|
+
type ImportNoRenameDefault = []|[{
|
|
8289
|
+
commonjs?: boolean
|
|
8290
|
+
preventRenamingBindings?: boolean
|
|
8291
|
+
}]
|
|
8277
8292
|
// ----- import/no-restricted-paths -----
|
|
8278
8293
|
type ImportNoRestrictedPaths = []|[{
|
|
8279
8294
|
|
package/dist/index.d.ts
CHANGED
|
@@ -646,228 +646,233 @@ interface RuleOptions {
|
|
|
646
646
|
'implicit-arrow-linebreak'?: Linter.RuleEntry<ImplicitArrowLinebreak>
|
|
647
647
|
/**
|
|
648
648
|
* Enforce or ban the use of inline type-only markers for named imports.
|
|
649
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
649
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/consistent-type-specifier-style.md
|
|
650
650
|
*/
|
|
651
651
|
'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>
|
|
652
652
|
/**
|
|
653
653
|
* Ensure a default export is present, given a default import.
|
|
654
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
654
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/default.md
|
|
655
655
|
*/
|
|
656
656
|
'import/default'?: Linter.RuleEntry<[]>
|
|
657
657
|
/**
|
|
658
658
|
* Enforce a leading comment with the webpackChunkName for dynamic imports.
|
|
659
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
659
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/dynamic-import-chunkname.md
|
|
660
660
|
*/
|
|
661
661
|
'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>
|
|
662
662
|
/**
|
|
663
663
|
* Forbid any invalid exports, i.e. re-export of the same name.
|
|
664
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
664
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/export.md
|
|
665
665
|
*/
|
|
666
666
|
'import/export'?: Linter.RuleEntry<[]>
|
|
667
667
|
/**
|
|
668
668
|
* Ensure all exports appear after other statements.
|
|
669
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
669
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/exports-last.md
|
|
670
670
|
*/
|
|
671
671
|
'import/exports-last'?: Linter.RuleEntry<[]>
|
|
672
672
|
/**
|
|
673
673
|
* Ensure consistent use of file extension within the import path.
|
|
674
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
674
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/extensions.md
|
|
675
675
|
*/
|
|
676
676
|
'import/extensions'?: Linter.RuleEntry<ImportExtensions>
|
|
677
677
|
/**
|
|
678
678
|
* Ensure all imports appear before other statements.
|
|
679
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
679
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/first.md
|
|
680
680
|
*/
|
|
681
681
|
'import/first'?: Linter.RuleEntry<ImportFirst>
|
|
682
682
|
/**
|
|
683
683
|
* Prefer named exports to be grouped together in a single export declaration.
|
|
684
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
684
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/group-exports.md
|
|
685
685
|
*/
|
|
686
686
|
'import/group-exports'?: Linter.RuleEntry<[]>
|
|
687
687
|
/**
|
|
688
688
|
* Replaced by `import-x/first`.
|
|
689
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
689
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/imports-first.md
|
|
690
690
|
* @deprecated
|
|
691
691
|
*/
|
|
692
692
|
'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>
|
|
693
693
|
/**
|
|
694
694
|
* Enforce the maximum number of dependencies a module can have.
|
|
695
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
695
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/max-dependencies.md
|
|
696
696
|
*/
|
|
697
697
|
'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>
|
|
698
698
|
/**
|
|
699
699
|
* Ensure named imports correspond to a named export in the remote file.
|
|
700
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
700
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/named.md
|
|
701
701
|
*/
|
|
702
702
|
'import/named'?: Linter.RuleEntry<ImportNamed>
|
|
703
703
|
/**
|
|
704
704
|
* Ensure imported namespaces contain dereferenced properties as they are dereferenced.
|
|
705
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
705
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/namespace.md
|
|
706
706
|
*/
|
|
707
707
|
'import/namespace'?: Linter.RuleEntry<ImportNamespace>
|
|
708
708
|
/**
|
|
709
709
|
* Enforce a newline after import statements.
|
|
710
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
710
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/newline-after-import.md
|
|
711
711
|
*/
|
|
712
712
|
'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>
|
|
713
713
|
/**
|
|
714
714
|
* Forbid import of modules using absolute paths.
|
|
715
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
715
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-absolute-path.md
|
|
716
716
|
*/
|
|
717
717
|
'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>
|
|
718
718
|
/**
|
|
719
719
|
* Forbid AMD `require` and `define` calls.
|
|
720
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
720
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-amd.md
|
|
721
721
|
*/
|
|
722
722
|
'import/no-amd'?: Linter.RuleEntry<[]>
|
|
723
723
|
/**
|
|
724
724
|
* Forbid anonymous values as default exports.
|
|
725
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
725
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-anonymous-default-export.md
|
|
726
726
|
*/
|
|
727
727
|
'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>
|
|
728
728
|
/**
|
|
729
729
|
* Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
|
|
730
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
730
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-commonjs.md
|
|
731
731
|
*/
|
|
732
732
|
'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>
|
|
733
733
|
/**
|
|
734
734
|
* Forbid a module from importing a module with a dependency path back to itself.
|
|
735
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
735
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-cycle.md
|
|
736
736
|
*/
|
|
737
737
|
'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>
|
|
738
738
|
/**
|
|
739
739
|
* Forbid default exports.
|
|
740
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
740
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-default-export.md
|
|
741
741
|
*/
|
|
742
742
|
'import/no-default-export'?: Linter.RuleEntry<[]>
|
|
743
743
|
/**
|
|
744
744
|
* Forbid imported names marked with `@deprecated` documentation tag.
|
|
745
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
745
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-deprecated.md
|
|
746
746
|
*/
|
|
747
747
|
'import/no-deprecated'?: Linter.RuleEntry<[]>
|
|
748
748
|
/**
|
|
749
749
|
* Forbid repeated import of the same module in multiple places.
|
|
750
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
750
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-duplicates.md
|
|
751
751
|
*/
|
|
752
752
|
'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>
|
|
753
753
|
/**
|
|
754
754
|
* Forbid `require()` calls with expressions.
|
|
755
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
755
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-dynamic-require.md
|
|
756
756
|
*/
|
|
757
757
|
'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>
|
|
758
758
|
/**
|
|
759
759
|
* Forbid empty named import blocks.
|
|
760
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
760
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-empty-named-blocks.md
|
|
761
761
|
*/
|
|
762
762
|
'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>
|
|
763
763
|
/**
|
|
764
764
|
* Forbid the use of extraneous packages.
|
|
765
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
765
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-extraneous-dependencies.md
|
|
766
766
|
*/
|
|
767
767
|
'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>
|
|
768
768
|
/**
|
|
769
769
|
* Forbid import statements with CommonJS module.exports.
|
|
770
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
770
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-import-module-exports.md
|
|
771
771
|
*/
|
|
772
772
|
'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>
|
|
773
773
|
/**
|
|
774
774
|
* Forbid importing the submodules of other modules.
|
|
775
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
775
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-internal-modules.md
|
|
776
776
|
*/
|
|
777
777
|
'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>
|
|
778
778
|
/**
|
|
779
779
|
* Forbid the use of mutable exports with `var` or `let`.
|
|
780
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
780
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-mutable-exports.md
|
|
781
781
|
*/
|
|
782
782
|
'import/no-mutable-exports'?: Linter.RuleEntry<[]>
|
|
783
783
|
/**
|
|
784
784
|
* Forbid use of exported name as identifier of default export.
|
|
785
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
785
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default.md
|
|
786
786
|
*/
|
|
787
787
|
'import/no-named-as-default'?: Linter.RuleEntry<[]>
|
|
788
788
|
/**
|
|
789
789
|
* Forbid use of exported name as property of default export.
|
|
790
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
790
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default-member.md
|
|
791
791
|
*/
|
|
792
792
|
'import/no-named-as-default-member'?: Linter.RuleEntry<[]>
|
|
793
793
|
/**
|
|
794
794
|
* Forbid named default exports.
|
|
795
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
795
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-default.md
|
|
796
796
|
*/
|
|
797
797
|
'import/no-named-default'?: Linter.RuleEntry<[]>
|
|
798
798
|
/**
|
|
799
799
|
* Forbid named exports.
|
|
800
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
800
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-export.md
|
|
801
801
|
*/
|
|
802
802
|
'import/no-named-export'?: Linter.RuleEntry<[]>
|
|
803
803
|
/**
|
|
804
804
|
* Forbid namespace (a.k.a. "wildcard" `*`) imports.
|
|
805
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
805
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-namespace.md
|
|
806
806
|
*/
|
|
807
807
|
'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>
|
|
808
808
|
/**
|
|
809
809
|
* Forbid Node.js builtin modules.
|
|
810
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
810
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-nodejs-modules.md
|
|
811
811
|
*/
|
|
812
812
|
'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>
|
|
813
813
|
/**
|
|
814
814
|
* Forbid importing packages through relative paths.
|
|
815
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
815
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-packages.md
|
|
816
816
|
*/
|
|
817
817
|
'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>
|
|
818
818
|
/**
|
|
819
819
|
* Forbid importing modules from parent directories.
|
|
820
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
820
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-parent-imports.md
|
|
821
821
|
*/
|
|
822
822
|
'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>
|
|
823
|
+
/**
|
|
824
|
+
* Forbid importing a default export by a different name.
|
|
825
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-rename-default.md
|
|
826
|
+
*/
|
|
827
|
+
'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>
|
|
823
828
|
/**
|
|
824
829
|
* Enforce which files can be imported in a given folder.
|
|
825
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
830
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-restricted-paths.md
|
|
826
831
|
*/
|
|
827
832
|
'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>
|
|
828
833
|
/**
|
|
829
834
|
* Forbid a module from importing itself.
|
|
830
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
835
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-self-import.md
|
|
831
836
|
*/
|
|
832
837
|
'import/no-self-import'?: Linter.RuleEntry<[]>
|
|
833
838
|
/**
|
|
834
839
|
* Forbid unassigned imports.
|
|
835
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
840
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unassigned-import.md
|
|
836
841
|
*/
|
|
837
842
|
'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>
|
|
838
843
|
/**
|
|
839
844
|
* Ensure imports point to a file/module that can be resolved.
|
|
840
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
845
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unresolved.md
|
|
841
846
|
*/
|
|
842
847
|
'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>
|
|
843
848
|
/**
|
|
844
849
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
845
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
850
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unused-modules.md
|
|
846
851
|
*/
|
|
847
852
|
'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>
|
|
848
853
|
/**
|
|
849
854
|
* Forbid unnecessary path segments in import and require statements.
|
|
850
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
855
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-useless-path-segments.md
|
|
851
856
|
*/
|
|
852
857
|
'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>
|
|
853
858
|
/**
|
|
854
859
|
* Forbid webpack loader syntax in imports.
|
|
855
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
860
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-webpack-loader-syntax.md
|
|
856
861
|
*/
|
|
857
862
|
'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>
|
|
858
863
|
/**
|
|
859
864
|
* Enforce a convention in module import order.
|
|
860
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
865
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/order.md
|
|
861
866
|
*/
|
|
862
867
|
'import/order'?: Linter.RuleEntry<ImportOrder>
|
|
863
868
|
/**
|
|
864
869
|
* Prefer a default export if module exports a single name or multiple names.
|
|
865
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
870
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/prefer-default-export.md
|
|
866
871
|
*/
|
|
867
872
|
'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>
|
|
868
873
|
/**
|
|
869
874
|
* Forbid potentially ambiguous parse goal (`script` vs. `module`).
|
|
870
|
-
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/
|
|
875
|
+
* @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/unambiguous.md
|
|
871
876
|
*/
|
|
872
877
|
'import/unambiguous'?: Linter.RuleEntry<[]>
|
|
873
878
|
/**
|
|
@@ -5239,6 +5244,11 @@ interface RuleOptions {
|
|
|
5239
5244
|
* @see https://typescript-eslint.io/rules/no-confusing-void-expression
|
|
5240
5245
|
*/
|
|
5241
5246
|
'ts/no-confusing-void-expression'?: Linter.RuleEntry<TsNoConfusingVoidExpression>
|
|
5247
|
+
/**
|
|
5248
|
+
* Disallow using code marked as `@deprecated`
|
|
5249
|
+
* @see https://typescript-eslint.io/rules/no-deprecated
|
|
5250
|
+
*/
|
|
5251
|
+
'ts/no-deprecated'?: Linter.RuleEntry<[]>
|
|
5242
5252
|
/**
|
|
5243
5253
|
* Disallow duplicate class members
|
|
5244
5254
|
* @see https://typescript-eslint.io/rules/no-dupe-class-members
|
|
@@ -8274,6 +8284,11 @@ type ImportNoRelativeParentImports = []|[{
|
|
|
8274
8284
|
|
|
8275
8285
|
ignore?: [string, ...(string)[]]
|
|
8276
8286
|
}]
|
|
8287
|
+
// ----- import/no-rename-default -----
|
|
8288
|
+
type ImportNoRenameDefault = []|[{
|
|
8289
|
+
commonjs?: boolean
|
|
8290
|
+
preventRenamingBindings?: boolean
|
|
8291
|
+
}]
|
|
8277
8292
|
// ----- import/no-restricted-paths -----
|
|
8278
8293
|
type ImportNoRestrictedPaths = []|[{
|
|
8279
8294
|
|
package/dist/index.js
CHANGED
|
@@ -389,7 +389,6 @@ async function formatters(options = {}, stylistic2 = {}) {
|
|
|
389
389
|
};
|
|
390
390
|
}
|
|
391
391
|
await ensurePackages([
|
|
392
|
-
"eslint-plugin-format",
|
|
393
392
|
options.markdown && options.slidev ? "prettier-plugin-slidev" : void 0,
|
|
394
393
|
options.astro ? "prettier-plugin-astro" : void 0,
|
|
395
394
|
options.xml || options.svg ? "@prettier/plugin-xml" : void 0
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vinicunca/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.9.
|
|
4
|
+
"version": "2.9.6",
|
|
5
5
|
"description": "Vinicunca ESLint config",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "praburangki",
|
|
@@ -112,28 +112,28 @@
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
"dependencies": {
|
|
115
|
-
"@antfu/install-pkg": "^0.4.
|
|
115
|
+
"@antfu/install-pkg": "^0.4.1",
|
|
116
116
|
"@clack/prompts": "^0.7.0",
|
|
117
117
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
|
|
118
|
-
"@eslint-react/eslint-plugin": "^1.12.
|
|
118
|
+
"@eslint-react/eslint-plugin": "^1.12.2",
|
|
119
119
|
"@stylistic/eslint-plugin": "^2.6.4",
|
|
120
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
121
|
-
"@typescript-eslint/parser": "^8.
|
|
120
|
+
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
121
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
122
122
|
"@unocss/eslint-plugin": "^0.62.3",
|
|
123
|
-
"@vitest/eslint-plugin": "^1.0.
|
|
123
|
+
"@vitest/eslint-plugin": "^1.0.5",
|
|
124
124
|
"eslint-config-flat-gitignore": "^0.1.8",
|
|
125
125
|
"eslint-flat-config-utils": "^0.3.1",
|
|
126
126
|
"eslint-merge-processors": "^0.1.0",
|
|
127
127
|
"eslint-plugin-antfu": "^2.3.6",
|
|
128
128
|
"eslint-plugin-command": "^0.2.3",
|
|
129
129
|
"eslint-plugin-format": "^0.1.2",
|
|
130
|
-
"eslint-plugin-import-x": "^
|
|
130
|
+
"eslint-plugin-import-x": "^4.1.0",
|
|
131
131
|
"eslint-plugin-jsdoc": "^50.2.2",
|
|
132
132
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
133
133
|
"eslint-plugin-markdown": "^5.1.0",
|
|
134
134
|
"eslint-plugin-n": "^17.10.2",
|
|
135
135
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
136
|
-
"eslint-plugin-perfectionist": "^3.
|
|
136
|
+
"eslint-plugin-perfectionist": "^3.3.0",
|
|
137
137
|
"eslint-plugin-regexp": "^2.6.0",
|
|
138
138
|
"eslint-plugin-sonarjs": "^1.0.4",
|
|
139
139
|
"eslint-plugin-toml": "^0.11.1",
|