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

format/imports/blank-line-after

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

What it does

Each namespace use MUST go on its own line and there MUST be one blank line after the use statements block.

Configuration

[format.rules]
"imports/blank-line-after" = true

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

Replaces

More format/imports rules · Edit this page

Last updated on

Was this page helpful?