From 6117d8c72252a9e63103f5e622952a1625af24be Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 22 Jan 2019 14:54:47 +0700 Subject: [PATCH] run gometalinter with staticcheck instead of megacheck Megacheck was deprecated and recently removed from gometalinter: https://github.com/alecthomas/gometalinter/pull/579. --- .gometalinter.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gometalinter.json b/.gometalinter.json index 7aa4fb49..58179437 100644 --- a/.gometalinter.json +++ b/.gometalinter.json @@ -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" } }