feat(tsconfig): stricten up the default TypeScript config some more
This commit is contained in:
parent
9c5f9ebf23
commit
59780207bd
3 changed files with 16 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
"$schema": "https://json.schemastore.org/tsconfig",
|
||||
"display": "Default",
|
||||
"compilerOptions": {
|
||||
"allowUnreachableCode": false,
|
||||
"allowUnusedLabels": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
|
|
@ -13,8 +15,14 @@
|
|||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"noEmit": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noImplicitOverride": true,
|
||||
"noImplicitReturns": true,
|
||||
"noImplicitAny": true,
|
||||
"noPropertyAccessFromIndexSignature": true,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"preserveWatchOutput": true,
|
||||
"resolveJsonModule": false,
|
||||
"skipLibCheck": true,
|
||||
|
|
|
|||
|
|
@ -7,5 +7,7 @@
|
|||
"files": [
|
||||
"base.json",
|
||||
"build.json"
|
||||
]
|
||||
],
|
||||
"author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue