diff --git a/eslint.config.js b/eslint.config.js index 51a1fd71f..883546e78 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -35,7 +35,8 @@ export default ts.config( 'svelte/no-reactive-literals': 'off', // TODO: @itznotabug, this requires a big refactor! 'svelte/no-navigation-without-resolve': 'off', - 'svelte/prefer-svelte-reactivity': 'off' + 'svelte/prefer-svelte-reactivity': 'off', + 'svelte/prefer-writable-derived': 'off' } }, { diff --git a/src/lib/studio/studio-widget.ts b/src/lib/studio/studio-widget.ts index 5a6c347e8..859e8376f 100644 --- a/src/lib/studio/studio-widget.ts +++ b/src/lib/studio/studio-widget.ts @@ -17,6 +17,7 @@ const CDN_URL = const DEV_OVERRIDE_WEB_COMPONENTS = env?.PUBLIC_AI_OVERRIDE_WEB_COMPONENTS === 'true'; let component: HTMLElement | null = null; +// eslint-disable-next-line @typescript-eslint/no-explicit-any let webComponentsModule: Record | null = null; let configInitialized = false; let routingInitialized = false; @@ -119,6 +120,7 @@ export async function getWebComponents() { /** * Navigate to a route in the web components */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any export async function navigateToRoute(...args: any[]) { try { const { navigateToRoute: navigate } = await getWebComponents();