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", "$schema": "https://json.schemastore.org/tsconfig",
"display": "Default", "display": "Default",
"compilerOptions": { "compilerOptions": {
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
"declaration": true, "declaration": true,
"declarationMap": true, "declarationMap": true,
@ -13,8 +15,14 @@
"module": "NodeNext", "module": "NodeNext",
"moduleResolution": "NodeNext", "moduleResolution": "NodeNext",
"noEmit": true, "noEmit": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true, "noImplicitOverride": true,
"noImplicitReturns": true, "noImplicitReturns": true,
"noImplicitAny": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveWatchOutput": true, "preserveWatchOutput": true,
"resolveJsonModule": false, "resolveJsonModule": false,
"skipLibCheck": true, "skipLibCheck": true,

View file

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