tsconfig.infra.base.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json.schemastore.org/tsconfig",
  3. "compilerOptions": {
  4. "allowJs": false,
  5. "allowSyntheticDefaultImports": true,
  6. "alwaysStrict": true,
  7. "declaration": true,
  8. "composite": true,
  9. "incremental": true,
  10. "strictNullChecks": false,
  11. "noImplicitAny": false,
  12. "strictBindCallApply": false,
  13. "esModuleInterop": true,
  14. "experimentalDecorators": true,
  15. "forceConsistentCasingInFileNames": true,
  16. "moduleResolution": "node",
  17. "module": "CommonJS",
  18. "noFallthroughCasesInSwitch": true,
  19. // 这个普遍反馈会让代码变得啰嗦,暂定遵循原本 bot 的设置,关闭
  20. "noImplicitReturns": false,
  21. "removeComments": false,
  22. "resolveJsonModule": true,
  23. "skipLibCheck": true,
  24. "sourceMap": true,
  25. "strict": true,
  26. "target": "es2018"
  27. },
  28. "watchOptions": {
  29. "excludeDirectories": [
  30. "**/node_modules",
  31. "**/__tests__",
  32. "**/__coverage__",
  33. "**/__mocks__",
  34. "output",
  35. "dist",
  36. "public/externals/vendors"
  37. ]
  38. }
  39. }