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

format/arrays/no-multiline-double-arrow

In the format-laravel preset. Safe fix.

What it does

Operator => should not be surrounded by multi-line whitespaces.

Configuration

[format.rules]
"arrays/no-multiline-double-arrow" = true

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

Replaces

More format/arrays rules · Edit this page

Last updated on

Was this page helpful?