1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 06:54:07 +00:00

PM-14445: Enable strict mode for KM team owned code

The aim was to enable `strictNullChecks` only, which will hopefully give better clarity on the types expectations from KM code, but to other teams and KM team. But since it is not possible to do that on individual module level (this flag is enabled everywhere in the code that KM module uses, resulting in 1000+ errors), the `typescript-strict-plugin` was used. As a consequence, the KM owned code is now in TS compiled strict mode.
This commit is contained in:
Maciej Zieniuk
2024-11-04 14:55:24 +00:00
parent 6ca8e7df71
commit 7c6df1bb0d
8 changed files with 184 additions and 2 deletions

View File

@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"plugins": [
{
"name": "typescript-strict-plugin",
"paths": ["./"],
"excludePattern": ["**/*.spec.ts"]
}
]
}
}