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

format/strings/complex-variable

Not in any preset. Safe fix.

What it does

Converts explicit variables in double-quoted strings and heredoc syntax from simple to complex format (${ to {$).

Configuration

[format.rules]
"strings/complex-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?