From 43dd8e62fcc854d1ad51f3a49b118d40397b7fd8 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Fri, 1 Dec 2017 13:04:06 +0100 Subject: build: enable gosimple linter (#15593) --- build/ci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build') 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...)...) } -- cgit v1.2.3