 rule:</p>

<div class="highlighter-rouge"><pre class="highlight"><code><span class="cm">/*eslint no-path-concat: "error"*/</span><br/><br/><span class="kd">var</span> <span class="nx">fullPath</span> <span class="o">=</span> <span class="nx">dirname</span> <span class="o">+</span> <span class="s2">"/foo.js"</span><span class="p">;</span><br/></code></pre>
</div>

<h2 id="when-not-to-use-it">When Not To Use It<a style="font-family: anchorjs-icons; font-style: normal; font-variant: normal; font-weight: norma