From 32be4d198d59dcc603a0437cab18cf1f7b608355 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 1 Sep 2023 13:43:14 -0700 Subject: chore(typescript): tighten checks --- tsconfig.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 61d20090..a34c1174 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -8,7 +8,14 @@ "resolveJsonModule": true, "skipLibCheck": true, "sourceMap": true, - "strict": true + "strict": true, + + // https://github.com/sveltejs/svelte/blob/master/packages/svelte/tsconfig.json + "stripInternal": true, + + "noImplicitThis": true, + "noUnusedLocals": true, + "noUnusedParameters": true } // Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias -- cgit v1.2.3