Skip to content

Commit

Permalink
Automated deployment to GitHub Pages: 491cf5e
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Oct 30, 2023
1 parent d0f0d9e commit 5881228
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 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">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">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">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">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">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">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,13 +343,15 @@ <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>41 out of 228 (17%)
<p>43 out of 228 (18%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-13' class='heading'>Default Rules (13)</h3>
<h3 id='default-rules-15' class='heading'>Default Rules (15)</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>
<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 @@ -396,10 +398,9 @@ <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-81' class='heading'>Default Rules (81)</h3>
<h3 id='default-rules-79' class='heading'>Default Rules (79)</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>
<li><a href="block_based_kvo.md"><code><a href="block_based_kvo.html">block_based_kvo</a></code></a>: Block Based KVO</li>
<li><a href="class_delegate_protocol.md"><code><a href="class_delegate_protocol.html">class_delegate_protocol</a></code></a>: Class Delegate Protocol</li>
<li><a href="closing_brace.md"><code><a href="closing_brace.html">closing_brace</a></code></a>: Closing Brace Spacing</li>
Expand All @@ -410,7 +411,6 @@ <h3 id='default-rules-81' class='heading'>Default Rules (81)</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.
10 changes: 5 additions & 5 deletions swift-syntax-dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,13 +343,15 @@ <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>41 out of 228 (17%)
<p>43 out of 228 (18%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-13' class='heading'>Default Rules (13)</h3>
<h3 id='default-rules-15' class='heading'>Default Rules (15)</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>
<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 @@ -396,10 +398,9 @@ <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-81' class='heading'>Default Rules (81)</h3>
<h3 id='default-rules-79' class='heading'>Default Rules (79)</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>
<li><a href="block_based_kvo.md"><code><a href="block_based_kvo.html">block_based_kvo</a></code></a>: Block Based KVO</li>
<li><a href="class_delegate_protocol.md"><code><a href="class_delegate_protocol.html">class_delegate_protocol</a></code></a>: Class Delegate Protocol</li>
<li><a href="closing_brace.md"><code><a href="closing_brace.html">closing_brace</a></code></a>: Closing Brace Spacing</li>
Expand All @@ -410,7 +411,6 @@ <h3 id='default-rules-81' class='heading'>Default Rules (81)</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 5881228

Please sign in to comment.