allowloop" data-anchorjs-icon=""></a></h3>

<p class="correct icon">Examples of <strong>correct</strong> code for the { “allowLoop”: true } option:</p>

<div class="highlighter-rouge"><pre class="highlight"><code><span class="cm">/*eslint no-labels: ["error", { "allowLoop": true }]*/</span><br/><br/><span class="nl">label</span><span class="p">:</span><br/>    <span class="k">while</span> <span class="p">(</span><span class="kc">true</span><span class="p">)</span> <span class="p">{</span><br/>       