build: enable gosimple linter (#15593)

pull/15597/head
ferhat elmas 7 years ago committed by Felix Lange
parent 80c6dfc19f
commit 43dd8e62fc
  1. 2
      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...)...)
}

Loading…
Cancel
Save