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

format/statements/one-per-line

In the format-laravel and format-psr12 presets. Safe fix.

What it does

There must not be more than one statement per line.

Configuration

[format.rules]
"statements/one-per-line" = true

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

Replaces

More format/statements rules · Edit this page

Last updated on

Was this page helpful?