File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ internal let highestSupportedConfigurationVersion = 1
24
24
/// Holds the complete set of configured values and defaults.
25
25
public struct Configuration : Codable , Equatable {
26
26
27
-
28
27
private enum CodingKeys : CodingKey {
29
28
case version
30
29
case maximumBlankLines
Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ public final class SwiftLinter {
92
92
// If the file or input string is completely empty, do nothing. This prevents even a trailing
93
93
// newline from being diagnosed for an empty file. (This is consistent with clang-format, which
94
94
// also does not touch an empty file even if the setting to add trailing newlines is enabled.)
95
- guard !source. isEmpty else { return }
96
-
95
+ guard !source. isEmpty else { return }
97
96
let sourceFile = try parseAndEmitDiagnostics (
98
97
source: source,
99
98
operatorTable: . standardOperators,
You can’t perform that action at this time.
0 commit comments