[Prettier Plugin] Plugin adds unessessary empty lines #17972
Unanswered
cyrilschreiber3
asked this question in
Help
Replies: 0 comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
When I enable the prettier-plugin-tailwindcss module, prettier adds empty lines between every element. Which is not the case without the plugin enabled.
Example
Input (basic html boiler plate provided by Emmet in VSCode):
Output without the tailwindcss plugin (desired):
Output with the plugin (undesired):
My
.prettierrc
file only contains the following:You can see that it also does something funny with the
</head>
end tagIs this normal ? Am I missing something ?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions