Skip to content

Commit

Permalink
Refactor a rule disable command
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsim authored and Daniel.Metzing committed Aug 14, 2018
1 parent f8449b5 commit 97f670d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,10 @@ public struct MultilineArgumentsConfiguration: RuleConfiguration, Equatable {
private(set) var onlyEnforceAfterFirstClosureOnFirstLine = false

public var consoleDescription: String {
// swiftlint:disable line_length
return severityConfiguration.consoleDescription +
", \(ConfigurationKey.firstArgumentLocation.rawValue): \(firstArgumentLocation.rawValue)" +
", \(ConfigurationKey.onlyEnforceAfterFirstClosureOnFirstLine.rawValue): \(onlyEnforceAfterFirstClosureOnFirstLine)"
// swiftlint:enable line_length
// swiftlint:disable:previous line_length
}

public mutating func apply(configuration: Any) throws {
Expand Down

0 comments on commit 97f670d

Please sign in to comment.