-- file.tsx --
== should ignore element after ignore comment in an element ==
const t = (
{/* dprint-ignore */}
);
[expect]
const t = (
{/* dprint-ignore */}
);
== should ignore element after ignore comment in a fragment ==
const t = (
<>
{/* dprint-ignore */}
>
);
[expect]
const t = (
<>
{/* dprint-ignore */}
>
);
== should ignore element after ignore comment in a previous empty element ==
const t = (
{/* dprint-ignore */}
{/* deno-lint-ignore */}
);
[expect]
const t = (
{/* dprint-ignore */}
{/* deno-lint-ignore */}
);