diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2017-12-01 20:04:06 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-12-01 20:04:06 +0800 |
commit | 43dd8e62fcc854d1ad51f3a49b118d40397b7fd8 (patch) | |
tree | a1b66734d2065b5424711243f1e963136727afc4 /build | |
parent | 80c6dfc19fdb714912349a18174c4ebf70c775e4 (diff) | |
download | dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.gz dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.zst dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.zip |
build: enable gosimple linter (#15593)
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 2fa13be28..ede543d90 100644 --- a/build/ci.go +++ b/build/ci.go @@ -335,7 +335,7 @@ func doLint(cmdline []string) { build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v1"), append(configs, packages...)...) // Run slow linters one by one - for _, linter := range []string{"unconvert"} { + for _, linter := range []string{"unconvert", "gosimple"} { configs = []string{"--vendor", "--deadline=10m", "--disable-all", "--enable=" + linter} build.MustRunCommand(filepath.Join(GOBIN, "gometalinter.v1"), append(configs, packages...)...) } |