As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 7b190496 authored by Archish's avatar Archish
Browse files

Updated lint file

parent 183f4035
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -112,33 +112,6 @@ internal/config/config.go:196:9: copylocks: assignment copies lock value to *cfg
internal/config/config.go:199:22: G304: Potential file inclusion via variable (gosec)
internal/config/config.go:210:3: var-naming: var unescapedUrl should be unescapedURL (revive)
internal/config/config.go:256:1: receiver-naming: receiver name cfg should be consistent with previous receiver name c for Config (revive)
internal/gitlabnet/accessverifier/client_test.go:261:5: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:264:5: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:269:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:270:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:274:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:275:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:279:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:280:6: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:301:5: go-require: do not use require in http handlers (testifylint)
internal/gitlabnet/accessverifier/client_test.go:305:5: go-require: do not use require in http handlers (testifylint)
internal/console/console.go:39:13: Error return value of `fmt.Fprint` is not checked (errcheck)
internal/console/console.go:65:13: Error return value of `fmt.Fprint` is not checked (errcheck)
internal/console/console.go:67:13: Error return value of `fmt.Fprint` is not checked (errcheck)
internal/executable/executable.go:1:1: package-comments: should have a package comment (revive)
internal/executable/executable.go:9:2: exported: exported const BinDir should have comment (or a comment on this block) or be unexported (revive)
internal/executable/executable.go:16:6: exported: exported type Executable should have comment or be unexported (revive)
internal/executable/executable.go:26:1: exported: exported function New should have comment or be unexported (revive)
internal/executable/executable_test.go:64:4: expected-actual: need to reverse actual and expected values (testifylint)
internal/executable/executable_test.go:65:4: expected-actual: need to reverse actual and expected values (testifylint)
internal/gitaly/gitaly.go:1:1: package-comments: should have a package comment (revive)
internal/gitaly/gitaly.go:12:2: ST1019: package "gitlab.com/gitlab-org/gitaly/v16/client" is being imported more than once (stylecheck)
internal/gitaly/gitaly.go:13:2: ST1019(related information): other import of "gitlab.com/gitlab-org/gitaly/v16/client" (stylecheck)
internal/gitaly/gitaly.go:22:6: exported: exported type Command should have comment or be unexported (revive)
internal/gitaly/gitaly.go:34:6: exported: exported type Client should have comment or be unexported (revive)
internal/gitaly/gitaly.go:40:1: exported: exported method Client.InitSidechannelRegistry should have comment or be unexported (revive)
internal/gitaly/gitaly.go:44:1: exported: exported method Client.GetConnection should have comment or be unexported (revive)
internal/gitaly/gitaly.go:56:5: shadow: declaration of "conn" shadows declaration at line 46 (govet)
internal/gitlabnet/client.go:1:1: package-comments: should have a package comment (revive)
internal/gitlabnet/client.go:14:1: exported: exported function GetClient should have comment or be unexported (revive)
internal/gitlabnet/client.go:21:15: ST1005: error strings should not be capitalized (stylecheck)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment