Upgrade golangci-lint and fixes some linting errors. (#22909)
Example: https://play.golang.org/p/cfPIPG3BwjJ
This commit is contained in:
+2
-3
@@ -3,13 +3,12 @@ module github.com/grafana/grafana/scripts/go
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/golangci/golangci-lint v1.19.2-0.20191006164544-7577d548a389
|
||||
github.com/golangci/golangci-lint v1.24.0
|
||||
github.com/mgechev/revive v0.0.0-20190917153825-40564c5052ae
|
||||
github.com/securego/gosec v0.0.0-20190912120752-140048b2a218
|
||||
github.com/securego/gosec v0.0.0-20200103095621-79fbf3af8d83
|
||||
github.com/unknwon/bra v0.0.0-20190805204333-bb0929b6cca0
|
||||
github.com/unknwon/com v1.0.1 // indirect
|
||||
github.com/unknwon/log v0.0.0-20150304194804-e617c87089d3 // indirect
|
||||
github.com/urfave/cli v1.20.0 // indirect
|
||||
golang.org/x/tools v0.0.0-20191120001058-ad01d5993d97 // indirect
|
||||
gopkg.in/fsnotify/fsnotify.v1 v1.4.7 // indirect
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user