Skip to content

Instantly share code, notes, and snippets.

@bengrunfeld
Created September 3, 2020 07:59
Show Gist options
  • Save bengrunfeld/7eacf85c5dde4ace3ca9dc43b1c4503b to your computer and use it in GitHub Desktop.
Save bengrunfeld/7eacf85c5dde4ace3ca9dc43b1c4503b to your computer and use it in GitHub Desktop.
TypeScript Config File for Use with Prettier & ESLint
{
"compilerOptions": {
"target": "es5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve"
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment