-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
[sort/imports] Bug: relative paths more than one layer sorted out of order #62
Comments
@abannachGrafana I tried reproducing this but couldn't. Could you setup a codesandbox that reproduces it? |
I'll see what I can do 👍 |
Whoop! Was able to recreate with a simple example and multiple file locations |
Also I just created a public repo in GitHub that recreates so you could just check it out if you want https://github.com/abannachGrafana/eslint-sort-repro |
@abannachGrafana So, this happens in instances where you have an import with a relative path that is resolvable by the |
🎉 This issue has been resolved in version 3.0.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
Relative paths greater than one layer deep e.g.
../../some/path
imports are not sorted with other relative path imports.Example config
Example sorted imports
Example sorted imports with single layer relative
Expected behavior
The text was updated successfully, but these errors were encountered: