Skip to content

Fix linter issues following linter version upgrade #315

Fix linter issues following linter version upgrade

Fix linter issues following linter version upgrade #315

Triggered via pull request October 27, 2024 15:56
Status Failure
Total duration 43s
Artifacts

check-golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: versionmanager/tenvlib/lib.go#L324
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: versionmanager/tenvlib/lib.go#L332
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: versionmanager/retriever/terraform/api/releaseapi_test.go#L36
the variable name `releaseErr` should conform to the `errXxx` format (errname)
lint: versionmanager/retriever/terraform/api/releaseapi_test.go#L44
the variable name `releasesErr` should conform to the `errXxx` format (errname)
lint: pkg/github/github.go#L108
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint: pkg/github/github_test.go#L72
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint: pkg/github/github_test.go#L89
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint: versionmanager/builder/builder.go#L38
Builders is a global variable (gochecknoglobals)
lint: cmd/tenv/textui.go#L47
tools is a global variable (gochecknoglobals)
lint: cmd/tenv/textui.go#L50
helpStyle is a global variable (gochecknoglobals)