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": { "compilerOptions": {
"target": "es5", "target": "ESNext",
"lib": ["dom", "dom.iterable", "esnext"], "module": "ESNext",
"allowJs": true, "allowJs": true,
"skipLibCheck": true, "checkJs": true,
"baseUrl": ".",
"strict": true, "strict": true,
"forceConsistentCasingInFileNames": true,
"noEmit": true, "noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve", "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"], "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"] "exclude": ["dist", ".next", "out", "next.config.js"]
} }