2020-10-20 23:51:09 +00:00
|
|
|
{
|
2022-02-04 11:57:55 +00:00
|
|
|
"compilerOptions": {
|
2022-12-07 13:53:46 +00:00
|
|
|
"allowJs": true,
|
|
|
|
"downlevelIteration": true,
|
|
|
|
"esModuleInterop": true,
|
|
|
|
"forceConsistentCasingInFileNames": true,
|
2022-02-04 11:57:55 +00:00
|
|
|
"jsx": "react",
|
2024-07-11 13:58:19 +00:00
|
|
|
"lib": ["ES2022", "ES2022.Intl", "DOM", "DOM.iterable"],
|
2022-12-07 13:53:46 +00:00
|
|
|
"moduleResolution": "node",
|
2022-02-04 11:57:55 +00:00
|
|
|
"noImplicitAny": false, // TODO: Enable once all existing code is typed
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
2024-04-06 05:24:36 +00:00
|
|
|
"resolveJsonModule": true,
|
2023-12-18 09:56:42 +00:00
|
|
|
"skipLibCheck": true,
|
2022-02-04 11:57:55 +00:00
|
|
|
"strictNullChecks": true,
|
2023-01-25 12:50:59 +00:00
|
|
|
"strictPropertyInitialization": true,
|
2023-12-12 10:54:41 +00:00
|
|
|
"target": "ES2022"
|
2022-02-04 11:57:55 +00:00
|
|
|
},
|
2022-02-18 16:07:09 +00:00
|
|
|
"files": [
|
|
|
|
"client/src/index.ts",
|
|
|
|
"client/src/custom.d.ts",
|
|
|
|
"client/storybook/stories.d.ts"
|
|
|
|
],
|
2022-02-18 15:34:33 +00:00
|
|
|
"include": ["src", "wagtail"],
|
2022-02-18 16:07:09 +00:00
|
|
|
"exclude": [
|
|
|
|
"node_modules",
|
|
|
|
"static",
|
|
|
|
// Files with template syntax.
|
|
|
|
"wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/includes/searchpromotions_formset.js"
|
|
|
|
]
|
2020-10-20 23:51:09 +00:00
|
|
|
}
|