1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:04:42 -07:00
go/gopls/go.mod
Pontus Leitzler 042d10a150 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>
2020-02-25 18:52:58 +00:00

14 lines
287 B
Modula-2

module golang.org/x/tools/gopls
go 1.11
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.3
mvdan.cc/xurls/v2 v2.1.0
)
replace golang.org/x/tools => ../