@ntnyq/eslint-config 3.0.0-beta.3 → 3.0.0-beta.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/README.md CHANGED
@@ -30,6 +30,33 @@ const ntnyq = require('@ntnyq/eslint-config')
30
30
  module.exports = ntnyq()
31
31
  ```
32
32
 
33
+ ## VSCode Config
34
+
35
+ ```json
36
+ {
37
+ "eslint.enable": true,
38
+ "prettier.enable": true,
39
+ "editor.formatOnSave": true,
40
+ "editor.codeActionsOnSave": {
41
+ "source.fixAll.eslint": "explicit"
42
+ },
43
+ "eslint.validate": [
44
+ "vue",
45
+ "html",
46
+ "yaml",
47
+ "toml",
48
+ "json",
49
+ "jsonc",
50
+ "json5",
51
+ "markdown",
52
+ "javascript",
53
+ "typescript",
54
+ "javascriptreact",
55
+ "typescriptreact"
56
+ ]
57
+ }
58
+ ```
59
+
33
60
  ## Credits
34
61
 
35
62
  - [@sxzz/eslint-config](https://github.com/sxzz/eslint-config)
package/dist/index.cjs CHANGED
@@ -353,6 +353,8 @@ var imports = (options = {}) => [
353
353
  "import/no-named-as-default-member": "off",
354
354
  "import/first": "error",
355
355
  "import/export": "error",
356
+ // 'import/no-named-default': 'error',
357
+ "import/no-self-import": "error",
356
358
  "import/no-duplicates": "error",
357
359
  "import/no-mutable-exports": "error",
358
360
  "import/newline-after-import": "error",
package/dist/index.d.cts CHANGED
@@ -227,6 +227,11 @@ interface RuleOptions {
227
227
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
228
228
  */
229
229
  '@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>;
230
+ /**
231
+ * Disallow using code marked as `@deprecated`
232
+ * @see https://typescript-eslint.io/rules/no-deprecated
233
+ */
234
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>;
230
235
  /**
231
236
  * Disallow duplicate class members
232
237
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -714,7 +719,7 @@ interface RuleOptions {
714
719
  */
715
720
  '@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
716
721
  /**
717
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
722
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
718
723
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
719
724
  */
720
725
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>;
@@ -725,228 +730,233 @@ interface RuleOptions {
725
730
  'command/command'?: Linter.RuleEntry<[]>;
726
731
  /**
727
732
  * Enforce or ban the use of inline type-only markers for named imports.
728
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
733
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/consistent-type-specifier-style.md
729
734
  */
730
735
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
731
736
  /**
732
737
  * Ensure a default export is present, given a default import.
733
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
738
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/default.md
734
739
  */
735
740
  'import/default'?: Linter.RuleEntry<[]>;
736
741
  /**
737
742
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
738
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
743
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/dynamic-import-chunkname.md
739
744
  */
740
745
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
741
746
  /**
742
747
  * Forbid any invalid exports, i.e. re-export of the same name.
743
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
748
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/export.md
744
749
  */
745
750
  'import/export'?: Linter.RuleEntry<[]>;
746
751
  /**
747
752
  * Ensure all exports appear after other statements.
748
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
753
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/exports-last.md
749
754
  */
750
755
  'import/exports-last'?: Linter.RuleEntry<[]>;
751
756
  /**
752
757
  * Ensure consistent use of file extension within the import path.
753
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
758
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/extensions.md
754
759
  */
755
760
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
756
761
  /**
757
762
  * Ensure all imports appear before other statements.
758
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
763
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/first.md
759
764
  */
760
765
  'import/first'?: Linter.RuleEntry<ImportFirst>;
761
766
  /**
762
767
  * Prefer named exports to be grouped together in a single export declaration.
763
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
768
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/group-exports.md
764
769
  */
765
770
  'import/group-exports'?: Linter.RuleEntry<[]>;
766
771
  /**
767
772
  * Replaced by `import-x/first`.
768
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
773
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/imports-first.md
769
774
  * @deprecated
770
775
  */
771
776
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
772
777
  /**
773
778
  * Enforce the maximum number of dependencies a module can have.
774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/max-dependencies.md
775
780
  */
776
781
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
777
782
  /**
778
783
  * Ensure named imports correspond to a named export in the remote file.
779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/named.md
780
785
  */
781
786
  'import/named'?: Linter.RuleEntry<ImportNamed>;
782
787
  /**
783
788
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/namespace.md
785
790
  */
786
791
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
787
792
  /**
788
793
  * Enforce a newline after import statements.
789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/newline-after-import.md
790
795
  */
791
796
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
792
797
  /**
793
798
  * Forbid import of modules using absolute paths.
794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-absolute-path.md
795
800
  */
796
801
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
797
802
  /**
798
803
  * Forbid AMD `require` and `define` calls.
799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-amd.md
800
805
  */
801
806
  'import/no-amd'?: Linter.RuleEntry<[]>;
802
807
  /**
803
808
  * Forbid anonymous values as default exports.
804
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-anonymous-default-export.md
805
810
  */
806
811
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
807
812
  /**
808
813
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
809
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-commonjs.md
810
815
  */
811
816
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
812
817
  /**
813
818
  * Forbid a module from importing a module with a dependency path back to itself.
814
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-cycle.md
815
820
  */
816
821
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
817
822
  /**
818
823
  * Forbid default exports.
819
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-default-export.md
820
825
  */
821
826
  'import/no-default-export'?: Linter.RuleEntry<[]>;
822
827
  /**
823
828
  * Forbid imported names marked with `@deprecated` documentation tag.
824
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-deprecated.md
825
830
  */
826
831
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
827
832
  /**
828
833
  * Forbid repeated import of the same module in multiple places.
829
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
834
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-duplicates.md
830
835
  */
831
836
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
832
837
  /**
833
838
  * Forbid `require()` calls with expressions.
834
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
839
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-dynamic-require.md
835
840
  */
836
841
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
837
842
  /**
838
843
  * Forbid empty named import blocks.
839
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
844
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-empty-named-blocks.md
840
845
  */
841
846
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
842
847
  /**
843
848
  * Forbid the use of extraneous packages.
844
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
849
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-extraneous-dependencies.md
845
850
  */
846
851
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
847
852
  /**
848
853
  * Forbid import statements with CommonJS module.exports.
849
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
854
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-import-module-exports.md
850
855
  */
851
856
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
852
857
  /**
853
858
  * Forbid importing the submodules of other modules.
854
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
859
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-internal-modules.md
855
860
  */
856
861
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
857
862
  /**
858
863
  * Forbid the use of mutable exports with `var` or `let`.
859
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
864
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-mutable-exports.md
860
865
  */
861
866
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
862
867
  /**
863
868
  * Forbid use of exported name as identifier of default export.
864
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
869
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default.md
865
870
  */
866
871
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
867
872
  /**
868
873
  * Forbid use of exported name as property of default export.
869
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
874
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default-member.md
870
875
  */
871
876
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
872
877
  /**
873
878
  * Forbid named default exports.
874
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
879
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-default.md
875
880
  */
876
881
  'import/no-named-default'?: Linter.RuleEntry<[]>;
877
882
  /**
878
883
  * Forbid named exports.
879
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
884
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-export.md
880
885
  */
881
886
  'import/no-named-export'?: Linter.RuleEntry<[]>;
882
887
  /**
883
888
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
884
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
889
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-namespace.md
885
890
  */
886
891
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
887
892
  /**
888
893
  * Forbid Node.js builtin modules.
889
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
894
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-nodejs-modules.md
890
895
  */
891
896
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
892
897
  /**
893
898
  * Forbid importing packages through relative paths.
894
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
899
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-packages.md
895
900
  */
896
901
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
897
902
  /**
898
903
  * Forbid importing modules from parent directories.
899
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
904
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-parent-imports.md
900
905
  */
901
906
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
907
+ /**
908
+ * Forbid importing a default export by a different name.
909
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-rename-default.md
910
+ */
911
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
902
912
  /**
903
913
  * Enforce which files can be imported in a given folder.
904
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
914
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-restricted-paths.md
905
915
  */
906
916
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
907
917
  /**
908
918
  * Forbid a module from importing itself.
909
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
919
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-self-import.md
910
920
  */
911
921
  'import/no-self-import'?: Linter.RuleEntry<[]>;
912
922
  /**
913
923
  * Forbid unassigned imports.
914
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
924
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unassigned-import.md
915
925
  */
916
926
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
917
927
  /**
918
928
  * Ensure imports point to a file/module that can be resolved.
919
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
929
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unresolved.md
920
930
  */
921
931
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
922
932
  /**
923
933
  * Forbid modules without exports, or exports without matching import in another module.
924
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
934
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unused-modules.md
925
935
  */
926
936
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
927
937
  /**
928
938
  * Forbid unnecessary path segments in import and require statements.
929
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
939
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-useless-path-segments.md
930
940
  */
931
941
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
932
942
  /**
933
943
  * Forbid webpack loader syntax in imports.
934
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
944
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-webpack-loader-syntax.md
935
945
  */
936
946
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
937
947
  /**
938
948
  * Enforce a convention in module import order.
939
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
949
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/order.md
940
950
  */
941
951
  'import/order'?: Linter.RuleEntry<ImportOrder>;
942
952
  /**
943
953
  * Prefer a default export if module exports a single name or multiple names.
944
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
954
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/prefer-default-export.md
945
955
  */
946
956
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
947
957
  /**
948
958
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
949
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
959
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/unambiguous.md
950
960
  */
951
961
  'import/unambiguous'?: Linter.RuleEntry<[]>;
952
962
  /**
@@ -5445,6 +5455,12 @@ type ImportNoRelativeParentImports = [] | [
5445
5455
  ignore?: [string, ...(string)[]];
5446
5456
  }
5447
5457
  ];
5458
+ type ImportNoRenameDefault = [] | [
5459
+ {
5460
+ commonjs?: boolean;
5461
+ preventRenamingBindings?: boolean;
5462
+ }
5463
+ ];
5448
5464
  type ImportNoRestrictedPaths = [] | [
5449
5465
  {
5450
5466
  zones?: [
package/dist/index.d.ts CHANGED
@@ -227,6 +227,11 @@ interface RuleOptions {
227
227
  * @see https://typescript-eslint.io/rules/no-confusing-void-expression
228
228
  */
229
229
  '@typescript-eslint/no-confusing-void-expression'?: Linter.RuleEntry<TypescriptEslintNoConfusingVoidExpression>;
230
+ /**
231
+ * Disallow using code marked as `@deprecated`
232
+ * @see https://typescript-eslint.io/rules/no-deprecated
233
+ */
234
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>;
230
235
  /**
231
236
  * Disallow duplicate class members
232
237
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -714,7 +719,7 @@ interface RuleOptions {
714
719
  */
715
720
  '@typescript-eslint/unified-signatures'?: Linter.RuleEntry<TypescriptEslintUnifiedSignatures>;
716
721
  /**
717
- * Enforce typing arguments in `.catch()` callbacks as `unknown`
722
+ * Enforce typing arguments in Promise rejection callbacks as `unknown`
718
723
  * @see https://typescript-eslint.io/rules/use-unknown-in-catch-callback-variable
719
724
  */
720
725
  '@typescript-eslint/use-unknown-in-catch-callback-variable'?: Linter.RuleEntry<[]>;
@@ -725,228 +730,233 @@ interface RuleOptions {
725
730
  'command/command'?: Linter.RuleEntry<[]>;
726
731
  /**
727
732
  * Enforce or ban the use of inline type-only markers for named imports.
728
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/consistent-type-specifier-style.md
733
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/consistent-type-specifier-style.md
729
734
  */
730
735
  'import/consistent-type-specifier-style'?: Linter.RuleEntry<ImportConsistentTypeSpecifierStyle>;
731
736
  /**
732
737
  * Ensure a default export is present, given a default import.
733
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/default.md
738
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/default.md
734
739
  */
735
740
  'import/default'?: Linter.RuleEntry<[]>;
736
741
  /**
737
742
  * Enforce a leading comment with the webpackChunkName for dynamic imports.
738
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/dynamic-import-chunkname.md
743
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/dynamic-import-chunkname.md
739
744
  */
740
745
  'import/dynamic-import-chunkname'?: Linter.RuleEntry<ImportDynamicImportChunkname>;
741
746
  /**
742
747
  * Forbid any invalid exports, i.e. re-export of the same name.
743
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/export.md
748
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/export.md
744
749
  */
745
750
  'import/export'?: Linter.RuleEntry<[]>;
746
751
  /**
747
752
  * Ensure all exports appear after other statements.
748
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/exports-last.md
753
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/exports-last.md
749
754
  */
750
755
  'import/exports-last'?: Linter.RuleEntry<[]>;
751
756
  /**
752
757
  * Ensure consistent use of file extension within the import path.
753
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/extensions.md
758
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/extensions.md
754
759
  */
755
760
  'import/extensions'?: Linter.RuleEntry<ImportExtensions>;
756
761
  /**
757
762
  * Ensure all imports appear before other statements.
758
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/first.md
763
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/first.md
759
764
  */
760
765
  'import/first'?: Linter.RuleEntry<ImportFirst>;
761
766
  /**
762
767
  * Prefer named exports to be grouped together in a single export declaration.
763
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/group-exports.md
768
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/group-exports.md
764
769
  */
765
770
  'import/group-exports'?: Linter.RuleEntry<[]>;
766
771
  /**
767
772
  * Replaced by `import-x/first`.
768
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/7b25c1cb95ee18acc1531002fd343e1e6031f9ed/docs/rules/imports-first.md
773
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/imports-first.md
769
774
  * @deprecated
770
775
  */
771
776
  'import/imports-first'?: Linter.RuleEntry<ImportImportsFirst>;
772
777
  /**
773
778
  * Enforce the maximum number of dependencies a module can have.
774
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/max-dependencies.md
779
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/max-dependencies.md
775
780
  */
776
781
  'import/max-dependencies'?: Linter.RuleEntry<ImportMaxDependencies>;
777
782
  /**
778
783
  * Ensure named imports correspond to a named export in the remote file.
779
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/named.md
784
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/named.md
780
785
  */
781
786
  'import/named'?: Linter.RuleEntry<ImportNamed>;
782
787
  /**
783
788
  * Ensure imported namespaces contain dereferenced properties as they are dereferenced.
784
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/namespace.md
789
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/namespace.md
785
790
  */
786
791
  'import/namespace'?: Linter.RuleEntry<ImportNamespace>;
787
792
  /**
788
793
  * Enforce a newline after import statements.
789
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/newline-after-import.md
794
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/newline-after-import.md
790
795
  */
791
796
  'import/newline-after-import'?: Linter.RuleEntry<ImportNewlineAfterImport>;
792
797
  /**
793
798
  * Forbid import of modules using absolute paths.
794
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-absolute-path.md
799
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-absolute-path.md
795
800
  */
796
801
  'import/no-absolute-path'?: Linter.RuleEntry<ImportNoAbsolutePath>;
797
802
  /**
798
803
  * Forbid AMD `require` and `define` calls.
799
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-amd.md
804
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-amd.md
800
805
  */
801
806
  'import/no-amd'?: Linter.RuleEntry<[]>;
802
807
  /**
803
808
  * Forbid anonymous values as default exports.
804
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-anonymous-default-export.md
809
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-anonymous-default-export.md
805
810
  */
806
811
  'import/no-anonymous-default-export'?: Linter.RuleEntry<ImportNoAnonymousDefaultExport>;
807
812
  /**
808
813
  * Forbid CommonJS `require` calls and `module.exports` or `exports.*`.
809
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-commonjs.md
814
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-commonjs.md
810
815
  */
811
816
  'import/no-commonjs'?: Linter.RuleEntry<ImportNoCommonjs>;
812
817
  /**
813
818
  * Forbid a module from importing a module with a dependency path back to itself.
814
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-cycle.md
819
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-cycle.md
815
820
  */
816
821
  'import/no-cycle'?: Linter.RuleEntry<ImportNoCycle>;
817
822
  /**
818
823
  * Forbid default exports.
819
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-default-export.md
824
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-default-export.md
820
825
  */
821
826
  'import/no-default-export'?: Linter.RuleEntry<[]>;
822
827
  /**
823
828
  * Forbid imported names marked with `@deprecated` documentation tag.
824
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-deprecated.md
829
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-deprecated.md
825
830
  */
826
831
  'import/no-deprecated'?: Linter.RuleEntry<[]>;
827
832
  /**
828
833
  * Forbid repeated import of the same module in multiple places.
829
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-duplicates.md
834
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-duplicates.md
830
835
  */
831
836
  'import/no-duplicates'?: Linter.RuleEntry<ImportNoDuplicates>;
832
837
  /**
833
838
  * Forbid `require()` calls with expressions.
834
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-dynamic-require.md
839
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-dynamic-require.md
835
840
  */
836
841
  'import/no-dynamic-require'?: Linter.RuleEntry<ImportNoDynamicRequire>;
837
842
  /**
838
843
  * Forbid empty named import blocks.
839
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-empty-named-blocks.md
844
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-empty-named-blocks.md
840
845
  */
841
846
  'import/no-empty-named-blocks'?: Linter.RuleEntry<[]>;
842
847
  /**
843
848
  * Forbid the use of extraneous packages.
844
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-extraneous-dependencies.md
849
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-extraneous-dependencies.md
845
850
  */
846
851
  'import/no-extraneous-dependencies'?: Linter.RuleEntry<ImportNoExtraneousDependencies>;
847
852
  /**
848
853
  * Forbid import statements with CommonJS module.exports.
849
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-import-module-exports.md
854
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-import-module-exports.md
850
855
  */
851
856
  'import/no-import-module-exports'?: Linter.RuleEntry<ImportNoImportModuleExports>;
852
857
  /**
853
858
  * Forbid importing the submodules of other modules.
854
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-internal-modules.md
859
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-internal-modules.md
855
860
  */
856
861
  'import/no-internal-modules'?: Linter.RuleEntry<ImportNoInternalModules>;
857
862
  /**
858
863
  * Forbid the use of mutable exports with `var` or `let`.
859
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-mutable-exports.md
864
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-mutable-exports.md
860
865
  */
861
866
  'import/no-mutable-exports'?: Linter.RuleEntry<[]>;
862
867
  /**
863
868
  * Forbid use of exported name as identifier of default export.
864
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default.md
869
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default.md
865
870
  */
866
871
  'import/no-named-as-default'?: Linter.RuleEntry<[]>;
867
872
  /**
868
873
  * Forbid use of exported name as property of default export.
869
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-as-default-member.md
874
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-as-default-member.md
870
875
  */
871
876
  'import/no-named-as-default-member'?: Linter.RuleEntry<[]>;
872
877
  /**
873
878
  * Forbid named default exports.
874
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-default.md
879
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-default.md
875
880
  */
876
881
  'import/no-named-default'?: Linter.RuleEntry<[]>;
877
882
  /**
878
883
  * Forbid named exports.
879
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-named-export.md
884
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-named-export.md
880
885
  */
881
886
  'import/no-named-export'?: Linter.RuleEntry<[]>;
882
887
  /**
883
888
  * Forbid namespace (a.k.a. "wildcard" `*`) imports.
884
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-namespace.md
889
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-namespace.md
885
890
  */
886
891
  'import/no-namespace'?: Linter.RuleEntry<ImportNoNamespace>;
887
892
  /**
888
893
  * Forbid Node.js builtin modules.
889
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-nodejs-modules.md
894
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-nodejs-modules.md
890
895
  */
891
896
  'import/no-nodejs-modules'?: Linter.RuleEntry<ImportNoNodejsModules>;
892
897
  /**
893
898
  * Forbid importing packages through relative paths.
894
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-packages.md
899
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-packages.md
895
900
  */
896
901
  'import/no-relative-packages'?: Linter.RuleEntry<ImportNoRelativePackages>;
897
902
  /**
898
903
  * Forbid importing modules from parent directories.
899
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-relative-parent-imports.md
904
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-relative-parent-imports.md
900
905
  */
901
906
  'import/no-relative-parent-imports'?: Linter.RuleEntry<ImportNoRelativeParentImports>;
907
+ /**
908
+ * Forbid importing a default export by a different name.
909
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-rename-default.md
910
+ */
911
+ 'import/no-rename-default'?: Linter.RuleEntry<ImportNoRenameDefault>;
902
912
  /**
903
913
  * Enforce which files can be imported in a given folder.
904
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-restricted-paths.md
914
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-restricted-paths.md
905
915
  */
906
916
  'import/no-restricted-paths'?: Linter.RuleEntry<ImportNoRestrictedPaths>;
907
917
  /**
908
918
  * Forbid a module from importing itself.
909
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-self-import.md
919
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-self-import.md
910
920
  */
911
921
  'import/no-self-import'?: Linter.RuleEntry<[]>;
912
922
  /**
913
923
  * Forbid unassigned imports.
914
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unassigned-import.md
924
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unassigned-import.md
915
925
  */
916
926
  'import/no-unassigned-import'?: Linter.RuleEntry<ImportNoUnassignedImport>;
917
927
  /**
918
928
  * Ensure imports point to a file/module that can be resolved.
919
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unresolved.md
929
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unresolved.md
920
930
  */
921
931
  'import/no-unresolved'?: Linter.RuleEntry<ImportNoUnresolved>;
922
932
  /**
923
933
  * Forbid modules without exports, or exports without matching import in another module.
924
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-unused-modules.md
934
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-unused-modules.md
925
935
  */
926
936
  'import/no-unused-modules'?: Linter.RuleEntry<ImportNoUnusedModules>;
927
937
  /**
928
938
  * Forbid unnecessary path segments in import and require statements.
929
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-useless-path-segments.md
939
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-useless-path-segments.md
930
940
  */
931
941
  'import/no-useless-path-segments'?: Linter.RuleEntry<ImportNoUselessPathSegments>;
932
942
  /**
933
943
  * Forbid webpack loader syntax in imports.
934
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/no-webpack-loader-syntax.md
944
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/no-webpack-loader-syntax.md
935
945
  */
936
946
  'import/no-webpack-loader-syntax'?: Linter.RuleEntry<[]>;
937
947
  /**
938
948
  * Enforce a convention in module import order.
939
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/order.md
949
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/order.md
940
950
  */
941
951
  'import/order'?: Linter.RuleEntry<ImportOrder>;
942
952
  /**
943
953
  * Prefer a default export if module exports a single name or multiple names.
944
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/prefer-default-export.md
954
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/prefer-default-export.md
945
955
  */
946
956
  'import/prefer-default-export'?: Linter.RuleEntry<ImportPreferDefaultExport>;
947
957
  /**
948
958
  * Forbid potentially ambiguous parse goal (`script` vs. `module`).
949
- * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v3.1.0/docs/rules/unambiguous.md
959
+ * @see https://github.com/un-ts/eslint-plugin-import-x/blob/v4.1.0/docs/rules/unambiguous.md
950
960
  */
951
961
  'import/unambiguous'?: Linter.RuleEntry<[]>;
952
962
  /**
@@ -5445,6 +5455,12 @@ type ImportNoRelativeParentImports = [] | [
5445
5455
  ignore?: [string, ...(string)[]];
5446
5456
  }
5447
5457
  ];
5458
+ type ImportNoRenameDefault = [] | [
5459
+ {
5460
+ commonjs?: boolean;
5461
+ preventRenamingBindings?: boolean;
5462
+ }
5463
+ ];
5448
5464
  type ImportNoRestrictedPaths = [] | [
5449
5465
  {
5450
5466
  zones?: [
package/dist/index.js CHANGED
@@ -235,6 +235,8 @@ var imports = (options = {}) => [
235
235
  "import/no-named-as-default-member": "off",
236
236
  "import/first": "error",
237
237
  "import/export": "error",
238
+ // 'import/no-named-default': 'error',
239
+ "import/no-self-import": "error",
238
240
  "import/no-duplicates": "error",
239
241
  "import/no-mutable-exports": "error",
240
242
  "import/newline-after-import": "error",
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.3",
5
- "packageManager": "pnpm@9.7.1",
4
+ "version": "3.0.0-beta.4",
5
+ "packageManager": "pnpm@9.9.0",
6
6
  "description": "ESLint flat config of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -56,18 +56,18 @@
56
56
  },
57
57
  "dependencies": {
58
58
  "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
59
- "@eslint/js": "^9.9.0",
60
- "@types/eslint": "^9.6.0",
61
- "@unocss/eslint-plugin": "^0.62.2",
62
- "@vitest/eslint-plugin": "^1.0.3",
63
- "eslint-flat-config-utils": "^0.3.0",
59
+ "@eslint/js": "^9.9.1",
60
+ "@types/eslint": "^9.6.1",
61
+ "@unocss/eslint-plugin": "^0.62.3",
62
+ "@vitest/eslint-plugin": "^1.0.5",
63
+ "eslint-flat-config-utils": "^0.3.1",
64
64
  "eslint-plugin-command": "^0.2.3",
65
- "eslint-plugin-import-x": "^3.1.0",
65
+ "eslint-plugin-import-x": "^4.1.0",
66
66
  "eslint-plugin-jsdoc": "^50.2.2",
67
67
  "eslint-plugin-jsonc": "^2.16.0",
68
68
  "eslint-plugin-markdown": "^5.1.0",
69
69
  "eslint-plugin-n": "^17.10.2",
70
- "eslint-plugin-perfectionist": "^3.2.0",
70
+ "eslint-plugin-perfectionist": "^3.3.0",
71
71
  "eslint-plugin-prettier": "^5.2.1",
72
72
  "eslint-plugin-regexp": "^2.6.0",
73
73
  "eslint-plugin-toml": "^0.11.1",
@@ -80,22 +80,22 @@
80
80
  "local-pkg": "^0.5.0",
81
81
  "prettier": "^3.3.3",
82
82
  "toml-eslint-parser": "^0.10.0",
83
- "typescript-eslint": "^8.1.0",
83
+ "typescript-eslint": "^8.3.0",
84
84
  "vue-eslint-parser": "^9.4.3",
85
85
  "yaml-eslint-parser": "^1.2.3"
86
86
  },
87
87
  "devDependencies": {
88
88
  "@ntnyq/prettier-config": "^1.21.2",
89
- "@types/node": "^22.4.0",
90
- "bumpp": "^9.5.1",
91
- "eslint": "^9.9.0",
89
+ "@types/node": "^22.5.1",
90
+ "bumpp": "^9.5.2",
91
+ "eslint": "^9.9.1",
92
92
  "eslint-typegen": "^0.3.1",
93
- "husky": "^9.1.4",
93
+ "husky": "^9.1.5",
94
94
  "nano-staged": "^0.8.0",
95
95
  "npm-run-all2": "^6.2.2",
96
96
  "rimraf": "^6.0.1",
97
97
  "tsup": "^8.2.4",
98
- "tsx": "^4.17.0",
98
+ "tsx": "^4.19.0",
99
99
  "typescript": "^5.5.4",
100
100
  "zx": "^8.1.4"
101
101
  },