tsconfig.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. {
  2. "compilerOptions": {
  3. "baseUrl": "./src",
  4. "paths": {
  5. "metarare": [
  6. "./@types"
  7. ],
  8. "@src/*": [
  9. "./*"
  10. ],
  11. "@assets/*": [
  12. "../assets/*"
  13. ],
  14. },
  15. "allowSyntheticDefaultImports": true,
  16. "noFallthroughCasesInSwitch": true,
  17. "noUnusedParameters": false,
  18. "noImplicitReturns": true,
  19. "moduleResolution": "node",
  20. "esModuleInterop": true,
  21. "noUnusedLocals": false,
  22. "noImplicitAny": true,
  23. "sourceMap": true,
  24. "target": "es2015",
  25. "module": "esnext",
  26. "strict": true,
  27. "jsx": "react",
  28. "rootDirs": [
  29. "src",
  30. "stories"
  31. ],
  32. "noImplicitThis": true,
  33. "strictNullChecks": true,
  34. "skipLibCheck": true,
  35. "resolveJsonModule": true,
  36. "isolatedModules": true,
  37. "allowUnreachableCode": true,
  38. "allowUnusedLabels": true,
  39. "suppressExcessPropertyErrors": false,
  40. "suppressImplicitAnyIndexErrors": false,
  41. "noStrictGenericChecks": true,
  42. "listFiles": true,
  43. },
  44. "include": [
  45. "src"
  46. ],
  47. "exclude": [
  48. "../node_modules",
  49. "../dist",
  50. ],
  51. }