e>
</div>

<h2 id="rule-details">Rule Details<a style="font-family: anchorjs-icons; font-style: normal; font-variant: normal; font-weight: normal; padding-left: 0.375em;" class="anchorjs-link " href="#rule-details" aria-label="Anchor link for: rule details" data-anchorjs-icon=""></a></h2>

<p>The rule is aimed at preventing the use of a negated expression in a condition.</p>

<p>The following patterns are considered warnings:</p>

<div class="highlighter-rouge"><pre class="highlight"><code><span class="c