summaryrefslogtreecommitdiff
path: root/tsconfig.json
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-12-14 23:53:26 -0800
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2024-12-14 23:55:51 -0800
commit4fd40b1f9de400a5d859789e1dad3e1a4ba6587c (patch)
tree74fbae949aa3fb9711c06e31cb6649e90a8cdb97 /tsconfig.json
downloaduptime-4fd40b1f9de400a5d859789e1dad3e1a4ba6587c.tar.gz
uptime-4fd40b1f9de400a5d859789e1dad3e1a4ba6587c.zip
initial commit
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..238655f
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,27 @@
+{
+ "compilerOptions": {
+ // Enable latest features
+ "lib": ["ESNext", "DOM"],
+ "target": "ESNext",
+ "module": "ESNext",
+ "moduleDetection": "force",
+ "jsx": "react-jsx",
+ "allowJs": true,
+
+ // Bundler mode
+ "moduleResolution": "bundler",
+ "allowImportingTsExtensions": true,
+ "verbatimModuleSyntax": true,
+ "noEmit": true,
+
+ // Best practices
+ "strict": true,
+ "skipLibCheck": true,
+ "noFallthroughCasesInSwitch": true,
+
+ // Some stricter flags (disabled by default)
+ "noUnusedLocals": false,
+ "noUnusedParameters": false,
+ "noPropertyAccessFromIndexSignature": false
+ }
+}