A single problem Harper found in a piece of text.
Fields:
:start,:end— UTF-16 code-unit offsets into the linted string, end-exclusive. SeeHarperfor why UTF-16.:message— human-readable description of the problem.:kind— category string from harper-core'sLintKind(e.g."Spelling","Agreement","WordChoice"); useful for grouping or styling in a UI.:priority— importance, lower is more important.:suggestions— zero or moreHarper.Suggestionedits that resolve it.
Summary
Types
@type t() :: %Harper.Lint{ end: non_neg_integer(), kind: String.t(), message: String.t(), priority: non_neg_integer(), start: non_neg_integer(), suggestions: [Harper.Suggestion.t()] }