lintengine

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: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileDiagnostics

type FileDiagnostics struct {
	Path        string
	Diagnostics []protocol.Diagnostic
}

type Options

type Options struct {
	Paths       []string
	WorkingDir  string
	ConfigPath  string
	RulesetPath string
	Engines     []string

	MinSeverity   protocol.DiagnosticSeverity
	NoExternalLSP bool // Deprecated compatibility flag; Telescope no longer spawns external YAML/JSON LSPs.

	Include       []string
	Exclude       []string
	TargetVersion string
}

type RunResult

type RunResult struct {
	Workspace string
	Files     []string
	Results   []FileDiagnostics
}

func Run

func Run(ctx context.Context, opts Options, logger *slog.Logger) (*RunResult, error)

Jump to

Keyboard shortcuts

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