File tree Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Expand file tree Collapse file tree 1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,8 @@ function getImportXFlatConfigs(isEsm) {
100
100
// TypeScript compilation already ensures that named imports exist in
101
101
// the referenced module.
102
102
'import-x/named' : 'off' ,
103
- 'import-x/no-named-as-default-member' : 'off'
103
+ 'import-x/no-named-as-default-member' : 'off' ,
104
+ 'import-x/no-unresolved' : 'off'
104
105
}
105
106
}
106
107
}
@@ -121,17 +122,9 @@ module.exports = [
121
122
...importFlatConfigsForModule . recommended
122
123
} ,
123
124
{
124
- files : [ 'src/**/*.ts' ] ,
125
+ files : [ 'src/**/*.ts' , 'test/**/*.ts' ] ,
125
126
...importFlatConfigsForModule . typescript
126
127
} ,
127
- {
128
- files : [ 'test/**/*.ts' ] ,
129
- ...importFlatConfigsForModule . typescript ,
130
- rules : {
131
- ...importFlatConfigsForModule . typescript . rules ,
132
- 'import-x/no-unresolved' : 'off'
133
- }
134
- } ,
135
128
{
136
129
files : [ 'src/**/*.ts' , 'test/**/*.ts' ] ,
137
130
languageOptions : {
You can’t perform that action at this time.
0 commit comments