Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckStatus ¶
type CheckStatus string
CheckStatus is enum type.
const ( // ChecksPassed means no lint errors found. ChecksPassed CheckStatus = "Passed" // ChecksFailed means lint errors were found. ChecksFailed CheckStatus = "Failed" )
type Result ¶
type Result struct { Checks []config.Check Reports []diagnostic.WithContext Summary Summary }
Result represents the result from a run of the linter.
func Run ¶
func Run(lintCtxs []lintcontext.LintContext, registry checkregistry.CheckRegistry, checks []string) (Result, error)
Run runs the linter on the given context, with the given config.
Click to show internal directories.
Click to hide internal directories.