needless_bool
Updatedsuspiciouswarn
if c then return true else return false end.
The if converts a condition to a boolean by hand. return c is the statement when c is a comparison, and alloy flux --fix rewrites that case; for a plain value, return c == true or return not not c keeps the boolean type.
Set its level in the [lint] table of alloy.toml, or for one file with --@alloy-lint.
