Diagnostic
data class Diagnostic(val from: DocPos, val to: DocPos, val severity: Severity, val message: String, val source: String? = null, val actions: List<Action> = emptyList())
A diagnostic message attached to a range in the document.
Parameters
from
Start of the problematic range.
to
End of the problematic range.
severity
The severity level.
message
Human-readable description of the issue.
source
Optional name of the lint source (e.g. "eslint").
actions
Optional quick-fix actions.