Skip to content

Commit

Permalink
Automated deployment to GitHub Pages: 902ac30
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftlintbot@jpsim.com committed Jan 3, 2024
1 parent 77fdf3e commit f4ea324
Show file tree
Hide file tree
Showing 3 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,14 @@ <h1 id='switch-and-case-statement-alignment' class='heading'>Switch and Case Sta
false
</td>
</tr>
<tr>
<td>
ignore_one_liners
</td>
<td>
false
</td>
</tr>
</tbody>
</table></li>
</ul>
Expand Down Expand Up @@ -412,6 +420,10 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="p">}</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="k">default</span><span class="p">:</span> <span class="mi">0</span><span class="err"> </span><span class="p">}</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">someBool</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="nv">true</span><span class="p">:</span>
Expand Down Expand Up @@ -463,6 +475,24 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<span class="k">case</span> <span class="mi">1</span><span class="p">:</span> <span class="mi">1</span>
<span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">2</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span>
<span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>

</div>
Expand Down
Binary file modified docsets/SwiftLintCore.tgz
Binary file not shown.
30 changes: 30 additions & 0 deletions switch_case_alignment.html
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,14 @@ <h1 id='switch-and-case-statement-alignment' class='heading'>Switch and Case Sta
false
</td>
</tr>
<tr>
<td>
ignore_one_liners
</td>
<td>
false
</td>
</tr>
</tbody>
</table></li>
</ul>
Expand Down Expand Up @@ -412,6 +420,10 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="p">}</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="k">default</span><span class="p">:</span> <span class="mi">0</span><span class="err"> </span><span class="p">}</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">someBool</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="nv">true</span><span class="p">:</span>
Expand Down Expand Up @@ -463,6 +475,24 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<span class="k">case</span> <span class="mi">1</span><span class="p">:</span> <span class="mi">1</span>
<span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">2</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span> <span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">switch</span> <span class="n">i</span>
<span class="p">{</span> <span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="k">let</span> <span class="nv">a</span> <span class="o">=</span> <span class="k">switch</span> <span class="n">i</span> <span class="p">{</span>
<span class="err"></span><span class="k">case</span> <span class="o">.</span><span class="nv">x</span><span class="p">:</span> <span class="mi">1</span> <span class="err"></span><span class="k">default</span><span class="p">:</span> <span class="mi">0</span> <span class="p">}</span>
</code></pre>

</div>
Expand Down

0 comments on commit f4ea324

Please sign in to comment.