Skip to content
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

want all scss imports at the end of import list #2454

Open
debjyoti-pandit opened this issue May 17, 2022 · 2 comments
Open

want all scss imports at the end of import list #2454

debjyoti-pandit opened this issue May 17, 2022 · 2 comments

Comments

@debjyoti-pandit
Copy link

debjyoti-pandit commented May 17, 2022

Was following this issue ##1239

And as mentioned in the last comment here

image

The scss file is getting imported before the nearest sibling and not at the end of the import list as expected.

@ljharb
Copy link
Member

ljharb commented May 19, 2022

Can you share the code that's not working properly?

@debjyoti-pandit
Copy link
Author

eslint config where I have added the config.

source code where I want to make a change.

NOTE: current implementation is working only for imports starting with "./" as shown below. (as expected it is saying me to move the import at last)

image

But when I am changing the import starting with to "../../..". It should ask me to move the scss import at last, but it is saying to move after the nearest sibling.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants