add the actual comments to the backup of issues #177
Annotations
10 errors and 12 warnings
lint:
go/src/github.com/cooperspencer/gickup/zip/zip.go#L70
return with no blank line before (nlreturn)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L34
File is not `gofumpt`-ed (gofumpt)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L26
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L40
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L50
G204: Subprocess launched with a potential tainted input or cmd arguments (gosec)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L86
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L105
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L17
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:18:2); consider using short syntax (ifshort)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L45
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:46:2); consider using short syntax (ifshort)
|
lint:
go/src/github.com/cooperspencer/gickup/gitcmd/gitcmd.go#L55
variable 'err' is only used in the if-statement (gitcmd/gitcmd.go:56:2); consider using short syntax (ifshort)
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v2, actions/checkout@v2, actions/cache@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L82
var-naming: struct field Url should be URL (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L130
unused-parameter: parameter 'parent' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/gitea/gitea.go#L305
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/gitea/gitea.go#L451
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L249
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L534
unused-parameter: parameter 'repo' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/github/github.go#L164
var-naming: don't use underscores in Go names; var github_repo should be githubRepo (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/local/local.go#L193
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|