blade-parser-typescript
blade-parser-typescript copied to clipboard
htmlWhitespaceSensitivity is not being taken into account
Problem
Even when I set the htmlWhitespaceSensitivity rule to strict
, the plugin keeps turning this:
<p>
[email protected].
</p>
into this:
<p>
me
@example.com.
</p>
Or even this:
<img
@class([
// This is valid a comment.
$coverUrl ? "object-center" :"object-left-top",
])
/>
into this:
<img
@class([
//Thisisvalidacomment.$coverUrl?"object-center":"object-left-top",
])
/>
Demo
Open this minimal StackBlitz demo and run:
npm run lint app.blade.php