Negative condition in control flow statement

Last modified: Last modified: 18 September 2025

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'

Inspection ID: RubyControlFlowConversionInspection