tools: Added golint for go files.

This commit is contained in:
Andrew Hamilton 2018-05-31 12:06:36 +10:00
parent 8a5b76510b
commit d3a6a67d27
2 changed files with 8 additions and 2 deletions

View file

@ -20,7 +20,7 @@ tools_for_extensions = [
[["a", "so"], ["nm"]],
[["png", "jpg", "gif", "bmp", "ppm", "tiff", "tga"], ["pil", "pil_half"]],
[["bash", "sh", "dash", "ksh"], ["shellcheck"]],
[["go"], ["gofmt", "go_vet", "godoc"]],
[["go"], ["gofmt", "go_vet", "golint", "godoc"]],
[["yaml"], ["yamllint"]]]
@ -123,6 +123,12 @@ tools_for_extensions = [
command = "go vet"
error_status = "normal"
[golint]
dependencies = ["golint"]
url = "golint"
command = "golint -set_exit_status"
error_status = "normal"
[yamllint]
dependencies = ["yamllint"]
url = "yamllint"