From b529eff83d1795e0f2ef419999c6d4a86b9470a7 Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Mon, 23 Dec 2024 21:20:10 -0500 Subject: [PATCH] Enable Linter Signed-off-by: Mahad Zaryab --- .golangci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 2cca15f1d14..bf9ff03b876 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -139,13 +139,12 @@ linters-settings: files: - "**_test.go" - # TODO: enable after import is not used anywhere - # disallow-otel-contrib-translator: - # deny: - # - pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger - # desc: "Use jptrace package instead of opentelemetry-collector-contrib/pkg/translator/jaeger" - # files: - # - "!**/jptrace/**" + disallow-otel-contrib-translator: + deny: + - pkg: github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger + desc: "Use jptrace package instead of opentelemetry-collector-contrib/pkg/translator/jaeger" + files: + - "!**/jptrace/**" goimports: local-prefixes: github.com/jaegertracing/jaeger