Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2022-05-02 18:27:44 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2022-05-02 18:27:44 +0300
commit52e8043921ae31d31e40665902600f97a9f60d9f (patch)
tree6d5e7037635076703b77d78d6c544d02493cf366 /internal/auth/auth.go
parent7c999a3c3411ce6b62cc7fba97f29343c9ef7806 (diff)
Add nolintlint linter configuration
Require an explanation for nolint rules and warn about unused rules
Diffstat (limited to 'internal/auth/auth.go')
-rw-r--r--internal/auth/auth.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/auth/auth.go b/internal/auth/auth.go
index 05542d21..59dd0749 100644
--- a/internal/auth/auth.go
+++ b/internal/auth/auth.go
@@ -28,9 +28,8 @@ import (
"gitlab.com/gitlab-org/gitlab-pages/internal/source"
)
-// nolint: gosec
+// nolint: gosec // auth constants, not credentials
// gosec: G101: Potential hardcoded credentials
-// auth constants, not credentials
const (
apiURLUserTemplate = "%s/api/v4/user"
apiURLProjectTemplate = "%s/api/v4/projects/%d/pages_access"