Skip to content

Commit 2b2054a

Browse files
committed
fix(eslint-config): remove unnecessary settings
1 parent 0b87056 commit 2b2054a

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

packages/eslint-config/index.cjs

+2-10
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = defineConfig({
4242
extends: [
4343
'plugin:vue/vue3-recommended',
4444
'standard',
45+
'plugin:import/typescript',
4546
'plugin:jsonc/recommended-with-jsonc',
4647
'plugin:yml/standard',
4748
'plugin:markdown/recommended',
@@ -59,7 +60,7 @@ module.exports = defineConfig({
5960
reportUnusedDisableDirectives: true,
6061
settings: {
6162
'import/resolver': {
62-
'eslint-import-resolver-node': {
63+
node: {
6364
extensions: [
6465
'.mts',
6566
'.ts',
@@ -70,16 +71,7 @@ module.exports = defineConfig({
7071
'.json',
7172
'.node',
7273
]
73-
},
74-
'eslint-import-resolver-typescript': {
75-
alwaysTryTypes: true,
76-
project: ['**/tsconfig.json', '**/tsconfig.*.json']
7774
}
78-
},
79-
'import/extensions': ['.mjs', '.js', '.jsx', '.mts', '.ts', '.tsx'],
80-
'import/external-module-folders': ['node_modules', 'node_modules/@types'],
81-
'import/parsers': {
82-
'@typescript-eslint/parser': ['.mts', '.ts', '.tsx']
8375
}
8476
},
8577
rules: {

0 commit comments

Comments
 (0)