-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
It doesnt work with (import '../styles/mystyle.scss'); #24
Comments
Hi @Cauen, The documentation talks about this a bit, but I'll be honest, it's hard to find. On this page: https://github.com/Tibfib/eslint-plugin-import-helpers/blob/master/docs/rules/order-imports.md
Because unassigned/bare imports typically contain side-effects the order can be important. So, to avoid potential issues, this ESLint rule ignores bare imports and keeps them in the order you specified. |
Hmmmm it makes sense, thanks. And...
|
I would welcome a PR adding this if you have time.
For me personally and my use cases... no. Why don't you open a new issue with this one and we can see if others have interest. @Cauen |
Hello,
I'm trying to order my styles imports like:
I tried to use this group:
"/\bstyles\b/",
and"/css$/"
but its not working.
I think that the imports must have the "from", i'm correct?
There is a plan to add support to css / scss?
The text was updated successfully, but these errors were encountered: