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

format/operators/not-with-space

Not in any preset. Safe fix.

What it does

Logical NOT operators (!) should have leading and trailing whitespaces.

Configuration

[format.rules]
"operators/not-with-space" = 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?