-- file.tsx -- ~~ lineWidth: 50, jsx.multiLineParens: never ~~ == should format when single line == const t = <> Testing this out >; [expect] const t = <>Testing this out>; == should format when multi line == const t = <> Testing some text that has many blank lines and a single line >; [expect] const t = <> Testing some text that has many blank lines and a single line >; == should keep character entities == const t = | ; [expect] const t = | ; == should wrap a single line to multiple lines == const t = <> Here is some text that will exceed the line width, but will be wrapped because of it. >; [expect] const t = <> Here is some text that will exceed the line width, but will be wrapped because of it. >; == should maintain text for pre element == const t =
<p> <span>This is some text.</span> </p>; [expect] const t =
<p> <span>This is some text.</span> </p>; == should maintain pre element text when has nested element as well == const t =
<p> <span>This is some text.</span> </p>
;
[expect]
const t =
<p> <span>This is some text.</span> </p>
;