File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 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
2424/// Holds the complete set of configured values and defaults.
2525public struct Configuration : Codable , Equatable {
2626
27-
2827 private enum CodingKeys : CodingKey {
2928 case version
3029 case maximumBlankLines
Original file line number Diff line number Diff line change @@ -92,8 +92,7 @@ public final class SwiftLinter {
9292 // If the file or input string is completely empty, do nothing. This prevents even a trailing
9393 // newline from being diagnosed for an empty file. (This is consistent with clang-format, which
9494 // 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 }
9796 let sourceFile = try parseAndEmitDiagnostics (
9897 source: source,
9998 operatorTable: . standardOperators,
You can’t perform that action at this time.
0 commit comments