mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Automated deployment to GitHub Pages: b1234e38a5
This commit is contained in:
+1
-1
@@ -547,7 +547,7 @@ case it’s active.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L287">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L289">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -364,7 +364,7 @@
|
||||
<p>The configuration struct for SwiftLint. User-defined in the <code>.swiftlint.yml</code> file, drives the behavior of SwiftLint.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L287">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L289">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -939,9 +939,9 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgSbSDyS2SGSbSgtcfc"></a>
|
||||
<a name="//apple_ref/swift/Method/init(configurationFiles:enableAllRules:cachePath:ignoreParentAndChildConfigs:mockedNetworkResults:useDefaultConfigOnFailure:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgSbSDyS2SGSbSgtcfc">init(configurationFiles:<wbr>enableAllRules:<wbr>cachePath:<wbr>ignoreParentAndChildConfigs:<wbr>mockedNetworkResults:<wbr>useDefaultConfigOnFailure:<wbr>)</a>
|
||||
<a name="/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules8onlyRule9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgALSbSDyS2SGSbSgtcfc"></a>
|
||||
<a name="//apple_ref/swift/Method/init(configurationFiles:enableAllRules:onlyRule:cachePath:ignoreParentAndChildConfigs:mockedNetworkResults:useDefaultConfigOnFailure:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules8onlyRule9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgALSbSDyS2SGSbSgtcfc">init(configurationFiles:<wbr>enableAllRules:<wbr>onlyRule:<wbr>cachePath:<wbr>ignoreParentAndChildConfigs:<wbr>mockedNetworkResults:<wbr>useDefaultConfigOnFailure:<wbr>)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -959,6 +959,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span>
|
||||
<span class="nv">configurationFiles</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">],</span> <span class="c1">// No default value here to avoid ambiguous Configuration() initializer</span>
|
||||
<span class="nv">enableAllRules</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
|
||||
<span class="nv">onlyRule</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
|
||||
<span class="nv">cachePath</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
|
||||
<span class="nv">ignoreParentAndChildConfigs</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
|
||||
<span class="nv">mockedNetworkResults</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">:</span> <span class="kt">String</span><span class="p">]</span> <span class="o">=</span> <span class="p">[:],</span>
|
||||
@@ -1050,7 +1051,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L210-L275">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L210-L277">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1092,7 +1093,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L291-L306">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L293-L308">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1121,7 +1122,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L308-L324">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L310-L326">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1163,7 +1164,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L329-L340">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L331-L342">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@@ -547,7 +547,7 @@ case it’s active.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L287">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L289">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
+9
-8
@@ -364,7 +364,7 @@
|
||||
<p>The configuration struct for SwiftLint. User-defined in the <code>.swiftlint.yml</code> file, drives the behavior of SwiftLint.</p>
|
||||
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L287">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L5-L289">Show on GitHub</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
@@ -939,9 +939,9 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
<li class="item">
|
||||
<div>
|
||||
<code>
|
||||
<a name="/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgSbSDyS2SGSbSgtcfc"></a>
|
||||
<a name="//apple_ref/swift/Method/init(configurationFiles:enableAllRules:cachePath:ignoreParentAndChildConfigs:mockedNetworkResults:useDefaultConfigOnFailure:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgSbSDyS2SGSbSgtcfc">init(configurationFiles:<wbr>enableAllRules:<wbr>cachePath:<wbr>ignoreParentAndChildConfigs:<wbr>mockedNetworkResults:<wbr>useDefaultConfigOnFailure:<wbr>)</a>
|
||||
<a name="/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules8onlyRule9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgALSbSDyS2SGSbSgtcfc"></a>
|
||||
<a name="//apple_ref/swift/Method/init(configurationFiles:enableAllRules:onlyRule:cachePath:ignoreParentAndChildConfigs:mockedNetworkResults:useDefaultConfigOnFailure:)" class="dashAnchor"></a>
|
||||
<a class="token" href="#/s:13SwiftLintCore13ConfigurationV18configurationFiles14enableAllRules8onlyRule9cachePath27ignoreParentAndChildConfigs20mockedNetworkResults25useDefaultConfigOnFailureACSaySSG_SbSSSgALSbSDyS2SGSbSgtcfc">init(configurationFiles:<wbr>enableAllRules:<wbr>onlyRule:<wbr>cachePath:<wbr>ignoreParentAndChildConfigs:<wbr>mockedNetworkResults:<wbr>useDefaultConfigOnFailure:<wbr>)</a>
|
||||
</code>
|
||||
</div>
|
||||
<div class="height-container">
|
||||
@@ -959,6 +959,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
<pre class="highlight swift"><code><span class="kd">public</span> <span class="nf">init</span><span class="p">(</span>
|
||||
<span class="nv">configurationFiles</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">],</span> <span class="c1">// No default value here to avoid ambiguous Configuration() initializer</span>
|
||||
<span class="nv">enableAllRules</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
|
||||
<span class="nv">onlyRule</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
|
||||
<span class="nv">cachePath</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="kc">nil</span><span class="p">,</span>
|
||||
<span class="nv">ignoreParentAndChildConfigs</span><span class="p">:</span> <span class="kt">Bool</span> <span class="o">=</span> <span class="kc">false</span><span class="p">,</span>
|
||||
<span class="nv">mockedNetworkResults</span><span class="p">:</span> <span class="p">[</span><span class="kt">String</span><span class="p">:</span> <span class="kt">String</span><span class="p">]</span> <span class="o">=</span> <span class="p">[:],</span>
|
||||
@@ -1050,7 +1051,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</table>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L210-L275">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L210-L277">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1092,7 +1093,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L291-L306">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L293-L308">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1121,7 +1122,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L308-L324">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L310-L326">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
@@ -1163,7 +1164,7 @@ The rootDirectory also serves as the stopping point when searching for nested co
|
||||
</div>
|
||||
</div>
|
||||
<div class="slightly-smaller">
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L329-L340">Show on GitHub</a>
|
||||
<a href="https://github.com/realm/SwiftLint/tree/main/Source/SwiftLintCore/Models/Configuration.swift#L331-L342">Show on GitHub</a>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user