eslint-plugin-import icon indicating copy to clipboard operation
eslint-plugin-import copied to clipboard

want all scss imports at the end of import list

Open debjyoti-pandit opened this issue 3 years ago • 2 comments

Was following this issue #https://github.com/import-js/eslint-plugin-import/issues/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.

debjyoti-pandit avatar May 17 '22 08:05 debjyoti-pandit

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

ljharb avatar May 19 '22 18:05 ljharb

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

debjyoti-pandit avatar May 23 '22 10:05 debjyoti-pandit