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

format/control-flow/empty-loop-body

Not in any preset. Safe fix.

What it does

Empty loop-body must be in configured style.

Configuration

[format.rules]
"control-flow/empty-loop-body" = true

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

Options

Name Type Allowed values Default Upstream name
style enum braces, semicolon "semicolon" style

Replaces

More format/control-flow rules · Edit this page

Last updated on

Was this page helpful?