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

format/statements/space-after-semicolon

In the format-laravel preset. Safe fix.

What it does

Fix whitespace after a semicolon.

Configuration

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

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

Options

Name Type Allowed values Default Upstream name
remove-in-empty-for-expressions bool Any false remove_in_empty_for_expressions

Replaces

More format/statements rules · Edit this page

Last updated on

Was this page helpful?