Nuxt/tsconfig.json

58 lines
1.4 KiB
JSON
Raw Normal View History

2021-03-18 14:26:41 +00:00
{
// https://www.totaltypescript.com/tsconfig-cheat-sheet
2021-03-18 14:26:41 +00:00
"compilerOptions": {
/* Base options: */
"esModuleInterop": true,
2021-04-09 13:48:39 +00:00
"skipLibCheck": true,
"target": "es2022",
2021-03-18 14:26:41 +00:00
"allowJs": true,
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
/* Strictness */
"strict": true,
// TODO: enable noUncheckedIndexedAccess
// "noUncheckedIndexedAccess": true,
"forceConsistentCasingInFileNames": true,
"noImplicitOverride": true,
/* If NOT transpiling with TypeScript: */
"module": "preserve",
"noEmit": true,
/* If your code runs in the DOM: */
"lib": [
"es2022",
"dom",
"dom.iterable"
],
"paths": {
"#app": [
"./packages/nuxt/src/app/index"
],
"#app/*": [
"./packages/nuxt/src/app/*"
],
"#internal/nitro": [
"./node_modules/nitropack/dist/runtime"
],
"#internal/nitro/app": [
"./node_modules/nitropack/dist/runtime/app"
],
"#internal/nitro/utils": [
"./node_modules/nitropack/dist/runtime/utils"
]
}
2021-04-09 13:48:39 +00:00
},
"exclude": [
"**/dist/**",
"**/.nuxt/**",
"**/nuxt.d.ts",
"**/examples/**",
"**/docs/**",
"**/playground/**",
2024-06-07 15:57:37 +00:00
"**/test/nuxt/**",
"**/test/fixtures/**",
2024-06-07 15:57:37 +00:00
"**/test/fixtures-temp/**"
]
2021-03-18 14:26:41 +00:00
}