fix(config): setting strict rules for better code

This commit is contained in:
Walid 2022-03-18 16:17:05 +01:00
parent d22c5ed3a5
commit c61b05afa4
No known key found for this signature in database
GPG Key ID: 50CE2725C6AF36B0

View File

@ -1,20 +1,24 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"target": "ESNext",
"module": "ESNext",
"allowJs": true,
"skipLibCheck": true,
"checkJs": true,
"baseUrl": ".",
"strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true
"sourceMap": true,
"incremental": true,
"skipLibCheck": true,
"removeComments": true,
"isolatedModules": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"moduleResolution": "node",
"lib": ["dom", "dom.iterable", "esnext"],
"forceConsistentCasingInFileNames": true
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"exclude": ["dist", ".next", "out", "next.config.js"]
}