about summary refs log tree commit diff stats
path: root/js/sentiment/jsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'js/sentiment/jsconfig.json')
-rw-r--r--js/sentiment/jsconfig.json27
1 files changed, 27 insertions, 0 deletions
diff --git a/js/sentiment/jsconfig.json b/js/sentiment/jsconfig.json
new file mode 100644
index 0000000..238655f
--- /dev/null
+++ b/js/sentiment/jsconfig.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
+  }
+}