Skip to content

Commit 80ae674

Browse files
committed
Disable explicit check
1 parent e4e1093 commit 80ae674

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

report/src/services/dataService.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ export function getDataSourceConfig(): DataServiceConfig {
4343
const getEnvVar = (key: string): string | undefined => {
4444
// Client-side: check for runtime configuration first
4545
if (typeof window !== "undefined") {
46+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4647
const runtimeConfig = (window as any).__RUNTIME_CONFIG__;
4748
if (runtimeConfig?.[key]) {
4849
return runtimeConfig[key];
4950
}
5051
}
5152

5253
// Fallback to Vite environment variable
54+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
5355
const viteEnv = (import.meta as any).env;
5456
return viteEnv[`VITE_${key}`];
5557
};

0 commit comments

Comments
 (0)