refactor: remove types dependency #6385
Annotations
10 errors
golangci-lint:
api/types/build.go#L60
string `...` has 3 occurrences, make it a constant (goconst)
|
golangci-lint:
mock/server/authentication.go#L82
string `error` has 4 occurrences, make it a constant (goconst)
|
golangci-lint:
compiler/types/pipeline/ruleset.go#L134
cyclomatic complexity 31 of func `(*Rules).Match` is high (> 30) (gocyclo)
|
golangci-lint:
database/types/build.go#L384
G115: integer overflow conversion int -> int32 (gosec)
|
golangci-lint:
database/types/build.go#L385
G115: integer overflow conversion int -> int32 (gosec)
|
golangci-lint:
database/types/repo.go#L336
G115: integer overflow conversion int -> int32 (gosec)
|
golangci-lint:
database/types/settings.go#L134
G115: integer overflow conversion int64 -> uint64 (gosec)
|
golangci-lint:
database/types/settings.go#L205
G115: integer overflow conversion uint64 -> int64 (gosec)
|
golangci-lint:
secret/vault/refresh_test.go#L45
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
secret/vault/refresh_test.go#L71
unused-parameter: parameter 'in' seems to be unused, consider removing or renaming it as _ (revive)
|
Loading