/ tsconfig.json
tsconfig.json
 1  {
 2    "compilerOptions": {
 3      // Environment setup & latest features
 4      "lib": ["ESNext"],
 5      "target": "ESNext",
 6      "module": "Preserve",
 7      "moduleDetection": "force",
 8      "jsx": "react-jsx",
 9      "allowJs": true,
10      "types": ["bun"],
11  
12      // Bundler mode
13      "moduleResolution": "bundler",
14      "allowImportingTsExtensions": true,
15      "verbatimModuleSyntax": true,
16      "noEmit": true,
17  
18      // Best practices
19      "strict": true,
20      "skipLibCheck": true,
21      "noFallthroughCasesInSwitch": true,
22      "noUncheckedIndexedAccess": true,
23      "noImplicitOverride": true,
24  
25      // Some stricter flags (disabled by default)
26      "noUnusedLocals": false,
27      "noUnusedParameters": false,
28      "noPropertyAccessFromIndexSignature": false
29    }
30  }