mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Automated deployment to GitHub Pages: d1fe2fc1d3
This commit is contained in:
+1
-1
@@ -523,7 +523,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L119-L138">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L130-L149">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+44
-15
@@ -399,7 +399,7 @@
|
||||
<p>Type of an option.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L119-L138">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L130-L149">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -433,7 +433,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L121">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L132">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -463,7 +463,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L123">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L134">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -493,7 +493,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L125">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L136">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -523,7 +523,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L127">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L138">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -553,7 +553,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L129">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L140">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -583,7 +583,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L131">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L142">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -613,7 +613,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L133">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L144">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -643,7 +643,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L135">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L146">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -673,7 +673,36 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L137">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L148">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L152-L154">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -702,7 +731,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L141-L162">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L156-L177">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -731,7 +760,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L164-L185">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L179-L200">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -809,7 +838,7 @@
|
||||
<p>A configuration option built up by the given data.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L242-L244">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L257-L259">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -862,7 +891,7 @@
|
||||
<p>A configuration option with a value being another configuration description.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L251-L253">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L266-L268">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -904,7 +933,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L387-L389">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L402-L404">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -532,7 +532,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ViolationSeverity.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ViolationSeverity.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -572,7 +572,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L405-L407">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L420-L422">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L393-L395">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L408-L410">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L423-L425">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L438-L440">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L417-L419">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L432-L434">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L429-L431">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L444-L446">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -455,7 +455,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L433-L435">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L448-L450">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L370-L375">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L385-L390">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -435,7 +435,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L411-L413">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L426-L428">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L399-L401">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L414-L416">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+3
-3
@@ -422,7 +422,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L16">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L19">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -466,7 +466,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L264-L276">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L279-L291">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -496,7 +496,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L286">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L301">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
<p>Type of an object that can be used as a configuration element.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L264-L276">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L279-L291">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -435,7 +435,7 @@
|
||||
<p>Option representing the object.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -495,7 +495,7 @@
|
||||
<p>Configuration description of this object.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L275">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L290">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -397,7 +397,7 @@
|
||||
<p>A type that can be converted into a human-readable representation.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L16">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L19">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -474,6 +474,36 @@
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Indicate if the item has some content that is useful to document.</p>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L18">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -621,7 +621,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L441-L443">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L456-L458">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -653,7 +653,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L445-L450">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L460-L465">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+4
-4
@@ -773,7 +773,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L19-L66">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L22-L69">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -805,7 +805,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L91-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L98-L104">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -849,7 +849,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L192-L230">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L207-L245">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -932,7 +932,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L325-L365">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L340-L380">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -581,7 +581,7 @@ is set to <code><a href="../Structs/ChildOptionSeverityConfiguration.html#/s:13S
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ChildOptionSeverityConfiguration.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ChildOptionSeverityConfiguration.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -436,7 +436,7 @@ levels: warning: 1
|
||||
</ol>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L325-L365">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L340-L380">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -470,7 +470,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L328">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L343">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -500,7 +500,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L331">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L346">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -561,7 +561,7 @@ levels: warning: 1
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L342-L345">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L357-L360">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -612,7 +612,7 @@ levels: warning: 1
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L352-L354">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L367-L369">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -664,7 +664,7 @@ parent configuration in this specific case.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L362-L364">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L377-L379">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
<p>Description of a rule configuration.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L19-L66">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L22-L69">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -407,6 +407,35 @@
|
||||
<div class="section-content">
|
||||
<div class="task-group">
|
||||
<ul class="item-container">
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L72-L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
@@ -431,7 +460,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L69-L71">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L76-L78">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -460,7 +489,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L73-L87">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L80-L94">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -398,7 +398,7 @@
|
||||
<p>A single option of a <code><a href="../Structs/RuleConfigurationDescription.html">RuleConfigurationDescription</a></code>.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L91-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L98-L104">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -432,7 +432,36 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L93">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L100">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L107-L109">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -461,7 +490,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L100-L111">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L111-L122">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -490,7 +519,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L113-L115">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L124-L126">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -612,7 +612,7 @@ Instead, their only option value must be used together with the option name.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L456-L469">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L471-L484">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -397,7 +397,6 @@
|
||||
<li><strong>Kind:</strong> style</li>
|
||||
<li><strong>Analyzer rule:</strong> No</li>
|
||||
<li><strong>Minimum Swift compiler version:</strong> 5.0.0</li>
|
||||
<li><strong>Default configuration:</strong></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -523,7 +523,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L119-L138">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L130-L149">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -399,7 +399,7 @@
|
||||
<p>Type of an option.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L119-L138">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L130-L149">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -433,7 +433,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L121">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L132">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -463,7 +463,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L123">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L134">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -493,7 +493,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L125">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L136">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -523,7 +523,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L127">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L138">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -553,7 +553,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L129">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L140">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -583,7 +583,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L131">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L142">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -613,7 +613,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L133">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L144">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -643,7 +643,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L135">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L146">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -673,7 +673,36 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L137">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L148">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L152-L154">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -702,7 +731,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L141-L162">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L156-L177">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -731,7 +760,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L164-L185">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L179-L200">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -809,7 +838,7 @@
|
||||
<p>A configuration option built up by the given data.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L242-L244">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L257-L259">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -862,7 +891,7 @@
|
||||
<p>A configuration option with a value being another configuration description.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L251-L253">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L266-L268">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -904,7 +933,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L387-L389">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L402-L404">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -532,7 +532,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ViolationSeverity.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ViolationSeverity.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -572,7 +572,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L405-L407">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L420-L422">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L393-L395">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L408-L410">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L423-L425">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L438-L440">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L417-L419">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L432-L434">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L429-L431">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L444-L446">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -455,7 +455,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L433-L435">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L448-L450">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L370-L375">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L385-L390">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -435,7 +435,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L411-L413">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L426-L428">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -426,7 +426,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L399-L401">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L414-L416">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -422,7 +422,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L16">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L19">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -466,7 +466,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L264-L276">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L279-L291">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -496,7 +496,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L286">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L301">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+3
-3
@@ -397,7 +397,7 @@
|
||||
<p>Type of an object that can be used as a configuration element.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L264-L276">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L279-L291">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -435,7 +435,7 @@
|
||||
<p>Option representing the object.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -495,7 +495,7 @@
|
||||
<p>Configuration description of this object.</p>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L275">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L290">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+31
-1
@@ -397,7 +397,7 @@
|
||||
<p>A type that can be converted into a human-readable representation.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L16">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L6-L19">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -474,6 +474,36 @@
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
<p>Indicate if the item has some content that is useful to document.</p>
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L18">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+2
-2
@@ -621,7 +621,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L441-L443">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L456-L458">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -653,7 +653,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L445-L450">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L460-L465">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -773,7 +773,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L19-L66">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L22-L69">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -805,7 +805,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L91-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L98-L104">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -849,7 +849,7 @@ non-triggering style</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L192-L230">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L207-L245">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -932,7 +932,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L325-L365">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L340-L380">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -581,7 +581,7 @@ is set to <code><a href="../Structs/ChildOptionSeverityConfiguration.html#/s:13S
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ChildOptionSeverityConfiguration.swift#L268">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/ChildOptionSeverityConfiguration.swift#L283">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+6
-6
@@ -436,7 +436,7 @@ levels: warning: 1
|
||||
</ol>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L325-L365">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L340-L380">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -470,7 +470,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L328">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L343">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -500,7 +500,7 @@ levels: warning: 1
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L331">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L346">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -561,7 +561,7 @@ levels: warning: 1
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L342-L345">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L357-L360">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -612,7 +612,7 @@ levels: warning: 1
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L352-L354">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L367-L369">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -664,7 +664,7 @@ parent configuration in this specific case.</p>
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L362-L364">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L377-L379">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+32
-3
@@ -398,7 +398,7 @@
|
||||
<p>Description of a rule configuration.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L19-L66">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L22-L69">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -407,6 +407,35 @@
|
||||
<div class="section-content">
|
||||
<div class="task-group">
|
||||
<ul class="item-container">
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L72-L74">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
@@ -431,7 +460,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L69-L71">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L76-L78">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -460,7 +489,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L73-L87">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L80-L94">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+33
-4
@@ -398,7 +398,7 @@
|
||||
<p>A single option of a <code><a href="../Structs/RuleConfigurationDescription.html">RuleConfigurationDescription</a></code>.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L91-L97">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L98-L104">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -432,7 +432,36 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L93">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L100">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</li>
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore12DocumentableP10hasContentSbvp"></a>
|
||||
<a name="//apple_ref/swift/Property/hasContent" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore12DocumentableP10hasContentSbvp">hasContent</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
<div class="pointer-container"></div>
|
||||
<section class="section">
|
||||
<div class="pointer"></div>
|
||||
<div class="abstract">
|
||||
|
||||
</div>
|
||||
<div class="declaration">
|
||||
<h4>Declaration</h4>
|
||||
<div class="language">
|
||||
<p class="aside-title">Swift</p>
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="k">var</span> <span class="nv">hasContent</span><span class="p">:</span> <span class="kt">Bool</span> <span class="p">{</span> <span class="k">get</span> <span class="p">}</span></code></pre>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L107-L109">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -461,7 +490,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L100-L111">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L111-L122">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -490,7 +519,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L113-L115">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L124-L126">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+1
-1
@@ -612,7 +612,7 @@ Instead, their only option value must be used together with the option name.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L456-L469">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/RuleConfigurationDescription.swift#L471-L484">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -397,7 +397,6 @@
|
||||
<li><strong>Kind:</strong> style</li>
|
||||
<li><strong>Analyzer rule:</strong> No</li>
|
||||
<li><strong>Minimum Swift compiler version:</strong> 5.0.0</li>
|
||||
<li><strong>Default configuration:</strong></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
+23
-23
@@ -436,6 +436,16 @@ false
|
||||
<span class="nv">y</span><span class="p">:</span><span class="mi">6</span>
|
||||
<span class="p">)</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
@@ -446,12 +456,6 @@ false
|
||||
<span class="mi">3</span>
|
||||
<span class="p">]</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span><span class="n">foo</span> <span class="p">{</span>
|
||||
<span class="k">var</span> <span class="nv">sum</span> <span class="o">=</span> <span class="mi">0</span>
|
||||
<span class="k">for</span> <span class="n">i</span> <span class="k">in</span> <span class="mi">1</span><span class="o">...</span><span class="mi">5</span> <span class="p">{</span> <span class="n">sum</span> <span class="o">+=</span> <span class="n">i</span> <span class="p">}</span>
|
||||
@@ -463,10 +467,6 @@ false
|
||||
<span class="k">return</span> <span class="n">mul</span>
|
||||
<span class="p">}])</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span><span class="o">.</span><span class="n">map</span> <span class="p">{</span> <span class="nv">$0</span> <span class="p">}</span><span class="o">.</span><span class="n">filter</span> <span class="p">{</span> <span class="kc">true</span> <span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span><span class="o">.</span><span class="n">map</span> <span class="p">{</span> <span class="nv">$0</span> <span class="p">}</span><span class="o">.</span><span class="n">filter</span> <span class="p">{</span> <span class="n">num</span> <span class="k">in</span> <span class="kc">true</span> <span class="p">}</span>
|
||||
@@ -497,6 +497,7 @@ false
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span>
|
||||
@@ -510,10 +511,22 @@ false
|
||||
<span class="err">↓</span>
|
||||
<span class="p">)</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span>
|
||||
@@ -523,13 +536,6 @@ false
|
||||
<span class="err">↓</span>
|
||||
<span class="p">]</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span><span class="n">foo</span> <span class="p">{</span>
|
||||
<span class="k">var</span> <span class="nv">sum</span> <span class="o">=</span> <span class="mi">0</span>
|
||||
<span class="k">for</span> <span class="n">i</span> <span class="k">in</span> <span class="mi">1</span><span class="o">...</span><span class="mi">5</span> <span class="p">{</span> <span class="n">sum</span> <span class="o">+=</span> <span class="n">i</span> <span class="p">}</span>
|
||||
@@ -541,12 +547,6 @@ false
|
||||
<span class="k">return</span> <span class="n">mul</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}])</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
@@ -436,6 +436,16 @@ false
|
||||
<span class="nv">y</span><span class="p">:</span><span class="mi">6</span>
|
||||
<span class="p">)</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
@@ -446,12 +456,6 @@ false
|
||||
<span class="mi">3</span>
|
||||
<span class="p">]</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span><span class="n">foo</span> <span class="p">{</span>
|
||||
<span class="k">var</span> <span class="nv">sum</span> <span class="o">=</span> <span class="mi">0</span>
|
||||
<span class="k">for</span> <span class="n">i</span> <span class="k">in</span> <span class="mi">1</span><span class="o">...</span><span class="mi">5</span> <span class="p">{</span> <span class="n">sum</span> <span class="o">+=</span> <span class="n">i</span> <span class="p">}</span>
|
||||
@@ -463,10 +467,6 @@ false
|
||||
<span class="k">return</span> <span class="n">mul</span>
|
||||
<span class="p">}])</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span><span class="o">.</span><span class="n">map</span> <span class="p">{</span> <span class="nv">$0</span> <span class="p">}</span><span class="o">.</span><span class="n">filter</span> <span class="p">{</span> <span class="kc">true</span> <span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span><span class="mi">1</span><span class="p">,</span> <span class="mi">2</span><span class="p">]</span><span class="o">.</span><span class="n">map</span> <span class="p">{</span> <span class="nv">$0</span> <span class="p">}</span><span class="o">.</span><span class="n">filter</span> <span class="p">{</span> <span class="n">num</span> <span class="k">in</span> <span class="kc">true</span> <span class="p">}</span>
|
||||
@@ -497,6 +497,7 @@ false
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span>
|
||||
@@ -510,10 +511,22 @@ false
|
||||
<span class="err">↓</span>
|
||||
<span class="p">)</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="p">[</span>
|
||||
@@ -523,13 +536,6 @@ false
|
||||
<span class="err">↓</span>
|
||||
<span class="p">]</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">foo</span><span class="p">()</span> <span class="p">{</span>
|
||||
<span class="nf">run</span><span class="p">(</span><span class="mi">5</span><span class="p">)</span> <span class="p">{</span> <span class="n">x</span> <span class="k">in</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="n">x</span><span class="p">)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="nf">print</span><span class="p">([</span><span class="n">foo</span> <span class="p">{</span>
|
||||
<span class="k">var</span> <span class="nv">sum</span> <span class="o">=</span> <span class="mi">0</span>
|
||||
<span class="k">for</span> <span class="n">i</span> <span class="k">in</span> <span class="mi">1</span><span class="o">...</span><span class="mi">5</span> <span class="p">{</span> <span class="n">sum</span> <span class="o">+=</span> <span class="n">i</span> <span class="p">}</span>
|
||||
@@ -541,12 +547,6 @@ false
|
||||
<span class="k">return</span> <span class="n">mul</span>
|
||||
<span class="err">↓</span>
|
||||
<span class="p">}])</span>
|
||||
</code></pre>
|
||||
<pre class="highlight swift"><code><span class="k">do</span> <span class="p">{</span>
|
||||
<span class="nf">print</span><span class="p">(</span><span class="s">"x is 5"</span><span class="p">)</span>
|
||||
<span class="err">↓</span>
|
||||
|
||||
<span class="p">}</span>
|
||||
</code></pre>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user