diff --git a/Extensions/Array.html b/Extensions/Array.html index b2cd5ea7d..e50df020f 100644 --- a/Extensions/Array.html +++ b/Extensions/Array.html @@ -405,7 +405,7 @@
@@ -435,7 +435,7 @@ @@ -465,7 +465,7 @@ @@ -495,7 +495,7 @@ @@ -525,7 +525,7 @@ diff --git a/Protocols.html b/Protocols.html index 4c1ea6eb6..936dcfa4e 100644 --- a/Protocols.html +++ b/Protocols.html @@ -628,7 +628,7 @@ structure, validating the rule recursively in nested source bodies. @@ -720,7 +720,7 @@ structure, validating the rule recursively in nested source bodies. @@ -751,7 +751,7 @@ structure, validating the rule recursively in nested source bodies. @@ -783,7 +783,7 @@ updated content. @@ -813,7 +813,7 @@ updated content. @@ -845,7 +845,7 @@ static analysis than syntactic checks. diff --git a/Protocols/AnalyzerRule.html b/Protocols/AnalyzerRule.html index cefbd8565..79ef7f099 100644 --- a/Protocols/AnalyzerRule.html +++ b/Protocols/AnalyzerRule.html @@ -363,7 +363,7 @@ static analysis than syntactic checks. @@ -399,7 +399,7 @@ static analysis than syntactic checks. diff --git a/Protocols/CollectingRule.html b/Protocols/CollectingRule.html index 4d2acc090..2caea22a0 100644 --- a/Protocols/CollectingRule.html +++ b/Protocols/CollectingRule.html @@ -362,7 +362,7 @@A rule that requires knowledge of all other files being linted.
@@ -554,7 +554,8 @@ expectations.Swift
-func validate(file: SwiftLintFile, collectedInfo: [SwiftLintFile: FileInfo],
+ func validate(file: SwiftLintFile,
+ collectedInfo: [SwiftLintFile: FileInfo],
compilerArguments: [String]) -> [StyleViolation]
All style violations to the rule’s expectations.
@@ -705,7 +706,7 @@ expectations. @@ -737,7 +738,7 @@ expectations. @@ -769,7 +770,7 @@ expectations. @@ -801,7 +802,7 @@ expectations. diff --git a/Protocols/CorrectableRule.html b/Protocols/CorrectableRule.html index 4b96dde1d..1d692a54c 100644 --- a/Protocols/CorrectableRule.html +++ b/Protocols/CorrectableRule.html @@ -362,7 +362,7 @@A rule that can correct violations.
@@ -438,7 +438,7 @@All corrections that were applied.
@@ -491,7 +491,7 @@All corrections that were applied.
@@ -581,7 +581,7 @@ and returns all corrections that were applied.All corrections that were applied.
diff --git a/Protocols/Rule.html b/Protocols/Rule.html index 0b91799de..47a6f5399 100644 --- a/Protocols/Rule.html +++ b/Protocols/Rule.html @@ -1015,7 +1015,7 @@ cached value is still valid given the new cache value. @@ -1048,7 +1048,7 @@ cached value is still valid given the new cache value. diff --git a/Protocols/SubstitutionCorrectableRule.html b/Protocols/SubstitutionCorrectableRule.html index bb0f7aceb..9506dbdd8 100644 --- a/Protocols/SubstitutionCorrectableRule.html +++ b/Protocols/SubstitutionCorrectableRule.html @@ -363,7 +363,7 @@ updated content. @@ -420,7 +420,7 @@ updated content.The NSString-based NSRanges to be replaced in the specified file.
The range of the correction and its contents, if one could be computed.
@@ -517,7 +517,7 @@ updated content. diff --git a/Structs.html b/Structs.html index 04e8681bf..d6f1d3ad6 100644 --- a/Structs.html +++ b/Structs.html @@ -514,7 +514,7 @@ case it’s active. @@ -643,7 +643,7 @@ non-triggering style @@ -676,7 +676,7 @@ non-triggering style @@ -1003,7 +1003,7 @@ foo: warning: 1 diff --git a/Structs/CollectedLinter.html b/Structs/CollectedLinter.html index a04b207bc..8d70f1533 100644 --- a/Structs/CollectedLinter.html +++ b/Structs/CollectedLinter.html @@ -364,7 +364,7 @@A CollectedLinter is only created after a Linter has run its collection steps in Linter.collect(into:).
All style violations found by this linter.
@@ -505,7 +505,7 @@All style violations found by this linter, and the time spent executing each rule.
@@ -558,7 +558,7 @@All corrections that were applied.
@@ -619,7 +619,7 @@ diff --git a/Structs/Command.html b/Structs/Command.html index d89c470e6..22e58937b 100644 --- a/Structs/Command.html +++ b/Structs/Command.html @@ -362,7 +362,7 @@A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
@@ -603,8 +603,12 @@Swift
-public init(action: Action, ruleIdentifiers: Set<RuleIdentifier> = [], line: Int = 0,
- character: Int? = nil, modifier: Modifier? = nil, trailingComment: String? = nil)
+ public init(action: Action,
+ ruleIdentifiers: Set<RuleIdentifier> = [],
+ line: Int = 0,
+ character: Int? = nil,
+ modifier: Modifier? = nil,
+ trailingComment: String? = nil)
Swift
-init(_ code: String, configuration: [String: any Sendable]? = nil, testMultiByteOffsets: Bool = true,
- testWrappingInComment: Bool = true, testWrappingInString: Bool = true, testDisableCommand: Bool = true,
- testOnLinux: Bool = true, file: StaticString = #filePath, line: UInt = #line,
+ init(_ code: String,
+ configuration: [String: any Sendable]? = nil,
+ testMultiByteOffsets: Bool = true,
+ testWrappingInComment: Bool = true,
+ testWrappingInString: Bool = true,
+ testDisableCommand: Bool = true,
+ testOnLinux: Bool = true,
+ file: StaticString = #filePath,
+ line: UInt = #line,
excludeFromDocumentation: Bool = false)
Represents a file that can be linted for style violations and corrections after being collected.
@@ -396,7 +396,7 @@ @@ -426,7 +426,7 @@ @@ -451,7 +451,9 @@Swift
-public init(file: SwiftLintFile, configuration: Configuration = Configuration.default, cache: LinterCache? = nil,
+ public init(file: SwiftLintFile,
+ configuration: Configuration = Configuration.default,
+ cache: LinterCache? = nil,
compilerArguments: [String] = [])
A linter capable of checking for violations after running each rule’s collection step.
diff --git a/Structs/RuleDescription.html b/Structs/RuleDescription.html index c5143209a..58af31d03 100644 --- a/Structs/RuleDescription.html +++ b/Structs/RuleDescription.html @@ -362,7 +362,7 @@A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
@@ -772,9 +772,13 @@ conforming toAnalyzerRuleDeclaration
Swift
- public init(identifier: String, name: String, description: String, kind: RuleKind,
+ public init(identifier: String,
+ name: String,
+ description: String,
+ kind: RuleKind,
minSwiftVersion: SwiftVersion = .five,
- nonTriggeringExamples: [Example] = [], triggeringExamples: [Example] = [],
+ nonTriggeringExamples: [Example] = [],
+ triggeringExamples: [Example] = [],
corrections: [Example: Example] = [:],
deprecatedAliases: Set<String> = [],
requiresFileOnDisk: Bool = false)
@@ -909,7 +913,7 @@ conforming to AnalyzerRule
@@ -951,7 +955,7 @@ conforming to AnalyzerRule
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Extensions/Array.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Extensions/Array.html
index b2cd5ea7d..e50df020f 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Extensions/Array.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Extensions/Array.html
@@ -405,7 +405,7 @@
@@ -435,7 +435,7 @@
@@ -465,7 +465,7 @@
@@ -495,7 +495,7 @@
@@ -525,7 +525,7 @@
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols.html
index 4c1ea6eb6..936dcfa4e 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols.html
@@ -628,7 +628,7 @@ structure, validating the rule recursively in nested source bodies.
@@ -720,7 +720,7 @@ structure, validating the rule recursively in nested source bodies.
@@ -751,7 +751,7 @@ structure, validating the rule recursively in nested source bodies.
@@ -783,7 +783,7 @@ updated content.
@@ -813,7 +813,7 @@ updated content.
@@ -845,7 +845,7 @@ static analysis than syntactic checks.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html
index cefbd8565..79ef7f099 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html
@@ -363,7 +363,7 @@
static analysis than syntactic checks.
@@ -399,7 +399,7 @@ static analysis than syntactic checks.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CollectingRule.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CollectingRule.html
index 4d2acc090..2caea22a0 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CollectingRule.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CollectingRule.html
@@ -362,7 +362,7 @@
A rule that requires knowledge of all other files being linted.
@@ -554,7 +554,8 @@ expectations.
Declaration
Swift
- func validate(file: SwiftLintFile, collectedInfo: [SwiftLintFile: FileInfo],
+ func validate(file: SwiftLintFile,
+ collectedInfo: [SwiftLintFile: FileInfo],
compilerArguments: [String]) -> [StyleViolation]
@@ -673,7 +674,7 @@ expectations.
All style violations to the rule’s expectations.
@@ -705,7 +706,7 @@ expectations.
@@ -737,7 +738,7 @@ expectations.
@@ -769,7 +770,7 @@ expectations.
@@ -801,7 +802,7 @@ expectations.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html
index 4b96dde1d..1d692a54c 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html
@@ -362,7 +362,7 @@
A rule that can correct violations.
@@ -438,7 +438,7 @@
All corrections that were applied.
@@ -491,7 +491,7 @@
All corrections that were applied.
@@ -581,7 +581,7 @@ and returns all corrections that were applied.
All corrections that were applied.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/Rule.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/Rule.html
index 0b91799de..47a6f5399 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/Rule.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/Rule.html
@@ -1015,7 +1015,7 @@ cached value is still valid given the new cache value.
@@ -1048,7 +1048,7 @@ cached value is still valid given the new cache value.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html
index bb0f7aceb..9506dbdd8 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html
@@ -363,7 +363,7 @@
updated content.
@@ -420,7 +420,7 @@ updated content.
The NSString-based NSRanges to be replaced in the specified file.
@@ -485,7 +485,7 @@ updated content.
The range of the correction and its contents, if one could be computed.
@@ -517,7 +517,7 @@ updated content.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs.html
index 04e8681bf..d6f1d3ad6 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs.html
@@ -514,7 +514,7 @@ case it’s active.
@@ -643,7 +643,7 @@ non-triggering style
@@ -676,7 +676,7 @@ non-triggering style
@@ -1003,7 +1003,7 @@ foo: warning: 1
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/CollectedLinter.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/CollectedLinter.html
index a04b207bc..8d70f1533 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/CollectedLinter.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/CollectedLinter.html
@@ -364,7 +364,7 @@
A CollectedLinter is only created after a Linter has run its collection steps in Linter.collect(into:).
@@ -398,7 +398,7 @@
@@ -451,7 +451,7 @@
All style violations found by this linter.
@@ -505,7 +505,7 @@
All style violations found by this linter, and the time spent executing each rule.
@@ -558,7 +558,7 @@
All corrections that were applied.
@@ -619,7 +619,7 @@
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Command.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Command.html
index d89c470e6..22e58937b 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Command.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Command.html
@@ -362,7 +362,7 @@
A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.
@@ -603,8 +603,12 @@
Declaration
Swift
- public init(action: Action, ruleIdentifiers: Set<RuleIdentifier> = [], line: Int = 0,
- character: Int? = nil, modifier: Modifier? = nil, trailingComment: String? = nil)
+ public init(action: Action,
+ ruleIdentifiers: Set<RuleIdentifier> = [],
+ line: Int = 0,
+ character: Int? = nil,
+ modifier: Modifier? = nil,
+ trailingComment: String? = nil)
@@ -689,7 +693,7 @@
@@ -763,7 +767,7 @@
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Example.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Example.html
index ea44d6306..ee2a5f3e4 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Example.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Example.html
@@ -586,9 +586,15 @@ The structure should match what is expected as a configuration value for the rul
Declaration
Swift
- init(_ code: String, configuration: [String: any Sendable]? = nil, testMultiByteOffsets: Bool = true,
- testWrappingInComment: Bool = true, testWrappingInString: Bool = true, testDisableCommand: Bool = true,
- testOnLinux: Bool = true, file: StaticString = #filePath, line: UInt = #line,
+ init(_ code: String,
+ configuration: [String: any Sendable]? = nil,
+ testMultiByteOffsets: Bool = true,
+ testWrappingInComment: Bool = true,
+ testWrappingInString: Bool = true,
+ testDisableCommand: Bool = true,
+ testOnLinux: Bool = true,
+ file: StaticString = #filePath,
+ line: UInt = #line,
excludeFromDocumentation: Bool = false)
@@ -713,7 +719,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -762,7 +768,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -792,7 +798,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -822,7 +828,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -851,7 +857,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -880,7 +886,7 @@ The structure should match what is expected as a configuration value for the rul
@@ -909,7 +915,7 @@ The structure should match what is expected as a configuration value for the rul
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Linter.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Linter.html
index 244d1fb54..9c1d96c06 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Linter.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/Linter.html
@@ -362,7 +362,7 @@
Represents a file that can be linted for style violations and corrections after being collected.
@@ -396,7 +396,7 @@
@@ -426,7 +426,7 @@
@@ -451,7 +451,9 @@
Declaration
Swift
- public init(file: SwiftLintFile, configuration: Configuration = Configuration.default, cache: LinterCache? = nil,
+ public init(file: SwiftLintFile,
+ configuration: Configuration = Configuration.default,
+ cache: LinterCache? = nil,
compilerArguments: [String] = [])
@@ -512,7 +514,7 @@
@@ -565,7 +567,7 @@
A linter capable of checking for violations after running each rule’s collection step.
diff --git a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/RuleDescription.html b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/RuleDescription.html
index c5143209a..58af31d03 100644
--- a/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/RuleDescription.html
+++ b/docsets/SwiftLintCore.docset/Contents/Resources/Documents/Structs/RuleDescription.html
@@ -362,7 +362,7 @@
A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.
@@ -772,9 +772,13 @@ conforming to AnalyzerRuleDeclaration
Swift
- public init(identifier: String, name: String, description: String, kind: RuleKind,
+ public init(identifier: String,
+ name: String,
+ description: String,
+ kind: RuleKind,
minSwiftVersion: SwiftVersion = .five,
- nonTriggeringExamples: [Example] = [], triggeringExamples: [Example] = [],
+ nonTriggeringExamples: [Example] = [],
+ triggeringExamples: [Example] = [],
corrections: [Example: Example] = [:],
deprecatedAliases: Set<String> = [],
requiresFileOnDisk: Bool = false)
@@ -909,7 +913,7 @@ conforming to AnalyzerRule
@@ -951,7 +955,7 @@ conforming to AnalyzerRule
diff --git a/docsets/SwiftLintCore.tgz b/docsets/SwiftLintCore.tgz
index b66f23d54..19b9e7b28 100644
Binary files a/docsets/SwiftLintCore.tgz and b/docsets/SwiftLintCore.tgz differ