From d8777012cb93ab73fc384e8465db60ed77fc4d9e Mon Sep 17 00:00:00 2001 From: grafakus Date: Wed, 14 Jan 2026 14:19:18 +0100 Subject: [PATCH] Fix lint issues --- packages/grafana-data/src/types/templateVars.ts | 3 +++ public/app/features/panel/panellinks/link_srv.ts | 1 + 2 files changed, 4 insertions(+) diff --git a/packages/grafana-data/src/types/templateVars.ts b/packages/grafana-data/src/types/templateVars.ts index 99716d15b1a..400a6fe4755 100644 --- a/packages/grafana-data/src/types/templateVars.ts +++ b/packages/grafana-data/src/types/templateVars.ts @@ -91,6 +91,7 @@ export interface VariableOption { text: string | string[]; value: string | string[]; isNone?: boolean; + // eslint-disable-next-line @typescript-eslint/no-explicit-any properties?: Record; } @@ -119,6 +120,7 @@ export interface QueryVariableModel extends VariableWithMultiSupport { definition: string; sort: VariableSort; queryValue?: string; + // eslint-disable-next-line @typescript-eslint/no-explicit-any query: any; regex: string; regexApplyTo?: VariableRegexApplyTo; @@ -194,6 +196,7 @@ export interface BaseVariableModel { skipUrlSync: boolean; index: number; state: LoadingState; + // eslint-disable-next-line @typescript-eslint/no-explicit-any error: any | null; description: string | null; usedInRepeat?: boolean; diff --git a/public/app/features/panel/panellinks/link_srv.ts b/public/app/features/panel/panellinks/link_srv.ts index ee10b22f5ce..f37cc3fe0a7 100644 --- a/public/app/features/panel/panellinks/link_srv.ts +++ b/public/app/features/panel/panellinks/link_srv.ts @@ -85,6 +85,7 @@ const getVariableValueProperties = (variable: TypedVariableModel): string[] => { return []; } + // eslint-disable-next-line @typescript-eslint/no-explicit-any function collectFieldPaths(properties: Record, currentPath: string) { let paths: string[] = []; for (const field in properties) {