Browse Source

build: enable gosimple linter (#15593)

ferhat elmas 8 years ago
parent
commit
43dd8e62fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/ci.go

+ 1 - 1
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...)...)
 	}