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",
|
2024-07-11 15:58:19 +02:00
|
|
|
"lib": ["ES2022", "ES2022.Intl", "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,
|
2024-04-06 07:24:36 +02:00
|
|
|
"resolveJsonModule": true,
|
2023-12-18 10:56:42 +01:00
|
|
|
"skipLibCheck": true,
|
2020-10-21 01:51:09 +02:00
|
|
|
"strictNullChecks": true,
|
2023-01-25 13:50:59 +01:00
|
|
|
"strictPropertyInitialization": true,
|
2023-12-12 11:54:41 +01:00
|
|
|
"target": "ES2022"
|
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
|
|
|
}
|