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

format/classes/multiline-promoted-properties

Not in any preset. Safe fix.

What it does

Promoted properties must be on separate lines.

Configuration

[format.rules]
"classes/multiline-promoted-properties" = true

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

Options

Name Type Allowed values Default Upstream name
keep-blank-lines bool Any false keep_blank_lines
minimum-number-of-parameters int Any 1 minimum_number_of_parameters

Replaces

More format/classes rules · Edit this page

Last updated on

Was this page helpful?