fix(config): setting strict rules for better code
This commit is contained in:
		| @@ -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"] | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user