From aace1cd4c75e955c76183b55a2f455e86413bebb Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Sun, 25 Jan 2026 13:35:18 -0800 Subject: [PATCH] chore(ui): enable strict unused variable checks in tsconfig Add noUnusedLocals and noUnusedParameters to ui/tsconfig.json to catch unused imports and variables at compile time. --- ui/tsconfig.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 85d70e937..dc3626a87 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -8,7 +8,9 @@ "experimentalDecorators": true, "skipLibCheck": true, "types": ["vite/client"], - "useDefineForClassFields": false + "useDefineForClassFields": false, + "noUnusedLocals": true, + "noUnusedParameters": true }, "include": ["src"] }