Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Checkmake = CheckmakeCommand{ BaseCommand: BaseCommand{ Binary: "checkmake", ConfigFile: ptr("checkmake.ini"), }, }
CLI executor for [checkmake](https://github.com/checkmake/checkmake/).
var Chktex = ChktexCommand{ BaseCommand: BaseCommand{ Binary: "chktex", ConfigFile: ptr("chktexrc"), }, }
CLI executor for [ChkTeX](https://www.nongnu.org/chktex/).
var Csvlint = CsvlintCommand{ BaseCommand: BaseCommand{ Binary: "csvlint", ConfigFile: nil, }, }
CLI executor for csvlint(https://github.com/Clever/csvlint/).
var Gomoddirectives = GomoddirectivesCommand{ BaseCommand: BaseCommand{ Binary: "gomoddirectives", ConfigFile: nil, }, }
CLI executor for gomoddirectives(https://github.com/ldez/gomoddirectives/).
var Hadolint = HadolintCommand{ BaseCommand: BaseCommand{ Binary: "hadolint", ConfigFile: ptr("hadolint.yaml"), }, }
CLI executor for Hadolint(https://github.com/hadolint/hadolint/).
var Propertieslint = PropertieslintCommand{ BaseCommand: BaseCommand{ Binary: "propertieslint", ConfigFile: ptr("propertieslint.json"), }, }
CLI executor for [propertieslint](https://hanggrian.github.io/propertieslint/).
var Protolint = ProtolintCommand{ BaseCommand: BaseCommand{ Binary: "protolint", ConfigFile: ptr("protolint.yaml"), }, }
CLI executor for protolint(https://github.com/yoheimuta/protolint/).
var ShellCheck = ShellCheckCommand{ BaseCommand: BaseCommand{ Binary: "shellcheck", ConfigFile: nil, }, }
CLI executor for ShellCheck(https://www.shellcheck.net/).
var Tflint = TflintCommand{ BaseCommand: BaseCommand{ Binary: "tflint", ConfigFile: ptr("tflint.hcl"), }, }
CLI executor for [tflint](https://github.com/terraform-linters/tflint/).
var Xmllint = XmllintCommand{ BaseCommand: BaseCommand{ Binary: "xmllint", ConfigFile: nil, }, }
CLI executor for [xmllint](https://gnome.pages.gitlab.gnome.org/libxml2/xmllint.html).
Functions ¶
This section is empty.
Types ¶
type BaseCommand ¶
func (*BaseCommand) Execute ¶
func (c *BaseCommand) Execute(l Linter, quiet bool, targetPaths []string) int
func (*BaseCommand) GetArguments ¶
func (c *BaseCommand) GetArguments(quiet bool, targetPaths []string) []string
func (*BaseCommand) GetBinary ¶
func (c *BaseCommand) GetBinary() string
func (*BaseCommand) GetConfigFile ¶
func (c *BaseCommand) GetConfigFile() string
func (*BaseCommand) IsAvailable ¶
func (c *BaseCommand) IsAvailable() bool
type CheckmakeCommand ¶
type CheckmakeCommand struct {
BaseCommand
}
func (*CheckmakeCommand) GetArguments ¶
func (c *CheckmakeCommand) GetArguments(_ bool, targetPaths []string) []string
type ChktexCommand ¶
type ChktexCommand struct {
BaseCommand
}
func (*ChktexCommand) GetArguments ¶
func (c *ChktexCommand) GetArguments(quiet bool, targetPaths []string) []string
type CsvlintCommand ¶
type CsvlintCommand struct {
BaseCommand
}
func (*CsvlintCommand) Execute ¶
func (c *CsvlintCommand) Execute(_ Linter, _ bool, targetPaths []string) int
func (*CsvlintCommand) IsAvailable ¶
func (c *CsvlintCommand) IsAvailable() bool
type GomoddirectivesCommand ¶
type GomoddirectivesCommand struct {
BaseCommand
}
func (*GomoddirectivesCommand) Execute ¶
func (c *GomoddirectivesCommand) Execute(_ Linter, _ bool, targetPaths []string) int
func (*GomoddirectivesCommand) IsAvailable ¶
func (c *GomoddirectivesCommand) IsAvailable() bool
type HadolintCommand ¶
type HadolintCommand struct {
BaseCommand
}
func (*HadolintCommand) GetArguments ¶
func (c *HadolintCommand) GetArguments(quiet bool, targetPaths []string) []string
type PropertieslintCommand ¶
type PropertieslintCommand struct {
BaseCommand
}
func (*PropertieslintCommand) Execute ¶
func (c *PropertieslintCommand) Execute(_ Linter, _ bool, targetPaths []string) int
func (*PropertieslintCommand) IsAvailable ¶
func (c *PropertieslintCommand) IsAvailable() bool
type ProtolintCommand ¶
type ProtolintCommand struct {
BaseCommand
}
func (*ProtolintCommand) Execute ¶
func (c *ProtolintCommand) Execute(_ Linter, _ bool, targetPaths []string) int
func (*ProtolintCommand) IsAvailable ¶
func (c *ProtolintCommand) IsAvailable() bool
type ShellCheckCommand ¶
type ShellCheckCommand struct {
BaseCommand
}
type TflintCommand ¶
type TflintCommand struct {
BaseCommand
}
func (*TflintCommand) GetArguments ¶
func (c *TflintCommand) GetArguments(_ bool, targetPaths []string) []string
type XmllintCommand ¶
type XmllintCommand struct {
BaseCommand
}
func (*XmllintCommand) GetArguments ¶
func (c *XmllintCommand) GetArguments(_ bool, targetPaths []string) []string