From 58c956eb199e0ce63b012640795815c3edfff6e9 Mon Sep 17 00:00:00 2001 From: Ryan McKinley Date: Tue, 8 Jul 2025 18:03:57 -0700 Subject: [PATCH] revert depguard config changes --- .golangci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 6fa586f25b2..5bb4a5e3167 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,7 +3,7 @@ # Others can set up the YAML LSP manually, which supports schemas: https://github.com/redhat-developer/yaml-language-server # $schema: https://golangci-lint.run/jsonschema/golangci.jsonschema.json -version: '2' +version: "2" run: timeout: 15m concurrency: 10 @@ -107,9 +107,6 @@ linters: - '**/pkg/tsdb/zipkin/**/*' - '**/pkg/tsdb/jaeger/*' - '**/pkg/tsdb/jaeger/**/*' - allow: - - github.com/grafana/grafana/pkg/apis/datasource - - github.com/grafana/grafana/pkg/apimachinery/apis deny: - pkg: github.com/grafana/grafana/pkg/api desc: Core plugins are not allowed to depend on Grafana core packages @@ -270,16 +267,16 @@ linters: text: G306 - linters: - gosec - text: '401' + text: "401" - linters: - gosec - text: '402' + text: "402" - linters: - gosec - text: '501' + text: "501" - linters: - gosec - text: '404' + text: "404" - linters: - errorlint text: non-wrapping format verb for fmt.Errorf