shufo / prettier-plugin-blade

Format your blade template using Prettier
https://www.npmjs.com/package/@shufo/prettier-plugin-blade
MIT License
326 stars 8 forks source link

[Formatting Bug]: #243

Closed AnourValar closed 5 months ago

AnourValar commented 11 months ago

Version

1.13.1

Template before formatting

<x-input type="text" :value="now()->addMonth(1)->format('Y-m-d')" id="foo" class="bar" />

Template after formatting

<x-input
  type="text"
  :value="now()
      ->addMonth(1)
      ->format('Y-m-d')"
  id="foo"
  class="bar"
/>

Expected Behaviour

<x-input
  type="text"
  :value="now()->addMonth(1)->format('Y-m-d')"
  id="foo"
  class="bar"
/>

Relevant log output

No response

github-actions[bot] commented 9 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

github-actions[bot] commented 7 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

github-actions[bot] commented 5 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