From d90f7e3177f8c230519835be6725149be91d1fd5 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Wed, 25 Oct 2023 17:48:47 +0200 Subject: [PATCH] chore(ci): relax linter rules (#1062) --- .golangci.yml | 2 ++ types/core.go | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.golangci.yml b/.golangci.yml index a4336c14d..2a3b77bb2 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -69,6 +69,8 @@ issues: path: cmd/root.go linters-settings: + goconst: + min-occurrences: 10 gomodguard: blocked: modules: diff --git a/types/core.go b/types/core.go index 466a63869..9d27a2283 100644 --- a/types/core.go +++ b/types/core.go @@ -108,7 +108,7 @@ const ( // RBACRole identifies a RBACRole in Kong Enterprise. RBACRole EntityType = "rbac-role" // RBACEndpointPermission identifies a RBACEndpointPermission in Kong Enterprise. - RBACEndpointPermission EntityType = "rbac-endpoint-permission" //nolint:gosec + RBACEndpointPermission EntityType = "rbac-endpoint-permission" // ServicePackage identifies a ServicePackage in Konnect. ServicePackage EntityType = "service-package"