Skip to content

Commit

Permalink
feat(eslint): use eslint-import-resolver-oxc
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Aug 15, 2024
1 parent 2cedf82 commit ce0d8ec
Showing 1 changed file with 2 additions and 29 deletions.
31 changes: 2 additions & 29 deletions src/eslint/configs/imports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,7 @@ export function imports(options: ImportsOptions = {}): Config[] {
],

// https://github.com/un-ts/eslint-plugin-import-x#resolvers
'import/resolver': {
node: { extensions: ['.js', '.mjs', '.jsx', '.json'] },
},
'import/resolver': 'oxc',
},
},
{
Expand Down Expand Up @@ -177,32 +175,7 @@ export function imports(options: ImportsOptions = {}): Config[] {
},

// https://github.com/un-ts/eslint-plugin-import-x#resolvers
'import/resolver': {
node: {
extensions: [
'.js',
'.mjs',
'.jsx',
'.ts',
'.mts',
'.tsx',
'.d.ts',
'.json',
],
},
typescript: {
extensions: [
'.js',
'.mjs',
'.jsx',
'.ts',
'.mts',
'.tsx',
'.d.ts',
'.json',
],
},
},
'import/resolver': 'oxc',
},
},
];
Expand Down

0 comments on commit ce0d8ec

Please sign in to comment.