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

format/statements/no-space-before-semicolon

In the format-laravel preset. Safe fix.

What it does

Single-line whitespace before closing semicolon are prohibited.

Configuration

[format.rules]
"statements/no-space-before-semicolon" = true

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

Replaces

More format/statements rules · Edit this page

Last updated on

Was this page helpful?