Output of `make lint` (golangci-lint) for `internal/handler/exec.go` and `internal/handler/exec_test.go`
internal/handler/exec_test.go:14:2: import 'gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb' is not allowed from list 'Main' (depguard)
internal/handler/exec_test.go:15:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/command/commandargs' is not allowed from list 'Main' (depguard)
internal/handler/exec_test.go:16:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)
internal/handler/exec_test.go:17:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/gitlabnet/accessverifier' is not allowed from list 'Main' (depguard)
internal/handler/exec_test.go:18:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/sshenv' is not allowed from list 'Main' (depguard)
internal/handler/exec_test.go:222: unnecessary trailing newline (whitespace)
internal/handler/exec_test.go:47:2: expected-actual: need to reverse actual and expected values (testifylint)
internal/handler/exec_test.go:8:2: import 'github.com/stretchr/testify/require' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:1:1: package-comments: should have a package comment (revive)
internal/handler/exec.go:109:1: exported: exported method GitalyCommand.LogExecution should have comment or be unexported (revive)
internal/handler/exec.go:14:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/config' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:15:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/gitaly' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:16:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/gitlabnet/accessverifier' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:17:2: import 'gitlab.com/gitlab-org/gitlab-shell/v14/internal/sshenv' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:19:2: import 'gitlab.com/gitlab-org/gitaly/v16/proto/go/gitalypb' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:20:2: import 'gitlab.com/gitlab-org/labkit/log' is not allowed from list 'Main' (depguard)
internal/handler/exec.go:28:6: exported: exported type GitalyCommand should have comment or be unexported (revive)
internal/handler/exec.go:34:1: exported: exported function NewGitalyCommand should have comment or be unexported (revive)
internal/handler/exec.go:52:4: singleCaseSwitch: should rewrite switch statement to if statement (gocritic)