wip #8
checks.yml
on: push
golangci-lint
28s
go-mod
15s
tests
0s
Annotations
8 errors
golangci-lint:
pkg/linters/openapi/validators/enum.go#L260
emptyStringTest: replace `len(value) == 0` with `value == ""` (gocritic)
|
golangci-lint:
pkg/linters/openapi/validators/enum.go#L259
unused-receiver: method receiver 'en' is not referenced in method's body, consider removing or renaming it as _ (revive)
|
golangci-lint:
pkg/linters/openapi/validators/enum.go#L10
import 'github.com/pkg/errors' is not allowed from list 'logger': Should be replaced by standard lib errors package. (depguard)
|
golangci-lint:
pkg/linters/openapi/openapi_validation_test.go#L92
bool-compare: use assert.True (testifylint)
|
golangci-lint:
pkg/linters/openapi/openapi_validation_test.go#L47
require-error: for error assertions use require (testifylint)
|
golangci-lint:
pkg/linters/openapi/openapi_validation_test.go#L76
require-error: for error assertions use require (testifylint)
|
golangci-lint:
pkg/linters/openapi/library.go#L130
directive `// nolint: revive // its a private lib, we dont need an exported struct` should be written without leading space as `//nolint: revive // its a private lib, we dont need an exported struct` (nolintlint)
|
golangci-lint
issues found
|