Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
Runner will handle parallel runs of linters
func (*Runner) LintFileList ¶
LintFileList simply takes a single Linter and runs it for each file
Click to show internal directories.
Click to hide internal directories.