File tree 3 files changed +161
-363
lines changed
3 files changed +161
-363
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ const path = require('node:path')
4
4
5
5
const { convertIgnorePatternToMinimatch } = require ( '@eslint/compat' )
6
6
const js = require ( '@eslint/js' )
7
- const { createOxcImportResolver } = require ( 'eslint-import-resolver-oxc' )
7
+ const {
8
+ createTypeScriptImportResolver
9
+ } = require ( 'eslint-import-resolver-typescript' )
8
10
const importXPlugin = require ( 'eslint-plugin-import-x' )
9
11
const nodePlugin = require ( 'eslint-plugin-n' )
10
12
const sortDestructureKeysPlugin = require ( 'eslint-plugin-sort-destructure-keys' )
@@ -79,11 +81,8 @@ function getImportXFlatConfigs(isEsm) {
79
81
settings : {
80
82
...origImportXFlatConfigs . typescript . settings ,
81
83
'import-x/resolver-next' : [
82
- createOxcImportResolver ( {
83
- tsConfig : {
84
- configFile : rootTsConfigPath ,
85
- references : 'auto'
86
- }
84
+ createTypeScriptImportResolver ( {
85
+ project : rootTsConfigPath
87
86
} )
88
87
]
89
88
} ,
You can’t perform that action at this time.
0 commit comments