build(deps): bump github.com/golangci/golangci-lint from 1.59.0 to 1.59.1 in /tools #74
Annotations
10 errors
core/task/command.go#L76
Error return value of `connection.Disconnect` is not checked (errcheck)
|
config/validators.go#L56
cyclomatic complexity 18 of func `(*Task).Validate` is high (> 15) (gocyclo)
|
core/common/http_client.go#L6
field `client` is unused (unused)
|
core/task/get.go#L23
field `cancel` is unused (unused)
|
core/task/helper.go#L34
func `flushFailedConnections` is unused (unused)
|
core/task/get.go#L62
response body must be closed (bodyclose)
|
core/task/post.go#L80
response body must be closed (bodyclose)
|
config/validators.go#L29
S1002: should omit comparison to bool constant, can be simplified to `c.Disabled` (gosimple)
|
config/validators.go#L128
S1002: should omit comparison to bool constant, can be simplified to `s.OnInit` (gosimple)
|
enums/logger_format_type.go#L18
ST1005: error strings should not be capitalized (stylecheck)
|
This job succeeded
Loading