From 893f02ec7def8df4b3b1a73238ecfff9260aa3c1 Mon Sep 17 00:00:00 2001 From: "Kiss, Tibor" Date: Tue, 30 Jan 2024 11:42:59 +0100 Subject: [PATCH] Prometheus for gomoddirectives white list --- config/lint/.golangci.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/lint/.golangci.yaml b/config/lint/.golangci.yaml index 821f5b5..368d069 100644 --- a/config/lint/.golangci.yaml +++ b/config/lint/.golangci.yaml @@ -49,6 +49,9 @@ linters: linters-settings: + gomoddirectives: + replace-allow-list: + - github.com/prometheus/client_golang stylecheck: dot-import-whitelist: - github.com/onsi/ginkgo/v2