♻️ (typescript) enable strict mode everywhere (#2230)

This commit is contained in:
Matiss Janis Aboltins
2024-01-15 08:24:33 +00:00
committed by GitHub
parent cdefe6133f
commit f33bce41ea
350 changed files with 415 additions and 8 deletions

View File

@@ -15,8 +15,6 @@
"downlevelIteration": true,
// TODO: enable once every file is ts
// "strict": true,
// TODO: enable once all issues fixed
// "strictNullChecks": true,
"strictFunctionTypes": true,
"noFallthroughCasesInSwitch": true,
"skipLibCheck": true,
@@ -30,7 +28,13 @@
"moduleResolution": "Node",
"module": "ES2022",
// Until/if we build using tsc
"noEmit": true
"noEmit": true,
"plugins": [
{
"name": "typescript-strict-plugin",
"path": ["./packages"]
}
]
},
"include": ["packages/**/*"],
"exclude": ["**/node_modules/*", "**/build/*", "**/lib-dist/*"],