Documentation
¶
Overview ¶
Package checks assembles every check stickler can run: the tools declared as data, plus the native checks stickler implements itself.
It is the one place the native checks are named. Both domain verbs — the lint pass and the instructions document — must run over exactly the same set, or a repository could be checked against rules the instructions never mention. The natives are INJECTED into the runner registry here rather than registered inside internal/runner, which is what keeps that package from depending on the check packages that depend on it.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build( command runner.Command, resolved config.Resolved, repoRoot config.RepoRoot, ) ([]suite.Runner, []runner.Skipped, error)
Build assembles the runners this repository's configuration selects, and names the ones it skipped for want of what they require -- golangci-lint in a tree with no go.mod, and any tool a repository defines with a requirement of its own.
Types ¶
This section is empty.