Skip to content

Commit

Permalink
Automated deployment to GitHub Pages: 020a0e1
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftlintbot@jpsim.com committed Nov 7, 2023
1 parent 411bbca commit 14e52c1
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ <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>37 out of 228 (16%)
<p>36 out of 228 (15%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-11' class='heading'>Default Rules (11)</h3>
Expand All @@ -358,7 +358,7 @@ <h3 id='default-rules-11' class='heading'>Default Rules (11)</h3>
<li><a href="vertical_whitespace.md"><code><a href="vertical_whitespace.html">vertical_whitespace</a></code></a>: Vertical Whitespace</li>
<li><a href="void_return.md"><code><a href="void_return.html">void_return</a></code></a>: Void Return</li>
</ul>
<h3 id='opt-in-rules-26' class='heading'>Opt-in Rules (26)</h3>
<h3 id='opt-in-rules-25' class='heading'>Opt-in Rules (25)</h3>

<ul>
<li><a href="accessibility_label_for_image.md"><code><a href="accessibility_label_for_image.html">accessibility_label_for_image</a></code></a>: Accessibility Label for Image</li>
Expand All @@ -383,7 +383,6 @@ <h3 id='opt-in-rules-26' class='heading'>Opt-in Rules (26)</h3>
<li><a href="sorted_imports.md"><code><a href="sorted_imports.html">sorted_imports</a></code></a>: Sorted Imports</li>
<li><a href="trailing_closure.md"><code><a href="trailing_closure.html">trailing_closure</a></code></a>: Trailing Closure</li>
<li><a href="type_contents_order.md"><code><a href="type_contents_order.html">type_contents_order</a></code></a>: Type Contents Order</li>
<li><a href="vertical_parameter_alignment_on_call.md"><code><a href="vertical_parameter_alignment_on_call.html">vertical_parameter_alignment_on_call</a></code></a>: Vertical Parameter Alignment on Call</li>
<li><a href="vertical_whitespace_between_cases.md"><code><a href="vertical_whitespace_between_cases.html">vertical_whitespace_between_cases</a></code></a>: Vertical Whitespace between Cases</li>
<li><a href="vertical_whitespace_closing_braces.md"><code><a href="vertical_whitespace_closing_braces.html">vertical_whitespace_closing_braces</a></code></a>: Vertical Whitespace before Closing Braces</li>
<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>
Expand Down Expand Up @@ -476,7 +475,7 @@ <h3 id='default-rules-83' class='heading'>Default Rules (83)</h3>
<li><a href="void_function_in_ternary.md"><code><a href="void_function_in_ternary.html">void_function_in_ternary</a></code></a>: Void Function in Ternary</li>
<li><a href="xctfail_message.md"><code><a href="xctfail_message.html">xctfail_message</a></code></a>: XCTFail Message</li>
</ul>
<h3 id='opt-in-rules-108' class='heading'>Opt-in Rules (108)</h3>
<h3 id='opt-in-rules-109' class='heading'>Opt-in Rules (109)</h3>

<ul>
<li><a href="anonymous_argument_in_multiline_closure.md"><code><a href="anonymous_argument_in_multiline_closure.html">anonymous_argument_in_multiline_closure</a></code></a>: Anonymous Argument in Multiline Closure</li>
Expand Down Expand Up @@ -584,6 +583,7 @@ <h3 id='opt-in-rules-108' class='heading'>Opt-in Rules (108)</h3>
<li><a href="unowned_variable_capture.md"><code><a href="unowned_variable_capture.html">unowned_variable_capture</a></code></a>: Unowned Variable Capture</li>
<li><a href="untyped_error_in_catch.md"><code><a href="untyped_error_in_catch.html">untyped_error_in_catch</a></code></a>: Untyped Error in Catch</li>
<li><a href="unused_capture_list.md"><code><a href="unused_capture_list.html">unused_capture_list</a></code></a>: Unused Capture List</li>
<li><a href="vertical_parameter_alignment_on_call.md"><code><a href="vertical_parameter_alignment_on_call.html">vertical_parameter_alignment_on_call</a></code></a>: Vertical Parameter Alignment on Call</li>
<li><a href="weak_delegate.md"><code><a href="weak_delegate.html">weak_delegate</a></code></a>: Weak Delegate</li>
<li><a href="xct_specific_matcher.md"><code><a href="xct_specific_matcher.html">xct_specific_matcher</a></code></a>: XCTest Specific Matcher</li>
<li><a href="yoda_condition.md"><code><a href="yoda_condition.html">yoda_condition</a></code></a>: Yoda Condition</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="k">self</span><span class="o">.</span><span class="nf">hideLoading</span><span class="p">()</span>
<span class="p">})</span>
</code></pre>
<pre class="highlight swift"><code><span class="kt">UIView</span><span class="o">.</span><span class="nf">animate</span><span class="p">(</span><span class="nv">withDuration</span><span class="p">:</span> <span class="mf">0.4</span><span class="p">,</span> <span class="nv">animations</span><span class="p">:</span> <span class="p">{</span>
<span class="n">blurredImageView</span><span class="o">.</span><span class="n">alpha</span> <span class="o">=</span> <span class="mi">1</span>
<span class="p">}</span> <span class="p">{</span> <span class="n">_</span> <span class="k">in</span>
<span class="k">self</span><span class="o">.</span><span class="nf">hideLoading</span><span class="p">()</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="p">{</span> <span class="n">_</span> <span class="k">in</span> <span class="p">},</span>
<span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
Expand All @@ -408,13 +414,13 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="nv">bar</span><span class="p">:</span> <span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
<span class="err"></span><span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
Expand All @@ -432,6 +438,9 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="nf">myFunc</span><span class="p">(</span><span class="nv">foo</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="err"></span><span class="nv">bar</span><span class="p">:</span> <span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">myFunc</span><span class="p">(</span><span class="nv">foo</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">bar</span><span class="p">:</span>
<span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">,</span> <span class="err"></span><span class="nv">baz</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>

</div>
</section>
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 @@ -340,7 +340,7 @@ <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>37 out of 228 (16%)
<p>36 out of 228 (15%)
of SwiftLint&rsquo;s linter rules use SourceKit.</p>
<h2 id='rules-using-sourcekit' class='heading'>Rules Using SourceKit</h2>
<h3 id='default-rules-11' class='heading'>Default Rules (11)</h3>
Expand All @@ -358,7 +358,7 @@ <h3 id='default-rules-11' class='heading'>Default Rules (11)</h3>
<li><a href="vertical_whitespace.md"><code><a href="vertical_whitespace.html">vertical_whitespace</a></code></a>: Vertical Whitespace</li>
<li><a href="void_return.md"><code><a href="void_return.html">void_return</a></code></a>: Void Return</li>
</ul>
<h3 id='opt-in-rules-26' class='heading'>Opt-in Rules (26)</h3>
<h3 id='opt-in-rules-25' class='heading'>Opt-in Rules (25)</h3>

<ul>
<li><a href="accessibility_label_for_image.md"><code><a href="accessibility_label_for_image.html">accessibility_label_for_image</a></code></a>: Accessibility Label for Image</li>
Expand All @@ -383,7 +383,6 @@ <h3 id='opt-in-rules-26' class='heading'>Opt-in Rules (26)</h3>
<li><a href="sorted_imports.md"><code><a href="sorted_imports.html">sorted_imports</a></code></a>: Sorted Imports</li>
<li><a href="trailing_closure.md"><code><a href="trailing_closure.html">trailing_closure</a></code></a>: Trailing Closure</li>
<li><a href="type_contents_order.md"><code><a href="type_contents_order.html">type_contents_order</a></code></a>: Type Contents Order</li>
<li><a href="vertical_parameter_alignment_on_call.md"><code><a href="vertical_parameter_alignment_on_call.html">vertical_parameter_alignment_on_call</a></code></a>: Vertical Parameter Alignment on Call</li>
<li><a href="vertical_whitespace_between_cases.md"><code><a href="vertical_whitespace_between_cases.html">vertical_whitespace_between_cases</a></code></a>: Vertical Whitespace between Cases</li>
<li><a href="vertical_whitespace_closing_braces.md"><code><a href="vertical_whitespace_closing_braces.html">vertical_whitespace_closing_braces</a></code></a>: Vertical Whitespace before Closing Braces</li>
<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>
Expand Down Expand Up @@ -476,7 +475,7 @@ <h3 id='default-rules-83' class='heading'>Default Rules (83)</h3>
<li><a href="void_function_in_ternary.md"><code><a href="void_function_in_ternary.html">void_function_in_ternary</a></code></a>: Void Function in Ternary</li>
<li><a href="xctfail_message.md"><code><a href="xctfail_message.html">xctfail_message</a></code></a>: XCTFail Message</li>
</ul>
<h3 id='opt-in-rules-108' class='heading'>Opt-in Rules (108)</h3>
<h3 id='opt-in-rules-109' class='heading'>Opt-in Rules (109)</h3>

<ul>
<li><a href="anonymous_argument_in_multiline_closure.md"><code><a href="anonymous_argument_in_multiline_closure.html">anonymous_argument_in_multiline_closure</a></code></a>: Anonymous Argument in Multiline Closure</li>
Expand Down Expand Up @@ -584,6 +583,7 @@ <h3 id='opt-in-rules-108' class='heading'>Opt-in Rules (108)</h3>
<li><a href="unowned_variable_capture.md"><code><a href="unowned_variable_capture.html">unowned_variable_capture</a></code></a>: Unowned Variable Capture</li>
<li><a href="untyped_error_in_catch.md"><code><a href="untyped_error_in_catch.html">untyped_error_in_catch</a></code></a>: Untyped Error in Catch</li>
<li><a href="unused_capture_list.md"><code><a href="unused_capture_list.html">unused_capture_list</a></code></a>: Unused Capture List</li>
<li><a href="vertical_parameter_alignment_on_call.md"><code><a href="vertical_parameter_alignment_on_call.html">vertical_parameter_alignment_on_call</a></code></a>: Vertical Parameter Alignment on Call</li>
<li><a href="weak_delegate.md"><code><a href="weak_delegate.html">weak_delegate</a></code></a>: Weak Delegate</li>
<li><a href="xct_specific_matcher.md"><code><a href="xct_specific_matcher.html">xct_specific_matcher</a></code></a>: XCTest Specific Matcher</li>
<li><a href="yoda_condition.md"><code><a href="yoda_condition.html">yoda_condition</a></code></a>: Yoda Condition</li>
Expand Down
15 changes: 12 additions & 3 deletions vertical_parameter_alignment_on_call.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,12 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="k">self</span><span class="o">.</span><span class="nf">hideLoading</span><span class="p">()</span>
<span class="p">})</span>
</code></pre>
<pre class="highlight swift"><code><span class="kt">UIView</span><span class="o">.</span><span class="nf">animate</span><span class="p">(</span><span class="nv">withDuration</span><span class="p">:</span> <span class="mf">0.4</span><span class="p">,</span> <span class="nv">animations</span><span class="p">:</span> <span class="p">{</span>
<span class="n">blurredImageView</span><span class="o">.</span><span class="n">alpha</span> <span class="o">=</span> <span class="mi">1</span>
<span class="p">}</span> <span class="p">{</span> <span class="n">_</span> <span class="k">in</span>
<span class="k">self</span><span class="o">.</span><span class="nf">hideLoading</span><span class="p">()</span>
<span class="p">}</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="p">{</span> <span class="n">_</span> <span class="k">in</span> <span class="p">},</span>
<span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
Expand All @@ -408,13 +414,13 @@ <h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
<span class="nv">bar</span><span class="p">:</span> <span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
</code></pre>
<h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span> <span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span>
<pre class="highlight swift"><code><span class="nf">foo</span><span class="p">(</span><span class="nv">param1</span><span class="p">:</span> <span class="mi">1</span><span class="p">,</span> <span class="nv">param2</span><span class="p">:</span> <span class="n">bar</span><span class="p">,</span>
<span class="err"></span><span class="nv">param3</span><span class="p">:</span> <span class="kc">false</span><span class="p">,</span>
<span class="err"></span><span class="nv">param4</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>
Expand All @@ -432,6 +438,9 @@ <h2 id='triggering-examples' class='heading'>Triggering Examples</h2>
<pre class="highlight swift"><code><span class="nf">myFunc</span><span class="p">(</span><span class="nv">foo</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span>
<span class="err"></span><span class="nv">bar</span><span class="p">:</span> <span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">)</span>
</code></pre>
<pre class="highlight swift"><code><span class="nf">myFunc</span><span class="p">(</span><span class="nv">foo</span><span class="p">:</span> <span class="mi">0</span><span class="p">,</span> <span class="nv">bar</span><span class="p">:</span>
<span class="n">baz</span> <span class="o">==</span> <span class="mi">0</span><span class="p">,</span> <span class="err"></span><span class="nv">baz</span><span class="p">:</span> <span class="kc">true</span><span class="p">)</span>
</code></pre>

</div>
</section>
Expand Down

0 comments on commit 14e52c1

Please sign in to comment.