run gometalinter with staticcheck instead of megacheck

Megacheck was deprecated and recently removed from gometalinter:
https://github.com/alecthomas/gometalinter/pull/579.
This commit is contained in:
Marten Seemann
2019-01-22 14:54:47 +07:00
parent de05de297f
commit 6117d8c722

View File

@@ -9,8 +9,8 @@
"deadcode",
"goimports",
"ineffassign",
"megacheck",
"misspell",
"staticcheck",
"structcheck",
"unconvert",
"varcheck",
@@ -19,6 +19,6 @@
"Linters": {
"vet": "go tool vet -printfuncs=Infof,Debugf,Warningf,Errorf:PATH:LINE:MESSAGE",
"misspell": "misspell -i ect:PATH:LINE:COL:MESSAGE",
"megacheck": "megacheck -ignore github.com/lucas-clemente/quic-go/h2quic/response_writer_closenotifier.go:SA1019:PATH:LINE:COL:MESSAGE"
"staticcheck": "staticcheck -ignore github.com/lucas-clemente/quic-go/h2quic/response_writer_closenotifier.go:SA1019:PATH:LINE:COL:MESSAGE"
}
}