mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-11 12:43:09 -05:00
♻️ (typescript) enable strict mode everywhere (#2230)
This commit is contained in:
committed by
GitHub
parent
cdefe6133f
commit
f33bce41ea
@@ -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/*"],
|
||||
|
||||
Reference in New Issue
Block a user