diff --git a/tsconfig.json b/tsconfig.json index 5897df5..1c029bf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,39 +1,37 @@ { "compilerOptions": { - "target": "es5", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], + "target": "esnext", + "module": "esnext", + "jsx": "preserve", + "lib": ["dom", "es2017"], + "moduleResolution": "node", "allowJs": true, - "skipLibCheck": true, - "strict": false, - "forceConsistentCasingInFileNames": true, "noEmit": true, + "strict": true, + "allowSyntheticDefaultImports": true, + "skipLibCheck": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "removeComments": false, + "preserveConstEnums": true, + "sourceMap": true, "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "node", + "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, "isolatedModules": true, - "jsx": "preserve", "baseUrl": ".", - "typeRoots": ["node_modules/@types"], "paths": { + "@static/*": ["./public/static/*"], "@components/*": ["./src/components/*"], + "@data/*": ["./src/data/*"], "@styles/*": ["./src/styles/*"], "@screens/*": ["./src/screens/*"], - "@services/*": ["./src/services/*"], - "@stores/*": ["./src/stores/*"], - "@hooks/*": ["./src/hooks/*"] - } + "@hooks/*": ["./src/hooks/*"], + "@constants/*": ["./src/constants/*"], + "@services/*": ["./src/services/*"] + }, + "types": ["node"] }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file + "exclude": ["node_modules"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"] +}