Skip to content

Commit

Permalink
Fix issue 348 (#352)
Browse files Browse the repository at this point in the history
* fix: cwd while resolving tsconfig include

* chore: changeset
  • Loading branch information
carlocorradini authored Feb 17, 2025
1 parent ca140a5 commit 0c6303d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-pets-act.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'eslint-import-resolver-typescript': patch
---

Set cwd while resolving tsconfig include
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,6 +464,7 @@ function initMappers(options: InternalResolverOptions) {
...defaultIgnore,
],
absolute: true,
cwd: path.dirname(tsconfigResult.path),
})
: []),
]
Expand Down

0 comments on commit 0c6303d

Please sign in to comment.