console/packages/web/docs/tsconfig.json

42 lines
1 KiB
JSON
Raw Normal View History

2022-05-18 07:26:57 +00:00
{
"compilerOptions": {
"target": "es2015",
2022-05-18 07:26:57 +00:00
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
2022-05-18 07:26:57 +00:00
"forceConsistentCasingInFileNames": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
2022-05-18 07:26:57 +00:00
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"strictNullChecks": true,
// Next resolves with package.json imports,
// but without .paths, TS thinks we need .jsx extensions for these imports
"paths": {
"#components/*": ["./src/components/*"]
}
2022-05-18 07:26:57 +00:00
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"],
"plugins": [
{
// makes go to definition work, but doesn't raise errors on
// undefined components yet
"name": "@mdx-js/typescript-plugin"
}
],
"mdx": {
"checkMdx": true
}
2022-05-18 07:26:57 +00:00
}