Forráskód Böngészése

golangci-lint: suppress Xattrs is deprecated: Use PAXRecords instead

```
pkg/archive/archive.go:407:3:       SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive.go:408:3:       SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive.go:661:26:      SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive_linux.go:47:7:  SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
pkg/archive/archive_linux.go:48:12: SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead.  (staticcheck)
```

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 5 éve
szülő
commit
df7d719e4c
1 módosított fájl, 8 hozzáadás és 0 törlés
  1. 8 0
      hack/validate/golangci-lint.yml

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

@@ -46,3 +46,11 @@ issues:
     - text: "G202: SQL string concatenation"
       linters:
         - gosec
+    # FIXME temporarily suppress these. See #39924
+    - text: "SA1019: h.Xattrs is deprecated: Use PAXRecords instead"
+      linters:
+        - staticcheck
+    # FIXME temporarily suppress these. See #39924
+    - text: "SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead"
+      linters:
+        - staticcheck