default Next.js tsconfig

This commit is contained in:
Matthias Kretschmann 2022-10-18 16:46:08 +01:00
parent 9a644991ee
commit 224873fb6e
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,33 +1,20 @@
{
"compilerOptions": {
"target": "esnext",
"module": "ES2020",
"lib": ["dom", "ES2020"],
"resolveJsonModule": true,
"moduleResolution": "node",
"jsx": "preserve",
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmit": true,
"sourceMap": true,
"noImplicitAny": true,
"paths": {
"@shared/*": ["./src/components/@shared/*"],
"@hooks/*": ["./src/@hooks/*"],
"@context/*": ["./src/@context/*"],
"@images/*": ["./src/@images/*"],
"@utils/*": ["./src/@utils/*"],
"@content/*": ["./@content/*"]
},
"baseUrl": ".",
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
"skipLibCheck": true,
"allowJs": true,
"noEmit": true,
"incremental": true,
"esModuleInterop": true,
"incremental": true
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"exclude": ["node_modules", ".next", "*.js"],
"include": ["./src/**/*", "./tests/**/*", "./next-env.d.ts", "./content/**/*"]
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}