closingTagLineBreakForEmpty
When there're no children in an element, this option controls whether to insert a line break before the closing tag or not.
Possible options:
"always"
: Always insert a line break before the closing tag."fit"
: Only insert a line break if it doesn't fit theprintWidth
option."never"
: Don't insert a line break.
Default option is "fit"
.
Example for "always"
<div>
</div>
<div class="very-very-very-very-very-very-very-very-very-long-class-name">
</div>
Example for "fit"
<div></div>
<div class="very-very-very-very-very-very-very-very-very-long-class-name">
</div>
Example for "never"
<div></div>
<div class="very-very-very-very-very-very-very-very-very-long-class-name"></div>