mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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
1 changed files with 6 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue