Ruby
Negative condition in control flow statement
Warning
New
Last modified: 03 December 2024Reports 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'
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
RubyControlFlowConversionInspection
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Ruby, 243.23135 |
Thanks for your feedback!
Was this page helpful?