chore: refactor keploy codebase (#1684) #11
Annotations
1 error and 9 warnings
golangci-lint
issues found
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci-lint:
pkg/core/proxy/integrations/util/util.go#L34
var-naming: don't use leading k in Go names; func parameter kMin should be min (revive)
|
golangci-lint:
utils/utils.go#L389
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
pkg/core/app/docker/docker.go#L23
var-naming: don't use leading k in Go names; const kDefaultTimeoutForDockerQuery should be defaultTimeoutForDockerQuery (revive)
|
golangci-lint:
pkg/core/app/app.go#L485
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
golangci-lint:
pkg/core/app/app.go#L229
var-naming: don't use leading k in Go names; var kInspect should be inspect (revive)
|
golangci-lint:
pkg/core/hooks/hooks.go#L456
var-naming: don't use leading k in Go names; var kInode should be inode (revive)
|
golangci-lint:
pkg/core/hooks/kernelComm.go#L64
var-naming: don't use leading k in Go names; method parameter kPid should be pid (revive)
|
golangci-lint:
pkg/core/proxy/dns.go#L180
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
Loading