From cec7ef00cfcc397a29da781d74c7e17a4fb20eb5 Mon Sep 17 00:00:00 2001 From: Eric Liu Date: Sat, 9 Nov 2024 09:58:57 -0800 Subject: [PATCH] build: enforce `noUnusedLocals` and `noUnusedParameters` --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 057f104a..4501bf8f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,8 @@ "target": "ESNext", "module": "ESNext", "moduleResolution": "node", + "noUnusedLocals": true, + "noUnusedParameters": true, "strict": true, }, "include": ["src", "tests"]