backup issues from github #106
Annotations
10 errors and 8 warnings
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L285
Function 'ParseDuration' has too many statements (44 > 40) (funlen)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L256
Comment should end in a period (godot)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L262
Comment should end in a period (godot)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L399
Comment should end in a period (godot)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L80
var-naming: struct field Url should be URL (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L128
unused-parameter: parameter 'parent' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L12
import 'github.com/go-git/go-git/v5' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L13
import 'github.com/go-git/go-git/v5/config' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L14
import 'github.com/go-git/go-git/v5/plumbing/transport' is not allowed from list 'Main' (depguard)
|
lint:
go/src/github.com/cooperspencer/gickup/types/types.go#L15
import 'github.com/go-git/go-git/v5/plumbing/transport/http' is not allowed from list 'Main' (depguard)
|
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 `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/gitea/gitea.go#L284
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#L429
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#L478
unused-parameter: parameter 'repo' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/gitlab/gitlab.go#L200
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/local/local.go#L440
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|