Просмотр исходного кода

hack: remove a workaround for go-tools

The false positive has been fixed.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
Kazuyoshi Kato 3 лет назад
Родитель
Сommit
4bdc208449
1 измененных файлов с 0 добавлено и 5 удалено
  1. 0 5
      hack/validate/golangci-lint.yml

+ 0 - 5
hack/validate/golangci-lint.yml

@@ -98,11 +98,6 @@ issues:
     - text: "SA1019: httputil.ErrPersistEOF"
       linters:
         - 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.
     - text: "field `foo` is unused"
       path: "libnetwork/options/options_test.go"