tsconfig.json raw

   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  
  11      // Bundler mode
  12      "moduleResolution": "bundler",
  13      "allowImportingTsExtensions": true,
  14      "verbatimModuleSyntax": true,
  15      "noEmit": true,
  16  
  17      // Best practices
  18      "strict": true,
  19      "skipLibCheck": true,
  20      "noFallthroughCasesInSwitch": true,
  21      "noUncheckedIndexedAccess": true,
  22      "noImplicitOverride": true,
  23  
  24      // Some stricter flags (disabled by default)
  25      "noUnusedLocals": false,
  26      "noUnusedParameters": false,
  27      "noPropertyAccessFromIndexSignature": false
  28    }
  29  }
  30