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

format/comments/single-line-spacing

In the format-laravel preset. Safe fix.

What it does

Single-line comments must have proper spacing.

Configuration

[format.rules]
"comments/single-line-spacing" = true

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

Replaces

More format/comments rules · Edit this page

Last updated on

Was this page helpful?