Skip to content

Instantly share code, notes, and snippets.

@yagudaev
Created July 22, 2022 18:58
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 yagudaev/24ffbe1ca47911f21e9f292621ce54b9 to your computer and use it in GitHub Desktop.
Save yagudaev/24ffbe1ca47911f21e9f292621ce54b9 to your computer and use it in GitHub Desktop.
Forgiving TSConfig for a NextJS project - Perfect for beginners to TS or prototyping
{
"compilerOptions": {
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
},
"include": [
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
, "bin/sdk-test.mts" ],
"exclude": [
"node_modules"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment