Skip to content

Instantly share code, notes, and snippets.

@o-az
Created August 7, 2024 08:56
Show Gist options
  • Save o-az/3848a19146ea14d0a89cbce7f8362f82 to your computer and use it in GitHub Desktop.
Save o-az/3848a19146ea14d0a89cbce7f8362f82 to your computer and use it in GitHub Desktop.
{
"schema": "https://json.schemastore.org/tsconfig.json",
"compilerOptions": {
"strict": true,
"baseUrl": ".",
"noEmit": true,
"allowJs": true,
"checkJs": true,
// depending on the use case
// we might add "DOM" and "DOM.Iterable" as well
"lib": ["ES2023"],
"target": "ES2023",
"module": "ESNext",
"skipLibCheck": true,
"alwaysStrict": true,
"esModuleInterop": true,
"isolatedModules": true,
"strictNullChecks": true,
"resolveJsonModule": true,
"verbatimModuleSyntax": true,
"moduleResolution": "Bundler",
"useDefineForClassFields": true,
"allowArbitraryExtensions": true,
"noUncheckedIndexedAccess": true,
"resolvePackageJsonImports": true,
"resolvePackageJsonExports": true,
"useUnknownInCatchVariables": true,
"allowImportingTsExtensions": true,
"noFallthroughCasesInSwitch": true,
"allowSyntheticDefaultImports": true,
"forceConsistentCasingInFileNames": true,
"noPropertyAccessFromIndexSignature": true,
"types": ["node", "bun"]
},
"include": ["src"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment