-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Does not handle tsconfig without baseUrl
#58
Comments
Like your previous issue, your reproduction is not minimal at all. Can you update it to demonstrate that FYI This package is about TypeScript compatibility, not Nuxt. |
I'm sorry, but could you help me understand what needs to be changed to make it more minimal?
Full reproduction instructions can be found in the README of that repository. |
baseUrl
baseUrl
Edit: actually no, they only use |
What makes a reproduction minimal is that there is nothing extra. Specifically, if I can delete a file or code and still reproduce the bug, the repro is not minimal. In contrast, your repro has 10 dependencies, 7 script commands, and over 10 files just in the root. I work on this project for free but I'm not providing free debugging support, so it's up to the users to prove that there's a bug without creating more work. If you need closer assistance, you can consider sponsoring me for Priority Support. |
I believe that those dependencies were not affecting the output of the main reproduction script, but I fully understand & agree with you that there is always a non-zero chance that this still could be the case. So I've updated the repo to remove all extra dependencies and cleared away all unnecessary stuff from the generated tsconfigs. I've also created a separate branch (diff) that also includes |
Thanks. I added a failing test case in #58 (In the future, it may be a lot easier to open a PR with a failing test). I don't have time to work on a fix right now but feel free to investigate why this is happening. |
Thank you for fixing! |
Problem
A "continuation" of #50 😅
Nuxt 3.7.x changed the format of generated
tsconfig
again, which now less uses absolute paths but most importantly for some reason does not includebaseUrl
field. This causesget-tsconfig
to resolvebaseUrl
toundefined
and againeslint-import-resolver-typescript
not to work properly.Expected behavior
Resolved
baseUrl
must not be set toundefined
, I guess.Minimal reproduction URL
https://github.com/andreww2012/eslint-plugin-import-with-nuxt-3.6-false-reports
Version
v4.7.0
Node.js version
v16.20.2
Package manager
pnpm
Operating system
Windows
Contributions
The text was updated successfully, but these errors were encountered: