feat(tsconfig): stricten up the default TypeScript config some more

This commit is contained in:
Joakim Carlstein 2023-11-09 08:37:37 +01:00
parent 9c5f9ebf23
commit 59780207bd
3 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
'@emigrate/tsconfig': major
---
First release and it's considered stable as it has been in use in other projects for a while.

View file

@ -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,

View file

@ -7,5 +7,7 @@
"files": [
"base.json",
"build.json"
]
],
"author": "Aboviq AB <dev@aboviq.com> (https://www.aboviq.com)",
"license": "MIT"
}