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 @@ -97,8 +97,7 @@ public final class SwiftLinter {
9797 // If the file or input string is completely empty, do nothing. This prevents even a trailing
9898 // newline from being diagnosed for an empty file. (This is consistent with clang-format, which
9999 // also does not touch an empty file even if the setting to add trailing newlines is enabled.)
100- guard !source. isEmpty else { return }
101-
100+ guard !source. isEmpty else { return }
102101 let sourceFile = try parseAndEmitDiagnostics (
103102 source: source,
104103 operatorTable: . standardOperators,
You can’t perform that action at this time.
0 commit comments