Fix linter issues following linter version upgrade #315
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)
|