Skip to content

New rule(s): Wrong Usage of the MatchError gomega Matcher #238

New rule(s): Wrong Usage of the MatchError gomega Matcher

New rule(s): Wrong Usage of the MatchError gomega Matcher #238

Triggered via pull request November 9, 2023 12:09
Status Failure
Total duration 46s
Artifacts

sanity.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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']