Closed theMosaad closed 8 months ago
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Fixed at https://github.com/shufo/prettier-plugin-blade/releases/tag/v1.13.4. Thanks for your patience!
Version
1.8.12
Template before formatting
Template after formatting
Expected Behaviour
Expected
@php($counter = 1)
not to wrap and stay in the same line like<div @php($counter = 1) >
.<x-share>
to have the same indent as</x-share>
.@php($counter = 1)
and the closing bracket>
to be removed.Config
This test is done with a fresh Prettier VSCode plugin & no config rules aside from the essential to make this plugin work:
Workarounds
@php($counter = 1)
with@php $counter = 1 @endphp
.@if
statement inside thex-share
component.Relevant log output