Skip to content

Conversation

@dummdidumm
Copy link
Member

Don't append the store declaration of imports that are stores right after the import. Instead, append it to the start of the render function. This way, imports are grouped without these declarations at the top, which makes "organize imports" behave correctly again and not put ignore-comments into the edits.
#879

Simon Holthausen added 2 commits March 19, 2021 09:35
Don't append the store declaration of imports that are stores right after the import. Instead, append it to the start of the render function. This way, imports are grouped without these declarations at the top, which makes "organize imports" behave correctly again and not put ignore-comments into the edits.
sveltejs#879
@dummdidumm dummdidumm merged commit 3abba67 into sveltejs:master Mar 19, 2021
@dummdidumm dummdidumm deleted the filter-ignore-comment branch March 19, 2021 08:52
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

Successfully merging this pull request may close these issues.

1 participant