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

lint/control-flow/no-switch-continue

In the modernize set. Safe fix.

What it does

Switch case must not be ended with continue but with break.

Configuration

[lint.rules]
"control-flow/no-switch-continue" = "error"

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

Replaces

More lint/control-flow rules · Edit this page

Last updated on

Was this page helpful?