aboutsummaryrefslogtreecommitdiff
path: root/static/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'static/tsconfig.json')
-rw-r--r--static/tsconfig.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/static/tsconfig.json b/static/tsconfig.json
new file mode 100644
index 0000000..0511b9f
--- /dev/null
+++ b/static/tsconfig.json
@@ -0,0 +1,23 @@
+{
+ "compilerOptions": {
+ "target": "ES2020",
+ "useDefineForClassFields": true,
+ "module": "ESNext",
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "isolatedModules": true,
+ "moduleDetection": "force",
+ "noEmit": true,
+
+ /* Linting */
+ "strict": true,
+ "noUnusedLocals": true,
+ "noUnusedParameters": true,
+ "noFallthroughCasesInSwitch": true
+ },
+ "include": ["src"]
+}