Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fix ¶
type Fix struct {
Replacements []Replacement `json:"replacements"`
}
type JSON1Output ¶
type JSON1Output struct {
Comments []Comment `json:"comments"`
}
JSON1Output is ShellCheck's -f json1 output schema. It is a JSON object with a single "comments" array.
type Options ¶
type Options struct {
// Dialect is the shell dialect for ShellCheck: sh, bash, dash, ksh, busybox.
Dialect string
// Severity is ShellCheck's minimum severity: error, warning, info, style.
// Empty means use ShellCheck default.
Severity string
// Norc disables loading .shellcheckrc.
Norc bool
// ExtendedAnalysis sets --extended-analysis. Nil means use ShellCheck default.
ExtendedAnalysis *bool
// EnableOptional is passed via --enable=... (optional checks).
EnableOptional []string
// Include is passed via --include=... (consider only given codes).
Include []string
// Exclude is passed via --exclude=... (exclude given codes).
Exclude []string
}
type Replacement ¶
Click to show internal directories.
Click to hide internal directories.