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

format/comments/align-multiline

Not in any preset. Safe fix.

What it does

Each line of multi-line DocComments must have an asterisk [PSR-5] and must be aligned with the first one.

Configuration

[format.rules]
"comments/align-multiline" = true

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

Options

Name Type Allowed values Default Upstream name
comment-type enum phpdocs-only, phpdocs-like, all-multiline "phpdocs-only" comment_type

Replaces

More format/comments rules · Edit this page

Last updated on

Was this page helpful?