Documentation ¶
Overview ¶
Package linter analyses Jsonnet code for code "smells".
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Lint ¶
func Lint(node ast.Node, e *ErrorWriter)
Lint analyses a node and reports any issues it encounters to an error writer.
Types ¶
type ErrorWriter ¶
ErrorWriter encapsulates a writer and an error state indicating when at least one error has been written to the writer.
type LintingInfo ¶
type LintingInfo struct {
// contains filtered or unexported fields
}
LintingInfo holds additional information about the program which was gathered during linting. The data should only be added to it. It is global, i.e. it holds the same data regardless of scope we're currently analyzing.
Click to show internal directories.
Click to hide internal directories.