Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Linter ¶
type Linter struct { *loader.Loader Err scanner.ErrorList // contains filtered or unexported fields }
Linter is a struct that holds the state of the linter.
func (Linter) PrintErrors ¶
PrintErrors print the errors the linter accumulated and returns the amount of errors that have been printed.
Click to show internal directories.
Click to hide internal directories.