Update golangci configuration #837
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
2 errors and 10 warnings
golangci-lint:
command.go#L755
G602: Potentially accessing slice out of bounds (gosec)
|
golangci-lint
issues found
|
golangci-lint:
doc/rest_docs.go#L166
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
doc/rest_docs.go#L30
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
doc/yaml_docs.go#L81
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
doc/md_docs.go#L152
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
golangci-lint:
doc/md_docs.go#L30
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
doc/yaml_docs.go#L93
unused-parameter: parameter 'linkHandler' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
args.go#L69
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
completions_test.go#L24
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
zsh_completions.go#L55
unused-parameter: parameter 'argPosition' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
completions.go#L120
unused-parameter: parameter 'cmd' seems to be unused, consider removing or renaming it as _ (revive)
|