linter

package
v0.0.0-...-8de7dcd Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileFactory

type FileFactory func(filename string) protoreflect.Message

type Linter

type Linter struct {
	// contains filtered or unexported fields
}

func New

func New(parser *bcl.Parser, fileFactory FileFactory) *Linter

func NewGeneric

func NewGeneric() *Linter

func (*Linter) LintFile

func (l *Linter) LintFile(ctx context.Context, req *lsp.FileRequest) ([]lsp.Diagnostic, error)

Jump to

Keyboard shortcuts

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