A diagnostic returned by Markup.Carve.lint/2.
rule is carve-rs's stable rule id, e.g. "unattached-block-attribute", and
severity its catalog severity ("warning", "info", ...). line and
column are 1-based. start_offset and end_offset are 0-based UTF-8
byte offsets into the linted source, end exclusive, so the flagged text is
binary_part(source, w.start_offset, w.end_offset - w.start_offset). A
diagnostic about the whole document has no range, and these are nil.
Summary
Types
@type t() :: %Markup.Carve.LintWarning{ column: pos_integer() | nil, end_offset: non_neg_integer() | nil, line: pos_integer() | nil, message: String.t(), rule: String.t(), severity: String.t(), start_offset: non_neg_integer() | nil }