From d295267fa921104746bf3bb437e50e1d922a8c9e Mon Sep 17 00:00:00 2001 From: Jarrod Seccombe Date: Mon, 6 May 2024 22:24:15 -0400 Subject: [PATCH] feat(tsconfig): update tsconfig rules --- .changeset/beige-feet-fry.md | 5 +++++ packages/tsconfig/tsconfig.json | 27 ++++++++++++++------------- 2 files changed, 19 insertions(+), 13 deletions(-) create mode 100644 .changeset/beige-feet-fry.md diff --git a/.changeset/beige-feet-fry.md b/.changeset/beige-feet-fry.md new file mode 100644 index 0000000..c7f93d0 --- /dev/null +++ b/.changeset/beige-feet-fry.md @@ -0,0 +1,5 @@ +--- +"@jarsec/tsconfig": minor +--- + +Update tsconfig based on total typescript cheatsheet diff --git a/packages/tsconfig/tsconfig.json b/packages/tsconfig/tsconfig.json index ed538b7..86e8911 100644 --- a/packages/tsconfig/tsconfig.json +++ b/packages/tsconfig/tsconfig.json @@ -2,26 +2,27 @@ "$schema": "https://json.schemastore.org/tsconfig", "display": "Node 20", "compilerOptions": { + "module": "NodeNext", "target": "es2022", "lib": [ - "es2023" + "es2022" ], - "declaration": true, + "outDir": "dist", + "allowJs": true, + "esModuleInterop": true, + "skipLibCheck": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "verbatimModuleSyntax": true, "experimentalDecorators": true, "emitDecoratorMetadata": true, - "module": "node16", - "moduleResolution": "node16", - "resolveJsonModule": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, "strict": true, - "noImplicitAny": true, - "strictNullChecks": true, - "strictPropertyInitialization": true, - "noUnusedLocals": true, - "noImplicitReturns": true, "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, "allowUnreachableCode": false, - "skipLibCheck": true + "sourceMap": true, + "declaration": false, + "declarationMap": false } }