зеркало из https://github.com/golang/tools.git
gopls: update staticcheck to 2020.1.3
This change updates staticcheck to 2020.1.3. It fixes two bugs involving //lint:ignore directives: - When ignoring U1000 and checking a package that contains tests, Staticcheck would incorrectly complain that the linter directive didn't match any problems, even when it did. - On repeated runs, the position information for a this linter directive didn't match anything report would either be missing, or be wildly incorrect. Change-Id: I98bc57d290393d77af1ab8acf486239a8f125fac Reviewed-on: https://go-review.googlesource.com/c/tools/+/220597 Reviewed-by: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Родитель
6bd7a38086
Коммит
042d10a150
|
@ -6,7 +6,7 @@ require (
|
|||
github.com/sergi/go-diff v1.0.0
|
||||
github.com/stretchr/testify v1.4.0 // indirect
|
||||
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d
|
||||
honnef.co/go/tools v0.0.1-2020.1.2
|
||||
honnef.co/go/tools v0.0.1-2020.1.3
|
||||
mvdan.cc/xurls/v2 v2.1.0
|
||||
)
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8
|
|||
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
|
||||
gopkg.in/yaml.v2 v2.2.2 h1:ZCJp+EgiOT7lHqUV2J862kp8Qj64Jo6az82+3Td9dZw=
|
||||
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
|
||||
honnef.co/go/tools v0.0.1-2020.1.2 h1:8w2Ud1JmaU9M5os2j8aKMpPs4guVq+RMUN5phK2najE=
|
||||
honnef.co/go/tools v0.0.1-2020.1.2/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
honnef.co/go/tools v0.0.1-2020.1.3 h1:sXmLre5bzIR6ypkjXCDI3jHPssRhc8KD/Ome589sc3U=
|
||||
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
|
||||
mvdan.cc/xurls/v2 v2.1.0 h1:KaMb5GLhlcSX+e+qhbRJODnUUBvlw01jt4yrjFIHAuA=
|
||||
mvdan.cc/xurls/v2 v2.1.0/go.mod h1:5GrSd9rOnKOpZaji1OZLYL/yeAAtGDlo/cFe+8K5n8E=
|
||||
|
|
Загрузка…
Ссылка в новой задаче