Skip to content

Instantly share code, notes, and snippets.

@rijkvanzanten
Last active November 19, 2022 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rijkvanzanten/be696ff0d267b17dbe417bdb68cfc211 to your computer and use it in GitHub Desktop.
Save rijkvanzanten/be696ff0d267b17dbe417bdb68cfc211 to your computer and use it in GitHub Desktop.
Current preferred ts config 10/17/22
{
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Rijk's Preferred Setup 2022",
"compilerOptions": {
"lib": ["es2022"],
"module": "es2022",
"target": "es2022",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"moduleResolution": "NodeNext",
"allowUnusedLabels": false,
"allowUnreachableCode": false,
"exactOptionalPropertyTypes": true,
"noFallthroughCasesInSwitch": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"importsNotUsedAsValues": "error",
"checkJs": true,
"outDir": "dist",
"allowSyntheticDefaultImports": true
},
"include": ["src"],
"exclude": ["node_modules", "dist"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment