Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Language ¶
Language is used to associate a file pattern with the relevant tools to check and format
type Linter ¶
type Linter interface {
Name() string
WillRun() error
Cleanup(wg *sync.WaitGroup)
MaxConcurrency() int
Run(filePath string, rep chan Report)
}
Linter is a simple interface to enable a setup and check using WillRun before executing multiple Run's
type Runner ¶ added in v0.20.8
Runner will handle parallel runs of linters
func (*Runner) LintFileList ¶ added in v0.20.8
LintFileList simply takes a single Linter and runs it for each file
Click to show internal directories.
Click to hide internal directories.