Skip to content

Instantly share code, notes, and snippets.

@manavm1990
Last active September 19, 2024 17:34
Show Gist options
  • Save manavm1990/008b2cdc50271a622eb0b5d437af8dcb to your computer and use it in GitHub Desktop.
Save manavm1990/008b2cdc50271a622eb0b5d437af8dcb to your computer and use it in GitHub Desktop.
My Strict TS Config
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Base",
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": false,
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleDetection": "force",
"moduleResolution": "bundler",
"noImplicitOverride": true,
"noFallthroughCasesInSwitch": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"verbatimModuleSyntax": true,
"paths": {
"@/*": ["./app/*"]
}
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment