Skip to content

Instantly share code, notes, and snippets.

@jeferson-sb
Created August 16, 2024 22:35
Show Gist options
  • Save jeferson-sb/03e22c112beb89a0e1f24a0d9905a22b to your computer and use it in GitHub Desktop.
Save jeferson-sb/03e22c112beb89a0e1f24a0d9905a22b to your computer and use it in GitHub Desktop.
TSConfig with sane defaults
{
"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