2
0

tsconfig.json 832 B

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