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

format/operators/no-space-around-arrow

In the format-laravel preset. Safe fix.

What it does

There should not be space before or after object operators -> and ?->.

Configuration

[format.rules]
"operators/no-space-around-arrow" = true

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

Replaces

More format/operators rules · Edit this page

Last updated on

Was this page helpful?