Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { DisableAll bool // NOTE: Deprecated, soon be removed from golangci-lint. EnableAll bool // A map to indicate which linters are enabled. Linters map[string]Linter }
Config is part of configuration for golangci-lint, especially regarding linters.
type Linter ¶
type Linter struct {
// contains filtered or unexported fields
}
Linter represents a linter available on golangci-lint.
func NewLinters ¶
func NewLinters(linters []report.LinterData) []Linter
NewLinters converts LinterData represented internally into the opinionated Linter.
func (*Linter) EnabledByConfig ¶
Click to show internal directories.
Click to hide internal directories.