Output of `make lint` (golangci-lint) for `cmd/check/command/command.go` and `cmd/check/command/command_test.go`
cmd/check/command/command_test.go:10:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/executable' is not allowed from list 'Main' (depguard)
cmd/check/command/command_test.go:11:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/sshenv' is not allowed from list 'Main' (depguard)
cmd/check/command/command_test.go:6:2: import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
cmd/check/command/command_test.go:7:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/cmd/check/command' is not allowed from list 'Main' (depguard)
cmd/check/command/command_test.go:8:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/healthcheck' is not allowed from list 'Main' (depguard)
cmd/check/command/command_test.go:9:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)
cmd/check/command/command.go:1:1: package-comments: should have a package comment (revive)
cmd/check/command/command.go:11:1: exported: exported function New should have comment or be unexported (revive)
cmd/check/command/command.go:4:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command' is not allowed from list 'Main' (depguard)
cmd/check/command/command.go:5:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/healthcheck' is not allowed from list 'Main' (depguard)
cmd/check/command/command.go:6:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/readwriter' is not allowed from list 'Main' (depguard)
cmd/check/command/command.go:7:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/shared/disallowedcommand' is not allowed from list 'Main' (depguard)
cmd/check/command/command.go:8:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)