chore(lint): resolve remaining warnings and ignore generated convex artifacts

This commit is contained in:
2026-04-03 19:41:34 +02:00
parent 0173d5c604
commit 8ed9adf6f8
5 changed files with 4 additions and 4 deletions

View File

@@ -158,7 +158,7 @@ export default function AiImageNode({
} finally {
setIsGenerating(false);
}
}, [isLoading, syncStatus.isOffline, nodeData, id, getEdges, getNode, generateImage]);
}, [isLoading, syncStatus.isOffline, nodeData, id, getEdges, getNode, generateImage, t]);
const modelName =
getModel(nodeData.model ?? DEFAULT_MODEL_ID)?.name ?? "AI";

View File

@@ -76,7 +76,7 @@ export default function FrameNode({ id, data, selected, width, height }: NodePro
} finally {
setIsExporting(false);
}
}, [exportFrame, id, isExporting, label, status.isOffline]);
}, [exportFrame, id, isExporting, label, status.isOffline, t]);
const frameW = Math.round(width ?? 400);
const frameH = Math.round(height ?? 300);

View File

@@ -297,6 +297,7 @@ export default function PromptNode({
hasEnoughCredits,
router,
status.isOffline,
t,
]);
return (

View File

@@ -12,6 +12,7 @@ const eslintConfig = defineConfig([
"out/**",
"build/**",
"next-env.d.ts",
"convex/_generated/**",
]),
]);

View File

@@ -304,8 +304,6 @@ export function classifyError(rawError: unknown): AiError {
? rawObj.message
: "";
const rawDetail = typeof rawObj?.detail === "string" ? rawObj.detail.trim() : undefined;
const prefixed = cleanPrefixMessage(rawMessage);
const explicitType =
normalizeType(typeof rawObj?.category === "string" ? rawObj.category : undefined) ??