empty_block
Updatedsuspiciouswarn
An if, else, or loop body with nothing in it.
The block runs nothing. An if with an empty body was meant to hold something, or its condition was meant to be inverted; an empty else is a leftover. A block that holds only a comment does not fire: the comment says why it is empty.
Set its level in the [lint] table of alloy.toml, or for one file with --@alloy-lint.
