Documentation
¶
Index ¶
Constants ¶
View Source
const IgnoreComment = "x-telescope-ignore"
IgnoreComment is the comment prefix used to suppress rules inline.
Variables ¶
This section is empty.
Functions ¶
func FilterIgnored ¶
func FilterIgnored(diags []protocol.Diagnostic, text string) []protocol.Diagnostic
FilterIgnored removes diagnostics that have been suppressed by inline comments. Lines containing "x-telescope-ignore" or "x-telescope-ignore: rule-id" suppress diagnostics on the following line.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.