golangci-lint: update exclusion rules for todo's

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-10-14 02:07:51 +02:00
parent 4840fd8953
commit 47502344b9
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 6 additions and 9 deletions

View File

@ -40,10 +40,7 @@ issues:
- errcheck
- gosec
- text: "G201: SQL string formatting"
linters:
- gosec
- text: "G202: SQL string concatenation"
- text: "(G201|G202): SQL string (formatting|concatenation)"
linters:
- gosec
# FIXME temporarily suppress these. See #39928
@ -51,11 +48,7 @@ issues:
linters:
- staticcheck
# 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"
- text: "SA1019: .*\\.Xattrs is deprecated: Use PAXRecords instead"
linters:
- staticcheck
# FIXME temporarily suppress these. See #39926
@ -66,3 +59,7 @@ issues:
- text: "SA1019: httputil.ClientConn is deprecated"
linters:
- staticcheck
# FIXME temporarily suppress these (related to the ones above)
- text: "SA1019: httputil.ErrPersistEOF is deprecated"
linters:
- staticcheck