Created
September 22, 2020 23:18
-
-
Save aguilarm/401309435c119bbeba591aee2f63cd3e to your computer and use it in GitHub Desktop.
TypeScript config for NextJS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"lib": [ | |
"dom", | |
"dom.iterable", | |
"esnext" | |
], | |
"allowJs": true, | |
"skipLibCheck": true, | |
"strict": true, | |
"noUnusedLocals": true, | |
"noUnusedParameters": true, | |
"forceConsistentCasingInFileNames": true, | |
"noEmit": true, | |
"esModuleInterop": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"resolveJsonModule": true, | |
"isolatedModules": true, | |
"jsx": "preserve", | |
"baseUrl": ".", | |
"paths": { | |
"components/*": ["./components/*"], | |
"pages/*": ["./pages/*"], | |
"lib/*": ["./lib/*"] | |
} | |
}, | |
"exclude": [ | |
"node_modules", | |
".eslintrc.js" | |
], | |
"include": [ | |
"next-env.d.ts", | |
"**/*.ts", | |
"**/*.tsx" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment