lint

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL