aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorferhat elmas <elmas.ferhat@gmail.com>2017-12-01 20:04:06 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-12-01 20:04:06 +0800
commit43dd8e62fcc854d1ad51f3a49b118d40397b7fd8 (patch)
treea1b66734d2065b5424711243f1e963136727afc4
parent80c6dfc19fdb714912349a18174c4ebf70c775e4 (diff)
downloaddexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.gz
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.bz2
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.lz
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.xz
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.tar.zst
dexon-43dd8e62fcc854d1ad51f3a49b118d40397b7fd8.zip
build: enable gosimple linter (#15593)
-rw-r--r--build/ci.go2
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...)...)
}