cons; 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 <code class="highlighter-rouge">no-eq-null</code> rule aims reduce potential bug and unwanted behavior by ensuring that comparisons to <code class="highlighter-rouge">null</code> only match <code class="highlighter-rouge">null</code>, and not also <code class="highlighter-rouge">undefined