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

early-return set

Early returns and continues instead of nesting.

[lint]
sets = ["early-return"]

Ecosystem and target-version gates still apply. Planned rules do not run.

Enabled rules (2)

Rule Configuration Status
lint/control-flow/no-useless-else "error" Ported
lint/style/prefer-early-continue "error" Ported

Rules left off (678)

Last updated on

Was this page helpful?