-
Notifications
You must be signed in to change notification settings - Fork 9
Seems broken be working with eslint-plugin-import@2.20.1 #16
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
Yes, as the code has 3 years not updated, I have to downgrade eslint-plugin-import to 2.18.2, it works again. If you really need this plugin, the only way to make it work is to downgrade. |
No, it's not a good way. As eslint-config-airbnb must rely on the newest version of eslint-plugin-import, I have to switch back to ^2.22.1 and totally disble the 2 rules for alias checking. FYI. PS. I guess this package is not maintained anymore, we have to abandon it. |
As a tip to @fengerzh and anyone who's blocked by this - I switched to eslint-import-resolver-custom-alias, which works fine at least for my needs |
Yes! Everyone who come to this page, you can replace your plugin to eslint-import-resolver-custom-alias. Thanks, @noppa ! |
Thanks. you guys saved my day! |
eslint-import-resolver-alias works fine with eslint-plugin-import
2.18.2
, after update to the latest2.20.1
, all of the aliases won't find anymore.The eslintrc is - https://github.com/Tencent/Hippy/blob/master/.eslintrc.js#L82
The text was updated successfully, but these errors were encountered: