2020-10-21 01:51:09 +02:00
|
|
|
{
|
|
|
|
"compilerOptions": {
|
2022-12-07 14:53:46 +01:00
|
|
|
"allowJs": true,
|
|
|
|
"downlevelIteration": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
2020-10-21 01:51:09 +02:00
|
|
|
"jsx": "react",
|
2023-01-17 11:32:25 +01:00
|
|
|
"lib": ["ES2021", "DOM", "DOM.iterable"],
|
2022-12-07 14:53:46 +01:00
|
|
|
"moduleResolution": "node",
|
2020-10-21 01:51:09 +02:00
|
|
|
"noImplicitAny": false, // TODO: Enable once all existing code is typed
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"strictNullChecks": true,
|
2023-01-25 13:50:59 +01:00
|
|
|
"strictPropertyInitialization": true,
|
2022-12-07 14:53:46 +01:00
|
|
|
"target": "ES2021" // Since lowest browser support is for Safari 14
|
2020-10-21 01:51:09 +02:00
|
|
|
},
|
2022-02-18 17:07:09 +01:00
|
|
|
"files": [
|
|
|
|
"client/src/index.ts",
|
|
|
|
"client/src/custom.d.ts",
|
|
|
|
"client/storybook/stories.d.ts"
|
|
|
|
],
|
2022-02-18 16:34:33 +01:00
|
|
|
"include": ["src", "wagtail"],
|
2022-02-18 17:07:09 +01:00
|
|
|
"exclude": [
|
|
|
|
"node_modules",
|
|
|
|
"static",
|
|
|
|
// Files with template syntax.
|
|
|
|
"wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/includes/searchpromotions_formset.js"
|
|
|
|
]
|
2020-10-21 01:51:09 +02:00
|
|
|
}
|