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

format/strings/explicit-variable

Not in any preset. Safe fix.

What it does

Converts implicit variables into explicit ones in double-quoted strings or heredoc syntax.

Configuration

[format.rules]
"strings/explicit-variable" = true

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

Replaces

More format/strings rules · Edit this page

Last updated on

Was this page helpful?