Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissedSetup = errors.New("setup was not called first")
ErrMissedSetup is returned when a linter wasn't setup before running or cleaning up
Functions ¶
This section is empty.
Types ¶
type LintNoop ¶
type LintNoop struct {
Type string `json:"type" yaml:"type" jsonschema:"a linter type to do nothing"`
// contains filtered or unexported fields
}
LintNoop performs no operations, as a template implementation of cries' linter.Linter
func WithSleep ¶ added in v1.0.6
WithSleep creates a new LintNoop with the given sleep duration - useful for
Click to show internal directories.
Click to hide internal directories.