aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-11-10 17:09:47 +0800
committerGitHub <noreply@github.com>2017-11-10 17:09:47 +0800
commitfebfea7af2a01acd9c8fbd4cf72ce9710704c964 (patch)
tree105ccd93e14bc0263f23f93dee7f053653c372df
parent3d88ecd61ae7b43f1227acafaec71e49093491b8 (diff)
parentd1eb4006e221b7fc5497e760186fc518320c4774 (diff)
downloadgo-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar.gz
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar.bz2
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar.lz
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar.xz
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.tar.zst
go-tangerine-febfea7af2a01acd9c8fbd4cf72ce9710704c964.zip
Merge pull request #15450 from karalabe/lint-gofmt-misspell
build: enable gofmt and misspell linters
-rw-r--r--build/ci.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ci.go b/build/ci.go
index 5d52fad87..af58ee645 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -322,7 +322,7 @@ func doLint(cmdline []string) {
build.MustRun(goTool("get", "gopkg.in/alecthomas/gometalinter.v1"))
build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v1"), "--install")
- configs := []string{"--vendor", "--disable-all", "--enable=vet"} // Add additional linters to the slice with "--enable=linter-name"
+ configs := []string{"--vendor", "--disable-all", "--enable=vet", "--enable=gofmt", "--enable=misspell"}
build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v1"), append(configs, packages...)...)
}