-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not resolving tsconfig
paths
#2652
Comments
Try extending |
@ljharb That's already the case - see this line: https://github.com/SimonCockx/eslint-import-bug/blob/main/project-a/.eslintrc.json#L26. |
Interestingly, I just found out that running
into
Could this be a bug with the way that |
We're using tsconfig-paths v3, which doesn't support "extends", i believe - that might be relevant. |
@ljharb Not sure how that's relevant for the issue I've described. I don't use |
@SimonCockx eslint-plugin-import uses tsconfig-paths in order to resolve typescript settings. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Hmm... But it seems we are not going to upgrade |
That remains open, and if an issue (such as this one) has no solution it should remain open indefinitely. |
I have two projects,
project-a
andproject-b
, one importing the other via apaths
synonym defined intsconfig.base.json
. Although the TypeScript compiler knows how to resolve the import, this plugin is complaining that it cannot resolve the path.I've read the documentation of both this plugin and the TypeScript resolver plugin, and I think I configured everything right, but with no luck. Is there something wrong with my setup?
Minimal repro:
cd ./eslint-import-bug
npm install
npx eslint project-a/src/index.ts
Snippets:
tsconfig.base.ts
project-a/.eslintrc.json
project-a/src/index.ts
The text was updated successfully, but these errors were encountered: