Inspectopedia
 
2024.3

Negative condition in control flow statement

Warning
New
Last modified: 03 December 2024

Reports control flow statements with negative conditions. It is preferable to use a negated control flow statement with a positive condition.

Inspired by 'Ruby Style Guide'