Skip to content

Fixlinter server 07112023 #45

Fixlinter server 07112023

Fixlinter server 07112023 #45

Triggered via pull request November 7, 2023 16:06
Status Failure
Total duration 1m 11s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

golangci-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
lint: internal/client/infrastrucrure/ui/cli/helpers.go#L25
don't use `init` function (gochecknoinits)
lint: internal/client/infrastrucrure/filemanager/filemanager.go#L227
badCall: suspicious Join on 1 argument (gocritic)
lint: internal/client/infrastrucrure/filemanager/userauth.go#L13
commentFormatting: put a space between `//` and comment text (gocritic)
lint: internal/client/infrastrucrure/filemanager/userauth.go#L14
commentFormatting: put a space between `//` and comment text (gocritic)
lint: internal/client/infrastrucrure/ui/cli/choose_secret.go#L49
commentFormatting: put a space between `//` and comment text (gocritic)
lint: internal/client/infrastrucrure/ui/cli/choose_secret.go#L22
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(strings.ToLower(di.Name), " ", "", -1)` (gocritic)
lint: internal/client/infrastrucrure/ui/cli/choose_secret.go#L23
wrapperFunc: use strings.ReplaceAll method in `strings.Replace(strings.ToLower(input), " ", "", -1)` (gocritic)
lint: internal/client/infrastrucrure/ui/cli/update.go#L10
appendAssign: append result not assigned to the same slice (gocritic)
lint: internal/client/infrastrucrure/filemanager/filemanager.go#L219
internal/client/infrastrucrure/filemanager/filemanager.go:219: Line contains TODO/BUG/FIXME: "todo удалить данные в случае ошибки, заг..." (godox)
lint: internal/client/usecase/usecase.go#L58
internal/client/usecase/usecase.go:58: Line contains TODO/BUG/FIXME: "todo проверка на конкретную ошкибку..." (godox)
lint: internal/client/infrastrucrure/filemanager/userauth.go#L27
unexported-return: exported func NewUserAuth returns unexported type *filemanager.userAuth, which can be annoying to use (revive)
lint: internal/client/usecase/sync.go#L199
var-naming: var newGuid should be newGUID (revive)
lint: internal/client/usecase/usecase.go#L74
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)