refactor: refine golangci-lint config and update dependencies #810
Annotations
7 errors and 1 warning
Golang Lint:
cmd/cert-generator/main.go#L57
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Golang Lint:
cmd/karpor/app/server.go#L118
use of `fmt.Println` forbidden by pattern `^(fmt\.Print(|f|ln)|print|println)$` (forbidigo)
|
Golang Lint:
cmd/karpor/app/server.go#L254
Non-inherited new context, use function like `context.WithXXX` or `r.Context` instead (contextcheck)
|
Golang Lint:
cmd/karpor/app/syncer.go#L75
Function `NewStorage->createResourceGroupRuleIfNotExists` should pass the context parameter (contextcheck)
|
Golang Lint:
cmd/karpor/app/syncer.go#L83
Function `SetupWithManager` should pass the context parameter (contextcheck)
|
Golang Lint:
ui/embed.go#L10
directive `//nolint:typecheck` is unused for linter "typecheck" (nolintlint)
|
Golang Lint
issues found
|
License Check
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
|