Closed imre-iglu closed 6 months ago
I would first like to thank plugin author for creating this amazing prettier package. It's best one I have used.
I saw that it adds two spaces after the @error() directive, when using inside the class attribute.
@error()
It turns this HTML:
<input type="text" class="my-class @error('form.title') has-error @enderror" />
Into this:
<input type="text" class="my-class @error('form.title') has-error @enderror"/>
My .blade.format.json looks like this:
.blade.format.json
{ "useLaravelPint": false, "spacesAfterDirective": 0, "spacesAfterControlDirective": 0, "phpOptions": { "singleQuote": true, "phpVersion": "8.1" }, "attributeJsOptions": { "semi": true, "printWidth": 120 } }
Thanks for the report! I'll take a look this upcoming weekend
Fix released in v2.1.14
I would first like to thank plugin author for creating this amazing prettier package. It's best one I have used.
I saw that it adds two spaces after the
@error()
directive, when using inside the class attribute.It turns this HTML:
Into this:
My
.blade.format.json
looks like this: