Page MenuHomePhabricator

Use golangci-lint when mwcli Go 1.15+
Closed, ResolvedPublic

Description

https://golangci-lint.run/

This should allow loads more linting and also to share the cache between linters.

I tried installing this in 1.13 which mwcli currently uses but it ran into an issue:

go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/prometheus/procfs v0.6.0
# github.com/quasilyte/go-ruleguard/internal/gogrep
vendor/pkg/mod/github.com/quasilyte/go-ruleguard@v0.3.4/internal/gogrep/match.go:677:13: undefined: strconv.ParseComplex
note: module requires Go 1.15
make: *** [Makefile:36: get-dev-golangcilint] Error 2