-
-
Notifications
You must be signed in to change notification settings - Fork 69
Broken imports from @uidotdev/usehooks after upgrading to v3.9.0 or later #448
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
Comments
Please provide a minimal but runnable reproduction. |
@JounQin here is a repository that shows the issue: https://github.com/Brandon-Ritchie/eslint-import-reproduction |
I seems to be related to unnecessary For ![]()
By the way, I'd suggest you to migrate to https://github.com/un-ts/eslint-plugin-import-x instead, see also un-ts/eslint-plugin-import-x#323 for more details. I'd like to transfer this issue to |
Closing to open in eslint-plugin-import. |
Re-opening until I am able to confirm that I posted in the correct place. |
If there's an issue with TS resolution I'm not sure how it can be improved on the plugin side. |
@ljharb It's not about the resolution, but parsing |
That's definitely something outside the purview of the plugin - it'd need to be in something TS-specific. |
@Brandon-Ritchie Let's close this issue then, I believe @ljharb agrees that we could improve how we handle this TypeScript case now: import-js/eslint-plugin-import#3186 (comment). |
Upgrading from version 3.8.3 to 4.3.4 and I am getting errors that there are pretty much no exports availaboe from @uidotdev/usehooks.
The breaking change seems to be with version 3.9.0, when there was a migration between resolvers.
Here is my tsconfig (if that is helpful):
And here is the relevant part of my eslint config:
The text was updated successfully, but these errors were encountered: