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

When re-ordering a block of imports, side effect imports are sorted and shouldn't be #22

Closed
jwbay opened this issue Apr 26, 2018 · 0 comments

Comments

@jwbay
Copy link
Owner

jwbay commented Apr 26, 2018

import 'b';
import 'a';
import { x } from 'y';
import * as z from 'z';

incorrectly becomes

import 'a';
import 'b';
import * as z from 'z';
import { x } from 'y';

when it should be

import 'b';
import 'a';
import * as z from 'z';
import { x } from 'y';
@jwbay jwbay closed this as completed in 26b0cbd Nov 17, 2018
jwbay added a commit that referenced this issue Nov 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant