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

format/strings/heredoc-indentation

Not in any preset. Safe fix.

What it does

Heredoc/nowdoc content must be properly indented.

Configuration

[format.rules]
"strings/heredoc-indentation" = true

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

Options

Name Type Allowed values Default Upstream name
indentation enum start-plus-one, same-as-start "start-plus-one" indentation

Replaces

More format/strings rules · Edit this page

Last updated on

Was this page helpful?