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

format/whitespace/no-blank-line-whitespace

In the format-laravel and format-psr12 presets. Safe fix.

What it does

Remove trailing whitespace at the end of blank lines.

Configuration

[format.rules]
"whitespace/no-blank-line-whitespace" = true

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

Replaces

More format/whitespace rules · Edit this page

Last updated on

Was this page helpful?