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

Import always gets added after the last "import" in the file. #18

Open
KevinHurts opened this issue Sep 12, 2018 · 3 comments
Open

Import always gets added after the last "import" in the file. #18

KevinHurts opened this issue Sep 12, 2018 · 3 comments

Comments

@KevinHurts
Copy link

This is an issue when you use react and styled-jsx with scss imports.
The import gets added after the @import of the scss file when it should just be added to the imports at the top of the file.

image

@KevinHurts KevinHurts changed the title Import always get's added after the last "import" in the file. Import always gets added after the last "import" in the file. Oct 9, 2018
@studentIvan
Copy link

Same problem

@flobacher
Copy link

the same happens in Angular Module definitions:

image

@johncovv
Copy link

johncovv commented Feb 5, 2021

I'm having the same problem as @flobacher, it would be nice to have an option to let import in the first line of the file, at least it's easier to fix, especially with eslint.

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

4 participants