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

format/operators/linebreak

Not in any preset. Safe fix.

What it does

Operators - when multiline - must always be at the beginning or at the end of the line.

Configuration

[format.rules]
"operators/linebreak" = true

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

Options

Name Type Allowed values Default Upstream name
only-booleans bool Any false only_booleans
position enum beginning, end "beginning" position

Replaces

More format/operators rules · Edit this page

Last updated on

Was this page helpful?