tsconfig.json 904 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "compilerOptions": {
  3. "allowJs": true,
  4. "downlevelIteration": true,
  5. "esModuleInterop": true,
  6. "forceConsistentCasingInFileNames": true,
  7. "jsx": "react",
  8. "lib": ["ES2022", "ES2022.Intl", "DOM", "DOM.iterable"],
  9. "moduleResolution": "node",
  10. "noImplicitAny": false, // TODO: Enable once all existing code is typed
  11. "noUnusedLocals": true,
  12. "noUnusedParameters": true,
  13. "resolveJsonModule": true,
  14. "skipLibCheck": true,
  15. "strictNullChecks": true,
  16. "strictPropertyInitialization": true,
  17. "target": "ES2022"
  18. },
  19. "files": [
  20. "client/src/index.ts",
  21. "client/src/custom.d.ts",
  22. "client/storybook/stories.d.ts"
  23. ],
  24. "include": ["src", "wagtail"],
  25. "exclude": [
  26. "node_modules",
  27. "static",
  28. // Files with template syntax.
  29. "wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/includes/searchpromotions_formset.js"
  30. ]
  31. }