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

format/functions/chain-indentation

In the format-laravel preset. Safe fix.

What it does

Method chaining MUST be properly indented. Method chaining with different levels of indentation is not supported.

Configuration

[format.rules]
"functions/chain-indentation" = true

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

Replaces

More format/functions rules · Edit this page

Last updated on

Was this page helpful?