New rule(s): Wrong Usage of the MatchError
gomega Matcher
#238
Annotations
2 errors and 4 warnings
build:
ginkgo_linter.go#L452
S1008: should use 'return interfaces.ImplementsGomegaMatcher(t)' instead of 'if interfaces.ImplementsGomegaMatcher(t) { return true }; return false' (gosimple)
|
build
issues found
|
build
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|
build:
ginkgo_linter.go#L379
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
build:
ginkgo_linter.go#L410
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
build
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
|