tools: Added yamllint for yaml files.

This commit is contained in:
Andrew Hamilton 2018-05-31 11:54:52 +10:00
parent 9b9d58ca01
commit 8a5b76510b
2 changed files with 8 additions and 1 deletions

View file

@ -43,3 +43,4 @@ Extensions | Tools
.png .jpg .gif .bmp .ppm .tiff .tga | [pil](http://python-pillow.github.io/) • [pil_half](http://python-pillow.github.io/)
.bash .sh .dash .ksh | [shellcheck](http://hackage.haskell.org/package/ShellCheck)
.go | [gofmt](https://golang.org) • [go_vet](https://golang.org) • [godoc](http://golang.org/x/tools)
.yaml | [yamllint](https://github.com/adrienverge/yamllint)

View file

@ -20,7 +20,8 @@ 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", "godoc"]],
[["yaml"], ["yamllint"]]]
# Tool template:
@ -121,3 +122,8 @@ tools_for_extensions = [
url = "golang-go"
command = "go vet"
error_status = "normal"
[yamllint]
dependencies = ["yamllint"]
url = "yamllint"
command = "yamllint"