golangci.yml: skip some tests
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 22ce0f8faa
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
d223f37300
commit
9820255a1c
1 changed files with 9 additions and 0 deletions
|
@ -74,6 +74,10 @@ issues:
|
|||
- text: "(G201|G202): SQL string (formatting|concatenation)"
|
||||
linters:
|
||||
- gosec
|
||||
# FIXME: evaluate these and fix where needed: G307: Deferring unsafe method "*os.File" on type "Close" (gosec)
|
||||
- text: "G307: Deferring unsafe method"
|
||||
linters:
|
||||
- gosec
|
||||
# FIXME temporarily suppress these. See #39924
|
||||
- text: "SA1019: .*\\.Xattrs is deprecated: Use PAXRecords instead"
|
||||
linters:
|
||||
|
@ -86,3 +90,8 @@ issues:
|
|||
- text: "SA1019: httputil.ErrPersistEOF"
|
||||
linters:
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue