Skip to content

Commit

Permalink
build: enable gosimple linter (ethereum#15593)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferhatelmas authored and fjl committed Dec 1, 2017
1 parent 80c6dfc commit 43dd8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/ci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...)...)
}
Expand Down

0 comments on commit 43dd8e6

Please sign in to comment.