tsconfig.json 687 B

12345678910111213141516171819202122232425262728
  1. {
  2. "compilerOptions": {
  3. // Environment setup & latest features
  4. "lib": ["ESNext"],
  5. "target": "ESNext",
  6. "module": "nodenext",
  7. "moduleDetection": "force",
  8. "jsx": "react-jsx",
  9. "allowJs": true,
  10. // Node.js module resolution
  11. "moduleResolution": "nodenext",
  12. "verbatimModuleSyntax": true,
  13. "noEmit": true,
  14. // Best practices
  15. "strict": true,
  16. "skipLibCheck": true,
  17. "noFallthroughCasesInSwitch": true,
  18. "noUncheckedIndexedAccess": true,
  19. "noImplicitOverride": true,
  20. // Some stricter flags (disabled by default)
  21. "noUnusedLocals": false,
  22. "noUnusedParameters": false,
  23. "noPropertyAccessFromIndexSignature": false
  24. }
  25. }