tsconfig.json 925 B

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "compilerOptions": {
  3. "target": "ESNext",
  4. "useDefineForClassFields": true,
  5. "lib": ["DOM", "DOM.Iterable", "ESNext"],
  6. "allowJs": true,
  7. "skipLibCheck": true,
  8. "esModuleInterop": false,
  9. "allowSyntheticDefaultImports": true,
  10. "strict": true,
  11. "forceConsistentCasingInFileNames": true,
  12. "noFallthroughCasesInSwitch": true,
  13. "module": "ESNext",
  14. "moduleResolution": "node",
  15. "resolveJsonModule": true,
  16. "isolatedModules": true,
  17. "noEmit": true,
  18. "jsx": "react-jsx",
  19. // custom config
  20. "noUnusedLocals": false, // change
  21. "noImplicitAny": true,
  22. "noImplicitThis": true,
  23. "strictNullChecks": true,
  24. "types": ["node"],
  25. "typeRoots": ["./types"],
  26. "baseUrl": "src",
  27. "downlevelIteration": true,
  28. "paths": {
  29. "@/*": ["*"]
  30. }
  31. },
  32. "include": ["src"],
  33. "exclude": ["node_modules", "dist", "scripts", "acceptance-tests", "jest", "cypress"]
  34. }