Repository navigation
Replies: 1 comment
|
I am experiencing the same behavior. And it seems related to #394 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Every time I paste in a file some code I copy from my IDE (aka formatted code, using regular Command+V) the plugins seems to add empty lines after import lines.
IDEs I am using - WebStrom, PhpStorm, both the latest versions.
Then I hit Save and Prettier re-formats the file removing the extra lines.
I know that is caused by the plugin because if I comment out
plugins: ['@trivago/prettier-plugin-sort-imports'],- this behavior disappears.Also this never happens if I "Paste as plain text"
Is there anything I can do to prevent this?
Here is my Prettier config:
All reactions