Skip to content

boolean-literal-comparison

Default severity: warning

Simplify comparisons between booleans and literals. Default: enabled.

if ready == true { start() }
if ready { start() }