Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comments ¶
type Comments struct {
Comments []Warning `json:"comments"`
}
Comments represents a dict containing a list of Warnings emitted by shellcheck.
type Runner ¶
type Runner struct { Path string Dir string Exclude string Enable string Shell string Logger interface { Printf(string, ...interface{}) } }
A Runner manages shellcheck execution and output parsing.
type Warning ¶
type Warning struct { File string `json:"file"` Line int32 `json:"line"` EndLine int32 `json:"endLine"` Column int32 `json:"column"` EndColumn int32 `json:"endColumn"` Level string `json:"level"` Code int32 `json:"code"` Message string `json:"message"` }
A Warning represents an issue detected by shellcheck.
Click to show internal directories.
Click to hide internal directories.