aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-11-10 01:48:12 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-11-10 01:48:12 +0800
commitd1eb4006e221b7fc5497e760186fc518320c4774 (patch)
tree105ccd93e14bc0263f23f93dee7f053653c372df /build
parent3d88ecd61ae7b43f1227acafaec71e49093491b8 (diff)
downloaddexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.gz
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.bz2
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.lz
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.xz
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.zst
dexon-d1eb4006e221b7fc5497e760186fc518320c4774.zip
build: enable gofmt and misspell linters
Diffstat (limited to 'build')
-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...)...)
}