Skip to content

Instantly share code, notes, and snippets.

@Brlaney
Last active July 21, 2021 00:06
Show Gist options
  • Save Brlaney/d6516cfd276f97a3b69ba4049d9805de to your computer and use it in GitHub Desktop.
Save Brlaney/d6516cfd276f97a3b69ba4049d9805de to your computer and use it in GitHub Desktop.
tsconfig.json
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/styles/*": ["./src/styles/*"],
"@/lib/*": ["./src/lib/*"]
},
"target": "esnext",
"lib": [
"dom",
"dom.iterable",
"esnext",
],
"allowJs": true,
"allowSyntheticDefaultImports": true,
"jsx": "preserve",
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"preserveConstEnums": true,
"removeComments": false,
"skipLibCheck": true,
"sourceMap": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"isolatedModules": true
},
"include": [
"src",
"next-env.d.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"dist",
".next",
"node_modules",
"build"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment