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
v2.20.2 break no-extraneous-dependencies
with webpack alias
#1712
Comments
Thanks; a PR with a failing test case would be helpful. |
Confirming - starting from v2.20.1 path aliases are not working. I've been actually defining path aliases in tsconfig.json file which have been resolved perfectly until v2.20.1 |
I'm experiencing this issue as well. Reverting to v2.20.0 fixed it for me. |
Still experiencing this issue with 2.22.1, thanks @br0p0p for advice to downgrading to 2.20.0. Hope it will be addressed at some point. |
@IShotTheSheriff 2.20.0 will always skip |
I've had this plugin pinned at v2.20.0 for a long time due to this bug, but tried upgrading to v2.23.2 and that appears to fix it. @githoniel could you confirm whether this bug is still reproducible with the latest version? Otherwise I think we can close this. |
I'll close it for now, but will be happy to reopen if anyone's still experiencing problems. |
In my webpack config, I set a alias name for one of our scoped package for short
In eslint-plugin-import@2.20.1, it works well while I got
no-extraneous-dependencies
in eslint-plugin-import@2.20.2.After debug, I found these code make things different
isSubpath
returntrue
in v2.20.2 while returnfalse
in v2.20.1.I found both v2.20.1 and v2.20.2 will report
no-extraneous-dependencies
on ubuntu and I think v2.20.2 is right, it just fix path error in Window.I found that
packageName should be
@sdp.nd\fish
notfish
in this case.The text was updated successfully, but these errors were encountered: