2 title: no-negated-condition
8 Negated conditions are more difficult to understand. Code can be made more readable by inverting the condition instead.
12 This rule disallows negated conditions in either of the following:
14 * `if` statements which have an `else` branch
17 Examples of **incorrect** code for this rule:
22 /*eslint no-negated-condition: "error"*/
47 Examples of **correct** code for this rule:
52 /*eslint no-negated-condition: "error"*/