Ver Fonte

hack: remove a workaround for go-tools

The false positive has been fixed.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
Kazuyoshi Kato há 3 anos atrás
pai
commit
4bdc208449
1 ficheiros alterados com 0 adições e 5 exclusões
  1. 0 5
      hack/validate/golangci-lint.yml

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

@@ -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"