Reload config #115
Annotations
10 errors and 11 warnings
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L222
222-250 lines are duplicate of `gogs/gogs.go:349-378` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L349
349-378 lines are duplicate of `gogs/gogs.go:222-250` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L186
186-216 lines are duplicate of `gogs/gogs.go:313-343` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/gogs/gogs.go#L313
313-343 lines are duplicate of `gogs/gogs.go:186-216` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/main.go#L312
312-372 lines are duplicate of `main.go:390-450` (dupl)
|
lint:
go/src/github.com/cooperspencer/gickup/main.go#L390
390-450 lines are duplicate of `main.go:312-372` (dupl)
|
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/whatever/whatever.go#L18
Function 'Get' is too long (87 > 60) (funlen)
|
lint:
go/src/github.com/cooperspencer/gickup/gitea/gitea.go#L43
Function 'Backup' has too many statements (56 > 40) (funlen)
|
lint:
go/src/github.com/cooperspencer/gickup/sourcehut/sourcehut.go#L141
Function 'Get' has too many statements (70 > 40) (funlen)
|
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:
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/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/github/github.go#L161
var-naming: don't use underscores in Go names; var github_repo should be githubRepo (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/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/local/local.go#L189
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
|
lint:
go/src/github.com/cooperspencer/gickup/local/local.go#L475
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|