aboutsummaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-09-01 13:43:14 -0700
committerFuwn <[email protected]>2023-09-01 13:43:14 -0700
commit32be4d198d59dcc603a0437cab18cf1f7b608355 (patch)
tree1b75e925a69419c043dfe7750e7dcc51a992d954 /tsconfig.json
parentfix: null defaults (diff)
downloaddue.moe-32be4d198d59dcc603a0437cab18cf1f7b608355.tar.xz
due.moe-32be4d198d59dcc603a0437cab18cf1f7b608355.zip
chore(typescript): tighten checks
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json9
1 files changed, 8 insertions, 1 deletions
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