Skip to content

Commit

Permalink
Automated deployment to GitHub Pages: 715198a
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 29, 2023
1 parent 2b964e1 commit d0f0d9e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions cyclomatic_complexity.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">f</span><span class="p">(</span><span class="nv">code</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Int</span> <span class="p">{</span>
<span class="k">switch</span> <span class="n">code</span> <span class="p">{</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">fallthrough</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">1</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">2</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">3</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">4</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">5</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">6</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">7</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">8</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">default</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="p">}</span>
<span class="p">}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">f</span><span class="p">(</span><span class="nv">code</span><span class="p">:</span> <span class="kt">Int</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Int</span> <span class="p">{</span>
<span class="k">switch</span> <span class="n">code</span> <span class="p">{</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">fallthrough</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">0</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">1</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">2</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">3</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">4</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">5</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">6</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">7</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">case</span> <span class="mi">8</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="k">default</span><span class="p">:</span> <span class="k">return</span> <span class="mi">1</span>
<span class="p">}</span>
<span class="p">}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,13 @@ <h1 id='swift-syntax-dashboard' class='heading'>Swift Syntax Dashboard</h1>
<p>Rules written using SwiftSyntax tend to be significantly faster and have fewer false positives
than rules that use SourceKit to get source structure information.</p>

<p>42 out of 228 (18%)
<p>41 out of 228 (17%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-14' class='heading'>Default Rules (14)</h3>
<h3 id='default-rules-13' class='heading'>Default Rules (13)</h3>

<ul>
<li><a href="custom_rules.md"><code><a href="custom_rules.html">custom_rules</a></code></a>: Custom Rules</li>
<li><a href="cyclomatic_complexity.md"><code><a href="cyclomatic_complexity.html">cyclomatic_complexity</a></code></a>: Cyclomatic Complexity</li>
<li><a href="duplicate_imports.md"><code><a href="duplicate_imports.html">duplicate_imports</a></code></a>: Duplicate Imports</li>
<li><a href="file_length.md"><code><a href="file_length.html">file_length</a></code></a>: File Length</li>
<li><a href="identifier_name.md"><code><a href="identifier_name.html">identifier_name</a></code></a>: Identifier Name</li>
Expand Down Expand Up @@ -397,7 +396,7 @@ <h3 id='opt-in-rules-28' class='heading'>Opt-in Rules (28)</h3>
<li><a href="vertical_whitespace_opening_braces.md"><code><a href="vertical_whitespace_opening_braces.html">vertical_whitespace_opening_braces</a></code></a>: Vertical Whitespace after Opening Braces</li>
</ul>
<h2 id='rules-not-using-sourcekit' class='heading'>Rules not Using SourceKit</h2>
<h3 id='default-rules-80' class='heading'>Default Rules (80)</h3>
<h3 id='default-rules-81' class='heading'>Default Rules (81)</h3>

<ul>
<li><a href="blanket_disable_command.md"><code><a href="blanket_disable_command.html">blanket_disable_command</a></code></a>: Blanket Disable Command</li>
Expand All @@ -411,6 +410,7 @@ <h3 id='default-rules-80' class='heading'>Default Rules (80)</h3>
<li><a href="compiler_protocol_init.md"><code><a href="compiler_protocol_init.html">compiler_protocol_init</a></code></a>: Compiler Protocol Init</li>
<li><a href="computed_accessors_order.md"><code><a href="computed_accessors_order.html">computed_accessors_order</a></code></a>: Computed Accessors Order</li>
<li><a href="control_statement.md"><code><a href="control_statement.html">control_statement</a></code></a>: Control Statement</li>
<li><a href="cyclomatic_complexity.md"><code><a href="cyclomatic_complexity.html">cyclomatic_complexity</a></code></a>: Cyclomatic Complexity</li>
<li><a href="deployment_target.md"><code><a href="deployment_target.html">deployment_target</a></code></a>: Deployment Target</li>
<li><a href="discouraged_direct_init.md"><code><a href="discouraged_direct_init.html">discouraged_direct_init</a></code></a>: Discouraged Direct Initialization</li>
<li><a href="duplicate_conditions.md"><code><a href="duplicate_conditions.html">duplicate_conditions</a></code></a>: Duplicate Conditions</li>
Expand Down
Binary file modified docsets/SwiftLintCore.tgz
Binary file not shown.
8 changes: 4 additions & 4 deletions swift-syntax-dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,14 +343,13 @@ <h1 id='swift-syntax-dashboard' class='heading'>Swift Syntax Dashboard</h1>
<p>Rules written using SwiftSyntax tend to be significantly faster and have fewer false positives
than rules that use SourceKit to get source structure information.</p>

<p>42 out of 228 (18%)
<p>41 out of 228 (17%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-14' class='heading'>Default Rules (14)</h3>
<h3 id='default-rules-13' class='heading'>Default Rules (13)</h3>

<ul>
<li><a href="custom_rules.md"><code><a href="custom_rules.html">custom_rules</a></code></a>: Custom Rules</li>
<li><a href="cyclomatic_complexity.md"><code><a href="cyclomatic_complexity.html">cyclomatic_complexity</a></code></a>: Cyclomatic Complexity</li>
<li><a href="duplicate_imports.md"><code><a href="duplicate_imports.html">duplicate_imports</a></code></a>: Duplicate Imports</li>
<li><a href="file_length.md"><code><a href="file_length.html">file_length</a></code></a>: File Length</li>
<li><a href="identifier_name.md"><code><a href="identifier_name.html">identifier_name</a></code></a>: Identifier Name</li>
Expand Down Expand Up @@ -397,7 +396,7 @@ <h3 id='opt-in-rules-28' class='heading'>Opt-in Rules (28)</h3>
<li><a href="vertical_whitespace_opening_braces.md"><code><a href="vertical_whitespace_opening_braces.html">vertical_whitespace_opening_braces</a></code></a>: Vertical Whitespace after Opening Braces</li>
</ul>
<h2 id='rules-not-using-sourcekit' class='heading'>Rules not Using SourceKit</h2>
<h3 id='default-rules-80' class='heading'>Default Rules (80)</h3>
<h3 id='default-rules-81' class='heading'>Default Rules (81)</h3>

<ul>
<li><a href="blanket_disable_command.md"><code><a href="blanket_disable_command.html">blanket_disable_command</a></code></a>: Blanket Disable Command</li>
Expand All @@ -411,6 +410,7 @@ <h3 id='default-rules-80' class='heading'>Default Rules (80)</h3>
<li><a href="compiler_protocol_init.md"><code><a href="compiler_protocol_init.html">compiler_protocol_init</a></code></a>: Compiler Protocol Init</li>
<li><a href="computed_accessors_order.md"><code><a href="computed_accessors_order.html">computed_accessors_order</a></code></a>: Computed Accessors Order</li>
<li><a href="control_statement.md"><code><a href="control_statement.html">control_statement</a></code></a>: Control Statement</li>
<li><a href="cyclomatic_complexity.md"><code><a href="cyclomatic_complexity.html">cyclomatic_complexity</a></code></a>: Cyclomatic Complexity</li>
<li><a href="deployment_target.md"><code><a href="deployment_target.html">deployment_target</a></code></a>: Deployment Target</li>
<li><a href="discouraged_direct_init.md"><code><a href="discouraged_direct_init.html">discouraged_direct_init</a></code></a>: Discouraged Direct Initialization</li>
<li><a href="duplicate_conditions.md"><code><a href="duplicate_conditions.html">duplicate_conditions</a></code></a>: Duplicate Conditions</li>
Expand Down

0 comments on commit d0f0d9e

Please sign in to comment.