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

format/control-flow/continuation-position

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

What it does

Control structure continuation keyword must be on the configured line.

Configuration

[format.rules]
"control-flow/continuation-position" = true

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

Options

Name Type Allowed values Default Upstream name
position enum next-line, same-line "same-line" position

Replaces

More format/control-flow rules · Edit this page

Last updated on

Was this page helpful?