Chore: Add linter rule to avoid imports from Grafana core in test datasource (#71779)

This commit is contained in:
Andres Martinez Gotor
2023-07-18 15:57:31 +02:00
committed by GitHub
parent 5faf5e48ea
commit 5b2721b4f1
6 changed files with 23 additions and 14 deletions
+2
View File
@@ -9,6 +9,8 @@ import (
"github.com/grafana/grafana-plugin-sdk-go/backend/log"
"github.com/grafana/grafana-plugin-sdk-go/backend/resource/httpadapter"
"github.com/grafana/grafana-plugin-sdk-go/data"
// nolint:depguard // Lint exception can be removed once we move testdata to a separate module
"github.com/grafana/grafana/pkg/tsdb/testdatasource/sims"
)