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

lint/statements/no-empty

In the dead-code set. Safe fix.

What it does

Remove useless (semicolon) statements.

Configuration

[lint.rules]
"statements/no-empty" = "error"

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

Replaces

More lint/statements rules · Edit this page

Last updated on

Was this page helpful?