diff --git a/Classes.html b/Classes.html index 2d8cf0228..4e999c4fe 100644 --- a/Classes.html +++ b/Classes.html @@ -249,6 +249,9 @@ + diff --git a/Classes/LinterCache.html b/Classes/LinterCache.html index e9fa674b4..b2aaae47c 100644 --- a/Classes/LinterCache.html +++ b/Classes/LinterCache.html @@ -249,6 +249,9 @@ + diff --git a/Classes/RuleStorage.html b/Classes/RuleStorage.html index 7d8dcec8f..53ec121a7 100644 --- a/Classes/RuleStorage.html +++ b/Classes/RuleStorage.html @@ -249,6 +249,9 @@ + diff --git a/Classes/SwiftLintFile.html b/Classes/SwiftLintFile.html index 30e9d4ac4..15f060b4c 100644 --- a/Classes/SwiftLintFile.html +++ b/Classes/SwiftLintFile.html @@ -249,6 +249,9 @@ + diff --git a/Enums.html b/Enums.html index ea48b98c2..a6358d6a1 100644 --- a/Enums.html +++ b/Enums.html @@ -249,6 +249,9 @@ + diff --git a/Enums/AccessControlLevel.html b/Enums/AccessControlLevel.html index 90bb2e547..88efcc425 100644 --- a/Enums/AccessControlLevel.html +++ b/Enums/AccessControlLevel.html @@ -249,6 +249,9 @@ + diff --git a/Enums/ConfigurationError.html b/Enums/ConfigurationError.html index 557610519..be2a70e27 100644 --- a/Enums/ConfigurationError.html +++ b/Enums/ConfigurationError.html @@ -249,6 +249,9 @@ + diff --git a/Enums/RuleIdentifier.html b/Enums/RuleIdentifier.html index 656ba6650..f4f3eb2bd 100644 --- a/Enums/RuleIdentifier.html +++ b/Enums/RuleIdentifier.html @@ -249,6 +249,9 @@ + diff --git a/Enums/RuleKind.html b/Enums/RuleKind.html index ef152588f..a328673e4 100644 --- a/Enums/RuleKind.html +++ b/Enums/RuleKind.html @@ -249,6 +249,9 @@ + diff --git a/Enums/RuleListError.html b/Enums/RuleListError.html index 31d8f06e4..056f40682 100644 --- a/Enums/RuleListError.html +++ b/Enums/RuleListError.html @@ -249,6 +249,9 @@ + diff --git a/Enums/SwiftExpressionKind.html b/Enums/SwiftExpressionKind.html index dcf6145b5..93a59fe2d 100644 --- a/Enums/SwiftExpressionKind.html +++ b/Enums/SwiftExpressionKind.html @@ -249,6 +249,9 @@ + diff --git a/Enums/ViolationSeverity.html b/Enums/ViolationSeverity.html index 68da30ce2..796941968 100644 --- a/Enums/ViolationSeverity.html +++ b/Enums/ViolationSeverity.html @@ -249,6 +249,9 @@ + diff --git a/Extensions.html b/Extensions.html index 1b1739d76..62c0f8ec0 100644 --- a/Extensions.html +++ b/Extensions.html @@ -249,6 +249,9 @@ + diff --git a/Extensions/FileManager.html b/Extensions/FileManager.html index e07537f8c..d68606bb2 100644 --- a/Extensions/FileManager.html +++ b/Extensions/FileManager.html @@ -249,6 +249,9 @@ + diff --git a/Extensions/String.html b/Extensions/String.html index 795423735..490e755c9 100644 --- a/Extensions/String.html +++ b/Extensions/String.html @@ -249,6 +249,9 @@ + diff --git a/Functions.html b/Functions.html index 47d66faeb..3b230631d 100644 --- a/Functions.html +++ b/Functions.html @@ -249,6 +249,9 @@ + diff --git a/Global Variables.html b/Global Variables.html index 610de7fb9..fbedd71ef 100644 --- a/Global Variables.html +++ b/Global Variables.html @@ -249,6 +249,9 @@ + diff --git a/Guides.html b/Guides.html index ed2905573..269bfa6da 100644 --- a/Guides.html +++ b/Guides.html @@ -249,6 +249,9 @@ + diff --git a/Protocols.html b/Protocols.html index 7be900b8b..2e4b1c50d 100644 --- a/Protocols.html +++ b/Protocols.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/ASTRule.html b/Protocols/ASTRule.html index 0a06fc2b8..99ca855fc 100644 --- a/Protocols/ASTRule.html +++ b/Protocols/ASTRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/AnalyzerRule.html b/Protocols/AnalyzerRule.html index e5df190b4..5b8d3e656 100644 --- a/Protocols/AnalyzerRule.html +++ b/Protocols/AnalyzerRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/CollectingCorrectableRule.html b/Protocols/CollectingCorrectableRule.html index a953f2c7f..fb68701db 100644 --- a/Protocols/CollectingCorrectableRule.html +++ b/Protocols/CollectingCorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/CollectingRule.html b/Protocols/CollectingRule.html index 0b9152142..f5ca2ed95 100644 --- a/Protocols/CollectingRule.html +++ b/Protocols/CollectingRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/ConfigurationProviderRule.html b/Protocols/ConfigurationProviderRule.html index 85d331236..c858ce41d 100644 --- a/Protocols/ConfigurationProviderRule.html +++ b/Protocols/ConfigurationProviderRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/CorrectableRule.html b/Protocols/CorrectableRule.html index 75729e5cf..c4b8830ff 100644 --- a/Protocols/CorrectableRule.html +++ b/Protocols/CorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/LintableFileManager.html b/Protocols/LintableFileManager.html index 1e491c227..551d25a03 100644 --- a/Protocols/LintableFileManager.html +++ b/Protocols/LintableFileManager.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/Reporter.html b/Protocols/Reporter.html index a9cd4a818..6cb2ed610 100644 --- a/Protocols/Reporter.html +++ b/Protocols/Reporter.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/Rule.html b/Protocols/Rule.html index 5a44ca955..8354b636c 100644 --- a/Protocols/Rule.html +++ b/Protocols/Rule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/RuleConfiguration.html b/Protocols/RuleConfiguration.html index 4e80f2b2d..d8d5ab8cd 100644 --- a/Protocols/RuleConfiguration.html +++ b/Protocols/RuleConfiguration.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/SubstitutionCorrectableASTRule.html b/Protocols/SubstitutionCorrectableASTRule.html index 4ca79c0ab..1811d3b34 100644 --- a/Protocols/SubstitutionCorrectableASTRule.html +++ b/Protocols/SubstitutionCorrectableASTRule.html @@ -249,6 +249,9 @@ + diff --git a/Protocols/SubstitutionCorrectableRule.html b/Protocols/SubstitutionCorrectableRule.html index fdeea2439..73954276f 100644 --- a/Protocols/SubstitutionCorrectableRule.html +++ b/Protocols/SubstitutionCorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/Reporters.html b/Reporters.html index 946412001..07134cab5 100644 --- a/Reporters.html +++ b/Reporters.html @@ -249,6 +249,9 @@ + diff --git a/Rules.html b/Rules.html index 4621455b0..144881503 100644 --- a/Rules.html +++ b/Rules.html @@ -249,6 +249,9 @@ + diff --git a/Structs.html b/Structs.html index 5b9d64a74..bba5698ff 100644 --- a/Structs.html +++ b/Structs.html @@ -249,6 +249,9 @@ + @@ -404,7 +407,7 @@ values.

- Show on GitHub + Show on GitHub
@@ -471,6 +474,40 @@ values.

+
  • +
    + + + + Example + +
    +
    +
    +
    +
    +
    +

    Captures code and context information for an example of a triggering or +non-triggering style

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Example
    +
    extension Example: Hashable
    +
    extension Example: Comparable
    + +
    +
    + +
    +
    +
  • @@ -618,7 +655,7 @@ values.

    Declaration

    Swift

    -
    public struct RuleDescription : Equatable, Codable
    +
    public struct RuleDescription : Equatable
    @@ -716,7 +753,7 @@ values.

    diff --git a/Structs/CSVReporter.html b/Structs/CSVReporter.html index 624e14016..8995be58c 100644 --- a/Structs/CSVReporter.html +++ b/Structs/CSVReporter.html @@ -249,6 +249,9 @@
  • + diff --git a/Structs/CheckstyleReporter.html b/Structs/CheckstyleReporter.html index 1c90fefdf..16f3c014a 100644 --- a/Structs/CheckstyleReporter.html +++ b/Structs/CheckstyleReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/CollectedLinter.html b/Structs/CollectedLinter.html index 4f0a3e8af..409981a74 100644 --- a/Structs/CollectedLinter.html +++ b/Structs/CollectedLinter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Command.html b/Structs/Command.html index bc936b004..3d3ebfc4d 100644 --- a/Structs/Command.html +++ b/Structs/Command.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Command/Action.html b/Structs/Command/Action.html index a94adab37..7d277338b 100644 --- a/Structs/Command/Action.html +++ b/Structs/Command/Action.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Command/Modifier.html b/Structs/Command/Modifier.html index e8c879a7d..f423c758e 100644 --- a/Structs/Command/Modifier.html +++ b/Structs/Command/Modifier.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Configuration.html b/Structs/Configuration.html index 566c7bb7d..e7fdb5333 100644 --- a/Structs/Configuration.html +++ b/Structs/Configuration.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Configuration/IndentationStyle.html b/Structs/Configuration/IndentationStyle.html index 64c19b1a6..b02559637 100644 --- a/Structs/Configuration/IndentationStyle.html +++ b/Structs/Configuration/IndentationStyle.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Configuration/RulesMode.html b/Structs/Configuration/RulesMode.html index 3b341942e..386488ce0 100644 --- a/Structs/Configuration/RulesMode.html +++ b/Structs/Configuration/RulesMode.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Correction.html b/Structs/Correction.html index 19eb2fc71..c5a714b98 100644 --- a/Structs/Correction.html +++ b/Structs/Correction.html @@ -249,6 +249,9 @@ + diff --git a/Structs/EmojiReporter.html b/Structs/EmojiReporter.html index 212c1a98e..26f7b9a15 100644 --- a/Structs/EmojiReporter.html +++ b/Structs/EmojiReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Example.html b/Structs/Example.html new file mode 100644 index 000000000..97bcc1473 --- /dev/null +++ b/Structs/Example.html @@ -0,0 +1,674 @@ + + + + Example Structure Reference + + + + + + + + + + + + + + + + +
    +

    + + SwiftLintFramework Docs + + (100% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +

    + + + Install in Dash + +

    +
    + + + +
    + +
    + +
    +
    +

    Example

    +
    +
    +
    public struct Example
    +
    extension Example: Hashable
    +
    extension Example: Comparable
    + +
    +
    +

    Captures code and context information for an example of a triggering or +non-triggering style

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + code + +
      +
      +
      +
      +
      +
      +

      The contents of the example

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public private(set) var code: String
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + file + +
      +
      +
      +
      +
      +
      +

      The path to the file where the example was created

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public private(set) var file: StaticString
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + line + +
      +
      +
      +
      +
      +
      +

      The line in the file where the example was created

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var line: UInt
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + init(_:file:line:) + +
      +
      +
      +
      +
      +
      +

      Create a new Example with the specified code, file, and line

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      init(_ code: String, file: StaticString = #file, line: UInt = #line)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + code + + +
      +

      The contents of the example

      +
      +
      + + file + + +
      +

      The path to the file where the example is located. + Defaults to the file where this initializer is called.

      +
      +
      + + line + + +
      +

      The line in the file where the example is located. + Defaults to the line where this initializer is called.

      +
      +
      +
      + +
      +
      +
    • +
    • +
      + + + + with(code:) + +
      +
      +
      +
      +
      +
      +

      Returns the same example, but with the code that is passed in

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func with(code: String) -> Example
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + code + + +
      +

      the new code to use in the modified example

      +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Returns a copy of the Example with all instances of the “↓” character removed.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func removingViolationMarkers() -> Example
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + ==(_:_:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public static func == (lhs: Example, rhs: Example) -> Bool
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + hash(into:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public func hash(into hasher: inout Hasher)
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + <(_:_:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public static func < (lhs: Example, rhs: Example) -> Bool
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/Structs/GitHubActionsLoggingReporter.html b/Structs/GitHubActionsLoggingReporter.html index fa5bf2537..76754554b 100644 --- a/Structs/GitHubActionsLoggingReporter.html +++ b/Structs/GitHubActionsLoggingReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/HTMLReporter.html b/Structs/HTMLReporter.html index 5bf1b72ff..ff7cac80a 100644 --- a/Structs/HTMLReporter.html +++ b/Structs/HTMLReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/JSONReporter.html b/Structs/JSONReporter.html index 4145a3387..e01eb7c3e 100644 --- a/Structs/JSONReporter.html +++ b/Structs/JSONReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/JUnitReporter.html b/Structs/JUnitReporter.html index a0f3b7360..03704dd80 100644 --- a/Structs/JUnitReporter.html +++ b/Structs/JUnitReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Linter.html b/Structs/Linter.html index 581bdbbbe..74eebe79d 100644 --- a/Structs/Linter.html +++ b/Structs/Linter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Location.html b/Structs/Location.html index af99f0709..88934bbb9 100644 --- a/Structs/Location.html +++ b/Structs/Location.html @@ -249,6 +249,9 @@ + diff --git a/Structs/MarkdownReporter.html b/Structs/MarkdownReporter.html index e305081ee..67122839e 100644 --- a/Structs/MarkdownReporter.html +++ b/Structs/MarkdownReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Region.html b/Structs/Region.html index 558617c3d..7325a2bd4 100644 --- a/Structs/Region.html +++ b/Structs/Region.html @@ -249,6 +249,9 @@ + diff --git a/Structs/RuleDescription.html b/Structs/RuleDescription.html index fcf1fe7fb..9a297c843 100644 --- a/Structs/RuleDescription.html +++ b/Structs/RuleDescription.html @@ -249,6 +249,9 @@ + @@ -308,7 +311,7 @@

    RuleDescription

    -
    public struct RuleDescription : Equatable, Codable
    +
    public struct RuleDescription : Equatable
    @@ -446,9 +449,9 @@ explanation of the rule’s purpose and rationale.

  • - + - nonTriggeringExamples + nonTriggeringExamples
    @@ -468,7 +471,7 @@ validate that the rule does not trigger any violations for these examples.

    Declaration

    Swift

    -
    public let nonTriggeringExamples: [String]
    +
    public let nonTriggeringExamples: [Example]
    @@ -481,9 +484,9 @@ validate that the rule does not trigger any violations for these examples.

  • - + - triggeringExamples + triggeringExamples
    @@ -505,7 +508,7 @@ validate that the rule triggers violations for these examples wherever

    Declaration

    Swift

    -
    public let triggeringExamples: [String]
    +
    public let triggeringExamples: [Example]
    @@ -518,9 +521,9 @@ validate that the rule triggers violations for these examples wherever
  • - + - corrections + corrections
    @@ -541,7 +544,7 @@ validate that the rule corrects all keys to their corresponding values.

    Declaration

    Swift

    -
    public let corrections: [String : String]
    +
    public let corrections: [Example : Example]
    @@ -705,9 +708,9 @@ conforming to AnalyzerRule
    @@ -724,8 +727,8 @@ conforming to AnalyzerRuleSwift

    public init(identifier: String, name: String, description: String, kind: RuleKind,
                 minSwiftVersion: SwiftVersion = .three,
    -            nonTriggeringExamples: [String] = [], triggeringExamples: [String] = [],
    -            corrections: [String: String] = [:],
    +            nonTriggeringExamples: [Example] = [], triggeringExamples: [Example] = [],
    +            corrections: [Example: Example] = [:],
                 deprecatedAliases: Set<String> = [],
                 requiresFileOnDisk: Bool = false)
    @@ -803,7 +806,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s nonTriggeringExamples property.

    +

    Sets the description’s nonTriggeringExamples property.

    @@ -815,7 +818,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s triggeringExamples property.

    +

    Sets the description’s triggeringExamples property.

    @@ -827,7 +830,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s corrections property.

    +

    Sets the description’s corrections property.

    diff --git a/Structs/RuleList.html b/Structs/RuleList.html index 8414c8a20..d79044704 100644 --- a/Structs/RuleList.html +++ b/Structs/RuleList.html @@ -249,6 +249,9 @@
  • + diff --git a/Structs/RuleListDocumentation.html b/Structs/RuleListDocumentation.html index 95302d521..67130a457 100644 --- a/Structs/RuleListDocumentation.html +++ b/Structs/RuleListDocumentation.html @@ -249,6 +249,9 @@ + diff --git a/Structs/RuleParameter.html b/Structs/RuleParameter.html index f822520da..0c07024cf 100644 --- a/Structs/RuleParameter.html +++ b/Structs/RuleParameter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/SonarQubeReporter.html b/Structs/SonarQubeReporter.html index 3a8e7920e..bb2dc6cf9 100644 --- a/Structs/SonarQubeReporter.html +++ b/Structs/SonarQubeReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/SourceKittenDictionary.html b/Structs/SourceKittenDictionary.html index 3a112258e..cbef23611 100644 --- a/Structs/SourceKittenDictionary.html +++ b/Structs/SourceKittenDictionary.html @@ -249,6 +249,9 @@ + @@ -347,7 +350,7 @@ values.

    @@ -377,7 +380,7 @@ values.

    @@ -407,7 +410,7 @@ values.

    @@ -437,7 +440,7 @@ values.

    @@ -467,7 +470,7 @@ values.

    @@ -497,7 +500,7 @@ values.

    diff --git a/Structs/StyleViolation.html b/Structs/StyleViolation.html index 795ee0955..d39d5039a 100644 --- a/Structs/StyleViolation.html +++ b/Structs/StyleViolation.html @@ -249,6 +249,9 @@ + @@ -324,9 +327,39 @@
  • - + + + ruleIdentifier + +
    +
    +
    +
    +
    +
    +

    The identifier of the rule that generated this violation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let ruleIdentifier: String
    + +
    +
    + +
    +
    +
  • +
  • +
    + + - ruleDescription + ruleDescription
    @@ -341,12 +374,42 @@

    Declaration

    Swift

    -
    public let ruleDescription: RuleDescription
    +
    public let ruleDescription: String
    + + +
  • +
  • +
    + + + + ruleName + +
    +
    +
    +
    +
    +
    +

    The name of the rule that generated this violation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let ruleName: String
    + +
    +
    +
    @@ -371,12 +434,12 @@

    Declaration

    Swift

    -
    public let severity: ViolationSeverity
    +
    public private(set) var severity: ViolationSeverity
    @@ -401,12 +464,12 @@

    Declaration

    Swift

    -
    public let location: Location
    +
    public private(set) var location: Location
    @@ -436,7 +499,7 @@ @@ -466,7 +529,7 @@ @@ -491,8 +554,10 @@

    Declaration

    Swift

    -
    public init(ruleDescription: RuleDescription, severity: ViolationSeverity = .warning,
    -            location: Location, reason: String? = nil)
    +
    public init(ruleDescription: RuleDescription,
    +            severity: ViolationSeverity = .warning,
    +            location: Location,
    +            reason: String? = nil)
    @@ -552,7 +617,105 @@ + + +
  • +
  • +
    + + + + with(severity:) + +
    +
    +
    +
    +
    +
    +

    Returns the same violation, but with the severity that is passed in

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func with(severity: ViolationSeverity) -> StyleViolation
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + severity + + +
    +

    the new severity to use in the modified violation

    +
    +
    +
    + +
    +
    +
  • +
  • +
    + + + + with(location:) + +
    +
    +
    +
    +
    +
    +

    Returns the same violation, but with the location that is passed in

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func with(location: Location) -> StyleViolation
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + location + + +
    +

    the new location to use in the modified violation

    +
    +
    +
    +
    diff --git a/Structs/SwiftLintSyntaxMap.html b/Structs/SwiftLintSyntaxMap.html index 44dee375b..75ca21bc9 100644 --- a/Structs/SwiftLintSyntaxMap.html +++ b/Structs/SwiftLintSyntaxMap.html @@ -249,6 +249,9 @@
  • + diff --git a/Structs/SwiftLintSyntaxToken.html b/Structs/SwiftLintSyntaxToken.html index dcc7fc372..fbae62820 100644 --- a/Structs/SwiftLintSyntaxToken.html +++ b/Structs/SwiftLintSyntaxToken.html @@ -249,6 +249,9 @@ + diff --git a/Structs/SwiftVersion.html b/Structs/SwiftVersion.html index 5c65e7bc5..5c58ebe8b 100644 --- a/Structs/SwiftVersion.html +++ b/Structs/SwiftVersion.html @@ -249,6 +249,9 @@ + diff --git a/Structs/Version.html b/Structs/Version.html index b9b7c3aab..8c146f040 100644 --- a/Structs/Version.html +++ b/Structs/Version.html @@ -249,6 +249,9 @@ + diff --git a/Structs/XcodeReporter.html b/Structs/XcodeReporter.html index e8d57dfb5..b02736b01 100644 --- a/Structs/XcodeReporter.html +++ b/Structs/XcodeReporter.html @@ -249,6 +249,9 @@ + diff --git a/Structs/YamlParser.html b/Structs/YamlParser.html index f3f8e6204..7db2cc35d 100644 --- a/Structs/YamlParser.html +++ b/Structs/YamlParser.html @@ -249,6 +249,9 @@ + diff --git a/anyobject_protocol.html b/anyobject_protocol.html index c899f5ede..229f6c2dd 100644 --- a/anyobject_protocol.html +++ b/anyobject_protocol.html @@ -248,6 +248,9 @@ + diff --git a/array_init.html b/array_init.html index 2b45480de..a1acdd3d7 100644 --- a/array_init.html +++ b/array_init.html @@ -248,6 +248,9 @@ + diff --git a/attributes.html b/attributes.html index 5a9692bd3..295758abe 100644 --- a/attributes.html +++ b/attributes.html @@ -248,6 +248,9 @@ + diff --git a/block_based_kvo.html b/block_based_kvo.html index f2db27bb9..6684b85e8 100644 --- a/block_based_kvo.html +++ b/block_based_kvo.html @@ -248,6 +248,9 @@ + diff --git a/class_delegate_protocol.html b/class_delegate_protocol.html index 7c59306df..ba9e09a8f 100644 --- a/class_delegate_protocol.html +++ b/class_delegate_protocol.html @@ -248,6 +248,9 @@ + diff --git a/closing_brace.html b/closing_brace.html index 423f9773b..4a58fa70e 100644 --- a/closing_brace.html +++ b/closing_brace.html @@ -248,6 +248,9 @@ + diff --git a/closure_body_length.html b/closure_body_length.html index 1c82d235d..7a03cb96b 100644 --- a/closure_body_length.html +++ b/closure_body_length.html @@ -248,6 +248,9 @@ + diff --git a/closure_end_indentation.html b/closure_end_indentation.html index d8e900e61..90a43a5d1 100644 --- a/closure_end_indentation.html +++ b/closure_end_indentation.html @@ -248,6 +248,9 @@ + diff --git a/closure_parameter_position.html b/closure_parameter_position.html index 1a73fb9d5..01c47a5e7 100644 --- a/closure_parameter_position.html +++ b/closure_parameter_position.html @@ -248,6 +248,9 @@ + @@ -354,15 +357,14 @@
    rlmConfiguration.migrationBlock.map { rlmMigration in
    -return { migration, schemaVersion in
    -rlmMigration(migration.rlmMigration, schemaVersion)
    -}
    +    return { migration, schemaVersion in
    +        rlmMigration(migration.rlmMigration, schemaVersion)
    +    }
     }
     
    let mediaView: UIView = { [weak self] index in
        return UIView()
     }(index)
    -
     

    Triggering Examples

    [1, 2].map {
    diff --git a/closure_spacing.html b/closure_spacing.html
    index 355f1222e..d3c2ace79 100644
    --- a/closure_spacing.html
    +++ b/closure_spacing.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/collection_alignment.html b/collection_alignment.html
    index 245d3b5f2..9313adc89 100644
    --- a/collection_alignment.html
    +++ b/collection_alignment.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/colon.html b/colon.html
    index 1fd1dd1ef..115d4816b 100644
    --- a/colon.html
    +++ b/colon.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -400,7 +403,6 @@
     case .bar:
         _ = something()
     }
    -
     
    object.method(x: 5, y: "string")
     
    @@ -421,9 +423,8 @@
     
    let aaa = Self.bbb ? Self.ccc : Self.ddd else {
     return nil
    -}
    -
    -
    +Example("} +

    Triggering Examples

    let abc:Void
     
    diff --git a/comma.html b/comma.html
    index f45fcd0cc..f80e0557f 100644
    --- a/comma.html
    +++ b/comma.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/compiler_protocol_init.html b/compiler_protocol_init.html
    index 27057a187..f5e2407fe 100644
    --- a/compiler_protocol_init.html
    +++ b/compiler_protocol_init.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/conditional_returns_on_newline.html b/conditional_returns_on_newline.html
    index 58f8255ac..b1055b8e7 100644
    --- a/conditional_returns_on_newline.html
    +++ b/conditional_returns_on_newline.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/contains_over_filter_count.html b/contains_over_filter_count.html
    index c94a219ab..eec6b9809 100644
    --- a/contains_over_filter_count.html
    +++ b/contains_over_filter_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/contains_over_filter_is_empty.html b/contains_over_filter_is_empty.html
    index 74ce10672..43356958c 100644
    --- a/contains_over_filter_is_empty.html
    +++ b/contains_over_filter_is_empty.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/contains_over_first_not_nil.html b/contains_over_first_not_nil.html
    index 229d1eed6..36ad06cd9 100644
    --- a/contains_over_first_not_nil.html
    +++ b/contains_over_first_not_nil.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/contains_over_range_nil_comparison.html b/contains_over_range_nil_comparison.html
    index 50c806da5..6c7f2fb26 100644
    --- a/contains_over_range_nil_comparison.html
    +++ b/contains_over_range_nil_comparison.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/control_statement.html b/control_statement.html
    index cba71e305..9e29d4a70 100644
    --- a/control_statement.html
    +++ b/control_statement.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/convenience_type.html b/convenience_type.html
    index e86ebe353..6d7e1cc49 100644
    --- a/convenience_type.html
    +++ b/convenience_type.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/custom_rules.html b/custom_rules.html
    index 704924904..db91ff064 100644
    --- a/custom_rules.html
    +++ b/custom_rules.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/cyclomatic_complexity.html b/cyclomatic_complexity.html
    index 54683fb85..5099315e8 100644
    --- a/cyclomatic_complexity.html
    +++ b/cyclomatic_complexity.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -320,52 +323,56 @@
     
     

    Non Triggering Examples

    func f1() {
    -if true {
    -for _ in 1..5 { } }
    -if false { }
    +    if true {
    +        for _ in 1..5 { }
    +    }
    +    if false { }
     }
     
    -
    func f(code: Int) -> Int {switch code {
    - case 0: fallthrough
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -default: return 1}}
    +
    func f(code: Int) -> Int {
    +    switch code {
    +    case 0: fallthrough
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    default: return 1
    +    }
    +}
     
    -
    func f1() {if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
    -func f2() {
    -if true {}; if true {}; if true {}; if true {}; if true {}
    -}}
    +
    func f1() {
    +    if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
    +    func f2() {
    +        if true {}; if true {}; if true {}; if true {}; if true {}
    +    }
    +}
     

    Triggering Examples

    func f1() {
    -  if true {
         if true {
    -      if false {}
    +        if true {
    +            if false {}
    +        }
         }
    -  }
    -  if false {}
    -  let i = 0
    -
    -  switch i {
    -  case 1: break
    -  case 2: break
    -  case 3: break
    -  case 4: break
    - default: break
    -  }
    -  for _ in 1...5 {
    -    guard true else {
    -      return
    +    if false {}
    +    let i = 0
    +    switch i {
    +        case 1: break
    +        case 2: break
    +        case 3: break
    +        case 4: break
    +        default: break
    +    }
    +    for _ in 1...5 {
    +        guard true else {
    +            return
    +        }
         }
    -  }
     }
    -
     
    diff --git a/deployment_target.html b/deployment_target.html index 5c24e2f1a..5d660bd85 100644 --- a/deployment_target.html +++ b/deployment_target.html @@ -248,6 +248,9 @@ + diff --git a/discarded_notification_center_observer.html b/discarded_notification_center_observer.html index 5ffd5ea8d..6f212451a 100644 --- a/discarded_notification_center_observer.html +++ b/discarded_notification_center_observer.html @@ -248,6 +248,9 @@ + @@ -323,7 +326,6 @@
    let foo = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    -
     
    func foo() -> Any {
        return nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    @@ -336,7 +338,6 @@
     
    var obs: [String: Any?] = []
     obs["foo"] = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    -
     
    var obs: [Any?] = []
     obs.append(nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { }))
    @@ -363,7 +364,6 @@
     
    @discardableResult func foo() -> Any {
        return nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
     }
    -
     
    diff --git a/discouraged_direct_init.html b/discouraged_direct_init.html index 08d3ed548..5861f7704 100644 --- a/discouraged_direct_init.html +++ b/discouraged_direct_init.html @@ -248,6 +248,9 @@ + diff --git a/discouraged_object_literal.html b/discouraged_object_literal.html index de4d58136..ef2dfc42d 100644 --- a/discouraged_object_literal.html +++ b/discouraged_object_literal.html @@ -248,6 +248,9 @@ + diff --git a/discouraged_optional_boolean.html b/discouraged_optional_boolean.html index 826089d52..85746a7b6 100644 --- a/discouraged_optional_boolean.html +++ b/discouraged_optional_boolean.html @@ -248,6 +248,9 @@ + diff --git a/discouraged_optional_collection.html b/discouraged_optional_collection.html index dae1fa375..50cb2796c 100644 --- a/discouraged_optional_collection.html +++ b/discouraged_optional_collection.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes.html index 2d8cf0228..4e999c4fe 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/LinterCache.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/LinterCache.html index e9fa674b4..b2aaae47c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/LinterCache.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/LinterCache.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/RuleStorage.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/RuleStorage.html index 7d8dcec8f..53ec121a7 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/RuleStorage.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/RuleStorage.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/SwiftLintFile.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/SwiftLintFile.html index 30e9d4ac4..15f060b4c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/SwiftLintFile.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Classes/SwiftLintFile.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums.html index ea48b98c2..a6358d6a1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html index 90bb2e547..88efcc425 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/AccessControlLevel.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ConfigurationError.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ConfigurationError.html index 557610519..be2a70e27 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ConfigurationError.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ConfigurationError.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html index 656ba6650..f4f3eb2bd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleIdentifier.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleKind.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleKind.html index ef152588f..a328673e4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleKind.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleKind.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleListError.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleListError.html index 31d8f06e4..056f40682 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleListError.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/RuleListError.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/SwiftExpressionKind.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/SwiftExpressionKind.html index dcf6145b5..93a59fe2d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/SwiftExpressionKind.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/SwiftExpressionKind.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ViolationSeverity.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ViolationSeverity.html index 68da30ce2..796941968 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ViolationSeverity.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Enums/ViolationSeverity.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions.html index 1b1739d76..62c0f8ec0 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/FileManager.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/FileManager.html index e07537f8c..d68606bb2 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/FileManager.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/FileManager.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/String.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/String.html index 795423735..490e755c9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/String.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Extensions/String.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Functions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Functions.html index 47d66faeb..3b230631d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Functions.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Functions.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Global Variables.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Global Variables.html index 610de7fb9..fbedd71ef 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Global Variables.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Global Variables.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Guides.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Guides.html index ed2905573..269bfa6da 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Guides.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Guides.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols.html index 7be900b8b..2e4b1c50d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ASTRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ASTRule.html index 0a06fc2b8..99ca855fc 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ASTRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ASTRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html index e5df190b4..5b8d3e656 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/AnalyzerRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingCorrectableRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingCorrectableRule.html index a953f2c7f..fb68701db 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingCorrectableRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingCorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingRule.html index 0b9152142..f5ca2ed95 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CollectingRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ConfigurationProviderRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ConfigurationProviderRule.html index 85d331236..c858ce41d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ConfigurationProviderRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/ConfigurationProviderRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html index 75729e5cf..c4b8830ff 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/CorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/LintableFileManager.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/LintableFileManager.html index 1e491c227..551d25a03 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/LintableFileManager.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/LintableFileManager.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Reporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Reporter.html index a9cd4a818..6cb2ed610 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Reporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Reporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Rule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Rule.html index 5a44ca955..8354b636c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Rule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/Rule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/RuleConfiguration.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/RuleConfiguration.html index 4e80f2b2d..d8d5ab8cd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/RuleConfiguration.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/RuleConfiguration.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableASTRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableASTRule.html index 4ca79c0ab..1811d3b34 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableASTRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableASTRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html index fdeea2439..73954276f 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Protocols/SubstitutionCorrectableRule.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Reporters.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Reporters.html index 946412001..07134cab5 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Reporters.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Reporters.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Rules.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Rules.html index 4621455b0..144881503 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Rules.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Rules.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs.html index 5b9d64a74..bba5698ff 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs.html @@ -249,6 +249,9 @@ + @@ -404,7 +407,7 @@ values.

    @@ -471,6 +474,40 @@ values.

    +
  • +
    + + + + Example + +
    +
    +
    +
    +
    +
    +

    Captures code and context information for an example of a triggering or +non-triggering style

    + + See more +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public struct Example
    +
    extension Example: Hashable
    +
    extension Example: Comparable
    + +
    +
    + +
    +
    +
  • @@ -618,7 +655,7 @@ values.

    Declaration

    Swift

    -
    public struct RuleDescription : Equatable, Codable
    +
    public struct RuleDescription : Equatable
    @@ -716,7 +753,7 @@ values.

    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CSVReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CSVReporter.html index 624e14016..8995be58c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CSVReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CSVReporter.html @@ -249,6 +249,9 @@
  • + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CheckstyleReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CheckstyleReporter.html index 1c90fefdf..16f3c014a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CheckstyleReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CheckstyleReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CollectedLinter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CollectedLinter.html index 4f0a3e8af..409981a74 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CollectedLinter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/CollectedLinter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command.html index bc936b004..3d3ebfc4d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Action.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Action.html index a94adab37..7d277338b 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Action.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Action.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Modifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Modifier.html index e8c879a7d..f423c758e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Modifier.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Command/Modifier.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration.html index 566c7bb7d..e7fdb5333 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/IndentationStyle.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/IndentationStyle.html index 64c19b1a6..b02559637 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/IndentationStyle.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/IndentationStyle.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/RulesMode.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/RulesMode.html index 3b341942e..386488ce0 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/RulesMode.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Configuration/RulesMode.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Correction.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Correction.html index 19eb2fc71..c5a714b98 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Correction.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Correction.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/EmojiReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/EmojiReporter.html index 212c1a98e..26f7b9a15 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/EmojiReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/EmojiReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Example.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Example.html new file mode 100644 index 000000000..97bcc1473 --- /dev/null +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Example.html @@ -0,0 +1,674 @@ + + + + Example Structure Reference + + + + + + + + + + + + + + + + +
    +

    + + SwiftLintFramework Docs + + (100% documented) +

    + +

    +

    + +
    +

    + +

    + + + View on GitHub + +

    + +

    + + + Install in Dash + +

    +
    + + + +
    + +
    + +
    +
    +

    Example

    +
    +
    +
    public struct Example
    +
    extension Example: Hashable
    +
    extension Example: Comparable
    + +
    +
    +

    Captures code and context information for an example of a triggering or +non-triggering style

    + +
    +
    + +
    +
    +
    +
      +
    • +
      + + + + code + +
      +
      +
      +
      +
      +
      +

      The contents of the example

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public private(set) var code: String
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + file + +
      +
      +
      +
      +
      +
      +

      The path to the file where the example was created

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public private(set) var file: StaticString
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + line + +
      +
      +
      +
      +
      +
      +

      The line in the file where the example was created

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public var line: UInt
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + init(_:file:line:) + +
      +
      +
      +
      +
      +
      +

      Create a new Example with the specified code, file, and line

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      init(_ code: String, file: StaticString = #file, line: UInt = #line)
      + +
      +
      +
      +

      Parameters

      + + + + + + + + + + + + + + + +
      + + code + + +
      +

      The contents of the example

      +
      +
      + + file + + +
      +

      The path to the file where the example is located. + Defaults to the file where this initializer is called.

      +
      +
      + + line + + +
      +

      The line in the file where the example is located. + Defaults to the line where this initializer is called.

      +
      +
      +
      + +
      +
      +
    • +
    • +
      + + + + with(code:) + +
      +
      +
      +
      +
      +
      +

      Returns the same example, but with the code that is passed in

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func with(code: String) -> Example
      + +
      +
      +
      +

      Parameters

      + + + + + + + +
      + + code + + +
      +

      the new code to use in the modified example

      +
      +
      +
      + +
      +
      +
    • +
    • + +
      +
      +
      +
      +
      +

      Returns a copy of the Example with all instances of the “↓” character removed.

      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      func removingViolationMarkers() -> Example
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + ==(_:_:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public static func == (lhs: Example, rhs: Example) -> Bool
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + hash(into:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public func hash(into hasher: inout Hasher)
      + +
      +
      + +
      +
      +
    • +
    • +
      + + + + <(_:_:) + +
      +
      +
      +
      +
      +
      + +
      +
      +

      Declaration

      +
      +

      Swift

      +
      public static func < (lhs: Example, rhs: Example) -> Bool
      + +
      +
      + +
      +
      +
    • +
    +
    +
    +
    + +
    +
    + + + + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/GitHubActionsLoggingReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/GitHubActionsLoggingReporter.html index fa5bf2537..76754554b 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/GitHubActionsLoggingReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/GitHubActionsLoggingReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/HTMLReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/HTMLReporter.html index 5bf1b72ff..ff7cac80a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/HTMLReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/HTMLReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JSONReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JSONReporter.html index 4145a3387..e01eb7c3e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JSONReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JSONReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JUnitReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JUnitReporter.html index a0f3b7360..03704dd80 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JUnitReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/JUnitReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Linter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Linter.html index 581bdbbbe..74eebe79d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Linter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Linter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Location.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Location.html index af99f0709..88934bbb9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Location.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Location.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/MarkdownReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/MarkdownReporter.html index e305081ee..67122839e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/MarkdownReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/MarkdownReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Region.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Region.html index 558617c3d..7325a2bd4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Region.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Region.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleDescription.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleDescription.html index fcf1fe7fb..9a297c843 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleDescription.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleDescription.html @@ -249,6 +249,9 @@ + @@ -308,7 +311,7 @@

    RuleDescription

    -
    public struct RuleDescription : Equatable, Codable
    +
    public struct RuleDescription : Equatable
    @@ -446,9 +449,9 @@ explanation of the rule’s purpose and rationale.

  • @@ -468,7 +471,7 @@ validate that the rule does not trigger any violations for these examples.

    Declaration

    Swift

    -
    public let nonTriggeringExamples: [String]
    +
    public let nonTriggeringExamples: [Example]
    @@ -481,9 +484,9 @@ validate that the rule does not trigger any violations for these examples.

  • @@ -505,7 +508,7 @@ validate that the rule triggers violations for these examples wherever

    Declaration

    Swift

    -
    public let triggeringExamples: [String]
    +
    public let triggeringExamples: [Example]
    @@ -518,9 +521,9 @@ validate that the rule triggers violations for these examples wherever
  • @@ -541,7 +544,7 @@ validate that the rule corrects all keys to their corresponding values.

    Declaration

    Swift

    -
    public let corrections: [String : String]
    +
    public let corrections: [Example : Example]
    @@ -705,9 +708,9 @@ conforming to AnalyzerRule
    @@ -724,8 +727,8 @@ conforming to AnalyzerRuleSwift

    public init(identifier: String, name: String, description: String, kind: RuleKind,
                 minSwiftVersion: SwiftVersion = .three,
    -            nonTriggeringExamples: [String] = [], triggeringExamples: [String] = [],
    -            corrections: [String: String] = [:],
    +            nonTriggeringExamples: [Example] = [], triggeringExamples: [Example] = [],
    +            corrections: [Example: Example] = [:],
                 deprecatedAliases: Set<String> = [],
                 requiresFileOnDisk: Bool = false)
    @@ -803,7 +806,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s nonTriggeringExamples property.

    +

    Sets the description’s nonTriggeringExamples property.

    @@ -815,7 +818,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s triggeringExamples property.

    +

    Sets the description’s triggeringExamples property.

    @@ -827,7 +830,7 @@ conforming to AnalyzerRule
    -

    Sets the description’s corrections property.

    +

    Sets the description’s corrections property.

    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleList.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleList.html index 8414c8a20..d79044704 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleList.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleList.html @@ -249,6 +249,9 @@
  • + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleListDocumentation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleListDocumentation.html index 95302d521..67130a457 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleListDocumentation.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleListDocumentation.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleParameter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleParameter.html index f822520da..0c07024cf 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleParameter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/RuleParameter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SonarQubeReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SonarQubeReporter.html index 3a8e7920e..bb2dc6cf9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SonarQubeReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SonarQubeReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SourceKittenDictionary.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SourceKittenDictionary.html index 3a112258e..cbef23611 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SourceKittenDictionary.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SourceKittenDictionary.html @@ -249,6 +249,9 @@ + @@ -347,7 +350,7 @@ values.

    @@ -377,7 +380,7 @@ values.

    @@ -407,7 +410,7 @@ values.

    @@ -437,7 +440,7 @@ values.

    @@ -467,7 +470,7 @@ values.

    @@ -497,7 +500,7 @@ values.

    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/StyleViolation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/StyleViolation.html index 795ee0955..d39d5039a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/StyleViolation.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/StyleViolation.html @@ -249,6 +249,9 @@ + @@ -324,9 +327,39 @@
  • - + + + ruleIdentifier + +
    +
    +
    +
    +
    +
    +

    The identifier of the rule that generated this violation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let ruleIdentifier: String
    + +
    +
    + +
    +
    +
  • +
  • +
    @@ -341,12 +374,42 @@

    Declaration

    Swift

    -
    public let ruleDescription: RuleDescription
    +
    public let ruleDescription: String
    + + +
  • +
  • +
    + + + + ruleName + +
    +
    +
    +
    +
    +
    +

    The name of the rule that generated this violation.

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public let ruleName: String
    + +
    +
    +
    @@ -371,12 +434,12 @@

    Declaration

    Swift

    -
    public let severity: ViolationSeverity
    +
    public private(set) var severity: ViolationSeverity
    @@ -401,12 +464,12 @@

    Declaration

    Swift

    -
    public let location: Location
    +
    public private(set) var location: Location
    @@ -436,7 +499,7 @@ @@ -466,7 +529,7 @@ @@ -491,8 +554,10 @@

    Declaration

    Swift

    -
    public init(ruleDescription: RuleDescription, severity: ViolationSeverity = .warning,
    -            location: Location, reason: String? = nil)
    +
    public init(ruleDescription: RuleDescription,
    +            severity: ViolationSeverity = .warning,
    +            location: Location,
    +            reason: String? = nil)
    @@ -552,7 +617,105 @@ + + +
  • +
  • +
    + + + + with(severity:) + +
    +
    +
    +
    +
    +
    +

    Returns the same violation, but with the severity that is passed in

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func with(severity: ViolationSeverity) -> StyleViolation
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + severity + + +
    +

    the new severity to use in the modified violation

    +
    +
    +
    + +
    +
    +
  • +
  • +
    + + + + with(location:) + +
    +
    +
    +
    +
    +
    +

    Returns the same violation, but with the location that is passed in

    + +
    +
    +

    Declaration

    +
    +

    Swift

    +
    public func with(location: Location) -> StyleViolation
    + +
    +
    +
    +

    Parameters

    + + + + + + + +
    + + location + + +
    +

    the new location to use in the modified violation

    +
    +
    +
    +
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxMap.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxMap.html index 44dee375b..75ca21bc9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxMap.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxMap.html @@ -249,6 +249,9 @@
  • + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxToken.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxToken.html index dcc7fc372..fbae62820 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxToken.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftLintSyntaxToken.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftVersion.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftVersion.html index 5c65e7bc5..5c58ebe8b 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftVersion.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/SwiftVersion.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Version.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Version.html index b9b7c3aab..8c146f040 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Version.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/Version.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/XcodeReporter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/XcodeReporter.html index e8d57dfb5..b02736b01 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/XcodeReporter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/XcodeReporter.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/YamlParser.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/YamlParser.html index f3f8e6204..7db2cc35d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/YamlParser.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/Structs/YamlParser.html @@ -249,6 +249,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/anyobject_protocol.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/anyobject_protocol.html index c899f5ede..229f6c2dd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/anyobject_protocol.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/anyobject_protocol.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html index 2b45480de..a1acdd3d7 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/array_init.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/attributes.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/attributes.html index 5a9692bd3..295758abe 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/attributes.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/attributes.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/block_based_kvo.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/block_based_kvo.html index f2db27bb9..6684b85e8 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/block_based_kvo.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/block_based_kvo.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/class_delegate_protocol.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/class_delegate_protocol.html index 7c59306df..ba9e09a8f 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/class_delegate_protocol.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/class_delegate_protocol.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closing_brace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closing_brace.html index 423f9773b..4a58fa70e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closing_brace.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closing_brace.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_body_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_body_length.html index 1c82d235d..7a03cb96b 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_body_length.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_body_length.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_end_indentation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_end_indentation.html index d8e900e61..90a43a5d1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_end_indentation.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_end_indentation.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_parameter_position.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_parameter_position.html index 1a73fb9d5..01c47a5e7 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_parameter_position.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_parameter_position.html @@ -248,6 +248,9 @@ + @@ -354,15 +357,14 @@
    rlmConfiguration.migrationBlock.map { rlmMigration in
    -return { migration, schemaVersion in
    -rlmMigration(migration.rlmMigration, schemaVersion)
    -}
    +    return { migration, schemaVersion in
    +        rlmMigration(migration.rlmMigration, schemaVersion)
    +    }
     }
     
    let mediaView: UIView = { [weak self] index in
        return UIView()
     }(index)
    -
     

    Triggering Examples

    [1, 2].map {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_spacing.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_spacing.html
    index 355f1222e..d3c2ace79 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_spacing.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/closure_spacing.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/collection_alignment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/collection_alignment.html
    index 245d3b5f2..9313adc89 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/collection_alignment.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/collection_alignment.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/colon.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/colon.html
    index 1fd1dd1ef..115d4816b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/colon.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/colon.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -400,7 +403,6 @@
     case .bar:
         _ = something()
     }
    -
     
    object.method(x: 5, y: "string")
     
    @@ -421,9 +423,8 @@
     
    let aaa = Self.bbb ? Self.ccc : Self.ddd else {
     return nil
    -}
    -
    -
    +Example("} +

    Triggering Examples

    let abc:Void
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/comma.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/comma.html
    index f45fcd0cc..f80e0557f 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/comma.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/comma.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/compiler_protocol_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/compiler_protocol_init.html
    index 27057a187..f5e2407fe 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/compiler_protocol_init.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/compiler_protocol_init.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/conditional_returns_on_newline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/conditional_returns_on_newline.html
    index 58f8255ac..b1055b8e7 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/conditional_returns_on_newline.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/conditional_returns_on_newline.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_count.html
    index c94a219ab..eec6b9809 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_count.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_is_empty.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_is_empty.html
    index 74ce10672..43356958c 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_is_empty.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_filter_is_empty.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_first_not_nil.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_first_not_nil.html
    index 229d1eed6..36ad06cd9 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_first_not_nil.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_first_not_nil.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_range_nil_comparison.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_range_nil_comparison.html
    index 50c806da5..6c7f2fb26 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_range_nil_comparison.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/contains_over_range_nil_comparison.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/control_statement.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/control_statement.html
    index cba71e305..9e29d4a70 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/control_statement.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/control_statement.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/convenience_type.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/convenience_type.html
    index e86ebe353..6d7e1cc49 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/convenience_type.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/convenience_type.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/custom_rules.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/custom_rules.html
    index 704924904..db91ff064 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/custom_rules.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/custom_rules.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/cyclomatic_complexity.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/cyclomatic_complexity.html
    index 54683fb85..5099315e8 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/cyclomatic_complexity.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/cyclomatic_complexity.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -320,52 +323,56 @@
     
     

    Non Triggering Examples

    func f1() {
    -if true {
    -for _ in 1..5 { } }
    -if false { }
    +    if true {
    +        for _ in 1..5 { }
    +    }
    +    if false { }
     }
     
    -
    func f(code: Int) -> Int {switch code {
    - case 0: fallthrough
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -case 0: return 1
    -default: return 1}}
    +
    func f(code: Int) -> Int {
    +    switch code {
    +    case 0: fallthrough
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    case 0: return 1
    +    default: return 1
    +    }
    +}
     
    -
    func f1() {if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
    -func f2() {
    -if true {}; if true {}; if true {}; if true {}; if true {}
    -}}
    +
    func f1() {
    +    if true {}; if true {}; if true {}; if true {}; if true {}; if true {}
    +    func f2() {
    +        if true {}; if true {}; if true {}; if true {}; if true {}
    +    }
    +}
     

    Triggering Examples

    func f1() {
    -  if true {
         if true {
    -      if false {}
    +        if true {
    +            if false {}
    +        }
         }
    -  }
    -  if false {}
    -  let i = 0
    -
    -  switch i {
    -  case 1: break
    -  case 2: break
    -  case 3: break
    -  case 4: break
    - default: break
    -  }
    -  for _ in 1...5 {
    -    guard true else {
    -      return
    +    if false {}
    +    let i = 0
    +    switch i {
    +        case 1: break
    +        case 2: break
    +        case 3: break
    +        case 4: break
    +        default: break
    +    }
    +    for _ in 1...5 {
    +        guard true else {
    +            return
    +        }
         }
    -  }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html index 5c24e2f1a..5d660bd85 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/deployment_target.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html index 5ffd5ea8d..6f212451a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discarded_notification_center_observer.html @@ -248,6 +248,9 @@ + @@ -323,7 +326,6 @@
    let foo = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    -
     
    func foo() -> Any {
        return nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    @@ -336,7 +338,6 @@
     
    var obs: [String: Any?] = []
     obs["foo"] = nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
    -
     
    var obs: [Any?] = []
     obs.append(nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { }))
    @@ -363,7 +364,6 @@
     
    @discardableResult func foo() -> Any {
        return nc.addObserver(forName: .NSSystemTimeZoneDidChange, object: nil, queue: nil, using: { })
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html index 08d3ed548..5861f7704 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_direct_init.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html index de4d58136..ef2dfc42d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_object_literal.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html index 826089d52..85746a7b6 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_boolean.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html index dae1fa375..50cb2796c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/discouraged_optional_collection.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html index e6cde2944..97d442de5 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_enum_cases.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html index 08d3a1d4d..98522a738 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/duplicate_imports.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html index fd8a64748..f72e55c12 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/dynamic_inline.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html index 0e7e6c73d..b2486275d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_collection_literal.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html index f09632937..e30206c7e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_count.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html index f7f67b5f4..dcd1d87cd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_enum_arguments.html @@ -248,6 +248,9 @@ + @@ -320,52 +323,52 @@

    Non Triggering Examples

    switch foo {
    -    case .bar: break
    +case .bar: break
     }
     
    switch foo {
    -    case .bar(let x): break
    +case .bar(let x): break
     }
     
    switch foo {
    -    case let .bar(x): break
    +case let .bar(x): break
     }
     
    switch (foo, bar) {
    -    case (_, _): break
    +case (_, _): break
     }
     
    switch foo {
    -    case "bar".uppercased(): break
    +case "bar".uppercased(): break
     }
     
    switch (foo, bar) {
    -    case (_, _) where !something: break
    +case (_, _) where !something: break
     }
     
    switch foo {
    -    case (let f as () -> String)?: break
    +case (let f as () -> String)?: break
     }
     
    switch foo {
    -    default: break
    +default: break
     }
     

    Triggering Examples

    switch foo {
    -    case .bar(_): break
    +case .bar(_): break
     }
     
    switch foo {
    -    case .bar(): break
    +case .bar(): break
     }
     
    switch foo {
    -    case .bar(_), .bar2(_): break
    +case .bar(_), .bar2(_): break
     }
     
    switch foo {
    -    case .bar() where method() > 2: break
    +case .bar() where method() > 2: break
     }
     
    func example(foo: Foo) {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
    index 6cc7ca508..2aa386c74 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parameters.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
    index b49a93ff2..2fc1dd896 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_parentheses_with_trailing_closure.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
    index c3a564ddd..6ed1f830d 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_string.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
    index 15e0ce2d3..21d8791c9 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/empty_xctest_method.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
    index a1ecb4b7a..b3f126e4b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/enum_case_associated_values_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
    index 5ec659f93..4d03f2066 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/expiring_todo.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
    index dfc522ec9..aa0eac174 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_acl.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
    index 497b2cc4d..739172d69 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_enum_raw_value.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
    index cc5879c2a..c7a4fbfd3 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_init.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
    index 1cd59b285..844768c34 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_self.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
    index 40eac12a2..c059519de 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_top_level_acl.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
    index fb536e420..cba016361 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/explicit_type_interface.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
    index 9b3a1660e..faa77de80 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/extension_access_modifier.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
    index 604f5bcd4..7f2d152bb 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fallthrough.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
    index 5f7e3e45e..9c06011aa 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/fatal_error_message.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
    index c752cee70..1885de421 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_header.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
    index 29acda8f6..0983e1142 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
    index 82d6f109b..aa260c9bd 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
    index a139a7298..6f02e12cc 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_name_no_space.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
    index 2ed2add54..c3f2c53bd 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/file_types_order.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
    index b6d919cd2..84cb63caa 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/first_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
    index b827db961..0ff81539c 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/flatmap_over_map_reduce.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
    index 1ccb10686..73ff9c86a 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/for_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
    index 3ce0672ca..38ef87bbf 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_cast.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
    index 0bc502d8c..f09b991d3 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_try.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
    index b3ade1365..55469a99f 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/force_unwrapping.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
    index b3e684aab..b9f5d283b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_body_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
    index ad6db6fd4..8df4c6de1 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_default_parameter_at_end.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
    index 270d3cec9..daa1b4e28 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/function_parameter_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -336,7 +339,7 @@
     
    func f(a: Int, b: Int, c: Int, d: Int, x: Int = 42) {}
     
    func f(a: [Int], b: Int, c: Int, d: Int, f: Int) -> [Int] {
    -let s = a.flatMap { $0 as? [String: Int] } ?? []}}
    +    let s = a.flatMap { $0 as? [String: Int] } ?? []}}
     
    override func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
     
    @@ -348,8 +351,8 @@
    func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int = 2, g: Int) {}
     
    struct Foo {
    -init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
    -func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
    +    init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
    +    func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html index b47e0cf6b..088d25b58 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/generic_type_name.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html index 7844c8301..6bb694f33 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identical_operands.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html index 9b3db6def..9f83d2a02 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/identifier_name.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html index 5c3c6686b..06634f8d4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_getter.html @@ -248,6 +248,9 @@ + @@ -363,11 +366,9 @@
    protocol Foo {
         var foo: Int { get }
    -
     
    protocol Foo {
         var foo: Int { get set }
    -
     
    class Foo {
         var foo: Int {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
    index 463284085..a97cf6e07 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicit_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -316,7 +319,7 @@
     
  • Kind: style
  • Analyzer rule: No
  • Minimum Swift compiler version: 3.0.0
  • -
  • Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
  • +
  • Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
  • Non Triggering Examples

    if foo {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
    index d4b06c1a6..60c4b97e6 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/implicitly_unwrapped_optional.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
    index 7b97f9929..a5987669b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/indentation_width.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
    index eb72d2a03..b8c1ed429 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/index.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
    index 23d04841b..987efb5e8 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/inert_defer.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
    index 2839969f1..8ff5c4e1b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/is_disjoint.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
    index ea02f2c69..68a71a473 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/joined_default_parameter.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
    index ac22ab4ff..cfe6fc041 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/large_tuple.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
    index 29da01f11..9b4ab82e0 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/last_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
    index 0f043e431..ce98ef4d5 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/leading_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
    index d4116113a..e5ae270b7 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_cggeometry_functions.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
    index baba52c6c..0c6e76ab6 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constant.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
    index f5602a3a6..ca19be29c 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_constructor.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
    index 72499466e..b4de44716 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_hashing.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
    index 7543392c5..d3c68eea5 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_multiple.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
    index c07daafd0..89a3c3cee 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_nsgeometry_functions.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
    index 296165c1a..f4895f164 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/legacy_random.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
    index 535fee16b..f03744739 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/let_var_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
    index 54180bbdb..fb1f0ed2b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/line_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
    index e4db98411..de90d08f6 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/literal_expression_end_indentation.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -333,7 +336,6 @@
     
    [
        1,
        2]
    -
     
       let x = [
            1,
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
    index 8ffb73a75..7b98e054a 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/lower_acl_than_parent.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
    index 7e2eb0da8..051995eb3 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/mark.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -386,7 +389,6 @@
     struct MarkTest {}
     // MARK:- Bad mark
     extension MarkTest {}
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html index 810a13154..20051f154 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/missing_docs.html @@ -248,6 +248,9 @@ + @@ -326,14 +329,12 @@ } /// docs public class B: A { override public func b() {} } -
    import Foundation
     /// docs
     public class B: NSObject {
     // no docs
     override public var description: String { fatalError() } }
    -
     
    /// docs
     public class A {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
    index 5d9555a5d..b82c49382 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/modifier_order.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -319,198 +322,192 @@
     
  • Default configuration: warning, preferred_modifier_order: [override, acl, setterACL, dynamic, mutators, lazy, final, required, convenience, typeMethods, owned]
  • Non Triggering Examples

    -
    public class Foo { 
    -   public convenience required init() {} 
    +
    public class Foo {
    +   public convenience required init() {}
     }
     
    -
    public class Foo { 
    -   public static let bar = 42 
    +
    public class Foo {
    +   public static let bar = 42
     }
     
    -
    public class Foo { 
    -   public static var bar: Int { 
    -       return 42   }}
    -
    -
    public class Foo { 
    -   public class var bar: Int { 
    -       return 42 
    -   } 
    +
    public class Foo {
    +   public static var bar: Int {
    +       return
    +   }
     }
     
    -
    public class Bar { 
    -   public class var foo: String { 
    -       return "foo" 
    -   } 
    -} 
    -public class Foo: Bar { 
    -   override public final class var foo: String { 
    -       return "bar" 
    -   } 
    +
    public class Foo {
    +   public class var bar: Int {
    +       return 42
    +   }
     }
     
    -
    open class Bar { 
    -   public var foo: Int? { 
    -       return 42 
    -   } 
    -} 
    -open class Foo: Bar { 
    -   override public var foo: Int? { 
    -       return 43 
    -   } 
    +
    public class Bar {
    +   public class var foo: String {
    +       return "foo"
    +   }
    +}
    +public class Foo: Bar {
    +   override public final class var foo: String {
    +       return "bar"
    +   }
     }
     
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   override open class func foo() -> Int { 
    -       return 43 
    -   } 
    +
    open class Bar {
    +   public var foo: Int? {
    +       return 42
    +   }
    +}
    +open class Foo: Bar {
    +   override public var foo: Int? {
    +       return 43
    +   }
     }
     
    -
    protocol Foo: class {} 
    -class Bar { 
    -    public private(set) weak var foo: Foo? 
    -} 
    -
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   override open class func foo() -> Int {
    +       return 43
    +   }
    +}
     
    -
    @objc 
    -public final class Foo: NSObject {} 
    -
    +
    protocol Foo: class {}
    +class Bar {
    +    public private(set) weak var foo: Foo?
    +}
     
    -
    @objcMembers 
    -public final class Foo: NSObject {} 
    -
    +
    @objc
    +public final class Foo: NSObject {}
     
    -
    @objc 
    -override public private(set) weak var foo: Bar? 
    -
    +
    @objcMembers
    +public final class Foo: NSObject {}
     
    -
    @objc 
    -public final class Foo: NSObject {} 
    -
    +
    @objc
    +override public private(set) weak var foo: Bar?
     
    -
    @objc 
    -open final class Foo: NSObject { 
    -   open weak var weakBar: NSString? = nil 
    +
    @objc
    +public final class Foo: NSObject {}
    +
    +
    @objc
    +open final class Foo: NSObject {
    +   open weak var weakBar: NSString? = nil
     }
     
    public final class Foo {}
     
    -
    class Bar { 
    -   func bar() {} 
    +
    class Bar {
    +   func bar() {}
     }
     
    -
    internal class Foo: Bar { 
    -   override internal func bar() {} 
    +
    internal class Foo: Bar {
    +   override internal func bar() {}
     }
     
    -
    public struct Foo { 
    -   internal weak var weakBar: NSObject? = nil 
    +
    public struct Foo {
    +   internal weak var weakBar: NSObject? = nil
     }
     
    -
    class Foo { 
    -   internal lazy var bar: String = "foo" 
    +
    class Foo {
    +   internal lazy var bar: String = "foo"
     }
     

    Triggering Examples

    -
    class Foo { 
    -   convenience required public init() {} 
    +
    class Foo {
    +   convenience required public init() {}
     }
     
    -
    public class Foo { 
    -   static public let bar = 42 
    +
    public class Foo {
    +   static public let bar = 42
     }
     
    -
    public class Foo { 
    -   static public var bar: Int { 
    -       return 42 
    -   } 
    -} 
    -
    -
    -
    public class Foo { 
    -   class public var bar: Int { 
    -       return 42 
    -   } 
    +
    public class Foo {
    +   static public var bar: Int {
    +       return 42
    +   }
     }
     
    -
    public class RootFoo { 
    -   class public var foo: String { 
    -       return "foo" 
    -   } 
    -} 
    -public class Foo: RootFoo { 
    -   override final class public var foo: String { 
    -       return "bar" 
    -   } 
    +
    public class Foo {
    +   class public var bar: Int {
    +       return 42
    +   }
     }
     
    -
    open class Bar { 
    -   public var foo: Int? { 
    -       return 42 
    -   } 
    -} 
    -open class Foo: Bar { 
    -    public override var foo: Int? { 
    -       return 43 
    -   } 
    +
    public class RootFoo {
    +   class public var foo: String {
    +       return "foo"
    +   }
    +}
    +public class Foo: RootFoo {
    +   override final class public var foo: String
    +       return "bar"
    +   }
     }
     
    -
    protocol Foo: class {} 
    -class Bar { 
    -    private(set) public weak var foo: Foo? 
    -} 
    -
    -
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   class open override func foo() -> Int { 
    -       return 43 
    -   } 
    +
    open class Bar {
    +   public var foo: Int? {
    +       return 42
    +   }
    +}
    +open class Foo: Bar {
    +    public override var foo: Int? {
    +       return 43
    +   }
     }
     
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   open override class func foo() -> Int { 
    -       return 43 
    -   } 
    +
    protocol Foo: class {}
    +    class Bar {
    +        private(set) public weak var foo: Foo?
     }
     
    -
    @objc 
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   class open override func foo() -> Int {
    +       return 43
    +   }
    +}
    +
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   open override class func foo() -> Int {
    +       return 43
    +   }
    +}
    +
    +
    @objc
     final public class Foo: NSObject {}
     
    -
    @objcMembers 
    +
    @objcMembers
     final public class Foo: NSObject {}
     
    -
    @objc 
    -final open class Foo: NSObject { 
    -   weak open var weakBar: NSString? = nil 
    +
    @objc
    +final open class Foo: NSObject {
    +   weak open var weakBar: NSString? = nil
     }
     
    -
    final public class Foo {} 
    -
    +
    final public class Foo {}
     
    -
    internal class Foo: Bar { 
    -   internal override func bar() {} 
    +
    internal class Foo: Bar {
    +   internal override func bar() {}
     }
     
    -
    public struct Foo { 
    -   weak internal var weakBar: NSObjetc? = nil 
    +
    public struct Foo {
    +   weak internal var weakBar: NSObjetc? = nil
     }
     
    -
    class Foo { 
    -   lazy internal var bar: String = "foo" 
    +
    class Foo {
    +   lazy internal var bar: String = "foo"
     }
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html index 1e3d1a006..e8b7e6ed4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,6 @@
    foo()
     
    foo(
    -
     )
     
    foo { }
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
    index 458b3e6e0..79aa0f8c9 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_arguments_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
    index 64a0338a1..2b302efa5 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_function_chains.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
    index 3ffa8b2a4..d64cf7932 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_literal_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
    index 37059320c..1ab97eeae 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
    index 018997145..61399c019 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiline_parameters_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
    index 04972c4ae..8e89e8f8d 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/multiple_closures_with_trailing_closure.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
    index c01b3a4c6..e72cefc13 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nesting.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -323,49 +326,49 @@
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    struct Class0 { struct Class1 {} }
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    enum Class0 { enum Class1 {} }
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    enum Enum0 { enum Enum1 { case Case } }
     
    @@ -380,19 +383,19 @@
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    -func func6() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                        func func6() {
    +                        }
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -}
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html index 46c185ad3..930092aad 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nimble_operator.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html index 04c97402a..ed7190008 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_extension_access_modifier.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html index c19686581..1a24e963a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_fallthrough_only.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html index 79200fa40..edbdc09b9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_grouping_extension.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html index 9cbf72dc0..8df7fc592 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/no_space_in_method_call.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html index 0efc96f2f..276a1316c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/notification_center_detachment.html @@ -248,6 +248,9 @@ + @@ -319,27 +322,24 @@
  • Default configuration: warning
  • Non Triggering Examples

    -
    class Foo { 
    +
    class Foo {
        deinit {
            NotificationCenter.default.removeObserver(self)
        }
     }
    -
     
    -
    class Foo { 
    +
    class Foo {
        func bar() {
            NotificationCenter.default.removeObserver(otherObject)
        }
     }
    -
     

    Triggering Examples

    -
    class Foo { 
    +
    class Foo {
        func bar() {
            NotificationCenter.default.removeObserver(self)
        }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html index 105feeac9..ecce98dc1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_key.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html index 9a5a01c72..cf87ec007 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nslocalizedstring_require_bundle.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html index 378741fef..4c133cf0e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/nsobject_prefer_isequal.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html index 237fc9e01..afea468d9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/number_separator.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html index 0c2fedf3e..75a093834 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/object_literal.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html index de35010ce..d1ea3206c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/opening_brace.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html index fbfeb3771..384f65427 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_usage_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html index f76171994..d66214e3e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/operator_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html index 742b8536e..9868742f1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/optional_enum_case_matching.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html index e2bde23bd..be007fb4f 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/orphaned_doc_comment.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html index 99414e8bf..b86e0c996 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/overridden_super_call.html @@ -248,6 +248,9 @@ + @@ -324,7 +327,6 @@ super.viewWillAppear(animated) } } -
    class VC: UIViewController {
         override func viewWillAppear(_ animated: Bool) {
    @@ -333,28 +335,24 @@
             self.method2()
         }
     }
    -
     
    class VC: UIViewController {
         override func loadView() {
         }
     }
    -
     
    class Some {
         func viewWillAppear(_ animated: Bool) {
         }
     }
    -
     
    class VC: UIViewController {
         override func viewDidLoad() {
    -        defer {
    -            super.viewDidLoad()
    +    defer {
    +        super.viewDidLoad()
             }
         }
     }
    -
     

    Triggering Examples

    class VC: UIViewController {
    @@ -363,7 +361,6 @@
             self.method()
         }
     }
    -
     
    class VC: UIViewController {
         override func viewWillAppear(_ animated: Bool) {
    @@ -372,13 +369,11 @@
             super.viewWillAppear(animated)
         }
     }
    -
     
    class VC: UIViewController {
         override func didReceiveMemoryWarning() {
         }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html index 1457e4e72..38e56be19 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/override_in_extension.html @@ -248,6 +248,9 @@ + @@ -338,7 +341,6 @@ extension Foo { override var description: String { return "" } } -
    struct Foo {
         class Bar: NSObject {}
    @@ -346,7 +348,6 @@
     extension Foo.Bar {
         override var description: String { return "" }
     }
    -
     

    Triggering Examples

    extension Person {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
    index 158856405..77d756f26 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/pattern_matching_keywords.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
    index f0848d822..a37df1e5f 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefer_self_type_over_type_of_self.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
    index 244450cd0..dad748241 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prefixed_toplevel_constant.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
    index 8b23dd144..9555654bb 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_action.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
    index ee81907fa..af8352210 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_outlet.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
    index 3e25615b0..3c32811de 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_over_fileprivate.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
    index 66fe9922c..0683c398b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/private_unit_test.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -319,63 +322,74 @@
     
  • Default configuration: warning: XCTestCase
  • Non Triggering Examples

    -
    class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    "class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
    +
    +
    internal class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    internal class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    public class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    @objc private class FooTest: XCTestCase {
    +    @objc private func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +}
     
    -
    @objc private class FooTest: XCTestCase { @objc private func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    private class Foo: NSObject {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    private class Foo: NSObject { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    private class Foo {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    private class Foo { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    -
    -
    public class FooTest: XCTestCase { func test1(param: Int) {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1(param: Int) {}
    +}
     

    Triggering Examples

    -
    private class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    private class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    internal class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    internal class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    public class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html index c1bc15bce..fd69db90a 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_interface_builder.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html index 8ef1f5db3..36be14e4f 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/prohibited_super_call.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html index 7c5a0933f..4f5d196d4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/protocol_property_accessors_order.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html index 1b72b3545..40827d8af 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_call.html @@ -248,6 +248,9 @@ + @@ -329,7 +332,6 @@ } } } -
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -353,7 +355,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +363,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -374,7 +374,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -383,7 +382,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -392,7 +390,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -401,7 +398,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -413,7 +409,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -422,7 +417,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -431,7 +425,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -443,21 +436,18 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fitBehavesLike("foo")
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xitBehavesLike("foo")
        }
     }
    -
     

    Triggering Examples

    class TotoTests {
    @@ -474,7 +464,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -483,7 +472,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -502,7 +490,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -523,7 +510,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -532,7 +518,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -541,7 +526,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -550,7 +534,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -559,7 +542,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -568,7 +550,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -580,7 +561,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -592,7 +572,6 @@
            }
        }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html index 8d3fcf320..f0ea073af 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_focused_test.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,7 @@
    class TotoTests: QuickSpec {
        override func spec() {
            describe("foo") {
    -           describe("bar") { } 
    +           describe("bar") { }
                context("bar") {
                    it("bar") { }
                }
    @@ -331,7 +334,6 @@
            }
        }
     }
    -
     

    Triggering Examples

    class TotoTests: QuickSpec {
    @@ -339,21 +341,18 @@
            fdescribe("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fcontext("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fit("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +361,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -371,7 +369,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -382,14 +379,12 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fitBehavesLike("foo")
        }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html index 0f1fb1b25..b31ee88f4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/quick_discouraged_pending_test.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,7 @@
    class TotoTests: QuickSpec {
        override func spec() {
            describe("foo") {
    -           describe("bar") { } 
    +           describe("bar") { }
                context("bar") {
                    it("bar") { }
                }
    @@ -331,7 +334,6 @@
            }
        }
     }
    -
     

    Triggering Examples

    class TotoTests: QuickSpec {
    @@ -339,21 +341,18 @@
            xdescribe("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xcontext("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xit("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +361,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -371,7 +369,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -382,21 +379,18 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            pending("foo")
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xitBehavesLike("foo")
        }
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html index 535f06ec6..c1a0c5f77 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/raw_value_for_camel_cased_codable_enum.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html index 5a5768b1f..f82267076 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_boolean.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html index 933479c29..d0f10bae3 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/reduce_into.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html index fa54caea7..c308f82fe 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_discardable_let.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html index 9b2641594..8dd4d24ce 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_nil_coalescing.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html index ec1f86cec..26e03748c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_objc_attribute.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html index 65ac9a198..1ee75b3c9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_optional_initialization.html @@ -248,6 +248,9 @@ + @@ -371,7 +374,7 @@
    var myVar: Optional<Int>=nil
    -
    +)
     
    func funcName() {
         var myVar: String? = nil
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
    index e4fc97d2f..f7f1784c8 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_set_access_control.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
    index 29fa946d1..cb44bf3dd 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_string_enum_value.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
    index 86ffd643c..fd16a0f87 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_type_annotation.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
    index 61b807ecd..2a75e493b 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/redundant_void_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -325,19 +328,19 @@
     
    func foo() -> Int {}
     
     
    -
    func foo() -> (Int) -> Void {}
    +
    func foo() -> Int -> Void {}
     
     
    func foo() -> VoidResponse
     
     
    -
    let foo: Int -> Void
    +
    let foo: (Int) -> Void
     
     
    -
    func foo() -> (Int) -> () {}
    +
    func foo() -> Int -> () {}
     
     
    -
    let foo: Int -> ()
    +
    let foo: (Int) -> ()
     
     
    func foo() -> ()?
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
    index 99acda654..c6ee9e379 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_deinit.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
    index 0b60136b9..1bc88d80d 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/required_enum_case.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -325,11 +328,11 @@
         {Case Name}:{warning|error}

    Non Triggering Examples

    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error, notConnected 
    +    case success, error, notConnected
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error, notConnected(error: Error) 
    +    case success, error, notConnected(error: Error)
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    @@ -346,11 +349,11 @@
     

    Triggering Examples

    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error 
    +    case success, error
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error 
    +    case success, error
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
    index 9c7ad5044..85d6fc2ff 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/return_arrow_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
    index 94227c20e..90dc8b7ff 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/rule-directory.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
    index 6ff583b7a..597c4e955 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/search.json
    @@ -1 +1 @@
    -{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"

    Parses the input YAML string as an untyped dictionary.

    ","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"

    The string value for this version.

    ","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current SwiftLint version.

    ","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"

    Swift 3.x - https://swift.org/download/#swift-30

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"

    Swift 4.0.x - https://swift.org/download/#swift-40

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"

    Swift 4.1.x - https://swift.org/download/#swift-41

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"

    Swift 4.2.x - https://swift.org/download/#swift-42

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"

    Swift 5.0.x - https://swift.org/download/#swift-50

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"

    Swift 5.1.x - https://swift.org/download/#swift-51

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current detected Swift compiler version, based on the currently accessible SourceKit version.

    ","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"

    The syntax kind associated with is token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"

    The byte range in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"

    The starting byte offset in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"

    The length in bytes for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"

    The SwiftLint-specific syntax tokens for this syntax map.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionAA04RuleG0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"

    The severity of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"

    The justification for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"

    A printable description for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"

    Creates a StyleViolation by specifying its properties directly.

    ","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"

    The severity that should be assigned to the violation of this parameter’s value is met.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"

    The value to configure the rule.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"

    Creates a RuleParameter by specifying its properties directly.

    ","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"

    The rules contained in this list.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"

    The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"

    The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"

    The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"

    The RuleKind that best categorizes this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSaySSGvp":{"name":"nonTriggeringExamples","abstract":"

    Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSaySSGvp":{"name":"triggeringExamples","abstract":"

    Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyS2SGvp":{"name":"corrections","abstract":"

    Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"

    Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"

    The oldest version of the Swift compiler supported by this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"

    Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"

    The console-printable string for this description.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"

    All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSaySSGARSDyS2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"

    Creates a RuleDescription by specifying all its properties directly.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"

    The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"

    The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"

    All SwiftLint rule identifiers that are disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"

    Creates a Region by setting explicit values for all its properties.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"

    Whether the specific location is contained in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"

    Whether the specified rule is enabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"

    Whether the specified rule is disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"

    Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"

    The file path on disk for this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"

    The line offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"

    The character offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"

    A lossless printable description of this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"

    The file path for this location relative to the current working directory.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"

    Creates a Location by specifying its properties directly.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"

    Computes or retrieves style violations.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"

    Computes or retrieves style violations and the time spent executing each rule.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"

    Applies corrections for all rules to this file, returning performed corrections.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"

    Formats the file associated with this linter.

    ","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"

    Whether or not this linter will be used to collect information from several files.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"

    Creates a Linter by specifying its properties directly.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"

    Returns a linter capable of checking for violations after running each rule’s collection step.

    ","parent_name":"Linter"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule for which this correction was applied.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of the original violation that was corrected.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    The console-printable description for this correction.

    ","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"

    The command should only apply to the line preceding its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"

    The command should only apply to the same line as its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"

    The command should only apply to the line following its definition.

    ","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"

    The rule(s) associated with this command should be enabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"

    The rule(s) associated with this command should be disabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"

    The action (verb) that SwiftLint should perform when interpreting this command.

    ","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"

    The modifier for a command, used to modify its scope.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"

    The underlying SourceKitten dictionary.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"

    The cached substructure for this dictionary. Empty if there is no substructure.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"

    The kind of Swift expression represented by this dictionary, if it is an expression.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"

    The kind of Swift declaration represented by this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"

    The kind of Swift statement represented by this dictionary, if it is a statement.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"

    The accessibility level for this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"

    Swift source code should be indented using tabs.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"

    Swift source code should be indented using spaces with count spaces per indentation level.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"

    The default indentation style if none is explicitly provided.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"

    The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"

    Only enable the rules explicitly listed.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"

    Enable all available rules.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"

    Represents how a Configuration object can be configured with regards to rules.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"

    The standard file name to look for user-defined configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"

    The style to use when indenting Swift source code.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"

    Included paths to lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"

    Excluded paths to not lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"

    The identifier for the Reporter to use to report style violations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"

    The threshold for the number of warnings to tolerate before treating the lint as having failed.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"

    The root directory to search for nested configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"

    The absolute path from where this configuration was loaded from, if any.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"

    The location of the persisted cache to use whith this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"

    All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"

    Creates a Configuration by specifying its properties directly.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration with convenience parameters.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"

    Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"

    The style of indentation used in a Swift project.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"

    Returns the files that can be linted by SwiftLint in the specified parent path.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"

    Returns an array of file paths after removing the excluded paths as defined by this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"

    Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration value based on the specified parameters.

    ","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"

    Creates a RuleListDocumentation instance from a RuleList.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"

    Write the rule list documentation as markdown files to the specified directory.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"

    User-facing documentation for a SwiftLint RuleList.

    "},"Structs/Configuration.html":{"name":"Configuration","abstract":"

    The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.

    "},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"

    A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"

    A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.

    "},"Structs/Correction.html":{"name":"Correction","abstract":"

    A value describing a SwiftLint violation that was corrected.

    "},"Structs/Linter.html":{"name":"Linter","abstract":"

    Represents a file that can be linted for style violations and corrections after being collected.

    "},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"

    Represents a file that can compute style violations and corrections for a list of rules.

    "},"Structs/Location.html":{"name":"Location","abstract":"

    The placement of a segment of Swift in a collection of source files.

    "},"Structs/Region.html":{"name":"Region","abstract":"

    A contiguous region of Swift source code.

    "},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"

    A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.

    "},"Structs/RuleList.html":{"name":"RuleList","abstract":"

    A list of available SwiftLint rules.

    "},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"

    A configuration parameter for rules.

    "},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"

    A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.

    "},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"

    Represents a Swift file’s syntax information.

    "},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"

    A SwiftLint-aware Swift syntax token.

    "},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"

    A value describing the version of the Swift compiler.

    "},"Structs/Version.html":{"name":"Version","abstract":"

    A type describing the SwiftLint version.

    "},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"

    An interface for parsing YAML.

    "},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"

    Reports violations in SonarQube import format.

    "},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"

    Reports violations in the format Xcode uses to display in the IDE. (default)

    "},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    A human-readable description for this configuration and its applied values.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"

    Apply an untyped configuration to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether the specified configuration is equivalent to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"

    The kind of information to collect for each file being linted for this rule.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"

    Returns the substitution to apply for the given range.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"

    The type of configuration used to configure this rule.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"

    This rule’s configuration.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"

    A verbose description of many of this rule’s properties.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"

    A description of how this rule has been configured to run.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"

    A default initializer for rules. All rules need to be trivially initializable.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"

    Creates a rule by applying its configuration.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether or not the specified rule is equivalent to the current rule.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"

    Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"

    The unique identifier for this reporter.

    ","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"

    Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"

    Return a string with the report for the specified violations.

    ","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"

    The kind of token being recursed over.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"

    Get the kind from the specified dictionary.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"

    Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"

    Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"

    An interface for enumerating files that can be linted by SwiftLint.

    "},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"

    A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"

    An interface for reporting violations as strings.

    "},"Protocols/Rule.html":{"name":"Rule","abstract":"

    An executable value that can identify issues (violations) in Swift source code.

    "},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"

    A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.

    "},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"

    A rule that has unit tests automatically generated using Sourcery.

    "},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"

    A rule that is user-configurable.

    "},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"

    A rule that can correct violations.

    "},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"

    A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"

    A SubstitutionCorrectableRule that is also an ASTRule.

    "},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"

    A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.

    "},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"

    A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"

    Type-erased protocol used to check whether a rule is collectable.

    "},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"

    A rule that requires knowledge of all other files being linted.

    "},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"

    A CollectingRule that is also a CorrectableRule.

    "},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"

    A configuration value for a rule to allow users to modify its behavior.

    "},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"

    A thread-safe version of Swift’s standard print().

    "},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"

    A thread-safe, newline-terminated version of fputs(..., stderr).

    "},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"

    A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"

    Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"

    Returns a new string, converting the path to a canonical absolute path.

    ","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"

    Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"

    Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"

    The rule list contains more than one configuration for the specified rule.

    ","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"

    Describes rules that validate Swift source conventions.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"

    Describes rules that validate common practices in the Swift community.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"

    Describes rules that validate stylistic choices.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"

    Describes rules that validate magnitudes or measurements of Swift source.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"

    Describes rules that validate that code patterns with poor performance are avoided.

    ","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"

    Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"

    Represents a single SwiftLint rule with the specified identifier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"

    The spelling of the string for this idenfitier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"

    Creates a RuleIdentifier by its string representation.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"

    The configuration didn’t match internal expectations.

    ","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"

    Accessible by the declaration’s immediate lexical scope.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"

    Accessible by the declaration’s same file.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"

    Accessible by the declaration’s same module, or modules importing it with the @testable attribute.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"

    Accessible by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"

    Accessible and customizable (via subclassing or overrides) by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"

    A call to a named function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"

    An argument value for a function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"

    An Array expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"

    A Dictionary expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"

    An object literal expression. https://developer.apple.com/swift/blog/?id=33

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"

    A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"

    A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"

    The kind of expression for a contiguous set of Swift source tokens.

    "},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"

    The accessibility of a Swift source declaration.

    "},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"

    All possible configuration errors.

    "},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"

    An identifier representing a SwiftLint rule, or all rules.

    "},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"

    All the possible rule kinds (categories).

    "},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"

    All possible configuration errors.

    "},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"

    The magnitude of a StyleViolation.

    "},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"

    The rule list containing all available rules built into SwiftLint.

    "},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"

    Creates a RuleStorage with no initial stored data.

    ","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"

    Creates a LinterCache by specifying a SwiftLint configuration and a file manager.

    ","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"

    Persists the cache to disk.

    ","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"

    Creates a SwiftLintFile with a SourceKitten File.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"

    Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"

    The path on disk for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"

    The file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"

    A string view into the contents of this file optimized for string manipulation operations.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"

    The parsed lines for this file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"

    Invalidates all cached data for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"

    A unit of Swift source code, either on disk or in memory.

    "},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"

    A persisted cache for storing and retrieving linter results.

    "},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"

    A storage mechanism for aggregating the results of CollectingRules.

    "},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"

    Reports violations as a newline-separated string of comma-separated values (CSV).

    "},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"

    Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"

    Reports violations in the format that’s both fun and easy to read.

    "},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"

    Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.

    "},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"

    Reports violations as HTML.

    "},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"

    Reports violations as a JSON array.

    "},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"

    Reports violations as JUnit XML.

    "},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"

    Reports violations as markdown formated (with tables).

    "},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Global%20Variables.html":{"name":"Global Variables","abstract":"

    The following global variables are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file +{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"

    Parses the input YAML string as an untyped dictionary.

    ","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"

    The string value for this version.

    ","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current SwiftLint version.

    ","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"

    Swift 3.x - https://swift.org/download/#swift-30

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"

    Swift 4.0.x - https://swift.org/download/#swift-40

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"

    Swift 4.1.x - https://swift.org/download/#swift-41

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"

    Swift 4.2.x - https://swift.org/download/#swift-42

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"

    Swift 5.0.x - https://swift.org/download/#swift-50

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"

    Swift 5.1.x - https://swift.org/download/#swift-51

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current detected Swift compiler version, based on the currently accessible SourceKit version.

    ","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"

    The syntax kind associated with is token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"

    The byte range in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"

    The starting byte offset in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"

    The length in bytes for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"

    The SwiftLint-specific syntax tokens for this syntax map.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV14ruleIdentifierSSvp":{"name":"ruleIdentifier","abstract":"

    The identifier of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionSSvp":{"name":"ruleDescription","abstract":"

    The description of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8ruleNameSSvp":{"name":"ruleName","abstract":"

    The name of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"

    The severity of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"

    The justification for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"

    A printable description for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"

    Creates a StyleViolation by specifying its properties directly.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8severityAcA0E8SeverityO_tF":{"name":"with(severity:)","abstract":"

    Returns the same violation, but with the severity that is passed in

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8locationAcA8LocationV_tF":{"name":"with(location:)","abstract":"

    Returns the same violation, but with the location that is passed in

    ","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"

    The severity that should be assigned to the violation of this parameter’s value is met.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"

    The value to configure the rule.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"

    Creates a RuleParameter by specifying its properties directly.

    ","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"

    The rules contained in this list.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"

    The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"

    The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"

    The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"

    The RuleKind that best categorizes this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSayAA7ExampleVGvp":{"name":"nonTriggeringExamples","abstract":"

    Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSayAA7ExampleVGvp":{"name":"triggeringExamples","abstract":"

    Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyAA7ExampleVAFGvp":{"name":"corrections","abstract":"

    Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"

    Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"

    The oldest version of the Swift compiler supported by this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"

    Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"

    The console-printable string for this description.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"

    All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSayAA7ExampleVGATSDyA2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"

    Creates a RuleDescription by specifying all its properties directly.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"

    The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"

    The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"

    All SwiftLint rule identifiers that are disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"

    Creates a Region by setting explicit values for all its properties.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"

    Whether the specific location is contained in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"

    Whether the specified rule is enabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"

    Whether the specified rule is disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"

    Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"

    The file path on disk for this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"

    The line offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"

    The character offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"

    A lossless printable description of this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"

    The file path for this location relative to the current working directory.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"

    Creates a Location by specifying its properties directly.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"

    Computes or retrieves style violations.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"

    Computes or retrieves style violations and the time spent executing each rule.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"

    Applies corrections for all rules to this file, returning performed corrections.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"

    Formats the file associated with this linter.

    ","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"

    Whether or not this linter will be used to collect information from several files.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"

    Creates a Linter by specifying its properties directly.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"

    Returns a linter capable of checking for violations after running each rule’s collection step.

    ","parent_name":"Linter"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4codeSSvp":{"name":"code","abstract":"

    The contents of the example

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4files12StaticStringVvp":{"name":"file","abstract":"

    The path to the file where the example was created

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4lineSuvp":{"name":"line","abstract":"

    The line in the file where the example was created

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV_4file4lineACSS_s12StaticStringVSutcfc":{"name":"init(_:file:line:)","abstract":"

    Create a new Example with the specified code, file, and line

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4with4codeACSS_tF":{"name":"with(code:)","abstract":"

    Returns the same example, but with the code that is passed in

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV24removingViolationMarkersACyF":{"name":"removingViolationMarkers()","abstract":"

    Returns a copy of the Example with all instances of the “↓” character removed.

    ","parent_name":"Example"},"Structs/Example.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Example"},"Structs/Example.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Example"},"Structs/Example.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Example"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule for which this correction was applied.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of the original violation that was corrected.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    The console-printable description for this correction.

    ","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"

    The command should only apply to the line preceding its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"

    The command should only apply to the same line as its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"

    The command should only apply to the line following its definition.

    ","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"

    The rule(s) associated with this command should be enabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"

    The rule(s) associated with this command should be disabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"

    The action (verb) that SwiftLint should perform when interpreting this command.

    ","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"

    The modifier for a command, used to modify its scope.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"

    The underlying SourceKitten dictionary.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"

    The cached substructure for this dictionary. Empty if there is no substructure.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"

    The kind of Swift expression represented by this dictionary, if it is an expression.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"

    The kind of Swift declaration represented by this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"

    The kind of Swift statement represented by this dictionary, if it is a statement.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"

    The accessibility level for this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"

    Swift source code should be indented using tabs.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"

    Swift source code should be indented using spaces with count spaces per indentation level.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"

    The default indentation style if none is explicitly provided.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"

    The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"

    Only enable the rules explicitly listed.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"

    Enable all available rules.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"

    Represents how a Configuration object can be configured with regards to rules.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"

    The standard file name to look for user-defined configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"

    The style to use when indenting Swift source code.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"

    Included paths to lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"

    Excluded paths to not lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"

    The identifier for the Reporter to use to report style violations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"

    The threshold for the number of warnings to tolerate before treating the lint as having failed.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"

    The root directory to search for nested configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"

    The absolute path from where this configuration was loaded from, if any.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"

    The location of the persisted cache to use whith this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"

    All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"

    Creates a Configuration by specifying its properties directly.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration with convenience parameters.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"

    Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"

    The style of indentation used in a Swift project.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"

    Returns the files that can be linted by SwiftLint in the specified parent path.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"

    Returns an array of file paths after removing the excluded paths as defined by this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"

    Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration value based on the specified parameters.

    ","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"

    Creates a RuleListDocumentation instance from a RuleList.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"

    Write the rule list documentation as markdown files to the specified directory.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"

    User-facing documentation for a SwiftLint RuleList.

    "},"Structs/Configuration.html":{"name":"Configuration","abstract":"

    The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.

    "},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"

    A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"

    A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.

    "},"Structs/Correction.html":{"name":"Correction","abstract":"

    A value describing a SwiftLint violation that was corrected.

    "},"Structs/Example.html":{"name":"Example","abstract":"

    Captures code and context information for an example of a triggering or"},"Structs/Linter.html":{"name":"Linter","abstract":"

    Represents a file that can be linted for style violations and corrections after being collected.

    "},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"

    Represents a file that can compute style violations and corrections for a list of rules.

    "},"Structs/Location.html":{"name":"Location","abstract":"

    The placement of a segment of Swift in a collection of source files.

    "},"Structs/Region.html":{"name":"Region","abstract":"

    A contiguous region of Swift source code.

    "},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"

    A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.

    "},"Structs/RuleList.html":{"name":"RuleList","abstract":"

    A list of available SwiftLint rules.

    "},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"

    A configuration parameter for rules.

    "},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"

    A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.

    "},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"

    Represents a Swift file’s syntax information.

    "},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"

    A SwiftLint-aware Swift syntax token.

    "},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"

    A value describing the version of the Swift compiler.

    "},"Structs/Version.html":{"name":"Version","abstract":"

    A type describing the SwiftLint version.

    "},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"

    An interface for parsing YAML.

    "},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"

    Reports violations in SonarQube import format.

    "},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"

    Reports violations in the format Xcode uses to display in the IDE. (default)

    "},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    A human-readable description for this configuration and its applied values.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"

    Apply an untyped configuration to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether the specified configuration is equivalent to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"

    The kind of information to collect for each file being linted for this rule.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"

    Returns the substitution to apply for the given range.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"

    The type of configuration used to configure this rule.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"

    This rule’s configuration.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"

    A verbose description of many of this rule’s properties.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"

    A description of how this rule has been configured to run.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"

    A default initializer for rules. All rules need to be trivially initializable.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"

    Creates a rule by applying its configuration.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether or not the specified rule is equivalent to the current rule.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"

    Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"

    The unique identifier for this reporter.

    ","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"

    Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"

    Return a string with the report for the specified violations.

    ","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"

    The kind of token being recursed over.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"

    Get the kind from the specified dictionary.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"

    Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"

    Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"

    An interface for enumerating files that can be linted by SwiftLint.

    "},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"

    A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"

    An interface for reporting violations as strings.

    "},"Protocols/Rule.html":{"name":"Rule","abstract":"

    An executable value that can identify issues (violations) in Swift source code.

    "},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"

    A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.

    "},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"

    A rule that has unit tests automatically generated using Sourcery.

    "},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"

    A rule that is user-configurable.

    "},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"

    A rule that can correct violations.

    "},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"

    A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"

    A SubstitutionCorrectableRule that is also an ASTRule.

    "},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"

    A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.

    "},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"

    A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"

    Type-erased protocol used to check whether a rule is collectable.

    "},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"

    A rule that requires knowledge of all other files being linted.

    "},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"

    A CollectingRule that is also a CorrectableRule.

    "},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"

    A configuration value for a rule to allow users to modify its behavior.

    "},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"

    A thread-safe version of Swift’s standard print().

    "},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"

    A thread-safe, newline-terminated version of fputs(..., stderr).

    "},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"

    A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"

    Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"

    Returns a new string, converting the path to a canonical absolute path.

    ","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"

    Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"

    Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"

    The rule list contains more than one configuration for the specified rule.

    ","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"

    Describes rules that validate Swift source conventions.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"

    Describes rules that validate common practices in the Swift community.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"

    Describes rules that validate stylistic choices.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"

    Describes rules that validate magnitudes or measurements of Swift source.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"

    Describes rules that validate that code patterns with poor performance are avoided.

    ","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"

    Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"

    Represents a single SwiftLint rule with the specified identifier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"

    The spelling of the string for this idenfitier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"

    Creates a RuleIdentifier by its string representation.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"

    The configuration didn’t match internal expectations.

    ","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"

    Accessible by the declaration’s immediate lexical scope.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"

    Accessible by the declaration’s same file.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"

    Accessible by the declaration’s same module, or modules importing it with the @testable attribute.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"

    Accessible by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"

    Accessible and customizable (via subclassing or overrides) by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"

    A call to a named function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"

    An argument value for a function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"

    An Array expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"

    A Dictionary expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"

    An object literal expression. https://developer.apple.com/swift/blog/?id=33

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"

    A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"

    A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"

    The kind of expression for a contiguous set of Swift source tokens.

    "},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"

    The accessibility of a Swift source declaration.

    "},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"

    All possible configuration errors.

    "},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"

    An identifier representing a SwiftLint rule, or all rules.

    "},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"

    All the possible rule kinds (categories).

    "},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"

    All possible configuration errors.

    "},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"

    The magnitude of a StyleViolation.

    "},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"

    The rule list containing all available rules built into SwiftLint.

    "},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"

    Creates a RuleStorage with no initial stored data.

    ","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"

    Creates a LinterCache by specifying a SwiftLint configuration and a file manager.

    ","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"

    Persists the cache to disk.

    ","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"

    Creates a SwiftLintFile with a SourceKitten File.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"

    Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"

    The path on disk for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"

    The file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"

    A string view into the contents of this file optimized for string manipulation operations.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"

    The parsed lines for this file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"

    Invalidates all cached data for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"

    A unit of Swift source code, either on disk or in memory.

    "},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"

    A persisted cache for storing and retrieving linter results.

    "},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"

    A storage mechanism for aggregating the results of CollectingRules.

    "},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"

    Reports violations as a newline-separated string of comma-separated values (CSV).

    "},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"

    Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"

    Reports violations in the format that’s both fun and easy to read.

    "},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"

    Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.

    "},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"

    Reports violations as HTML.

    "},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"

    Reports violations as a JSON array.

    "},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"

    Reports violations as JUnit XML.

    "},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"

    Reports violations as markdown formated (with tables).

    "},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Global%20Variables.html":{"name":"Global Variables","abstract":"

    The following global variables are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html index 2d1210050..679bba423 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/shorthand_operator.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html index f2ac493b3..e0e1f5d3b 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/single_test_class.html @@ -248,6 +248,9 @@ + @@ -331,30 +334,24 @@

    Triggering Examples

    class FooTests: QuickSpec {  }
     class BarTests: QuickSpec {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: QuickSpec {  }
     class TotoTests: QuickSpec {  }
    -
     
    class FooTests: XCTestCase {  }
     class BarTests: XCTestCase {  }
    -
     
    class FooTests: XCTestCase {  }
     class BarTests: XCTestCase {  }
     class TotoTests: XCTestCase {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: XCTestCase {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: XCTestCase {  }
     class TotoTests {  }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html index b1031bc98..bb72b1190 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_first_last.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html index 7e0e63a4b..b1c35e308 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/sorted_imports.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html index 6e6faf3e7..6f9095ab6 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/statement_position.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html index a9a7b8e5f..09ac67820 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/static_operator.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html index 798355404..6a7c034ab 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strict_fileprivate.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html index ba3e5b35b..8ab85cbcc 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/strong_iboutlet.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html index f78e5d5e6..ce123fb71 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/superfluous_disable_command.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html index 946744095..ad3f93b1c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_alignment.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html index 37bd42c66..cf40f3cc3 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/switch_case_on_newline.html @@ -248,6 +248,9 @@ + @@ -347,104 +350,87 @@ }
    switch foo {
    -  case 1:
    +    case 1:
      return true
     }
    -
     
    switch foo {
    -  default:
    +    default:
      return true
     }
    -
     
    switch foo {
    -  case let value:
    +    case let value:
      return true
     }
    -
     
    switch foo {
    -  case .myCase: // error from network
    +    case .myCase: // error from network
      return true
     }
    -
     
    switch foo {
    -  case let .myCase(value) where value > 10:
    +    case let .myCase(value) where value > 10:
      return false
     }
    -
     
    switch foo {
    -  case let .myCase(value)
    +    case let .myCase(value)
      where value > 10:
      return false
     }
    -
     
    switch foo {
    -  case let .myCase(code: lhsErrorCode, description: _)
    +    case let .myCase(code: lhsErrorCode, description: _)
      where lhsErrorCode > 10:
    - return false
    +return false
     }
    -
     
    switch foo {
    -  case #selector(aFunction(_:)):
    +    case #selector(aFunction(_:)):
      return false
     
     }
    -
     

    Triggering Examples

    switch foo {
    -  case 1: return true
    +    case 1: return true
     }
    -
     
    switch foo {
    -  case let value: return true
    +    case let value: return true
     }
    -
     
    switch foo {
    -  default: return true
    +    default: return true
     }
    -
     
    switch foo {
    -  case "a string": return false
    +    case "a string": return false
     }
    -
     
    switch foo {
    -  case .myCase: return false // error from network
    +    case .myCase: return false // error from network
     }
    -
     
    switch foo {
    -  case let .myCase(value) where value > 10: return false
    +    case let .myCase(value) where value > 10: return false
     }
    -
     
    switch foo {
    -  case #selector(aFunction(_:)): return false
    +    case #selector(aFunction(_:)): return false
     
     }
    -
     
    switch foo {
    -  case let .myCase(value)
    +    case let .myCase(value)
      where value > 10: return false
     }
    -
     
    switch foo {
    -  case .first,
    +    case .first,
      .second: return false
     }
    -
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html index ba33a426d..d9be57a3e 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/syntactic_sugar.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html index 551e7f5a0..2d1ebeadc 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/todo.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html index d27c56c6b..8f9d3b327 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/toggle_bool.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html index 3cec4dbd3..1004a36cd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_closure.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html index 6a87fe51b..156fbbc09 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_comma.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html index 7420c57f2..6d58e75d2 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_newline.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html index d93493de0..c19bc2e81 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_semicolon.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html index 7d74bcff7..0f07962ff 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/trailing_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html index 05204e415..7429e174d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_body_length.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html index 5337bf805..6f26172e9 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_contents_order.html @@ -248,6 +248,9 @@ + @@ -415,7 +418,7 @@ deinit { log.debug("deinit") - } + }, }

    Triggering Examples

    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html index cd05a2b99..d46d162f1 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/type_name.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html index 533df2028..f9341e36f 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unavailable_function.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html index 88b9336f5..a167b024c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_break_in_switch.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html index a2901dbdf..3daf54c10 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unneeded_parentheses_in_closure_argument.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html index d6b4b39f7..68d223684 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unowned_variable_capture.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html index d12ed26f5..4117bad18 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/untyped_error_in_catch.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html index 42dcb42d1..a9e9268f0 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_capture_list.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html index 870be513f..858789a8d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_closure_parameter.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html index 89401c2c8..34f607913 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_control_flow_label.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html index 1fcf970c4..8abfd0c4d 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_declaration.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html index 5ef2ad6fe..c8cd2436c 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_enumerated.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html index 244914d99..5103cb494 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_import.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html index ae2162a24..282ffd428 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_optional_binding.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html index 4e739097a..9dbfd23ce 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/unused_setter_value.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html index 25e748b55..89d92c4fd 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/valid_ibinspectable.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html index 3583e10b4..b878a5ed4 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment.html @@ -248,6 +248,9 @@ + @@ -321,44 +324,35 @@

    Non Triggering Examples

    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary) -> [StyleViolation]
    -
     
    func foo(bar: Int)
    -
     
    -
    func foo(bar: Int) -> String 
    -
    +
    func foo(bar: Int) -> String
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary)
                           -> [StyleViolation]
    -
     
    func validateFunction(
        _ file: SwiftLintFile, kind: SwiftDeclarationKind,
        dictionary: SourceKittenDictionary) -> [StyleViolation]
    -
     
    func validateFunction(
        _ file: SwiftLintFile, kind: SwiftDeclarationKind,
        dictionary: SourceKittenDictionary
     ) -> [StyleViolation]
    -
     
    func regex(_ pattern: String,
                options: NSRegularExpression.Options = [.anchorsMatchLines,
                                                        .dotMatchesLineSeparators]) -> NSRegularExpression
    -
     
    func foo(a: Void,
              b: [String: String] =
    -           [:]) {
    +         [:]) {
     }
    -
     
    func foo(data: (size: CGSize,
                     identifier: String)) {}
    @@ -369,16 +363,13 @@
     

    Triggering Examples

    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                       dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                            dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile,
                       kind: SwiftDeclarationKind,
                       dictionary: SourceKittenDictionary) { }
    -
     
    func foo(data: Data,
                 @ViewBuilder content: @escaping (Data.Element.IdentifiedValue) -> Content) {}
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
    index 32b399e82..438f0e7da 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_parameter_alignment_on_call.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
    index 559241d1b..448367bf0 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
    index 283bf66db..a398cf4ff 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_between_cases.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
    index dbe5421da..f4df2ff86 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_closing_braces.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
    index b29cccbec..5f11ce3fe 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/vertical_whitespace_opening_braces.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
    index 9fcfdb6f8..8be427f45 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/void_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
    index eb9ead0b1..0cf5f048a 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/weak_delegate.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
    index 953200109..5ef33c3aa 100644
    --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
    +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xct_specific_matcher.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -349,7 +352,7 @@
     
    XCTAssertEqual(2, foo)
     
    -
    XCTAssertNotEqual("false", foo)
    +
    XCTAssertNotEqual("false"), foo)
     
    XCTAssertEqual(false, foo?.bar)
     
    diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html index 3e0e3d38b..41b0078f6 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/xctfail_message.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html index 64df0662b..0c8f32ee8 100644 --- a/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html +++ b/docsets/SwiftLintFramework.docset/Contents/Resources/Documents/yoda_condition.html @@ -248,6 +248,9 @@ + diff --git a/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx b/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx index 0ba927cb5..7743a4bde 100644 Binary files a/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx and b/docsets/SwiftLintFramework.docset/Contents/Resources/docSet.dsidx differ diff --git a/docsets/SwiftLintFramework.tgz b/docsets/SwiftLintFramework.tgz index baa115059..ac8cfde3c 100644 Binary files a/docsets/SwiftLintFramework.tgz and b/docsets/SwiftLintFramework.tgz differ diff --git a/duplicate_enum_cases.html b/duplicate_enum_cases.html index e6cde2944..97d442de5 100644 --- a/duplicate_enum_cases.html +++ b/duplicate_enum_cases.html @@ -248,6 +248,9 @@ + diff --git a/duplicate_imports.html b/duplicate_imports.html index 08d3a1d4d..98522a738 100644 --- a/duplicate_imports.html +++ b/duplicate_imports.html @@ -248,6 +248,9 @@ + diff --git a/dynamic_inline.html b/dynamic_inline.html index fd8a64748..f72e55c12 100644 --- a/dynamic_inline.html +++ b/dynamic_inline.html @@ -248,6 +248,9 @@ + diff --git a/empty_collection_literal.html b/empty_collection_literal.html index 0e7e6c73d..b2486275d 100644 --- a/empty_collection_literal.html +++ b/empty_collection_literal.html @@ -248,6 +248,9 @@ + diff --git a/empty_count.html b/empty_count.html index f09632937..e30206c7e 100644 --- a/empty_count.html +++ b/empty_count.html @@ -248,6 +248,9 @@ + diff --git a/empty_enum_arguments.html b/empty_enum_arguments.html index f7f67b5f4..dcd1d87cd 100644 --- a/empty_enum_arguments.html +++ b/empty_enum_arguments.html @@ -248,6 +248,9 @@ + @@ -320,52 +323,52 @@

    Non Triggering Examples

    switch foo {
    -    case .bar: break
    +case .bar: break
     }
     
    switch foo {
    -    case .bar(let x): break
    +case .bar(let x): break
     }
     
    switch foo {
    -    case let .bar(x): break
    +case let .bar(x): break
     }
     
    switch (foo, bar) {
    -    case (_, _): break
    +case (_, _): break
     }
     
    switch foo {
    -    case "bar".uppercased(): break
    +case "bar".uppercased(): break
     }
     
    switch (foo, bar) {
    -    case (_, _) where !something: break
    +case (_, _) where !something: break
     }
     
    switch foo {
    -    case (let f as () -> String)?: break
    +case (let f as () -> String)?: break
     }
     
    switch foo {
    -    default: break
    +default: break
     }
     

    Triggering Examples

    switch foo {
    -    case .bar(_): break
    +case .bar(_): break
     }
     
    switch foo {
    -    case .bar(): break
    +case .bar(): break
     }
     
    switch foo {
    -    case .bar(_), .bar2(_): break
    +case .bar(_), .bar2(_): break
     }
     
    switch foo {
    -    case .bar() where method() > 2: break
    +case .bar() where method() > 2: break
     }
     
    func example(foo: Foo) {
    diff --git a/empty_parameters.html b/empty_parameters.html
    index 6cc7ca508..2aa386c74 100644
    --- a/empty_parameters.html
    +++ b/empty_parameters.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/empty_parentheses_with_trailing_closure.html b/empty_parentheses_with_trailing_closure.html
    index b49a93ff2..2fc1dd896 100644
    --- a/empty_parentheses_with_trailing_closure.html
    +++ b/empty_parentheses_with_trailing_closure.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/empty_string.html b/empty_string.html
    index c3a564ddd..6ed1f830d 100644
    --- a/empty_string.html
    +++ b/empty_string.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/empty_xctest_method.html b/empty_xctest_method.html
    index 15e0ce2d3..21d8791c9 100644
    --- a/empty_xctest_method.html
    +++ b/empty_xctest_method.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/enum_case_associated_values_count.html b/enum_case_associated_values_count.html
    index a1ecb4b7a..b3f126e4b 100644
    --- a/enum_case_associated_values_count.html
    +++ b/enum_case_associated_values_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/expiring_todo.html b/expiring_todo.html
    index 5ec659f93..4d03f2066 100644
    --- a/expiring_todo.html
    +++ b/expiring_todo.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_acl.html b/explicit_acl.html
    index dfc522ec9..aa0eac174 100644
    --- a/explicit_acl.html
    +++ b/explicit_acl.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_enum_raw_value.html b/explicit_enum_raw_value.html
    index 497b2cc4d..739172d69 100644
    --- a/explicit_enum_raw_value.html
    +++ b/explicit_enum_raw_value.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_init.html b/explicit_init.html
    index cc5879c2a..c7a4fbfd3 100644
    --- a/explicit_init.html
    +++ b/explicit_init.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_self.html b/explicit_self.html
    index 1cd59b285..844768c34 100644
    --- a/explicit_self.html
    +++ b/explicit_self.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_top_level_acl.html b/explicit_top_level_acl.html
    index 40eac12a2..c059519de 100644
    --- a/explicit_top_level_acl.html
    +++ b/explicit_top_level_acl.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/explicit_type_interface.html b/explicit_type_interface.html
    index fb536e420..cba016361 100644
    --- a/explicit_type_interface.html
    +++ b/explicit_type_interface.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/extension_access_modifier.html b/extension_access_modifier.html
    index 9b3a1660e..faa77de80 100644
    --- a/extension_access_modifier.html
    +++ b/extension_access_modifier.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/fallthrough.html b/fallthrough.html
    index 604f5bcd4..7f2d152bb 100644
    --- a/fallthrough.html
    +++ b/fallthrough.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/fatal_error_message.html b/fatal_error_message.html
    index 5f7e3e45e..9c06011aa 100644
    --- a/fatal_error_message.html
    +++ b/fatal_error_message.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/file_header.html b/file_header.html
    index c752cee70..1885de421 100644
    --- a/file_header.html
    +++ b/file_header.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/file_length.html b/file_length.html
    index 29acda8f6..0983e1142 100644
    --- a/file_length.html
    +++ b/file_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/file_name.html b/file_name.html
    index 82d6f109b..aa260c9bd 100644
    --- a/file_name.html
    +++ b/file_name.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/file_name_no_space.html b/file_name_no_space.html
    index a139a7298..6f02e12cc 100644
    --- a/file_name_no_space.html
    +++ b/file_name_no_space.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/file_types_order.html b/file_types_order.html
    index 2ed2add54..c3f2c53bd 100644
    --- a/file_types_order.html
    +++ b/file_types_order.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/first_where.html b/first_where.html
    index b6d919cd2..84cb63caa 100644
    --- a/first_where.html
    +++ b/first_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/flatmap_over_map_reduce.html b/flatmap_over_map_reduce.html
    index b827db961..0ff81539c 100644
    --- a/flatmap_over_map_reduce.html
    +++ b/flatmap_over_map_reduce.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/for_where.html b/for_where.html
    index 1ccb10686..73ff9c86a 100644
    --- a/for_where.html
    +++ b/for_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/force_cast.html b/force_cast.html
    index 3ce0672ca..38ef87bbf 100644
    --- a/force_cast.html
    +++ b/force_cast.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/force_try.html b/force_try.html
    index 0bc502d8c..f09b991d3 100644
    --- a/force_try.html
    +++ b/force_try.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/force_unwrapping.html b/force_unwrapping.html
    index b3ade1365..55469a99f 100644
    --- a/force_unwrapping.html
    +++ b/force_unwrapping.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/function_body_length.html b/function_body_length.html
    index b3e684aab..b9f5d283b 100644
    --- a/function_body_length.html
    +++ b/function_body_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/function_default_parameter_at_end.html b/function_default_parameter_at_end.html
    index ad6db6fd4..8df4c6de1 100644
    --- a/function_default_parameter_at_end.html
    +++ b/function_default_parameter_at_end.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/function_parameter_count.html b/function_parameter_count.html
    index 270d3cec9..daa1b4e28 100644
    --- a/function_parameter_count.html
    +++ b/function_parameter_count.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -336,7 +339,7 @@
     
    func f(a: Int, b: Int, c: Int, d: Int, x: Int = 42) {}
     
    func f(a: [Int], b: Int, c: Int, d: Int, f: Int) -> [Int] {
    -let s = a.flatMap { $0 as? [String: Int] } ?? []}}
    +    let s = a.flatMap { $0 as? [String: Int] } ?? []}}
     
    override func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
     
    @@ -348,8 +351,8 @@
    func f(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int = 2, g: Int) {}
     
    struct Foo {
    -init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
    -func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
    +    init(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}
    +    func bar(a: Int, b: Int, c: Int, d: Int, e: Int, f: Int) {}}
     
    diff --git a/generic_type_name.html b/generic_type_name.html index b47e0cf6b..088d25b58 100644 --- a/generic_type_name.html +++ b/generic_type_name.html @@ -248,6 +248,9 @@ + diff --git a/identical_operands.html b/identical_operands.html index 7844c8301..6bb694f33 100644 --- a/identical_operands.html +++ b/identical_operands.html @@ -248,6 +248,9 @@ + diff --git a/identifier_name.html b/identifier_name.html index 9b3db6def..9f83d2a02 100644 --- a/identifier_name.html +++ b/identifier_name.html @@ -248,6 +248,9 @@ + diff --git a/implicit_getter.html b/implicit_getter.html index 5c3c6686b..06634f8d4 100644 --- a/implicit_getter.html +++ b/implicit_getter.html @@ -248,6 +248,9 @@ + @@ -363,11 +366,9 @@
    protocol Foo {
         var foo: Int { get }
    -
     
    protocol Foo {
         var foo: Int { get set }
    -
     
    class Foo {
         var foo: Int {
    diff --git a/implicit_return.html b/implicit_return.html
    index 463284085..a97cf6e07 100644
    --- a/implicit_return.html
    +++ b/implicit_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -316,7 +319,7 @@
     
  • Kind: style
  • Analyzer rule: No
  • Minimum Swift compiler version: 3.0.0
  • -
  • Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
  • +
  • Default configuration: warning, included: [SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.closure, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.getter, SwiftLintFramework.ImplicitReturnConfiguration.ReturnKind.function]
  • Non Triggering Examples

    if foo {
    diff --git a/implicitly_unwrapped_optional.html b/implicitly_unwrapped_optional.html
    index d4b06c1a6..60c4b97e6 100644
    --- a/implicitly_unwrapped_optional.html
    +++ b/implicitly_unwrapped_optional.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/indentation_width.html b/indentation_width.html
    index 7b97f9929..a5987669b 100644
    --- a/indentation_width.html
    +++ b/indentation_width.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/index.html b/index.html
    index eb72d2a03..b8c1ed429 100644
    --- a/index.html
    +++ b/index.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/inert_defer.html b/inert_defer.html
    index 23d04841b..987efb5e8 100644
    --- a/inert_defer.html
    +++ b/inert_defer.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/is_disjoint.html b/is_disjoint.html
    index 2839969f1..8ff5c4e1b 100644
    --- a/is_disjoint.html
    +++ b/is_disjoint.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/joined_default_parameter.html b/joined_default_parameter.html
    index ea02f2c69..68a71a473 100644
    --- a/joined_default_parameter.html
    +++ b/joined_default_parameter.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/large_tuple.html b/large_tuple.html
    index ac22ab4ff..cfe6fc041 100644
    --- a/large_tuple.html
    +++ b/large_tuple.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/last_where.html b/last_where.html
    index 29da01f11..9b4ab82e0 100644
    --- a/last_where.html
    +++ b/last_where.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/leading_whitespace.html b/leading_whitespace.html
    index 0f043e431..ce98ef4d5 100644
    --- a/leading_whitespace.html
    +++ b/leading_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_cggeometry_functions.html b/legacy_cggeometry_functions.html
    index d4116113a..e5ae270b7 100644
    --- a/legacy_cggeometry_functions.html
    +++ b/legacy_cggeometry_functions.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_constant.html b/legacy_constant.html
    index baba52c6c..0c6e76ab6 100644
    --- a/legacy_constant.html
    +++ b/legacy_constant.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_constructor.html b/legacy_constructor.html
    index f5602a3a6..ca19be29c 100644
    --- a/legacy_constructor.html
    +++ b/legacy_constructor.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_hashing.html b/legacy_hashing.html
    index 72499466e..b4de44716 100644
    --- a/legacy_hashing.html
    +++ b/legacy_hashing.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_multiple.html b/legacy_multiple.html
    index 7543392c5..d3c68eea5 100644
    --- a/legacy_multiple.html
    +++ b/legacy_multiple.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_nsgeometry_functions.html b/legacy_nsgeometry_functions.html
    index c07daafd0..89a3c3cee 100644
    --- a/legacy_nsgeometry_functions.html
    +++ b/legacy_nsgeometry_functions.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/legacy_random.html b/legacy_random.html
    index 296165c1a..f4895f164 100644
    --- a/legacy_random.html
    +++ b/legacy_random.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/let_var_whitespace.html b/let_var_whitespace.html
    index 535fee16b..f03744739 100644
    --- a/let_var_whitespace.html
    +++ b/let_var_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/line_length.html b/line_length.html
    index 54180bbdb..fb1f0ed2b 100644
    --- a/line_length.html
    +++ b/line_length.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/literal_expression_end_indentation.html b/literal_expression_end_indentation.html
    index e4db98411..de90d08f6 100644
    --- a/literal_expression_end_indentation.html
    +++ b/literal_expression_end_indentation.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -333,7 +336,6 @@
     
    [
        1,
        2]
    -
     
       let x = [
            1,
    diff --git a/lower_acl_than_parent.html b/lower_acl_than_parent.html
    index 8ffb73a75..7b98e054a 100644
    --- a/lower_acl_than_parent.html
    +++ b/lower_acl_than_parent.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/mark.html b/mark.html
    index 7e2eb0da8..051995eb3 100644
    --- a/mark.html
    +++ b/mark.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -386,7 +389,6 @@
     struct MarkTest {}
     // MARK:- Bad mark
     extension MarkTest {}
    -
     
    diff --git a/missing_docs.html b/missing_docs.html index 810a13154..20051f154 100644 --- a/missing_docs.html +++ b/missing_docs.html @@ -248,6 +248,9 @@ + @@ -326,14 +329,12 @@ } /// docs public class B: A { override public func b() {} } -
    import Foundation
     /// docs
     public class B: NSObject {
     // no docs
     override public var description: String { fatalError() } }
    -
     
    /// docs
     public class A {
    diff --git a/modifier_order.html b/modifier_order.html
    index 5d9555a5d..b82c49382 100644
    --- a/modifier_order.html
    +++ b/modifier_order.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -319,198 +322,192 @@
     
  • Default configuration: warning, preferred_modifier_order: [override, acl, setterACL, dynamic, mutators, lazy, final, required, convenience, typeMethods, owned]
  • Non Triggering Examples

    -
    public class Foo { 
    -   public convenience required init() {} 
    +
    public class Foo {
    +   public convenience required init() {}
     }
     
    -
    public class Foo { 
    -   public static let bar = 42 
    +
    public class Foo {
    +   public static let bar = 42
     }
     
    -
    public class Foo { 
    -   public static var bar: Int { 
    -       return 42   }}
    -
    -
    public class Foo { 
    -   public class var bar: Int { 
    -       return 42 
    -   } 
    +
    public class Foo {
    +   public static var bar: Int {
    +       return
    +   }
     }
     
    -
    public class Bar { 
    -   public class var foo: String { 
    -       return "foo" 
    -   } 
    -} 
    -public class Foo: Bar { 
    -   override public final class var foo: String { 
    -       return "bar" 
    -   } 
    +
    public class Foo {
    +   public class var bar: Int {
    +       return 42
    +   }
     }
     
    -
    open class Bar { 
    -   public var foo: Int? { 
    -       return 42 
    -   } 
    -} 
    -open class Foo: Bar { 
    -   override public var foo: Int? { 
    -       return 43 
    -   } 
    +
    public class Bar {
    +   public class var foo: String {
    +       return "foo"
    +   }
    +}
    +public class Foo: Bar {
    +   override public final class var foo: String {
    +       return "bar"
    +   }
     }
     
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   override open class func foo() -> Int { 
    -       return 43 
    -   } 
    +
    open class Bar {
    +   public var foo: Int? {
    +       return 42
    +   }
    +}
    +open class Foo: Bar {
    +   override public var foo: Int? {
    +       return 43
    +   }
     }
     
    -
    protocol Foo: class {} 
    -class Bar { 
    -    public private(set) weak var foo: Foo? 
    -} 
    -
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   override open class func foo() -> Int {
    +       return 43
    +   }
    +}
     
    -
    @objc 
    -public final class Foo: NSObject {} 
    -
    +
    protocol Foo: class {}
    +class Bar {
    +    public private(set) weak var foo: Foo?
    +}
     
    -
    @objcMembers 
    -public final class Foo: NSObject {} 
    -
    +
    @objc
    +public final class Foo: NSObject {}
     
    -
    @objc 
    -override public private(set) weak var foo: Bar? 
    -
    +
    @objcMembers
    +public final class Foo: NSObject {}
     
    -
    @objc 
    -public final class Foo: NSObject {} 
    -
    +
    @objc
    +override public private(set) weak var foo: Bar?
     
    -
    @objc 
    -open final class Foo: NSObject { 
    -   open weak var weakBar: NSString? = nil 
    +
    @objc
    +public final class Foo: NSObject {}
    +
    +
    @objc
    +open final class Foo: NSObject {
    +   open weak var weakBar: NSString? = nil
     }
     
    public final class Foo {}
     
    -
    class Bar { 
    -   func bar() {} 
    +
    class Bar {
    +   func bar() {}
     }
     
    -
    internal class Foo: Bar { 
    -   override internal func bar() {} 
    +
    internal class Foo: Bar {
    +   override internal func bar() {}
     }
     
    -
    public struct Foo { 
    -   internal weak var weakBar: NSObject? = nil 
    +
    public struct Foo {
    +   internal weak var weakBar: NSObject? = nil
     }
     
    -
    class Foo { 
    -   internal lazy var bar: String = "foo" 
    +
    class Foo {
    +   internal lazy var bar: String = "foo"
     }
     

    Triggering Examples

    -
    class Foo { 
    -   convenience required public init() {} 
    +
    class Foo {
    +   convenience required public init() {}
     }
     
    -
    public class Foo { 
    -   static public let bar = 42 
    +
    public class Foo {
    +   static public let bar = 42
     }
     
    -
    public class Foo { 
    -   static public var bar: Int { 
    -       return 42 
    -   } 
    -} 
    -
    -
    -
    public class Foo { 
    -   class public var bar: Int { 
    -       return 42 
    -   } 
    +
    public class Foo {
    +   static public var bar: Int {
    +       return 42
    +   }
     }
     
    -
    public class RootFoo { 
    -   class public var foo: String { 
    -       return "foo" 
    -   } 
    -} 
    -public class Foo: RootFoo { 
    -   override final class public var foo: String { 
    -       return "bar" 
    -   } 
    +
    public class Foo {
    +   class public var bar: Int {
    +       return 42
    +   }
     }
     
    -
    open class Bar { 
    -   public var foo: Int? { 
    -       return 42 
    -   } 
    -} 
    -open class Foo: Bar { 
    -    public override var foo: Int? { 
    -       return 43 
    -   } 
    +
    public class RootFoo {
    +   class public var foo: String {
    +       return "foo"
    +   }
    +}
    +public class Foo: RootFoo {
    +   override final class public var foo: String
    +       return "bar"
    +   }
     }
     
    -
    protocol Foo: class {} 
    -class Bar { 
    -    private(set) public weak var foo: Foo? 
    -} 
    -
    -
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   class open override func foo() -> Int { 
    -       return 43 
    -   } 
    +
    open class Bar {
    +   public var foo: Int? {
    +       return 42
    +   }
    +}
    +open class Foo: Bar {
    +    public override var foo: Int? {
    +       return 43
    +   }
     }
     
    -
    open class Bar { 
    -   open class func foo() -> Int { 
    -       return 42 
    -   } 
    -} 
    -class Foo: Bar { 
    -   open override class func foo() -> Int { 
    -       return 43 
    -   } 
    +
    protocol Foo: class {}
    +    class Bar {
    +        private(set) public weak var foo: Foo?
     }
     
    -
    @objc 
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   class open override func foo() -> Int {
    +       return 43
    +   }
    +}
    +
    +
    open class Bar {
    +   open class func foo() -> Int {
    +       return 42
    +   }
    +}
    +class Foo: Bar {
    +   open override class func foo() -> Int {
    +       return 43
    +   }
    +}
    +
    +
    @objc
     final public class Foo: NSObject {}
     
    -
    @objcMembers 
    +
    @objcMembers
     final public class Foo: NSObject {}
     
    -
    @objc 
    -final open class Foo: NSObject { 
    -   weak open var weakBar: NSString? = nil 
    +
    @objc
    +final open class Foo: NSObject {
    +   weak open var weakBar: NSString? = nil
     }
     
    -
    final public class Foo {} 
    -
    +
    final public class Foo {}
     
    -
    internal class Foo: Bar { 
    -   internal override func bar() {} 
    +
    internal class Foo: Bar {
    +   internal override func bar() {}
     }
     
    -
    public struct Foo { 
    -   weak internal var weakBar: NSObjetc? = nil 
    +
    public struct Foo {
    +   weak internal var weakBar: NSObjetc? = nil
     }
     
    -
    class Foo { 
    -   lazy internal var bar: String = "foo" 
    +
    class Foo {
    +   lazy internal var bar: String = "foo"
     }
     
    diff --git a/multiline_arguments.html b/multiline_arguments.html index 1e3d1a006..e8b7e6ed4 100644 --- a/multiline_arguments.html +++ b/multiline_arguments.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,6 @@
    foo()
     
    foo(
    -
     )
     
    foo { }
    diff --git a/multiline_arguments_brackets.html b/multiline_arguments_brackets.html
    index 458b3e6e0..79aa0f8c9 100644
    --- a/multiline_arguments_brackets.html
    +++ b/multiline_arguments_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/multiline_function_chains.html b/multiline_function_chains.html
    index 64a0338a1..2b302efa5 100644
    --- a/multiline_function_chains.html
    +++ b/multiline_function_chains.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/multiline_literal_brackets.html b/multiline_literal_brackets.html
    index 3ffa8b2a4..d64cf7932 100644
    --- a/multiline_literal_brackets.html
    +++ b/multiline_literal_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/multiline_parameters.html b/multiline_parameters.html
    index 37059320c..1ab97eeae 100644
    --- a/multiline_parameters.html
    +++ b/multiline_parameters.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/multiline_parameters_brackets.html b/multiline_parameters_brackets.html
    index 018997145..61399c019 100644
    --- a/multiline_parameters_brackets.html
    +++ b/multiline_parameters_brackets.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/multiple_closures_with_trailing_closure.html b/multiple_closures_with_trailing_closure.html
    index 04972c4ae..8e89e8f8d 100644
    --- a/multiple_closures_with_trailing_closure.html
    +++ b/multiple_closures_with_trailing_closure.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/nesting.html b/nesting.html
    index c01b3a4c6..e72cefc13 100644
    --- a/nesting.html
    +++ b/nesting.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -323,49 +326,49 @@
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    struct Class0 { struct Class1 {} }
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    enum Class0 { enum Class1 {} }
     
     
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -
     
    enum Enum0 { enum Enum1 { case Case } }
     
    @@ -380,19 +383,19 @@
    func func0() {
    -func func1() {
    -func func2() {
    -func func3() {
    -func func4() { func func5() {
    -func func6() {
    +    func func1() {
    +        func func2() {
    +            func func3() {
    +                func func4() {
    +                    func func5() {
    +                        func func6() {
    +                        }
    +                    }
    +                }
    +            }
    +        }
    +    }
     }
    -}
    -}
    -}
    -}
    -}
    -}
    -
     
    diff --git a/nimble_operator.html b/nimble_operator.html index 46c185ad3..930092aad 100644 --- a/nimble_operator.html +++ b/nimble_operator.html @@ -248,6 +248,9 @@ + diff --git a/no_extension_access_modifier.html b/no_extension_access_modifier.html index 04c97402a..ed7190008 100644 --- a/no_extension_access_modifier.html +++ b/no_extension_access_modifier.html @@ -248,6 +248,9 @@ + diff --git a/no_fallthrough_only.html b/no_fallthrough_only.html index c19686581..1a24e963a 100644 --- a/no_fallthrough_only.html +++ b/no_fallthrough_only.html @@ -248,6 +248,9 @@ + diff --git a/no_grouping_extension.html b/no_grouping_extension.html index 79200fa40..edbdc09b9 100644 --- a/no_grouping_extension.html +++ b/no_grouping_extension.html @@ -248,6 +248,9 @@ + diff --git a/no_space_in_method_call.html b/no_space_in_method_call.html index 9cbf72dc0..8df7fc592 100644 --- a/no_space_in_method_call.html +++ b/no_space_in_method_call.html @@ -248,6 +248,9 @@ + diff --git a/notification_center_detachment.html b/notification_center_detachment.html index 0efc96f2f..276a1316c 100644 --- a/notification_center_detachment.html +++ b/notification_center_detachment.html @@ -248,6 +248,9 @@ + @@ -319,27 +322,24 @@
  • Default configuration: warning
  • Non Triggering Examples

    -
    class Foo { 
    +
    class Foo {
        deinit {
            NotificationCenter.default.removeObserver(self)
        }
     }
    -
     
    -
    class Foo { 
    +
    class Foo {
        func bar() {
            NotificationCenter.default.removeObserver(otherObject)
        }
     }
    -
     

    Triggering Examples

    -
    class Foo { 
    +
    class Foo {
        func bar() {
            NotificationCenter.default.removeObserver(self)
        }
     }
    -
     
    diff --git a/nslocalizedstring_key.html b/nslocalizedstring_key.html index 105feeac9..ecce98dc1 100644 --- a/nslocalizedstring_key.html +++ b/nslocalizedstring_key.html @@ -248,6 +248,9 @@ + diff --git a/nslocalizedstring_require_bundle.html b/nslocalizedstring_require_bundle.html index 9a5a01c72..cf87ec007 100644 --- a/nslocalizedstring_require_bundle.html +++ b/nslocalizedstring_require_bundle.html @@ -248,6 +248,9 @@ + diff --git a/nsobject_prefer_isequal.html b/nsobject_prefer_isequal.html index 378741fef..4c133cf0e 100644 --- a/nsobject_prefer_isequal.html +++ b/nsobject_prefer_isequal.html @@ -248,6 +248,9 @@ + diff --git a/number_separator.html b/number_separator.html index 237fc9e01..afea468d9 100644 --- a/number_separator.html +++ b/number_separator.html @@ -248,6 +248,9 @@ + diff --git a/object_literal.html b/object_literal.html index 0c2fedf3e..75a093834 100644 --- a/object_literal.html +++ b/object_literal.html @@ -248,6 +248,9 @@ + diff --git a/opening_brace.html b/opening_brace.html index de35010ce..d1ea3206c 100644 --- a/opening_brace.html +++ b/opening_brace.html @@ -248,6 +248,9 @@ + diff --git a/operator_usage_whitespace.html b/operator_usage_whitespace.html index fbfeb3771..384f65427 100644 --- a/operator_usage_whitespace.html +++ b/operator_usage_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/operator_whitespace.html b/operator_whitespace.html index f76171994..d66214e3e 100644 --- a/operator_whitespace.html +++ b/operator_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/optional_enum_case_matching.html b/optional_enum_case_matching.html index 742b8536e..9868742f1 100644 --- a/optional_enum_case_matching.html +++ b/optional_enum_case_matching.html @@ -248,6 +248,9 @@ + diff --git a/orphaned_doc_comment.html b/orphaned_doc_comment.html index e2bde23bd..be007fb4f 100644 --- a/orphaned_doc_comment.html +++ b/orphaned_doc_comment.html @@ -248,6 +248,9 @@ + diff --git a/overridden_super_call.html b/overridden_super_call.html index 99414e8bf..b86e0c996 100644 --- a/overridden_super_call.html +++ b/overridden_super_call.html @@ -248,6 +248,9 @@ + @@ -324,7 +327,6 @@ super.viewWillAppear(animated) } } -
    class VC: UIViewController {
         override func viewWillAppear(_ animated: Bool) {
    @@ -333,28 +335,24 @@
             self.method2()
         }
     }
    -
     
    class VC: UIViewController {
         override func loadView() {
         }
     }
    -
     
    class Some {
         func viewWillAppear(_ animated: Bool) {
         }
     }
    -
     
    class VC: UIViewController {
         override func viewDidLoad() {
    -        defer {
    -            super.viewDidLoad()
    +    defer {
    +        super.viewDidLoad()
             }
         }
     }
    -
     

    Triggering Examples

    class VC: UIViewController {
    @@ -363,7 +361,6 @@
             self.method()
         }
     }
    -
     
    class VC: UIViewController {
         override func viewWillAppear(_ animated: Bool) {
    @@ -372,13 +369,11 @@
             super.viewWillAppear(animated)
         }
     }
    -
     
    class VC: UIViewController {
         override func didReceiveMemoryWarning() {
         }
     }
    -
     
    diff --git a/override_in_extension.html b/override_in_extension.html index 1457e4e72..38e56be19 100644 --- a/override_in_extension.html +++ b/override_in_extension.html @@ -248,6 +248,9 @@ + @@ -338,7 +341,6 @@ extension Foo { override var description: String { return "" } } -
    struct Foo {
         class Bar: NSObject {}
    @@ -346,7 +348,6 @@
     extension Foo.Bar {
         override var description: String { return "" }
     }
    -
     

    Triggering Examples

    extension Person {
    diff --git a/pattern_matching_keywords.html b/pattern_matching_keywords.html
    index 158856405..77d756f26 100644
    --- a/pattern_matching_keywords.html
    +++ b/pattern_matching_keywords.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/prefer_self_type_over_type_of_self.html b/prefer_self_type_over_type_of_self.html
    index f0848d822..a37df1e5f 100644
    --- a/prefer_self_type_over_type_of_self.html
    +++ b/prefer_self_type_over_type_of_self.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/prefixed_toplevel_constant.html b/prefixed_toplevel_constant.html
    index 244450cd0..dad748241 100644
    --- a/prefixed_toplevel_constant.html
    +++ b/prefixed_toplevel_constant.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/private_action.html b/private_action.html
    index 8b23dd144..9555654bb 100644
    --- a/private_action.html
    +++ b/private_action.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/private_outlet.html b/private_outlet.html
    index ee81907fa..af8352210 100644
    --- a/private_outlet.html
    +++ b/private_outlet.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/private_over_fileprivate.html b/private_over_fileprivate.html
    index 3e25615b0..3c32811de 100644
    --- a/private_over_fileprivate.html
    +++ b/private_over_fileprivate.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/private_unit_test.html b/private_unit_test.html
    index 66fe9922c..0683c398b 100644
    --- a/private_unit_test.html
    +++ b/private_unit_test.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -319,63 +322,74 @@
     
  • Default configuration: warning: XCTestCase
  • Non Triggering Examples

    -
    class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    "class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
    +
    +
    internal class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    internal class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    public class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    @objc private class FooTest: XCTestCase {
    +    @objc private func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +}
     
    -
    @objc private class FooTest: XCTestCase { @objc private func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    private class Foo: NSObject {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    private class Foo: NSObject { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    +
    private class Foo {
    +    func test1() {}
    +    internal func test2() {}
    +    public func test3() {}
    +}
     
    -
    private class Foo { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - }
    -
    -
    public class FooTest: XCTestCase { func test1(param: Int) {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1(param: Int) {}
    +}
     

    Triggering Examples

    -
    private class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    private class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    internal class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    internal class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    -
    public class FooTest: XCTestCase { func test1() {}
    - internal func test2() {}
    - public func test3() {}
    - private func test4() {}
    - }
    +
    public class FooTest: XCTestCase {
    +    func test1() {}
    +        internal func test2() {}
    +        public func test3() {}
    +        private func test4() {}
    +}
     
    diff --git a/prohibited_interface_builder.html b/prohibited_interface_builder.html index c1bc15bce..fd69db90a 100644 --- a/prohibited_interface_builder.html +++ b/prohibited_interface_builder.html @@ -248,6 +248,9 @@ + diff --git a/prohibited_super_call.html b/prohibited_super_call.html index 8ef1f5db3..36be14e4f 100644 --- a/prohibited_super_call.html +++ b/prohibited_super_call.html @@ -248,6 +248,9 @@ + diff --git a/protocol_property_accessors_order.html b/protocol_property_accessors_order.html index 7c5a0933f..4f5d196d4 100644 --- a/protocol_property_accessors_order.html +++ b/protocol_property_accessors_order.html @@ -248,6 +248,9 @@ + diff --git a/quick_discouraged_call.html b/quick_discouraged_call.html index 1b72b3545..40827d8af 100644 --- a/quick_discouraged_call.html +++ b/quick_discouraged_call.html @@ -248,6 +248,9 @@ + @@ -329,7 +332,6 @@ } } } -
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -353,7 +355,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +363,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -374,7 +374,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -383,7 +382,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -392,7 +390,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -401,7 +398,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -413,7 +409,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -422,7 +417,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -431,7 +425,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -443,21 +436,18 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fitBehavesLike("foo")
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xitBehavesLike("foo")
        }
     }
    -
     

    Triggering Examples

    class TotoTests {
    @@ -474,7 +464,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -483,7 +472,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -502,7 +490,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -523,7 +510,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -532,7 +518,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -541,7 +526,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -550,7 +534,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -559,7 +542,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -568,7 +550,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -580,7 +561,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -592,7 +572,6 @@
            }
        }
     }
    -
     
    diff --git a/quick_discouraged_focused_test.html b/quick_discouraged_focused_test.html index 8d3fcf320..f0ea073af 100644 --- a/quick_discouraged_focused_test.html +++ b/quick_discouraged_focused_test.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,7 @@
    class TotoTests: QuickSpec {
        override func spec() {
            describe("foo") {
    -           describe("bar") { } 
    +           describe("bar") { }
                context("bar") {
                    it("bar") { }
                }
    @@ -331,7 +334,6 @@
            }
        }
     }
    -
     

    Triggering Examples

    class TotoTests: QuickSpec {
    @@ -339,21 +341,18 @@
            fdescribe("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fcontext("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fit("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +361,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -371,7 +369,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -382,14 +379,12 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            fitBehavesLike("foo")
        }
     }
    -
     
    diff --git a/quick_discouraged_pending_test.html b/quick_discouraged_pending_test.html index 0f1fb1b25..b31ee88f4 100644 --- a/quick_discouraged_pending_test.html +++ b/quick_discouraged_pending_test.html @@ -248,6 +248,9 @@ + @@ -322,7 +325,7 @@
    class TotoTests: QuickSpec {
        override func spec() {
            describe("foo") {
    -           describe("bar") { } 
    +           describe("bar") { }
                context("bar") {
                    it("bar") { }
                }
    @@ -331,7 +334,6 @@
            }
        }
     }
    -
     

    Triggering Examples

    class TotoTests: QuickSpec {
    @@ -339,21 +341,18 @@
            xdescribe("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xcontext("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xit("foo") { }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -362,7 +361,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -371,7 +369,6 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
    @@ -382,21 +379,18 @@
            }
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            pending("foo")
        }
     }
    -
     
    class TotoTests: QuickSpec {
        override func spec() {
            xitBehavesLike("foo")
        }
     }
    -
     
    diff --git a/raw_value_for_camel_cased_codable_enum.html b/raw_value_for_camel_cased_codable_enum.html index 535f06ec6..c1a0c5f77 100644 --- a/raw_value_for_camel_cased_codable_enum.html +++ b/raw_value_for_camel_cased_codable_enum.html @@ -248,6 +248,9 @@ + diff --git a/reduce_boolean.html b/reduce_boolean.html index 5a5768b1f..f82267076 100644 --- a/reduce_boolean.html +++ b/reduce_boolean.html @@ -248,6 +248,9 @@ + diff --git a/reduce_into.html b/reduce_into.html index 933479c29..d0f10bae3 100644 --- a/reduce_into.html +++ b/reduce_into.html @@ -248,6 +248,9 @@ + diff --git a/redundant_discardable_let.html b/redundant_discardable_let.html index fa54caea7..c308f82fe 100644 --- a/redundant_discardable_let.html +++ b/redundant_discardable_let.html @@ -248,6 +248,9 @@ + diff --git a/redundant_nil_coalescing.html b/redundant_nil_coalescing.html index 9b2641594..8dd4d24ce 100644 --- a/redundant_nil_coalescing.html +++ b/redundant_nil_coalescing.html @@ -248,6 +248,9 @@ + diff --git a/redundant_objc_attribute.html b/redundant_objc_attribute.html index ec1f86cec..26e03748c 100644 --- a/redundant_objc_attribute.html +++ b/redundant_objc_attribute.html @@ -248,6 +248,9 @@ + diff --git a/redundant_optional_initialization.html b/redundant_optional_initialization.html index 65ac9a198..1ee75b3c9 100644 --- a/redundant_optional_initialization.html +++ b/redundant_optional_initialization.html @@ -248,6 +248,9 @@ + @@ -371,7 +374,7 @@
    var myVar: Optional<Int>=nil
    -
    +)
     
    func funcName() {
         var myVar: String? = nil
    diff --git a/redundant_set_access_control.html b/redundant_set_access_control.html
    index e4fc97d2f..f7f1784c8 100644
    --- a/redundant_set_access_control.html
    +++ b/redundant_set_access_control.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/redundant_string_enum_value.html b/redundant_string_enum_value.html
    index 29fa946d1..cb44bf3dd 100644
    --- a/redundant_string_enum_value.html
    +++ b/redundant_string_enum_value.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/redundant_type_annotation.html b/redundant_type_annotation.html
    index 86ffd643c..fd16a0f87 100644
    --- a/redundant_type_annotation.html
    +++ b/redundant_type_annotation.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/redundant_void_return.html b/redundant_void_return.html
    index 61b807ecd..2a75e493b 100644
    --- a/redundant_void_return.html
    +++ b/redundant_void_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -325,19 +328,19 @@
     
    func foo() -> Int {}
     
     
    -
    func foo() -> (Int) -> Void {}
    +
    func foo() -> Int -> Void {}
     
     
    func foo() -> VoidResponse
     
     
    -
    let foo: Int -> Void
    +
    let foo: (Int) -> Void
     
     
    -
    func foo() -> (Int) -> () {}
    +
    func foo() -> Int -> () {}
     
     
    -
    let foo: Int -> ()
    +
    let foo: (Int) -> ()
     
     
    func foo() -> ()?
    diff --git a/required_deinit.html b/required_deinit.html
    index 99acda654..c6ee9e379 100644
    --- a/required_deinit.html
    +++ b/required_deinit.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/required_enum_case.html b/required_enum_case.html
    index 0b60136b9..1bc88d80d 100644
    --- a/required_enum_case.html
    +++ b/required_enum_case.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -325,11 +328,11 @@
         {Case Name}:{warning|error}

    Non Triggering Examples

    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error, notConnected 
    +    case success, error, notConnected
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error, notConnected(error: Error) 
    +    case success, error, notConnected(error: Error)
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    @@ -346,11 +349,11 @@
     

    Triggering Examples

    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error 
    +    case success, error
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    -    case success, error 
    +    case success, error
     }
     
    enum MyNetworkResponse: String, NetworkResponsable {
    diff --git a/return_arrow_whitespace.html b/return_arrow_whitespace.html
    index 9c7ad5044..85d6fc2ff 100644
    --- a/return_arrow_whitespace.html
    +++ b/return_arrow_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/rule-directory.html b/rule-directory.html
    index 94227c20e..90dc8b7ff 100644
    --- a/rule-directory.html
    +++ b/rule-directory.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/search.json b/search.json
    index 6ff583b7a..597c4e955 100644
    --- a/search.json
    +++ b/search.json
    @@ -1 +1 @@
    -{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"

    Parses the input YAML string as an untyped dictionary.

    ","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"

    The string value for this version.

    ","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current SwiftLint version.

    ","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"

    Swift 3.x - https://swift.org/download/#swift-30

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"

    Swift 4.0.x - https://swift.org/download/#swift-40

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"

    Swift 4.1.x - https://swift.org/download/#swift-41

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"

    Swift 4.2.x - https://swift.org/download/#swift-42

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"

    Swift 5.0.x - https://swift.org/download/#swift-50

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"

    Swift 5.1.x - https://swift.org/download/#swift-51

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current detected Swift compiler version, based on the currently accessible SourceKit version.

    ","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"

    The syntax kind associated with is token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"

    The byte range in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"

    The starting byte offset in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"

    The length in bytes for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"

    The SwiftLint-specific syntax tokens for this syntax map.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionAA04RuleG0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"

    The severity of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"

    The justification for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"

    A printable description for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"

    Creates a StyleViolation by specifying its properties directly.

    ","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"

    The severity that should be assigned to the violation of this parameter’s value is met.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"

    The value to configure the rule.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"

    Creates a RuleParameter by specifying its properties directly.

    ","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"

    The rules contained in this list.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"

    The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"

    The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"

    The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"

    The RuleKind that best categorizes this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSaySSGvp":{"name":"nonTriggeringExamples","abstract":"

    Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSaySSGvp":{"name":"triggeringExamples","abstract":"

    Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyS2SGvp":{"name":"corrections","abstract":"

    Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"

    Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"

    The oldest version of the Swift compiler supported by this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"

    Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"

    The console-printable string for this description.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"

    All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSaySSGARSDyS2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"

    Creates a RuleDescription by specifying all its properties directly.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"

    The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"

    The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"

    All SwiftLint rule identifiers that are disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"

    Creates a Region by setting explicit values for all its properties.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"

    Whether the specific location is contained in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"

    Whether the specified rule is enabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"

    Whether the specified rule is disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"

    Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"

    The file path on disk for this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"

    The line offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"

    The character offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"

    A lossless printable description of this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"

    The file path for this location relative to the current working directory.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"

    Creates a Location by specifying its properties directly.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"

    Computes or retrieves style violations.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"

    Computes or retrieves style violations and the time spent executing each rule.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"

    Applies corrections for all rules to this file, returning performed corrections.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"

    Formats the file associated with this linter.

    ","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"

    Whether or not this linter will be used to collect information from several files.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"

    Creates a Linter by specifying its properties directly.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"

    Returns a linter capable of checking for violations after running each rule’s collection step.

    ","parent_name":"Linter"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule for which this correction was applied.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of the original violation that was corrected.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    The console-printable description for this correction.

    ","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"

    The command should only apply to the line preceding its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"

    The command should only apply to the same line as its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"

    The command should only apply to the line following its definition.

    ","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"

    The rule(s) associated with this command should be enabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"

    The rule(s) associated with this command should be disabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"

    The action (verb) that SwiftLint should perform when interpreting this command.

    ","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"

    The modifier for a command, used to modify its scope.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"

    The underlying SourceKitten dictionary.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"

    The cached substructure for this dictionary. Empty if there is no substructure.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"

    The kind of Swift expression represented by this dictionary, if it is an expression.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"

    The kind of Swift declaration represented by this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"

    The kind of Swift statement represented by this dictionary, if it is a statement.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"

    The accessibility level for this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"

    Swift source code should be indented using tabs.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"

    Swift source code should be indented using spaces with count spaces per indentation level.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"

    The default indentation style if none is explicitly provided.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"

    The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"

    Only enable the rules explicitly listed.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"

    Enable all available rules.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"

    Represents how a Configuration object can be configured with regards to rules.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"

    The standard file name to look for user-defined configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"

    The style to use when indenting Swift source code.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"

    Included paths to lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"

    Excluded paths to not lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"

    The identifier for the Reporter to use to report style violations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"

    The threshold for the number of warnings to tolerate before treating the lint as having failed.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"

    The root directory to search for nested configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"

    The absolute path from where this configuration was loaded from, if any.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"

    The location of the persisted cache to use whith this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"

    All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"

    Creates a Configuration by specifying its properties directly.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration with convenience parameters.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"

    Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"

    The style of indentation used in a Swift project.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"

    Returns the files that can be linted by SwiftLint in the specified parent path.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"

    Returns an array of file paths after removing the excluded paths as defined by this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"

    Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration value based on the specified parameters.

    ","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"

    Creates a RuleListDocumentation instance from a RuleList.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"

    Write the rule list documentation as markdown files to the specified directory.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"

    User-facing documentation for a SwiftLint RuleList.

    "},"Structs/Configuration.html":{"name":"Configuration","abstract":"

    The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.

    "},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"

    A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"

    A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.

    "},"Structs/Correction.html":{"name":"Correction","abstract":"

    A value describing a SwiftLint violation that was corrected.

    "},"Structs/Linter.html":{"name":"Linter","abstract":"

    Represents a file that can be linted for style violations and corrections after being collected.

    "},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"

    Represents a file that can compute style violations and corrections for a list of rules.

    "},"Structs/Location.html":{"name":"Location","abstract":"

    The placement of a segment of Swift in a collection of source files.

    "},"Structs/Region.html":{"name":"Region","abstract":"

    A contiguous region of Swift source code.

    "},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"

    A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.

    "},"Structs/RuleList.html":{"name":"RuleList","abstract":"

    A list of available SwiftLint rules.

    "},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"

    A configuration parameter for rules.

    "},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"

    A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.

    "},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"

    Represents a Swift file’s syntax information.

    "},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"

    A SwiftLint-aware Swift syntax token.

    "},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"

    A value describing the version of the Swift compiler.

    "},"Structs/Version.html":{"name":"Version","abstract":"

    A type describing the SwiftLint version.

    "},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"

    An interface for parsing YAML.

    "},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"

    Reports violations in SonarQube import format.

    "},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"

    Reports violations in the format Xcode uses to display in the IDE. (default)

    "},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    A human-readable description for this configuration and its applied values.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"

    Apply an untyped configuration to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether the specified configuration is equivalent to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"

    The kind of information to collect for each file being linted for this rule.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"

    Returns the substitution to apply for the given range.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"

    The type of configuration used to configure this rule.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"

    This rule’s configuration.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"

    A verbose description of many of this rule’s properties.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"

    A description of how this rule has been configured to run.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"

    A default initializer for rules. All rules need to be trivially initializable.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"

    Creates a rule by applying its configuration.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether or not the specified rule is equivalent to the current rule.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"

    Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"

    The unique identifier for this reporter.

    ","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"

    Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"

    Return a string with the report for the specified violations.

    ","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"

    The kind of token being recursed over.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"

    Get the kind from the specified dictionary.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"

    Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"

    Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"

    An interface for enumerating files that can be linted by SwiftLint.

    "},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"

    A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"

    An interface for reporting violations as strings.

    "},"Protocols/Rule.html":{"name":"Rule","abstract":"

    An executable value that can identify issues (violations) in Swift source code.

    "},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"

    A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.

    "},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"

    A rule that has unit tests automatically generated using Sourcery.

    "},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"

    A rule that is user-configurable.

    "},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"

    A rule that can correct violations.

    "},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"

    A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"

    A SubstitutionCorrectableRule that is also an ASTRule.

    "},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"

    A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.

    "},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"

    A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"

    Type-erased protocol used to check whether a rule is collectable.

    "},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"

    A rule that requires knowledge of all other files being linted.

    "},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"

    A CollectingRule that is also a CorrectableRule.

    "},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"

    A configuration value for a rule to allow users to modify its behavior.

    "},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"

    A thread-safe version of Swift’s standard print().

    "},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"

    A thread-safe, newline-terminated version of fputs(..., stderr).

    "},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"

    A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"

    Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"

    Returns a new string, converting the path to a canonical absolute path.

    ","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"

    Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"

    Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"

    The rule list contains more than one configuration for the specified rule.

    ","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"

    Describes rules that validate Swift source conventions.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"

    Describes rules that validate common practices in the Swift community.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"

    Describes rules that validate stylistic choices.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"

    Describes rules that validate magnitudes or measurements of Swift source.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"

    Describes rules that validate that code patterns with poor performance are avoided.

    ","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"

    Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"

    Represents a single SwiftLint rule with the specified identifier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"

    The spelling of the string for this idenfitier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"

    Creates a RuleIdentifier by its string representation.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"

    The configuration didn’t match internal expectations.

    ","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"

    Accessible by the declaration’s immediate lexical scope.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"

    Accessible by the declaration’s same file.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"

    Accessible by the declaration’s same module, or modules importing it with the @testable attribute.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"

    Accessible by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"

    Accessible and customizable (via subclassing or overrides) by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"

    A call to a named function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"

    An argument value for a function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"

    An Array expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"

    A Dictionary expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"

    An object literal expression. https://developer.apple.com/swift/blog/?id=33

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"

    A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"

    A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"

    The kind of expression for a contiguous set of Swift source tokens.

    "},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"

    The accessibility of a Swift source declaration.

    "},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"

    All possible configuration errors.

    "},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"

    An identifier representing a SwiftLint rule, or all rules.

    "},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"

    All the possible rule kinds (categories).

    "},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"

    All possible configuration errors.

    "},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"

    The magnitude of a StyleViolation.

    "},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"

    The rule list containing all available rules built into SwiftLint.

    "},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"

    Creates a RuleStorage with no initial stored data.

    ","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"

    Creates a LinterCache by specifying a SwiftLint configuration and a file manager.

    ","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"

    Persists the cache to disk.

    ","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"

    Creates a SwiftLintFile with a SourceKitten File.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"

    Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"

    The path on disk for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"

    The file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"

    A string view into the contents of this file optimized for string manipulation operations.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"

    The parsed lines for this file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"

    Invalidates all cached data for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"

    A unit of Swift source code, either on disk or in memory.

    "},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"

    A persisted cache for storing and retrieving linter results.

    "},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"

    A storage mechanism for aggregating the results of CollectingRules.

    "},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"

    Reports violations as a newline-separated string of comma-separated values (CSV).

    "},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"

    Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"

    Reports violations in the format that’s both fun and easy to read.

    "},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"

    Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.

    "},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"

    Reports violations as HTML.

    "},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"

    Reports violations as a JSON array.

    "},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"

    Reports violations as JUnit XML.

    "},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"

    Reports violations as markdown formated (with tables).

    "},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Global%20Variables.html":{"name":"Global Variables","abstract":"

    The following global variables are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file +{"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"XcodeReporter"},"Structs/XcodeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"XcodeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"SonarQubeReporter"},"Structs/SonarQubeReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"SonarQubeReporter"},"Structs/YamlParser.html#/s:18SwiftLintFramework10YamlParserV5parse_3envSDySSypGSS_SDyS2SGtKFZ":{"name":"parse(_:env:)","abstract":"

    Parses the input YAML string as an untyped dictionary.

    ","parent_name":"YamlParser"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV5valueSSvp":{"name":"value","abstract":"

    The string value for this version.

    ","parent_name":"Version"},"Structs/Version.html#/s:18SwiftLintFramework7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current SwiftLint version.

    ","parent_name":"Version"},"Structs/SwiftVersion.html#/s:SY8RawValueQa":{"name":"RawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValue03RawB0Qzvp":{"name":"rawValue","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SY8rawValuexSg03RawB0Qz_tcfc":{"name":"init(rawValue:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV5threeACvpZ":{"name":"three","abstract":"

    Swift 3.x - https://swift.org/download/#swift-30

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fourACvpZ":{"name":"four","abstract":"

    Swift 4.0.x - https://swift.org/download/#swift-40

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotOneACvpZ":{"name":"fourDotOne","abstract":"

    Swift 4.1.x - https://swift.org/download/#swift-41

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fourDotTwoACvpZ":{"name":"fourDotTwo","abstract":"

    Swift 4.2.x - https://swift.org/download/#swift-42

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV4fiveACvpZ":{"name":"five","abstract":"

    Swift 5.0.x - https://swift.org/download/#swift-50

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV10fiveDotOneACvpZ":{"name":"fiveDotOne","abstract":"

    Swift 5.1.x - https://swift.org/download/#swift-51

    ","parent_name":"SwiftVersion"},"Structs/SwiftVersion.html#/s:18SwiftLintFramework0A7VersionV7currentACvpZ":{"name":"current","abstract":"

    The current detected Swift compiler version, based on the currently accessible SourceKit version.

    ","parent_name":"SwiftVersion"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV4kind012SourceKittenC00D4KindOSgvp":{"name":"kind","abstract":"

    The syntax kind associated with is token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxToken from the raw SyntaxToken obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV5range012SourceKittenC09ByteRangeVvp":{"name":"range","abstract":"

    The byte range in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6offset012SourceKittenC09ByteCountVvp":{"name":"offset","abstract":"

    The starting byte offset in a source file for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxToken.html#/s:18SwiftLintFramework0aB11SyntaxTokenV6length012SourceKittenC09ByteCountVvp":{"name":"length","abstract":"

    The length in bytes for this token.

    ","parent_name":"SwiftLintSyntaxToken"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5value012SourceKittenC00dE0Vvp":{"name":"value","abstract":"

    The raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV6tokensSayAA0abD5TokenVGvp":{"name":"tokens","abstract":"

    The SwiftLint-specific syntax tokens for this syntax map.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/SwiftLintSyntaxMap.html#/s:18SwiftLintFramework0aB9SyntaxMapV5valueAC012SourceKittenC00dE0V_tcfc":{"name":"init(value:)","abstract":"

    Creates a SwiftLintSyntaxMap from the raw SyntaxMap obtained by SourceKitten.

    ","parent_name":"SwiftLintSyntaxMap"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV14ruleIdentifierSSvp":{"name":"ruleIdentifier","abstract":"

    The identifier of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescriptionSSvp":{"name":"ruleDescription","abstract":"

    The description of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8ruleNameSSvp":{"name":"ruleName","abstract":"

    The name of the rule that generated this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8severityAA0E8SeverityOvp":{"name":"severity","abstract":"

    The severity of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV6reasonSSvp":{"name":"reason","abstract":"

    The justification for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV11descriptionSSvp":{"name":"description","abstract":"

    A printable description for this violation.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV15ruleDescription8severity8location6reasonAcA04RuleG0V_AA0E8SeverityOAA8LocationVSSSgtcfc":{"name":"init(ruleDescription:severity:location:reason:)","abstract":"

    Creates a StyleViolation by specifying its properties directly.

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8severityAcA0E8SeverityO_tF":{"name":"with(severity:)","abstract":"

    Returns the same violation, but with the severity that is passed in

    ","parent_name":"StyleViolation"},"Structs/StyleViolation.html#/s:18SwiftLintFramework14StyleViolationV4with8locationAcA8LocationV_tF":{"name":"with(location:)","abstract":"

    Returns the same violation, but with the location that is passed in

    ","parent_name":"StyleViolation"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severityAA17ViolationSeverityOvp":{"name":"severity","abstract":"

    The severity that should be assigned to the violation of this parameter’s value is met.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV5valuexvp":{"name":"value","abstract":"

    The value to configure the rule.

    ","parent_name":"RuleParameter"},"Structs/RuleParameter.html#/s:18SwiftLintFramework13RuleParameterV8severity5valueACyxGAA17ViolationSeverityO_xtcfc":{"name":"init(severity:value:)","abstract":"

    Creates a RuleParameter by specifying its properties directly.

    ","parent_name":"RuleParameter"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV4listSDySSAA0D0_pXpGvp":{"name":"list","abstract":"

    The rules contained in this list.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesAcA0D0_pXpd_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleList.html#/s:18SwiftLintFramework8RuleListV5rulesACSayAA0D0_pXpG_tcfc":{"name":"init(rules:)","abstract":"

    Creates a RuleList by specifying all its rules.

    ","parent_name":"RuleList"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifierSSvp":{"name":"identifier","abstract":"

    The rule’s unique identifier, to be used in configuration files and SwiftLint commands.","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4nameSSvp":{"name":"name","abstract":"

    The rule’s human-readable name. Should be short, descriptive and formatted in Title Case. May contain spaces.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11descriptionSSvp":{"name":"description","abstract":"

    The rule’s verbose description. Should read as a sentence or short paragraph. Good things to include are an","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV4kindAA0D4KindOvp":{"name":"kind","abstract":"

    The RuleKind that best categorizes this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV21nonTriggeringExamplesSayAA7ExampleVGvp":{"name":"nonTriggeringExamples","abstract":"

    Swift source examples that do not trigger a violation for this rule. Used for documentation purposes to inform","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18triggeringExamplesSayAA7ExampleVGvp":{"name":"triggeringExamples","abstract":"

    Swift source examples that do trigger one or more violations for this rule. Used for documentation purposes to","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV11correctionsSDyAA7ExampleVAFGvp":{"name":"corrections","abstract":"

    Pairs of Swift source examples, where keys are examples that trigger violations for this rule, and the values","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV17deprecatedAliasesShySSGvp":{"name":"deprecatedAliases","abstract":"

    Any previous iteration of the rule’s identifier that was previously shipped with SwiftLint.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV03minA7VersionAA0aG0Vvp":{"name":"minSwiftVersion","abstract":"

    The oldest version of the Swift compiler supported by this rule.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV18requiresFileOnDiskSbvp":{"name":"requiresFileOnDisk","abstract":"

    Whether or not this rule can only be executed on a file physically on-disk. Typically necessary for rules","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV07consoleE0SSvp":{"name":"consoleDescription","abstract":"

    The console-printable string for this description.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV14allIdentifiersSaySSGvp":{"name":"allIdentifiers","abstract":"

    All identifiers that have been used to uniquely identify this rule in past and current SwiftLint versions.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:18SwiftLintFramework15RuleDescriptionV10identifier4name11description4kind03minA7Version21nonTriggeringExamples010triggeringN011corrections17deprecatedAliases18requiresFileOnDiskACSS_S2SAA0D4KindOAA0aK0VSayAA7ExampleVGATSDyA2SGShySSGSbtcfc":{"name":"init(identifier:name:description:kind:minSwiftVersion:nonTriggeringExamples:triggeringExamples:corrections:deprecatedAliases:requiresFileOnDisk:)","abstract":"

    Creates a RuleDescription by specifying all its properties directly.

    ","parent_name":"RuleDescription"},"Structs/RuleDescription.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"RuleDescription"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5startAA8LocationVvp":{"name":"start","abstract":"

    The location describing the start of the region. All locations that are less than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV3endAA8LocationVvp":{"name":"end","abstract":"

    The location describing the end of the region. All locations that are greater than this value","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV23disabledRuleIdentifiersShyAA0F10IdentifierOGvp":{"name":"disabledRuleIdentifiers","abstract":"

    All SwiftLint rule identifiers that are disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV5start3end23disabledRuleIdentifiersAcA8LocationV_AHShyAA0H10IdentifierOGtcfc":{"name":"init(start:end:disabledRuleIdentifiers:)","abstract":"

    Creates a Region by setting explicit values for all its properties.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV8containsySbAA8LocationVF":{"name":"contains(_:)","abstract":"

    Whether the specific location is contained in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV13isRuleEnabledySbAA0F0_pF":{"name":"isRuleEnabled(_:)","abstract":"

    Whether the specified rule is enabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV14isRuleDisabledySbAA0F0_pF":{"name":"isRuleDisabled(_:)","abstract":"

    Whether the specified rule is disabled in this region.

    ","parent_name":"Region"},"Structs/Region.html#/s:18SwiftLintFramework6RegionV26deprecatedAliasesDisabling4ruleShySSGAA4Rule_p_tF":{"name":"deprecatedAliasesDisabling(rule:)","abstract":"

    Returns the deprecated rule aliases that are disabling the specified rule in this region.","parent_name":"Region"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4fileSSSgvp":{"name":"file","abstract":"

    The file path on disk for this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4lineSiSgvp":{"name":"line","abstract":"

    The line offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV9characterSiSgvp":{"name":"character","abstract":"

    The character offset in the file for this location. 1-indexed.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV11descriptionSSvp":{"name":"description","abstract":"

    A lossless printable description of this location.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV12relativeFileSSSgvp":{"name":"relativeFile","abstract":"

    The file path for this location relative to the current working directory.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file4line9characterACSSSg_SiSgAHtcfc":{"name":"init(file:line:character:)","abstract":"

    Creates a Location by specifying its properties directly.

    ","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file10byteOffsetAcA0aB4FileC_012SourceKittenC09ByteCountVtcfc":{"name":"init(file:byteOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a byte-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:18SwiftLintFramework8LocationV4file15characterOffsetAcA0aB4FileC_Sitcfc":{"name":"init(file:characterOffset:)","abstract":"

    Creates a Location based on a SwiftLintFile and a UTF8 character-offset into the file.","parent_name":"Location"},"Structs/Location.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Location"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV15styleViolations5usingSayAA14StyleViolationVGAA11RuleStorageC_tF":{"name":"styleViolations(using:)","abstract":"

    Computes or retrieves style violations.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV27styleViolationsAndRuleTimes5usingSayAA14StyleViolationVG_SaySS2id_Sd4timetGtAA0I7StorageC_tF":{"name":"styleViolationsAndRuleTimes(using:)","abstract":"

    Computes or retrieves style violations and the time spent executing each rule.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV7correct5usingSayAA10CorrectionVGAA11RuleStorageC_tF":{"name":"correct(using:)","abstract":"

    Applies corrections for all rules to this file, returning performed corrections.

    ","parent_name":"CollectedLinter"},"Structs/CollectedLinter.html#/s:18SwiftLintFramework15CollectedLinterV6format7useTabs11indentWidthySb_SitF":{"name":"format(useTabs:indentWidth:)","abstract":"

    Formats the file associated with this linter.

    ","parent_name":"CollectedLinter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4fileAA0aB4FileCvp":{"name":"file","abstract":"

    The file to lint with this linter.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV12isCollectingSbvp":{"name":"isCollecting","abstract":"

    Whether or not this linter will be used to collect information from several files.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV4file13configuration5cache17compilerArgumentsAcA0aB4FileC_AA13ConfigurationVAA0D5CacheCSgSaySSGtcfc":{"name":"init(file:configuration:cache:compilerArguments:)","abstract":"

    Creates a Linter by specifying its properties directly.

    ","parent_name":"Linter"},"Structs/Linter.html#/s:18SwiftLintFramework6LinterV7collect4intoAA09CollectedD0VAA11RuleStorageC_tF":{"name":"collect(into:)","abstract":"

    Returns a linter capable of checking for violations after running each rule’s collection step.

    ","parent_name":"Linter"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4codeSSvp":{"name":"code","abstract":"

    The contents of the example

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4files12StaticStringVvp":{"name":"file","abstract":"

    The path to the file where the example was created

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4lineSuvp":{"name":"line","abstract":"

    The line in the file where the example was created

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV_4file4lineACSS_s12StaticStringVSutcfc":{"name":"init(_:file:line:)","abstract":"

    Create a new Example with the specified code, file, and line

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV4with4codeACSS_tF":{"name":"with(code:)","abstract":"

    Returns the same example, but with the code that is passed in

    ","parent_name":"Example"},"Structs/Example.html#/s:18SwiftLintFramework7ExampleV24removingViolationMarkersACyF":{"name":"removingViolationMarkers()","abstract":"

    Returns a copy of the Example with all instances of the “↓” character removed.

    ","parent_name":"Example"},"Structs/Example.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Example"},"Structs/Example.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Example"},"Structs/Example.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"Example"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV15ruleDescriptionAA04RuleF0Vvp":{"name":"ruleDescription","abstract":"

    The description of the rule for which this correction was applied.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV8locationAA8LocationVvp":{"name":"location","abstract":"

    The location of the original violation that was corrected.

    ","parent_name":"Correction"},"Structs/Correction.html#/s:18SwiftLintFramework10CorrectionV18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    The console-printable description for this correction.

    ","parent_name":"Correction"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO8previousyA2EmF":{"name":"previous","abstract":"

    The command should only apply to the line preceding its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4thisyA2EmF":{"name":"this","abstract":"

    The command should only apply to the same line as its definition.

    ","parent_name":"Modifier"},"Structs/Command/Modifier.html#/s:18SwiftLintFramework7CommandV8ModifierO4nextyA2EmF":{"name":"next","abstract":"

    The command should only apply to the line following its definition.

    ","parent_name":"Modifier"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO6enableyA2EmF":{"name":"enable","abstract":"

    The rule(s) associated with this command should be enabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html#/s:18SwiftLintFramework7CommandV6ActionO7disableyA2EmF":{"name":"disable","abstract":"

    The rule(s) associated with this command should be disabled by the SwiftLint engine.

    ","parent_name":"Action"},"Structs/Command/Action.html":{"name":"Action","abstract":"

    The action (verb) that SwiftLint should perform when interpreting this command.

    ","parent_name":"Command"},"Structs/Command/Modifier.html":{"name":"Modifier","abstract":"

    The modifier for a command, used to modify its scope.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV6action15ruleIdentifiers4line9character8modifier15trailingCommentA2C6ActionO_ShyAA14RuleIdentifierOGS2iSgAC8ModifierOSgSSSgtcfc":{"name":"init(action:ruleIdentifiers:line:character:modifier:trailingComment:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/Command.html#/s:18SwiftLintFramework7CommandV12actionString4line9characterACSgSS_S2itcfc":{"name":"init(actionString:line:character:)","abstract":"

    Creates a command based on the specified parameters.

    ","parent_name":"Command"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV5valueSDySS0deC00D16KitRepresentable_pGvp":{"name":"value","abstract":"

    The underlying SourceKitten dictionary.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV12substructureSayACGvp":{"name":"substructure","abstract":"

    The cached substructure for this dictionary. Empty if there is no substructure.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV14expressionKindAA0a10ExpressionH0OSgvp":{"name":"expressionKind","abstract":"

    The kind of Swift expression represented by this dictionary, if it is an expression.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV15declarationKind0deC00a11DeclarationH0OSgvp":{"name":"declarationKind","abstract":"

    The kind of Swift declaration represented by this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13statementKind0deC009StatementH0OSgvp":{"name":"statementKind","abstract":"

    The kind of Swift statement represented by this dictionary, if it is a statement.

    ","parent_name":"SourceKittenDictionary"},"Structs/SourceKittenDictionary.html#/s:18SwiftLintFramework22SourceKittenDictionaryV13accessibilityAA18AccessControlLevelOSgvp":{"name":"accessibility","abstract":"

    The accessibility level for this dictionary, if it is a declaration.

    ","parent_name":"SourceKittenDictionary"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO4tabsyA2EmF":{"name":"tabs","abstract":"

    Swift source code should be indented using tabs.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO6spacesyAESi_tcAEmF":{"name":"spaces(count:)","abstract":"

    Swift source code should be indented using spaces with count spaces per indentation level.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/IndentationStyle.html#/s:18SwiftLintFramework13ConfigurationV16IndentationStyleO7defaultAEvpZ":{"name":"default","abstract":"

    The default indentation style if none is explicitly provided.

    ","parent_name":"IndentationStyle"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO7defaultyAESaySSG_AGtcAEmF":{"name":"default(disabled:optIn:)","abstract":"

    The default rules mode, which will enable all rules that aren’t defined as being opt-in","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO11whitelistedyAESaySSGcAEmF":{"name":"whitelisted(_:)","abstract":"

    Only enable the rules explicitly listed.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html#/s:18SwiftLintFramework13ConfigurationV9RulesModeO10allEnabledyA2EmF":{"name":"allEnabled","abstract":"

    Enable all available rules.

    ","parent_name":"RulesMode"},"Structs/Configuration/RulesMode.html":{"name":"RulesMode","abstract":"

    Represents how a Configuration object can be configured with regards to rules.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8fileNameSSvpZ":{"name":"fileName","abstract":"

    The standard file name to look for user-defined configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV11indentationAC16IndentationStyleOvp":{"name":"indentation","abstract":"

    The style to use when indenting Swift source code.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8includedSaySSGvp":{"name":"included","abstract":"

    Included paths to lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8excludedSaySSGvp":{"name":"excluded","abstract":"

    Excluded paths to not lint.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8reporterSSvp":{"name":"reporter","abstract":"

    The identifier for the Reporter to use to report style violations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV16warningThresholdSiSgvp":{"name":"warningThreshold","abstract":"

    The threshold for the number of warnings to tolerate before treating the lint as having failed.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV8rootPathSSSgvp":{"name":"rootPath","abstract":"

    The root directory to search for nested configurations.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV17configurationPathSSSgvp":{"name":"configurationPath","abstract":"

    The absolute path from where this configuration was loaded from, if any.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9cachePathSSSgvp":{"name":"cachePath","abstract":"

    The location of the persisted cache to use whith this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV5rulesSayAA4Rule_pGvp":{"name":"rules","abstract":"

    All rules enabled in this configuration, derived from disabled, opt-in and whitelist rules

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV9rulesMode8included8excluded16warningThreshold8reporter8ruleList15configuredRules16swiftlintVersion9cachePath11indentation06customO11IdentifiersACSgAC0oF0O_SaySSGARSiSgSSAA04RuleM0VSayAA0W0_pGSgSSSgAyC16IndentationStyleOARtcfc":{"name":"init(rulesMode:included:excluded:warningThreshold:reporter:ruleList:configuredRules:swiftlintVersion:cachePath:indentation:customRulesIdentifiers:)","abstract":"

    Creates a Configuration by specifying its properties directly.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4path8rootPath8optional5quiet14enableAllRules05cacheG006customL11IdentifiersACSS_SSSgS3bAKSaySSGtcfc":{"name":"init(path:rootPath:optional:quiet:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration with convenience parameters.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV31withPrecomputedCacheDescriptionACyF":{"name":"withPrecomputedCacheDescription()","abstract":"

    Returns a copy of the current Configuration with its computedCacheDescription property set to the value of","parent_name":"Configuration"},"Structs/Configuration/IndentationStyle.html":{"name":"IndentationStyle","abstract":"

    The style of indentation used in a Swift project.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13lintableFiles6inPath12forceExcludeSayAA0aB4FileCGSS_SbtF":{"name":"lintableFiles(inPath:forceExclude:)","abstract":"

    Returns the files that can be linted by SwiftLint in the specified parent path.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV19filterExcludedPaths11fileManager2inSaySSGAA012LintableFileI0_p_AGdtF":{"name":"filterExcludedPaths(fileManager:in:)","abstract":"

    Returns an array of file paths after removing the excluded paths as defined by this configuration.

    ","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV13configuration3forAcA0aB4FileC_tF":{"name":"configuration(for:)","abstract":"

    Returns a new configuration that applies to the specified file by merging the current configuration with any","parent_name":"Configuration"},"Structs/Configuration.html#/s:18SwiftLintFramework13ConfigurationV4dict8ruleList14enableAllRules9cachePath06customJ11IdentifiersACSgSDySSypG_AA04RuleG0VSbSSSgSaySSGtcfc":{"name":"init(dict:ruleList:enableAllRules:cachePath:customRulesIdentifiers:)","abstract":"

    Creates a Configuration value based on the specified parameters.

    ","parent_name":"Configuration"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationVyAcA0dE0Vcfc":{"name":"init(_:)","abstract":"

    Creates a RuleListDocumentation instance from a RuleList.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html#/s:18SwiftLintFramework21RuleListDocumentationV5write2toy10Foundation3URLV_tKF":{"name":"write(to:)","abstract":"

    Write the rule list documentation as markdown files to the specified directory.

    ","parent_name":"RuleListDocumentation"},"Structs/RuleListDocumentation.html":{"name":"RuleListDocumentation","abstract":"

    User-facing documentation for a SwiftLint RuleList.

    "},"Structs/Configuration.html":{"name":"Configuration","abstract":"

    The configuration struct for SwiftLint. User-defined in the .swiftlint.yml file, drives the behavior of SwiftLint.

    "},"Structs/SourceKittenDictionary.html":{"name":"SourceKittenDictionary","abstract":"

    A collection of keys and values as parsed out of SourceKit, with many conveniences for accessing SwiftLint-specific"},"Structs/Command.html":{"name":"Command","abstract":"

    A SwiftLint-interpretable command to modify SwiftLint’s behavior embedded as comments in source code.

    "},"Structs/Correction.html":{"name":"Correction","abstract":"

    A value describing a SwiftLint violation that was corrected.

    "},"Structs/Example.html":{"name":"Example","abstract":"

    Captures code and context information for an example of a triggering or"},"Structs/Linter.html":{"name":"Linter","abstract":"

    Represents a file that can be linted for style violations and corrections after being collected.

    "},"Structs/CollectedLinter.html":{"name":"CollectedLinter","abstract":"

    Represents a file that can compute style violations and corrections for a list of rules.

    "},"Structs/Location.html":{"name":"Location","abstract":"

    The placement of a segment of Swift in a collection of source files.

    "},"Structs/Region.html":{"name":"Region","abstract":"

    A contiguous region of Swift source code.

    "},"Structs/RuleDescription.html":{"name":"RuleDescription","abstract":"

    A detailed description for a SwiftLint rule. Used for both documentation and testing purposes.

    "},"Structs/RuleList.html":{"name":"RuleList","abstract":"

    A list of available SwiftLint rules.

    "},"Structs/RuleParameter.html":{"name":"RuleParameter","abstract":"

    A configuration parameter for rules.

    "},"Structs/StyleViolation.html":{"name":"StyleViolation","abstract":"

    A value describing an instance of Swift source code that is considered invalid by a SwiftLint rule.

    "},"Structs/SwiftLintSyntaxMap.html":{"name":"SwiftLintSyntaxMap","abstract":"

    Represents a Swift file’s syntax information.

    "},"Structs/SwiftLintSyntaxToken.html":{"name":"SwiftLintSyntaxToken","abstract":"

    A SwiftLint-aware Swift syntax token.

    "},"Structs/SwiftVersion.html":{"name":"SwiftVersion","abstract":"

    A value describing the version of the Swift compiler.

    "},"Structs/Version.html":{"name":"Version","abstract":"

    A type describing the SwiftLint version.

    "},"Structs/YamlParser.html":{"name":"YamlParser","abstract":"

    An interface for parsing YAML.

    "},"Structs/SonarQubeReporter.html":{"name":"SonarQubeReporter","abstract":"

    Reports violations in SonarQube import format.

    "},"Structs/XcodeReporter.html":{"name":"XcodeReporter","abstract":"

    Reports violations in the format Xcode uses to display in the IDE. (default)

    "},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP18consoleDescriptionSSvp":{"name":"consoleDescription","abstract":"

    A human-readable description for this configuration and its applied values.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP5apply13configurationyyp_tKF":{"name":"apply(configuration:)","abstract":"

    Apply an untyped configuration to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/RuleConfiguration.html#/s:18SwiftLintFramework17RuleConfigurationP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether the specified configuration is equivalent to the current value.

    ","parent_name":"RuleConfiguration"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfo17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SDyAL0nJ0QzGSaySSGtF":{"name":"correct(file:collectedInfo:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework25CollectingCorrectableRuleP7correct4file13collectedInfoSayAA10CorrectionVGAA0aB4FileC_SDyAK0lJ0QzGtF":{"name":"correct(file:collectedInfo:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","parent_name":"CollectingCorrectableRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8FileInfoQa":{"name":"FileInfo","abstract":"

    The kind of information to collect for each file being linted for this rule.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for17compilerArguments04FileG0QzAA0abK0C_SaySSGtF":{"name":"collectInfo(for:compilerArguments:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP11collectInfo3for04FileG0QzAA0abI0C_tF":{"name":"collectInfo(for:)","abstract":"

    Collects information for the specified file, to be analyzed by a CollectedLinter.

    ","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfo17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SDyAL0nI0QzGSaySSGtF":{"name":"validate(file:collectedInfo:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework14CollectingRuleP8validate4file13collectedInfoSayAA14StyleViolationVGAA0aB4FileC_SDyAK0lI0QzGtF":{"name":"validate(file:collectedInfo:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"CollectingRule"},"Protocols/CollectingRule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","parent_name":"CollectingRule"},"Protocols/AnalyzerRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"AnalyzerRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework30SubstitutionCorrectableASTRuleP15violationRanges2in4kind10dictionarySaySo8_NSRangeVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"violationRanges(in:kind:dictionary:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableASTRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","parent_name":"SubstitutionCorrectableASTRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP15violationRanges2inSaySo8_NSRangeVGAA0aB4FileC_tF":{"name":"violationRanges(in:)","abstract":"

    Returns the NSString-based NSRanges to be replaced in the specified file.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework27SubstitutionCorrectableRuleP12substitution3for2inSo8_NSRangeV_SStSgAH_AA0aB4FileCtF":{"name":"substitution(for:in:)","abstract":"

    Returns the substitution to apply for the given range.

    ","parent_name":"SubstitutionCorrectableRule"},"Protocols/SubstitutionCorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","parent_name":"SubstitutionCorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_SaySSGtF":{"name":"correct(file:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4fileSayAA10CorrectionVGAA0aB4FileC_tF":{"name":"correct(file:)","abstract":"

    Attempts to correct the violations to this rule in the specified file.

    ","parent_name":"CorrectableRule"},"Protocols/CorrectableRule.html#/s:18SwiftLintFramework15CorrectableRuleP7correct4file5using17compilerArgumentsSayAA10CorrectionVGAA0aB4FileC_AA0E7StorageCSaySSGtF":{"name":"correct(file:using:compilerArguments:)","abstract":"

    Attempts to correct the violations to this rule in the specified file after collecting file info for all files","parent_name":"CorrectableRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP0D4TypeQa":{"name":"ConfigurationType","abstract":"

    The type of configuration used to configure this rule.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework25ConfigurationProviderRuleP13configuration0D4TypeQzvp":{"name":"configuration","abstract":"

    This rule’s configuration.

    ","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","parent_name":"ConfigurationProviderRule"},"Protocols/ConfigurationProviderRule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","parent_name":"ConfigurationProviderRule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11descriptionAA0D11DescriptionVvpZ":{"name":"description","abstract":"

    A verbose description of many of this rule’s properties.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP24configurationDescriptionSSvp":{"name":"configurationDescription","abstract":"

    A description of how this rule has been configured to run.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RulePxycfc":{"name":"init()","abstract":"

    A default initializer for rules. All rules need to be trivially initializable.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP13configurationxyp_tKcfc":{"name":"init(configuration:)","abstract":"

    Creates a rule by applying its configuration.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_SaySSGtF":{"name":"validate(file:compilerArguments:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","abstract":"

    Executes the rule on a file and returns any violations to the rule’s expectations.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP9isEqualToySbAaB_pF":{"name":"isEqualTo(_:)","abstract":"

    Whether or not the specified rule is equivalent to the current rule.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP11collectInfo3for4into17compilerArgumentsyAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"collectInfo(for:into:compilerArguments:)","abstract":"

    Collects information for the specified file in a storage object, to be analyzed by a CollectedLinter.

    ","parent_name":"Rule"},"Protocols/Rule.html#/s:18SwiftLintFramework4RuleP8validate4file5using17compilerArgumentsSayAA14StyleViolationVGAA0aB4FileC_AA0D7StorageCSaySSGtF":{"name":"validate(file:using:compilerArguments:)","abstract":"

    Executes the rule on a file after collecting file info for all files and returns any violations to the rule’s","parent_name":"Rule"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","abstract":"

    The unique identifier for this reporter.

    ","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","abstract":"

    Whether or not this reporter can output incrementally as violations are found or if all violations must be","parent_name":"Reporter"},"Protocols/Reporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","abstract":"

    Return a string with the report for the specified violations.

    ","parent_name":"Reporter"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8KindTypeQa":{"name":"KindType","abstract":"

    The kind of token being recursed over.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP8validate4file4kind10dictionarySayAA14StyleViolationVGAA0aB4FileC_8KindTypeQzAA22SourceKittenDictionaryVtF":{"name":"validate(file:kind:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRuleP4kind4from8KindTypeQzSgAA22SourceKittenDictionaryV_tF":{"name":"kind(from:)","abstract":"

    Get the kind from the specified dictionary.

    ","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework4RuleP8validate4fileSayAA14StyleViolationVGAA0aB4FileC_tF":{"name":"validate(file:)","parent_name":"ASTRule"},"Protocols/ASTRule.html#/s:18SwiftLintFramework7ASTRulePAAE8validate4file10dictionarySayAA14StyleViolationVGAA0aB4FileC_AA22SourceKittenDictionaryVtF":{"name":"validate(file:dictionary:)","abstract":"

    Executes the rule on a file and a subset of its AST structure, returnng any violations to the rule’s","parent_name":"ASTRule"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","abstract":"

    Returns all files that can be linted in the specified path. If the path is relative, it will be appended to the","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","abstract":"

    Returns the date when the file at the specified path was last modified. Returns nil if the file cannot be","parent_name":"LintableFileManager"},"Protocols/LintableFileManager.html":{"name":"LintableFileManager","abstract":"

    An interface for enumerating files that can be linted by SwiftLint.

    "},"Protocols/ASTRule.html":{"name":"ASTRule","abstract":"

    A rule that leverages the Swift source’s pre-typechecked Abstract Syntax Tree to recurse into the source’s"},"Protocols/Reporter.html":{"name":"Reporter","abstract":"

    An interface for reporting violations as strings.

    "},"Protocols/Rule.html":{"name":"Rule","abstract":"

    An executable value that can identify issues (violations) in Swift source code.

    "},"Protocols.html#/s:18SwiftLintFramework9OptInRuleP":{"name":"OptInRule","abstract":"

    A rule that is not enabled by default. Rules conforming to this need to be explicitly enabled by users.

    "},"Protocols.html#/s:18SwiftLintFramework21AutomaticTestableRuleP":{"name":"AutomaticTestableRule","abstract":"

    A rule that has unit tests automatically generated using Sourcery.

    "},"Protocols/ConfigurationProviderRule.html":{"name":"ConfigurationProviderRule","abstract":"

    A rule that is user-configurable.

    "},"Protocols/CorrectableRule.html":{"name":"CorrectableRule","abstract":"

    A rule that can correct violations.

    "},"Protocols/SubstitutionCorrectableRule.html":{"name":"SubstitutionCorrectableRule","abstract":"

    A correctable rule that can apply its corrections by replacing the content of ranges in the offending file with"},"Protocols/SubstitutionCorrectableASTRule.html":{"name":"SubstitutionCorrectableASTRule","abstract":"

    A SubstitutionCorrectableRule that is also an ASTRule.

    "},"Protocols.html#/s:18SwiftLintFramework17SourceKitFreeRuleP":{"name":"SourceKitFreeRule","abstract":"

    A rule that does not need SourceKit to operate and can still operate even after SourceKit has crashed.

    "},"Protocols/AnalyzerRule.html":{"name":"AnalyzerRule","abstract":"

    A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like"},"Protocols.html#/s:18SwiftLintFramework17AnyCollectingRuleP":{"name":"AnyCollectingRule","abstract":"

    Type-erased protocol used to check whether a rule is collectable.

    "},"Protocols/CollectingRule.html":{"name":"CollectingRule","abstract":"

    A rule that requires knowledge of all other files being linted.

    "},"Protocols/CollectingCorrectableRule.html":{"name":"CollectingCorrectableRule","abstract":"

    A CollectingRule that is also a CorrectableRule.

    "},"Protocols/RuleConfiguration.html":{"name":"RuleConfiguration","abstract":"

    A configuration value for a rule to allow users to modify its behavior.

    "},"Functions.html#/s:18SwiftLintFramework11queuedPrintyyxlF":{"name":"queuedPrint(_:)","abstract":"

    A thread-safe version of Swift’s standard print().

    "},"Functions.html#/s:18SwiftLintFramework16queuedPrintErroryySSF":{"name":"queuedPrintError(_:)","abstract":"

    A thread-safe, newline-terminated version of fputs(..., stderr).

    "},"Functions.html#/s:18SwiftLintFramework16queuedFatalError_4file4lines5NeverOSS_s12StaticStringVSutF":{"name":"queuedFatalError(_:file:line:)","abstract":"

    A thread-safe, newline-terminated version of fatalError(...) that doesn’t leak"},"Functions.html#/s:18SwiftLintFramework12reporterFrom10identifierAA8Reporter_pXpSS_tF":{"name":"reporterFrom(identifier:)","abstract":"

    Returns the reporter with the specified identifier. Traps if the specified identifier doesn’t correspond to any"},"Extensions/String.html#/s:SS18SwiftLintFrameworkE24absolutePathStandardizedSSyF":{"name":"absolutePathStandardized()","abstract":"

    Returns a new string, converting the path to a canonical absolute path.

    ","parent_name":"String"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP07filesToB06inPath13rootDirectorySaySSGSS_SSSgtF":{"name":"filesToLint(inPath:rootDirectory:)","parent_name":"FileManager"},"Extensions/FileManager.html#/s:18SwiftLintFramework19LintableFileManagerP16modificationDate03forE6AtPath10Foundation0H0VSgSS_tF":{"name":"modificationDate(forFileAtPath:)","parent_name":"FileManager"},"Extensions/FileManager.html":{"name":"FileManager"},"Extensions/String.html":{"name":"String"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO7warningyA2CmF":{"name":"warning","abstract":"

    Non-fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having succeeded.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:18SwiftLintFramework17ViolationSeverityO5erroryA2CmF":{"name":"error","abstract":"

    Fatal. If using SwiftLint as an Xcode build phase, Xcode will mark the build as having failed.

    ","parent_name":"ViolationSeverity"},"Enums/ViolationSeverity.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"ViolationSeverity"},"Enums/RuleListError.html#/s:18SwiftLintFramework13RuleListErrorO24duplicatedConfigurationsyAcA0D0_pXp_tcACmF":{"name":"duplicatedConfigurations(rule:)","abstract":"

    The rule list contains more than one configuration for the specified rule.

    ","parent_name":"RuleListError"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO4lintyA2CmF":{"name":"lint","abstract":"

    Describes rules that validate Swift source conventions.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO9idiomaticyA2CmF":{"name":"idiomatic","abstract":"

    Describes rules that validate common practices in the Swift community.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO5styleyA2CmF":{"name":"style","abstract":"

    Describes rules that validate stylistic choices.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO7metricsyA2CmF":{"name":"metrics","abstract":"

    Describes rules that validate magnitudes or measurements of Swift source.

    ","parent_name":"RuleKind"},"Enums/RuleKind.html#/s:18SwiftLintFramework8RuleKindO11performanceyA2CmF":{"name":"performance","abstract":"

    Describes rules that validate that code patterns with poor performance are avoided.

    ","parent_name":"RuleKind"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO3allyA2CmF":{"name":"all","abstract":"

    Special identifier that should be treated as referring to ‘all’ SwiftLint rules. One helpful usecase is in","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO6singleyACSS_tcACmF":{"name":"single(identifier:)","abstract":"

    Represents a single SwiftLint rule with the specified identifier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierO20stringRepresentationSSvp":{"name":"stringRepresentation","abstract":"

    The spelling of the string for this idenfitier.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:18SwiftLintFramework14RuleIdentifierOyACSScfc":{"name":"init(_:)","abstract":"

    Creates a RuleIdentifier by its string representation.

    ","parent_name":"RuleIdentifier"},"Enums/RuleIdentifier.html#/s:s26ExpressibleByStringLiteralP06stringD0x0cD4TypeQz_tcfc":{"name":"init(stringLiteral:)","parent_name":"RuleIdentifier"},"Enums/ConfigurationError.html#/s:18SwiftLintFramework18ConfigurationErrorO07unknownD0yA2CmF":{"name":"unknownConfiguration","abstract":"

    The configuration didn’t match internal expectations.

    ","parent_name":"ConfigurationError"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO7privateyA2CmF":{"name":"private","abstract":"

    Accessible by the declaration’s immediate lexical scope.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO11fileprivateyA2CmF":{"name":"fileprivate","abstract":"

    Accessible by the declaration’s same file.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO8internalyA2CmF":{"name":"internal","abstract":"

    Accessible by the declaration’s same module, or modules importing it with the @testable attribute.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO6publicyA2CmF":{"name":"public","abstract":"

    Accessible by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:18SwiftLintFramework18AccessControlLevelO4openyA2CmF":{"name":"open","abstract":"

    Accessible and customizable (via subclassing or overrides) by the declaration’s same program.

    ","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"AccessControlLevel"},"Enums/AccessControlLevel.html#/s:SL1loiySbx_xtFZ":{"name":"<(_:_:)","parent_name":"AccessControlLevel"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO4callyA2CmF":{"name":"call","abstract":"

    A call to a named function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO8argumentyA2CmF":{"name":"argument","abstract":"

    An argument value for a function or closure.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5arrayyA2CmF":{"name":"array","abstract":"

    An Array expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO10dictionaryyA2CmF":{"name":"dictionary","abstract":"

    A Dictionary expression.

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO13objectLiteralyA2CmF":{"name":"objectLiteral","abstract":"

    An object literal expression. https://developer.apple.com/swift/blog/?id=33

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO7closureyA2CmF":{"name":"closure","abstract":"

    A closure expression. https://docs.swift.org/swift-book/LanguageGuide/Closures.html

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html#/s:18SwiftLintFramework0A14ExpressionKindO5tupleyA2CmF":{"name":"tuple","abstract":"

    A tuple expression. https://docs.swift.org/swift-book/ReferenceManual/Types.html#ID448

    ","parent_name":"SwiftExpressionKind"},"Enums/SwiftExpressionKind.html":{"name":"SwiftExpressionKind","abstract":"

    The kind of expression for a contiguous set of Swift source tokens.

    "},"Enums/AccessControlLevel.html":{"name":"AccessControlLevel","abstract":"

    The accessibility of a Swift source declaration.

    "},"Enums/ConfigurationError.html":{"name":"ConfigurationError","abstract":"

    All possible configuration errors.

    "},"Enums/RuleIdentifier.html":{"name":"RuleIdentifier","abstract":"

    An identifier representing a SwiftLint rule, or all rules.

    "},"Enums/RuleKind.html":{"name":"RuleKind","abstract":"

    All the possible rule kinds (categories).

    "},"Enums/RuleListError.html":{"name":"RuleListError","abstract":"

    All possible configuration errors.

    "},"Enums/ViolationSeverity.html":{"name":"ViolationSeverity","abstract":"

    The magnitude of a StyleViolation.

    "},"Global%20Variables.html#/s:18SwiftLintFramework14masterRuleListAA0eF0Vvp":{"name":"masterRuleList","abstract":"

    The rule list containing all available rules built into SwiftLint.

    "},"Classes/RuleStorage.html#/s:18SwiftLintFramework11RuleStorageCACycfc":{"name":"init()","abstract":"

    Creates a RuleStorage with no initial stored data.

    ","parent_name":"RuleStorage"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC13configuration11fileManagerAcA13ConfigurationV_AA012LintableFileH0_ptcfc":{"name":"init(configuration:fileManager:)","abstract":"

    Creates a LinterCache by specifying a SwiftLint configuration and a file manager.

    ","parent_name":"LinterCache"},"Classes/LinterCache.html#/s:18SwiftLintFramework11LinterCacheC4saveyyKF":{"name":"save()","abstract":"

    Persists the cache to disk.

    ","parent_name":"LinterCache"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4fileAC012SourceKittenC00D0C_tcfc":{"name":"init(file:)","abstract":"

    Creates a SwiftLintFile with a SourceKitten File.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathACSgSS_tcfc":{"name":"init(path:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk.","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC20pathDeferringReadingACSS_tcfc":{"name":"init(pathDeferringReading:)","abstract":"

    Creates a SwiftLintFile by specifying its path on disk. Unlike the SwiftLintFile(path:) initializer, this","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsACSS_tcfc":{"name":"init(contents:)","abstract":"

    Creates a SwiftLintFile that is not backed by a file on disk by specifying its contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC4pathSSSgvp":{"name":"path","abstract":"

    The path on disk for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC8contentsSSvp":{"name":"contents","abstract":"

    The file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC10stringView012SourceKittenC006StringF0Vvp":{"name":"stringView","abstract":"

    A string view into the contents of this file optimized for string manipulation operations.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC5linesSay012SourceKittenC04LineVGvp":{"name":"lines","abstract":"

    The parsed lines for this file’s contents.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:18SwiftLintFramework0aB4FileC15invalidateCacheyyF":{"name":"invalidateCache()","abstract":"

    Invalidates all cached data for this file.

    ","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SQ2eeoiySbx_xtFZ":{"name":"==(_:_:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html#/s:SH4hash4intoys6HasherVz_tF":{"name":"hash(into:)","parent_name":"SwiftLintFile"},"Classes/SwiftLintFile.html":{"name":"SwiftLintFile","abstract":"

    A unit of Swift source code, either on disk or in memory.

    "},"Classes/LinterCache.html":{"name":"LinterCache","abstract":"

    A persisted cache for storing and retrieving linter results.

    "},"Classes/RuleStorage.html":{"name":"RuleStorage","abstract":"

    A storage mechanism for aggregating the results of CollectingRules.

    "},"static_operator.html":{"name":"static_operator"},"anyobject_protocol.html":{"name":"anyobject_protocol"},"override_in_extension.html":{"name":"override_in_extension"},"fallthrough.html":{"name":"fallthrough"},"redundant_set_access_control.html":{"name":"redundant_set_access_control"},"nsobject_prefer_isequal.html":{"name":"nsobject_prefer_isequal"},"explicit_init.html":{"name":"explicit_init"},"function_body_length.html":{"name":"function_body_length"},"vertical_parameter_alignment_on_call.html":{"name":"vertical_parameter_alignment_on_call"},"flatmap_over_map_reduce.html":{"name":"flatmap_over_map_reduce"},"custom_rules.html":{"name":"custom_rules"},"nslocalizedstring_require_bundle.html":{"name":"nslocalizedstring_require_bundle"},"line_length.html":{"name":"line_length"},"sorted_imports.html":{"name":"sorted_imports"},"sorted_first_last.html":{"name":"sorted_first_last"},"strict_fileprivate.html":{"name":"strict_fileprivate"},"let_var_whitespace.html":{"name":"let_var_whitespace"},"legacy_random.html":{"name":"legacy_random"},"function_parameter_count.html":{"name":"function_parameter_count"},"last_where.html":{"name":"last_where"},"operator_whitespace.html":{"name":"operator_whitespace"},"valid_ibinspectable.html":{"name":"valid_ibinspectable"},"closure_end_indentation.html":{"name":"closure_end_indentation"},"nslocalizedstring_key.html":{"name":"nslocalizedstring_key"},"explicit_acl.html":{"name":"explicit_acl"},"file_length.html":{"name":"file_length"},"private_outlet.html":{"name":"private_outlet"},"reduce_into.html":{"name":"reduce_into"},"trailing_comma.html":{"name":"trailing_comma"},"discouraged_optional_collection.html":{"name":"discouraged_optional_collection"},"prohibited_super_call.html":{"name":"prohibited_super_call"},"untyped_error_in_catch.html":{"name":"untyped_error_in_catch"},"multiline_literal_brackets.html":{"name":"multiline_literal_brackets"},"unused_closure_parameter.html":{"name":"unused_closure_parameter"},"private_action.html":{"name":"private_action"},"opening_brace.html":{"name":"opening_brace"},"strong_iboutlet.html":{"name":"strong_iboutlet"},"quick_discouraged_call.html":{"name":"quick_discouraged_call"},"file_types_order.html":{"name":"file_types_order"},"extension_access_modifier.html":{"name":"extension_access_modifier"},"object_literal.html":{"name":"object_literal"},"void_return.html":{"name":"void_return"},"trailing_whitespace.html":{"name":"trailing_whitespace"},"redundant_nil_coalescing.html":{"name":"redundant_nil_coalescing"},"contains_over_filter_count.html":{"name":"contains_over_filter_count"},"pattern_matching_keywords.html":{"name":"pattern_matching_keywords"},"duplicate_enum_cases.html":{"name":"duplicate_enum_cases"},"no_space_in_method_call.html":{"name":"no_space_in_method_call"},"explicit_top_level_acl.html":{"name":"explicit_top_level_acl"},"single_test_class.html":{"name":"single_test_class"},"unused_control_flow_label.html":{"name":"unused_control_flow_label"},"redundant_void_return.html":{"name":"redundant_void_return"},"cyclomatic_complexity.html":{"name":"cyclomatic_complexity"},"contains_over_first_not_nil.html":{"name":"contains_over_first_not_nil"},"unused_declaration.html":{"name":"unused_declaration"},"collection_alignment.html":{"name":"collection_alignment"},"discouraged_optional_boolean.html":{"name":"discouraged_optional_boolean"},"file_name.html":{"name":"file_name"},"required_deinit.html":{"name":"required_deinit"},"compiler_protocol_init.html":{"name":"compiler_protocol_init"},"explicit_self.html":{"name":"explicit_self"},"file_header.html":{"name":"file_header"},"legacy_cggeometry_functions.html":{"name":"legacy_cggeometry_functions"},"redundant_objc_attribute.html":{"name":"redundant_objc_attribute"},"generic_type_name.html":{"name":"generic_type_name"},"vertical_whitespace_closing_braces.html":{"name":"vertical_whitespace_closing_braces"},"legacy_constant.html":{"name":"legacy_constant"},"prefer_self_type_over_type_of_self.html":{"name":"prefer_self_type_over_type_of_self"},"private_over_fileprivate.html":{"name":"private_over_fileprivate"},"multiline_arguments_brackets.html":{"name":"multiline_arguments_brackets"},"redundant_type_annotation.html":{"name":"redundant_type_annotation"},"for_where.html":{"name":"for_where"},"closure_parameter_position.html":{"name":"closure_parameter_position"},"duplicate_imports.html":{"name":"duplicate_imports"},"prohibited_interface_builder.html":{"name":"prohibited_interface_builder"},"no_extension_access_modifier.html":{"name":"no_extension_access_modifier"},"no_fallthrough_only.html":{"name":"no_fallthrough_only"},"literal_expression_end_indentation.html":{"name":"literal_expression_end_indentation"},"discarded_notification_center_observer.html":{"name":"discarded_notification_center_observer"},"joined_default_parameter.html":{"name":"joined_default_parameter"},"block_based_kvo.html":{"name":"block_based_kvo"},"closure_spacing.html":{"name":"closure_spacing"},"unused_setter_value.html":{"name":"unused_setter_value"},"multiline_parameters_brackets.html":{"name":"multiline_parameters_brackets"},"notification_center_detachment.html":{"name":"notification_center_detachment"},"redundant_string_enum_value.html":{"name":"redundant_string_enum_value"},"trailing_semicolon.html":{"name":"trailing_semicolon"},"multiple_closures_with_trailing_closure.html":{"name":"multiple_closures_with_trailing_closure"},"nimble_operator.html":{"name":"nimble_operator"},"class_delegate_protocol.html":{"name":"class_delegate_protocol"},"unused_capture_list.html":{"name":"unused_capture_list"},"todo.html":{"name":"todo"},"number_separator.html":{"name":"number_separator"},"multiline_function_chains.html":{"name":"multiline_function_chains"},"vertical_whitespace_between_cases.html":{"name":"vertical_whitespace_between_cases"},"private_unit_test.html":{"name":"private_unit_test"},"empty_count.html":{"name":"empty_count"},"lower_acl_than_parent.html":{"name":"lower_acl_than_parent"},"syntactic_sugar.html":{"name":"syntactic_sugar"},"vertical_whitespace.html":{"name":"vertical_whitespace"},"unneeded_break_in_switch.html":{"name":"unneeded_break_in_switch"},"redundant_discardable_let.html":{"name":"redundant_discardable_let"},"toggle_bool.html":{"name":"toggle_bool"},"discouraged_direct_init.html":{"name":"discouraged_direct_init"},"required_enum_case.html":{"name":"required_enum_case"},"type_body_length.html":{"name":"type_body_length"},"unneeded_parentheses_in_closure_argument.html":{"name":"unneeded_parentheses_in_closure_argument"},"closing_brace.html":{"name":"closing_brace"},"missing_docs.html":{"name":"missing_docs"},"yoda_condition.html":{"name":"yoda_condition"},"type_name.html":{"name":"type_name"},"implicitly_unwrapped_optional.html":{"name":"implicitly_unwrapped_optional"},"overridden_super_call.html":{"name":"overridden_super_call"},"colon.html":{"name":"colon"},"xctfail_message.html":{"name":"xctfail_message"},"conditional_returns_on_newline.html":{"name":"conditional_returns_on_newline"},"inert_defer.html":{"name":"inert_defer"},"multiline_arguments.html":{"name":"multiline_arguments"},"indentation_width.html":{"name":"indentation_width"},"no_grouping_extension.html":{"name":"no_grouping_extension"},"function_default_parameter_at_end.html":{"name":"function_default_parameter_at_end"},"attributes.html":{"name":"attributes"},"nesting.html":{"name":"nesting"},"explicit_enum_raw_value.html":{"name":"explicit_enum_raw_value"},"vertical_whitespace_opening_braces.html":{"name":"vertical_whitespace_opening_braces"},"closure_body_length.html":{"name":"closure_body_length"},"quick_discouraged_pending_test.html":{"name":"quick_discouraged_pending_test"},"leading_whitespace.html":{"name":"leading_whitespace"},"type_contents_order.html":{"name":"type_contents_order"},"legacy_nsgeometry_functions.html":{"name":"legacy_nsgeometry_functions"},"enum_case_associated_values_count.html":{"name":"enum_case_associated_values_count"},"mark.html":{"name":"mark"},"empty_parentheses_with_trailing_closure.html":{"name":"empty_parentheses_with_trailing_closure"},"prefixed_toplevel_constant.html":{"name":"prefixed_toplevel_constant"},"redundant_optional_initialization.html":{"name":"redundant_optional_initialization"},"explicit_type_interface.html":{"name":"explicit_type_interface"},"force_try.html":{"name":"force_try"},"superfluous_disable_command.html":{"name":"superfluous_disable_command"},"force_cast.html":{"name":"force_cast"},"expiring_todo.html":{"name":"expiring_todo"},"unused_import.html":{"name":"unused_import"},"empty_string.html":{"name":"empty_string"},"identifier_name.html":{"name":"identifier_name"},"weak_delegate.html":{"name":"weak_delegate"},"multiline_parameters.html":{"name":"multiline_parameters"},"return_arrow_whitespace.html":{"name":"return_arrow_whitespace"},"array_init.html":{"name":"array_init"},"switch_case_on_newline.html":{"name":"switch_case_on_newline"},"empty_collection_literal.html":{"name":"empty_collection_literal"},"implicit_getter.html":{"name":"implicit_getter"},"control_statement.html":{"name":"control_statement"},"orphaned_doc_comment.html":{"name":"orphaned_doc_comment"},"switch_case_alignment.html":{"name":"switch_case_alignment"},"contains_over_filter_is_empty.html":{"name":"contains_over_filter_is_empty"},"fatal_error_message.html":{"name":"fatal_error_message"},"legacy_hashing.html":{"name":"legacy_hashing"},"optional_enum_case_matching.html":{"name":"optional_enum_case_matching"},"contains_over_range_nil_comparison.html":{"name":"contains_over_range_nil_comparison"},"dynamic_inline.html":{"name":"dynamic_inline"},"first_where.html":{"name":"first_where"},"empty_enum_arguments.html":{"name":"empty_enum_arguments"},"deployment_target.html":{"name":"deployment_target"},"legacy_multiple.html":{"name":"legacy_multiple"},"identical_operands.html":{"name":"identical_operands"},"unused_enumerated.html":{"name":"unused_enumerated"},"trailing_closure.html":{"name":"trailing_closure"},"comma.html":{"name":"comma"},"vertical_parameter_alignment.html":{"name":"vertical_parameter_alignment"},"is_disjoint.html":{"name":"is_disjoint"},"discouraged_object_literal.html":{"name":"discouraged_object_literal"},"operator_usage_whitespace.html":{"name":"operator_usage_whitespace"},"unused_optional_binding.html":{"name":"unused_optional_binding"},"xct_specific_matcher.html":{"name":"xct_specific_matcher"},"trailing_newline.html":{"name":"trailing_newline"},"raw_value_for_camel_cased_codable_enum.html":{"name":"raw_value_for_camel_cased_codable_enum"},"statement_position.html":{"name":"statement_position"},"empty_xctest_method.html":{"name":"empty_xctest_method"},"modifier_order.html":{"name":"modifier_order"},"force_unwrapping.html":{"name":"force_unwrapping"},"large_tuple.html":{"name":"large_tuple"},"implicit_return.html":{"name":"implicit_return"},"quick_discouraged_focused_test.html":{"name":"quick_discouraged_focused_test"},"reduce_boolean.html":{"name":"reduce_boolean"},"empty_parameters.html":{"name":"empty_parameters"},"unowned_variable_capture.html":{"name":"unowned_variable_capture"},"legacy_constructor.html":{"name":"legacy_constructor"},"file_name_no_space.html":{"name":"file_name_no_space"},"protocol_property_accessors_order.html":{"name":"protocol_property_accessors_order"},"shorthand_operator.html":{"name":"shorthand_operator"},"unavailable_function.html":{"name":"unavailable_function"},"convenience_type.html":{"name":"convenience_type"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"MarkdownReporter"},"Structs/MarkdownReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"MarkdownReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JUnitReporter"},"Structs/JUnitReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JUnitReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"JSONReporter"},"Structs/JSONReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"JSONReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"HTMLReporter"},"Structs/HTMLReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"HTMLReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"GitHubActionsLoggingReporter"},"Structs/GitHubActionsLoggingReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"GitHubActionsLoggingReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"EmojiReporter"},"Structs/EmojiReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"EmojiReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CheckstyleReporter"},"Structs/CheckstyleReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CheckstyleReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10identifierSSvpZ":{"name":"identifier","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP10isRealtimeSbvpZ":{"name":"isRealtime","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:s23CustomStringConvertibleP11descriptionSSvp":{"name":"description","parent_name":"CSVReporter"},"Structs/CSVReporter.html#/s:18SwiftLintFramework8ReporterP14generateReportySSSayAA14StyleViolationVGFZ":{"name":"generateReport(_:)","parent_name":"CSVReporter"},"Structs/CSVReporter.html":{"name":"CSVReporter","abstract":"

    Reports violations as a newline-separated string of comma-separated values (CSV).

    "},"Structs/CheckstyleReporter.html":{"name":"CheckstyleReporter","abstract":"

    Reports violations as XML conforming to the Checkstyle specification, as defined here:"},"Structs/EmojiReporter.html":{"name":"EmojiReporter","abstract":"

    Reports violations in the format that’s both fun and easy to read.

    "},"Structs/GitHubActionsLoggingReporter.html":{"name":"GitHubActionsLoggingReporter","abstract":"

    Reports violations in the format GitHub-hosted virtual machine for Actions can recognize as messages.

    "},"Structs/HTMLReporter.html":{"name":"HTMLReporter","abstract":"

    Reports violations as HTML.

    "},"Structs/JSONReporter.html":{"name":"JSONReporter","abstract":"

    Reports violations as a JSON array.

    "},"Structs/JUnitReporter.html":{"name":"JUnitReporter","abstract":"

    Reports violations as JUnit XML.

    "},"Structs/MarkdownReporter.html":{"name":"MarkdownReporter","abstract":"

    Reports violations as markdown formated (with tables).

    "},"rule-directory.html":{"name":"Rule Directory"},"Rules.html":{"name":"Rules"},"Reporters.html":{"name":"Reporters"},"Guides.html":{"name":"Guides","abstract":"

    The following guides are available globally.

    "},"Classes.html":{"name":"Classes","abstract":"

    The following classes are available globally.

    "},"Global%20Variables.html":{"name":"Global Variables","abstract":"

    The following global variables are available globally.

    "},"Enums.html":{"name":"Enumerations","abstract":"

    The following enumerations are available globally.

    "},"Extensions.html":{"name":"Extensions","abstract":"

    The following extensions are available globally.

    "},"Functions.html":{"name":"Functions","abstract":"

    The following functions are available globally.

    "},"Protocols.html":{"name":"Protocols","abstract":"

    The following protocols are available globally.

    "},"Structs.html":{"name":"Structures","abstract":"

    The following structures are available globally.

    "}} \ No newline at end of file diff --git a/shorthand_operator.html b/shorthand_operator.html index 2d1210050..679bba423 100644 --- a/shorthand_operator.html +++ b/shorthand_operator.html @@ -248,6 +248,9 @@ + diff --git a/single_test_class.html b/single_test_class.html index f2ac493b3..e0e1f5d3b 100644 --- a/single_test_class.html +++ b/single_test_class.html @@ -248,6 +248,9 @@ + @@ -331,30 +334,24 @@

    Triggering Examples

    class FooTests: QuickSpec {  }
     class BarTests: QuickSpec {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: QuickSpec {  }
     class TotoTests: QuickSpec {  }
    -
     
    class FooTests: XCTestCase {  }
     class BarTests: XCTestCase {  }
    -
     
    class FooTests: XCTestCase {  }
     class BarTests: XCTestCase {  }
     class TotoTests: XCTestCase {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: XCTestCase {  }
    -
     
    class FooTests: QuickSpec {  }
     class BarTests: XCTestCase {  }
     class TotoTests {  }
    -
     
    diff --git a/sorted_first_last.html b/sorted_first_last.html index b1031bc98..bb72b1190 100644 --- a/sorted_first_last.html +++ b/sorted_first_last.html @@ -248,6 +248,9 @@ + diff --git a/sorted_imports.html b/sorted_imports.html index 7e0e63a4b..b1c35e308 100644 --- a/sorted_imports.html +++ b/sorted_imports.html @@ -248,6 +248,9 @@ + diff --git a/statement_position.html b/statement_position.html index 6e6faf3e7..6f9095ab6 100644 --- a/statement_position.html +++ b/statement_position.html @@ -248,6 +248,9 @@ + diff --git a/static_operator.html b/static_operator.html index a9a7b8e5f..09ac67820 100644 --- a/static_operator.html +++ b/static_operator.html @@ -248,6 +248,9 @@ + diff --git a/strict_fileprivate.html b/strict_fileprivate.html index 798355404..6a7c034ab 100644 --- a/strict_fileprivate.html +++ b/strict_fileprivate.html @@ -248,6 +248,9 @@ + diff --git a/strong_iboutlet.html b/strong_iboutlet.html index ba3e5b35b..8ab85cbcc 100644 --- a/strong_iboutlet.html +++ b/strong_iboutlet.html @@ -248,6 +248,9 @@ + diff --git a/superfluous_disable_command.html b/superfluous_disable_command.html index f78e5d5e6..ce123fb71 100644 --- a/superfluous_disable_command.html +++ b/superfluous_disable_command.html @@ -248,6 +248,9 @@ + diff --git a/switch_case_alignment.html b/switch_case_alignment.html index 946744095..ad3f93b1c 100644 --- a/switch_case_alignment.html +++ b/switch_case_alignment.html @@ -248,6 +248,9 @@ + diff --git a/switch_case_on_newline.html b/switch_case_on_newline.html index 37bd42c66..cf40f3cc3 100644 --- a/switch_case_on_newline.html +++ b/switch_case_on_newline.html @@ -248,6 +248,9 @@ + @@ -347,104 +350,87 @@ }
    switch foo {
    -  case 1:
    +    case 1:
      return true
     }
    -
     
    switch foo {
    -  default:
    +    default:
      return true
     }
    -
     
    switch foo {
    -  case let value:
    +    case let value:
      return true
     }
    -
     
    switch foo {
    -  case .myCase: // error from network
    +    case .myCase: // error from network
      return true
     }
    -
     
    switch foo {
    -  case let .myCase(value) where value > 10:
    +    case let .myCase(value) where value > 10:
      return false
     }
    -
     
    switch foo {
    -  case let .myCase(value)
    +    case let .myCase(value)
      where value > 10:
      return false
     }
    -
     
    switch foo {
    -  case let .myCase(code: lhsErrorCode, description: _)
    +    case let .myCase(code: lhsErrorCode, description: _)
      where lhsErrorCode > 10:
    - return false
    +return false
     }
    -
     
    switch foo {
    -  case #selector(aFunction(_:)):
    +    case #selector(aFunction(_:)):
      return false
     
     }
    -
     

    Triggering Examples

    switch foo {
    -  case 1: return true
    +    case 1: return true
     }
    -
     
    switch foo {
    -  case let value: return true
    +    case let value: return true
     }
    -
     
    switch foo {
    -  default: return true
    +    default: return true
     }
    -
     
    switch foo {
    -  case "a string": return false
    +    case "a string": return false
     }
    -
     
    switch foo {
    -  case .myCase: return false // error from network
    +    case .myCase: return false // error from network
     }
    -
     
    switch foo {
    -  case let .myCase(value) where value > 10: return false
    +    case let .myCase(value) where value > 10: return false
     }
    -
     
    switch foo {
    -  case #selector(aFunction(_:)): return false
    +    case #selector(aFunction(_:)): return false
     
     }
    -
     
    switch foo {
    -  case let .myCase(value)
    +    case let .myCase(value)
      where value > 10: return false
     }
    -
     
    switch foo {
    -  case .first,
    +    case .first,
      .second: return false
     }
    -
     
    diff --git a/syntactic_sugar.html b/syntactic_sugar.html index ba33a426d..d9be57a3e 100644 --- a/syntactic_sugar.html +++ b/syntactic_sugar.html @@ -248,6 +248,9 @@ + diff --git a/todo.html b/todo.html index 551e7f5a0..2d1ebeadc 100644 --- a/todo.html +++ b/todo.html @@ -248,6 +248,9 @@ + diff --git a/toggle_bool.html b/toggle_bool.html index d27c56c6b..8f9d3b327 100644 --- a/toggle_bool.html +++ b/toggle_bool.html @@ -248,6 +248,9 @@ + diff --git a/trailing_closure.html b/trailing_closure.html index 3cec4dbd3..1004a36cd 100644 --- a/trailing_closure.html +++ b/trailing_closure.html @@ -248,6 +248,9 @@ + diff --git a/trailing_comma.html b/trailing_comma.html index 6a87fe51b..156fbbc09 100644 --- a/trailing_comma.html +++ b/trailing_comma.html @@ -248,6 +248,9 @@ + diff --git a/trailing_newline.html b/trailing_newline.html index 7420c57f2..6d58e75d2 100644 --- a/trailing_newline.html +++ b/trailing_newline.html @@ -248,6 +248,9 @@ + diff --git a/trailing_semicolon.html b/trailing_semicolon.html index d93493de0..c19bc2e81 100644 --- a/trailing_semicolon.html +++ b/trailing_semicolon.html @@ -248,6 +248,9 @@ + diff --git a/trailing_whitespace.html b/trailing_whitespace.html index 7d74bcff7..0f07962ff 100644 --- a/trailing_whitespace.html +++ b/trailing_whitespace.html @@ -248,6 +248,9 @@ + diff --git a/type_body_length.html b/type_body_length.html index 05204e415..7429e174d 100644 --- a/type_body_length.html +++ b/type_body_length.html @@ -248,6 +248,9 @@ + diff --git a/type_contents_order.html b/type_contents_order.html index 5337bf805..6f26172e9 100644 --- a/type_contents_order.html +++ b/type_contents_order.html @@ -248,6 +248,9 @@ + @@ -415,7 +418,7 @@ deinit { log.debug("deinit") - } + }, }

    Triggering Examples

    diff --git a/type_name.html b/type_name.html index cd05a2b99..d46d162f1 100644 --- a/type_name.html +++ b/type_name.html @@ -248,6 +248,9 @@ + diff --git a/unavailable_function.html b/unavailable_function.html index 533df2028..f9341e36f 100644 --- a/unavailable_function.html +++ b/unavailable_function.html @@ -248,6 +248,9 @@ + diff --git a/unneeded_break_in_switch.html b/unneeded_break_in_switch.html index 88b9336f5..a167b024c 100644 --- a/unneeded_break_in_switch.html +++ b/unneeded_break_in_switch.html @@ -248,6 +248,9 @@ + diff --git a/unneeded_parentheses_in_closure_argument.html b/unneeded_parentheses_in_closure_argument.html index a2901dbdf..3daf54c10 100644 --- a/unneeded_parentheses_in_closure_argument.html +++ b/unneeded_parentheses_in_closure_argument.html @@ -248,6 +248,9 @@ + diff --git a/unowned_variable_capture.html b/unowned_variable_capture.html index d6b4b39f7..68d223684 100644 --- a/unowned_variable_capture.html +++ b/unowned_variable_capture.html @@ -248,6 +248,9 @@ + diff --git a/untyped_error_in_catch.html b/untyped_error_in_catch.html index d12ed26f5..4117bad18 100644 --- a/untyped_error_in_catch.html +++ b/untyped_error_in_catch.html @@ -248,6 +248,9 @@ + diff --git a/unused_capture_list.html b/unused_capture_list.html index 42dcb42d1..a9e9268f0 100644 --- a/unused_capture_list.html +++ b/unused_capture_list.html @@ -248,6 +248,9 @@ + diff --git a/unused_closure_parameter.html b/unused_closure_parameter.html index 870be513f..858789a8d 100644 --- a/unused_closure_parameter.html +++ b/unused_closure_parameter.html @@ -248,6 +248,9 @@ + diff --git a/unused_control_flow_label.html b/unused_control_flow_label.html index 89401c2c8..34f607913 100644 --- a/unused_control_flow_label.html +++ b/unused_control_flow_label.html @@ -248,6 +248,9 @@ + diff --git a/unused_declaration.html b/unused_declaration.html index 1fcf970c4..8abfd0c4d 100644 --- a/unused_declaration.html +++ b/unused_declaration.html @@ -248,6 +248,9 @@ + diff --git a/unused_enumerated.html b/unused_enumerated.html index 5ef2ad6fe..c8cd2436c 100644 --- a/unused_enumerated.html +++ b/unused_enumerated.html @@ -248,6 +248,9 @@ + diff --git a/unused_import.html b/unused_import.html index 244914d99..5103cb494 100644 --- a/unused_import.html +++ b/unused_import.html @@ -248,6 +248,9 @@ + diff --git a/unused_optional_binding.html b/unused_optional_binding.html index ae2162a24..282ffd428 100644 --- a/unused_optional_binding.html +++ b/unused_optional_binding.html @@ -248,6 +248,9 @@ + diff --git a/unused_setter_value.html b/unused_setter_value.html index 4e739097a..9dbfd23ce 100644 --- a/unused_setter_value.html +++ b/unused_setter_value.html @@ -248,6 +248,9 @@ + diff --git a/valid_ibinspectable.html b/valid_ibinspectable.html index 25e748b55..89d92c4fd 100644 --- a/valid_ibinspectable.html +++ b/valid_ibinspectable.html @@ -248,6 +248,9 @@ + diff --git a/vertical_parameter_alignment.html b/vertical_parameter_alignment.html index 3583e10b4..b878a5ed4 100644 --- a/vertical_parameter_alignment.html +++ b/vertical_parameter_alignment.html @@ -248,6 +248,9 @@ + @@ -321,44 +324,35 @@

    Non Triggering Examples

    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary) -> [StyleViolation]
    -
     
    func foo(bar: Int)
    -
     
    -
    func foo(bar: Int) -> String 
    -
    +
    func foo(bar: Int) -> String
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                           dictionary: SourceKittenDictionary)
                           -> [StyleViolation]
    -
     
    func validateFunction(
        _ file: SwiftLintFile, kind: SwiftDeclarationKind,
        dictionary: SourceKittenDictionary) -> [StyleViolation]
    -
     
    func validateFunction(
        _ file: SwiftLintFile, kind: SwiftDeclarationKind,
        dictionary: SourceKittenDictionary
     ) -> [StyleViolation]
    -
     
    func regex(_ pattern: String,
                options: NSRegularExpression.Options = [.anchorsMatchLines,
                                                        .dotMatchesLineSeparators]) -> NSRegularExpression
    -
     
    func foo(a: Void,
              b: [String: String] =
    -           [:]) {
    +         [:]) {
     }
    -
     
    func foo(data: (size: CGSize,
                     identifier: String)) {}
    @@ -369,16 +363,13 @@
     

    Triggering Examples

    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                       dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile, kind: SwiftDeclarationKind,
                            dictionary: SourceKittenDictionary) { }
    -
     
    func validateFunction(_ file: SwiftLintFile,
                       kind: SwiftDeclarationKind,
                       dictionary: SourceKittenDictionary) { }
    -
     
    func foo(data: Data,
                 @ViewBuilder content: @escaping (Data.Element.IdentifiedValue) -> Content) {}
    diff --git a/vertical_parameter_alignment_on_call.html b/vertical_parameter_alignment_on_call.html
    index 32b399e82..438f0e7da 100644
    --- a/vertical_parameter_alignment_on_call.html
    +++ b/vertical_parameter_alignment_on_call.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/vertical_whitespace.html b/vertical_whitespace.html
    index 559241d1b..448367bf0 100644
    --- a/vertical_whitespace.html
    +++ b/vertical_whitespace.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/vertical_whitespace_between_cases.html b/vertical_whitespace_between_cases.html
    index 283bf66db..a398cf4ff 100644
    --- a/vertical_whitespace_between_cases.html
    +++ b/vertical_whitespace_between_cases.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/vertical_whitespace_closing_braces.html b/vertical_whitespace_closing_braces.html
    index dbe5421da..f4df2ff86 100644
    --- a/vertical_whitespace_closing_braces.html
    +++ b/vertical_whitespace_closing_braces.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/vertical_whitespace_opening_braces.html b/vertical_whitespace_opening_braces.html
    index b29cccbec..5f11ce3fe 100644
    --- a/vertical_whitespace_opening_braces.html
    +++ b/vertical_whitespace_opening_braces.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/void_return.html b/void_return.html
    index 9fcfdb6f8..8be427f45 100644
    --- a/void_return.html
    +++ b/void_return.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/weak_delegate.html b/weak_delegate.html
    index eb9ead0b1..0cf5f048a 100644
    --- a/weak_delegate.html
    +++ b/weak_delegate.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    diff --git a/xct_specific_matcher.html b/xct_specific_matcher.html
    index 953200109..5ef33c3aa 100644
    --- a/xct_specific_matcher.html
    +++ b/xct_specific_matcher.html
    @@ -248,6 +248,9 @@
                   
    +              
                   
    @@ -349,7 +352,7 @@
     
    XCTAssertEqual(2, foo)
     
    -
    XCTAssertNotEqual("false", foo)
    +
    XCTAssertNotEqual("false"), foo)
     
    XCTAssertEqual(false, foo?.bar)
     
    diff --git a/xctfail_message.html b/xctfail_message.html index 3e0e3d38b..41b0078f6 100644 --- a/xctfail_message.html +++ b/xctfail_message.html @@ -248,6 +248,9 @@ + diff --git a/yoda_condition.html b/yoda_condition.html index 64df0662b..0c8f32ee8 100644 --- a/yoda_condition.html +++ b/yoda_condition.html @@ -248,6 +248,9 @@ +