golangci-lint: update exclusion rules for todo's
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
4840fd8953
commit
47502344b9
|
@ -40,10 +40,7 @@ issues:
|
||||||
- errcheck
|
- errcheck
|
||||||
- gosec
|
- gosec
|
||||||
|
|
||||||
- text: "G201: SQL string formatting"
|
- text: "(G201|G202): SQL string (formatting|concatenation)"
|
||||||
linters:
|
|
||||||
- gosec
|
|
||||||
- text: "G202: SQL string concatenation"
|
|
||||||
linters:
|
linters:
|
||||||
- gosec
|
- gosec
|
||||||
# FIXME temporarily suppress these. See #39928
|
# FIXME temporarily suppress these. See #39928
|
||||||
|
@ -51,11 +48,7 @@ issues:
|
||||||
linters:
|
linters:
|
||||||
- staticcheck
|
- staticcheck
|
||||||
# FIXME temporarily suppress these. See #39924
|
# FIXME temporarily suppress these. See #39924
|
||||||
- text: "SA1019: h.Xattrs is deprecated: Use PAXRecords instead"
|
- text: "SA1019: .*\\.Xattrs is deprecated: Use PAXRecords instead"
|
||||||
linters:
|
|
||||||
- staticcheck
|
|
||||||
# FIXME temporarily suppress these. See #39924
|
|
||||||
- text: "SA1019: hdr.Xattrs is deprecated: Use PAXRecords instead"
|
|
||||||
linters:
|
linters:
|
||||||
- staticcheck
|
- staticcheck
|
||||||
# FIXME temporarily suppress these. See #39926
|
# FIXME temporarily suppress these. See #39926
|
||||||
|
@ -66,3 +59,7 @@ issues:
|
||||||
- text: "SA1019: httputil.ClientConn is deprecated"
|
- text: "SA1019: httputil.ClientConn is deprecated"
|
||||||
linters:
|
linters:
|
||||||
- staticcheck
|
- staticcheck
|
||||||
|
# FIXME temporarily suppress these (related to the ones above)
|
||||||
|
- text: "SA1019: httputil.ErrPersistEOF is deprecated"
|
||||||
|
linters:
|
||||||
|
- staticcheck
|
||||||
|
|
Loading…
Reference in New Issue