Skip to content

Commit 0c6303d

Browse files
Fix issue 348 (#352)
* fix: cwd while resolving tsconfig include * chore: changeset
1 parent ca140a5 commit 0c6303d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/brave-pets-act.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-import-resolver-typescript': patch
3+
---
4+
5+
Set cwd while resolving tsconfig include

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,7 @@ function initMappers(options: InternalResolverOptions) {
464464
...defaultIgnore,
465465
],
466466
absolute: true,
467+
cwd: path.dirname(tsconfigResult.path),
467468
})
468469
: []),
469470
]

0 commit comments

Comments
 (0)