-
-
Notifications
You must be signed in to change notification settings - Fork 62
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
import/no-unresolved error in v3.1.0 #113
Comments
A minimal reproduction is required. |
3.0 is a major version, read CHANGELOG if you want to know what's changed. |
Thanks for your prompt response. authelia/authelia@ac63c90 is a reproduction albeit not exactly "minimal".
I did read the changelog to see what has changed, hence the last sentence in the issue.
|
No breaking excepted but we did change the deps and support Thanks for provide the reproduction link, I'll take a look later. |
This could be related to we support It could be related to https://unpkg.com/browse/[email protected]/dist/esm/package.json. Find an option |
related i18next/i18next#1796 |
|
Thanks @JounQin, appreciate your assistance with this! |
It appears that some imports that previously did not have any issues with v2.7.1 now are throwing import/no-unresolved errors, specifically as follows:
You can see the IDE also highlighting the same issue:
Below is the consistent
.eslintrc.js
file utilised with both v2.7.1 and v3.1.0:After some google-fu it appears I can resolve the issue by including the following extends for the eslint configuration:
I'm not really sure why this seems to resolve the issue, but I'm keen to understand why this has changed between the two versions and if it is perhaps some misconfiguration on my side.
It's worthwhile mentioning that I did also read the changelog and understandably with the major version bump there are breaking changes I'm just not sure what the expected action is if there's an adjustment that should be made to work alongside said breaking changes.
The text was updated successfully, but these errors were encountered: