diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-11-10 01:48:12 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-11-10 01:48:12 +0800 |
commit | d1eb4006e221b7fc5497e760186fc518320c4774 (patch) | |
tree | 105ccd93e14bc0263f23f93dee7f053653c372df /build | |
parent | 3d88ecd61ae7b43f1227acafaec71e49093491b8 (diff) | |
download | dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.gz dexon-d1eb4006e221b7fc5497e760186fc518320c4774.tar.zst dexon-d1eb4006e221b7fc5497e760186fc518320c4774.zip |
build: enable gofmt and misspell linters
Diffstat (limited to 'build')
-rw-r--r-- | build/ci.go | 2 |
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...)...) } |