tsconfig.json 840 B raw
1
{
2
  "compilerOptions": {
3
    // Environment setup & latest features
4
    "lib": ["ESNext", "DOM", "DOM.Iterable"],
5
    "target": "ESNext",
6
    "module": "ESNext",
7
    "moduleDetection": "force",
8
    "jsx": "react-jsx",
9
    "allowJs": true,
10
11
    // Module resolution
12
    "moduleResolution": "bundler",
13
    "allowSyntheticDefaultImports": true,
14
    "esModuleInterop": true,
15
    "verbatimModuleSyntax": true,
16
17
    // Strictness and best practices
18
    "strict": true,
19
    "forceConsistentCasingInFileNames": true,
20
    "noFallthroughCasesInSwitch": true,
21
    "noUncheckedIndexedAccess": true,
22
    "experimentalDecorators": true,
23
24
    // Output control
25
    "skipLibCheck": true,
26
27
    // Optional strict flags (disabled by default)
28
    "noUnusedLocals": false,
29
    "noUnusedParameters": false,
30
    "noPropertyAccessFromIndexSignature": false
31
  }
32
}