Skip to content

Commit

Permalink
feat(tsconfig): update tsconfig rules
Browse files Browse the repository at this point in the history
  • Loading branch information
jsec committed May 7, 2024
1 parent 8d53b61 commit d295267
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .changeset/beige-feet-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@jarsec/tsconfig": minor
---

Update tsconfig based on total typescript cheatsheet
27 changes: 14 additions & 13 deletions packages/tsconfig/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit d295267

Please sign in to comment.