mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Automated deployment to GitHub Pages: 9c9e3f54ab
This commit is contained in:
@@ -325,7 +325,7 @@
|
||||
<li><strong>Kind:</strong> style</li>
|
||||
<li><strong>Analyzer rule:</strong> No</li>
|
||||
<li><strong>Minimum Swift compiler version:</strong> 3.0.0</li>
|
||||
<li><strong>Default configuration:</strong> warning, included: [function, closure, getter]</li>
|
||||
<li><strong>Default configuration:</strong> warning, included: [function, getter, closure]</li>
|
||||
</ul>
|
||||
<h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
|
||||
<pre class="highlight swift"><code><span class="k">if</span> <span class="n">foo</span> <span class="p">{</span>
|
||||
|
||||
@@ -819,7 +819,7 @@ while the last one is treated as the highest-priority child.</p>
|
||||
|
||||
<p>A simple example including just two configuration files looks like this:</p>
|
||||
|
||||
<p><code>swiftlint --config ".swiftlint.yml .swiftlint_child.yml"</code></p>
|
||||
<p><code>swiftlint --config .swiftlint.yml --config .swiftlint_child.yml</code></p>
|
||||
<h3 id='nested-configurations' class='heading'>Nested Configurations</h3>
|
||||
|
||||
<p>In addition to a main configuration (the <code>.swiftlint.yml</code> file in the root folder),
|
||||
|
||||
Binary file not shown.
@@ -325,7 +325,7 @@
|
||||
<li><strong>Kind:</strong> style</li>
|
||||
<li><strong>Analyzer rule:</strong> No</li>
|
||||
<li><strong>Minimum Swift compiler version:</strong> 3.0.0</li>
|
||||
<li><strong>Default configuration:</strong> warning, included: [function, closure, getter]</li>
|
||||
<li><strong>Default configuration:</strong> warning, included: [function, getter, closure]</li>
|
||||
</ul>
|
||||
<h2 id='non-triggering-examples' class='heading'>Non Triggering Examples</h2>
|
||||
<pre class="highlight swift"><code><span class="k">if</span> <span class="n">foo</span> <span class="p">{</span>
|
||||
|
||||
+1
-1
@@ -819,7 +819,7 @@ while the last one is treated as the highest-priority child.</p>
|
||||
|
||||
<p>A simple example including just two configuration files looks like this:</p>
|
||||
|
||||
<p><code>swiftlint --config ".swiftlint.yml .swiftlint_child.yml"</code></p>
|
||||
<p><code>swiftlint --config .swiftlint.yml --config .swiftlint_child.yml</code></p>
|
||||
<h3 id='nested-configurations' class='heading'>Nested Configurations</h3>
|
||||
|
||||
<p>In addition to a main configuration (the <code>.swiftlint.yml</code> file in the root folder),
|
||||
|
||||
Reference in New Issue
Block a user