We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
convention
1 parent cb0a0fc commit 21c122fCopy full SHA for 21c122f
Sources/SwiftFormatCore/Finding.swift
@@ -17,6 +17,7 @@ public struct Finding {
17
case warning
18
case error
19
case refactoring
20
+ case convention
21
}
22
23
/// The file path and location in that file where a finding was encountered.
Sources/swift-format/Utilities/DiagnosticsEngine.swift
@@ -117,6 +117,7 @@ final class DiagnosticsEngine {
117
case .error: severity = .error
118
case .warning: severity = .warning
119
case .refactoring: severity = .warning
120
+ case .convention: severity = .warning
121
122
return Diagnostic(
123
severity: severity,
0 commit comments