hack: remove a workaround for go-tools

The false positive has been fixed.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2021-12-27 09:50:23 -08:00
parent 22f19f8243
commit 4bdc208449

View file

@ -98,11 +98,6 @@ issues:
- text: "SA1019: httputil.ErrPersistEOF" - text: "SA1019: httputil.ErrPersistEOF"
linters: linters:
- staticcheck - staticcheck
# FIXME temporarily suppress these for false positives in tests (see https://github.com/dominikh/go-tools/issues/1022)
- text: "SA5011"
path: _test\.go
linters:
- staticcheck
# This code is doing some fun stuff with reflect and it trips up the linter. # This code is doing some fun stuff with reflect and it trips up the linter.
- text: "field `foo` is unused" - text: "field `foo` is unused"
path: "libnetwork/options/options_test.go" path: "libnetwork/options/options_test.go"