Skip to main content

Module linters

Module linters 

Source
Expand description

Utilities to handle linters output Linter parsing helpers.

Structsยง

Position ๐Ÿ”’
Line/column pair (1-based as emitted by sqruff).
Range ๐Ÿ”’
Source span covering the offending text range.
SqruffMessage ๐Ÿ”’
Single sqruff lint message entry.
SqruffOutput ๐Ÿ”’
Parsed sqruff top-level output structure.

Functionsยง

diagnostic_dict_from_msg ๐Ÿ”’
Convert a single SqruffMessage into an Nvim [Dictionary].
dict
[Dictionary] of linters parsers.
parser ๐Ÿ”’
Parse raw sqruff JSON output into Nvim diagnostic [Dictionary].