mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
701cddd193
This is not easily compatible with code that initialises properties outside of the constructor (used in Stimulus)
30 lines
872 B
JSON
30 lines
872 B
JSON
{
|
|
"compilerOptions": {
|
|
"allowJs": true,
|
|
"downlevelIteration": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"jsx": "react",
|
|
"lib": ["DOM", "DOM.iterable"],
|
|
"moduleResolution": "node",
|
|
"noImplicitAny": false, // TODO: Enable once all existing code is typed
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"strictNullChecks": true,
|
|
"strictPropertyInitialization": false,
|
|
"target": "ES2021" // Since lowest browser support is for Safari 14
|
|
},
|
|
"files": [
|
|
"client/src/index.ts",
|
|
"client/src/custom.d.ts",
|
|
"client/storybook/stories.d.ts"
|
|
],
|
|
"include": ["src", "wagtail"],
|
|
"exclude": [
|
|
"node_modules",
|
|
"static",
|
|
// Files with template syntax.
|
|
"wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/includes/searchpromotions_formset.js"
|
|
]
|
|
}
|