Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

format/tags/linebreak-after-opening

In the format-laravel preset. Safe fix.

What it does

Ensure there is no code on the same line as the PHP open tag.

Configuration

[format.rules]
"tags/linebreak-after-opening" = true

To skip it in some files, add a @pun-ignore-file comment.

Replaces

More format/tags rules · Edit this page

Last updated on

Was this page helpful?