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

format/classes/no-blank-line-after-opening

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

What it does

There should be no empty lines after class opening brace.

Configuration

[format.rules]
"classes/no-blank-line-after-opening" = true

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

Replaces

More format/classes rules · Edit this page

Last updated on

Was this page helpful?