Skip to content

Commit 0b89248

Browse files
authored
Report lint/breaking check results as DiagnosticSeverityWarning in LSP (#3710)
1 parent 1ce3aac commit 0b89248

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

private/buf/buflsp/file.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ func (f *file) appendLintErrors(source string, err error) bool {
744744
},
745745
},
746746
Code: annotation.Type(),
747-
Severity: protocol.DiagnosticSeverityError,
747+
Severity: protocol.DiagnosticSeverityWarning,
748748
Source: source,
749749
Message: annotation.Message(),
750750
})

0 commit comments

Comments
 (0)