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

format/whitespace/inside-parentheses

In the format-laravel and format-psr12 presets. Safe fix.

What it does

Parentheses must be declared using the configured whitespace.

Configuration

[format.rules]
"whitespace/inside-parentheses" = true

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

Options

Name Type Allowed values Default Upstream name
space enum none, single "none" space

Replaces

More format/whitespace rules · Edit this page

Last updated on

Was this page helpful?