Output of `make lint` (golangci-lint) for `cmd/gitlab-shell-authorized-keys-check/main.go`
cmd/gitlab-shell-authorized-keys-check/main.go:45:23: Error return value of `logCloser.Close` is not checked (errcheck)
cmd/gitlab-shell-authorized-keys-check/main.go:52:3: exitAfterDefer: os.Exit will exit, and `defer logCloser.Close()` will not run (gocritic)
cmd/gitlab-shell-authorized-keys-check/main.go:1:1: package-comments: should have a package comment (revive)
cmd/gitlab-shell-authorized-keys-check/main.go:7:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/cmd/gitlab-shell-authorized-keys-check/command' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:8:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:9:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/readwriter' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:10:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:11:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/console' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:12:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/executable' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:13:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/logger' is not allowed from list 'Main' (depguard)
cmd/gitlab-shell-authorized-keys-check/main.go:58:5: ineffectual assignment to ctx (ineffassign)