1
0
Fork 0

Update golangci-lint version.

This commit is contained in:
Ludovic Fernandez 2020-01-19 23:00:06 +01:00 committed by Traefiker Bot
parent 144eee7fbf
commit db28ee1ff7
2 changed files with 8 additions and 1 deletions

View file

@ -47,6 +47,7 @@
"gocognit",
"bodyclose", # Too many false-positive and panics.
"wsl", # Too strict
"gomnd", # Too strict
"stylecheck", # skip because report issues related to some generated files.
]
@ -95,3 +96,9 @@
[[issues.exclude-rules]] # FIXME must be fixed
path = "cmd/context.go"
text = "S1000: should use a simple channel send/receive instead of `select` with a single case"
[[issues.exclude-rules]]
path = "pkg/tracing/haystack/logger.go"
linters = ["goprintffuncname"]
[[issues.exclude-rules]]
path = "pkg/tracing/tracing.go"
text = "printf-like formatting function 'SetErrorWithEvent' should be named 'SetErrorWithEventf'"