Created
August 16, 2024 22:35
-
-
Save jeferson-sb/03e22c112beb89a0e1f24a0d9905a22b to your computer and use it in GitHub Desktop.
TSConfig with sane defaults
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "ESNext", | |
"module": "ESNext", | |
"moduleResolution": "Node", | |
"moduleDetection": "force", | |
"isolatedModules": true, | |
"resolveJsonModule": true, | |
"esModuleInterop": true, | |
"skipLibCheck": true, | |
"allowJs": false, | |
"strict": true, | |
"strictNullChecks": true, | |
"inlineSourceMap": true, | |
"forceConsistentCasingInFileNames": true, | |
"noImplicitAny": true, | |
"noImplicitThis": true, | |
"noUnusedLocals": true, | |
"noUnusedParameters": true, | |
"noImplicitReturns": true, | |
"noUncheckedIndexedAccess": true, | |
"exactOptionalPropertyTypes": true | |
// Extend with what you want... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment