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

format/imports/no-leading-namespace-whitespace

In the format-laravel preset. Safe fix.

What it does

The namespace declaration line shouldn’t contain leading whitespace.

Configuration

[format.rules]
"imports/no-leading-namespace-whitespace" = 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?