forked from cerc-io/plugeth
build: enable gosimple linter (#15593)
This commit is contained in:
parent
80c6dfc19f
commit
43dd8e62fc
@ -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…
Reference in New Issue
Block a user