0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00
wagtail/tsconfig.json
LB (Ben Johnston) 6a9add00a8
Turn on skipLibCheck for TypeScript (#11336)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-12-18 09:56:42 +00:00

31 lines
858 B
JSON

{
"compilerOptions": {
"allowJs": true,
"downlevelIteration": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"jsx": "react",
"lib": ["ES2022", "DOM", "DOM.iterable"],
"moduleResolution": "node",
"noImplicitAny": false, // TODO: Enable once all existing code is typed
"noUnusedLocals": true,
"noUnusedParameters": true,
"skipLibCheck": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"target": "ES2022"
},
"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"
]
}