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

interleave code between imports #137

Open
safareli opened this issue Jan 19, 2021 · 0 comments
Open

interleave code between imports #137

safareli opened this issue Jan 19, 2021 · 0 comments

Comments

@safareli
Copy link

If you have:

import("foo")
console.log("biz")
import("bar")

Despite what you have in styles, you would get the console.log to be pushed at the end of imports

import("foo")
import("bar")

console.log("biz")

is there something one can do to put non import code in between imports?
(reposting from ggascoigne/prettier-plugin-import-sort#19)

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