Ctrl K
ComunidadGuías…

tsconfig.json

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
  "references": [
    { "path": "./packages/crdt" },
    { "path": "./packages/component-library" },
    { "path": "./packages/plugins-service" },
    { "path": "./packages/loot-core" },
    { "path": "./packages/api" },
    { "path": "./packages/desktop-client" },
    { "path": "./packages/sync-server" },
    { "path": "./packages/desktop-electron" },
    { "path": "./packages/cli" }
  ],
  "compilerOptions": {
    "target": "ES2022",
    "lib": ["ES2022", "DOM", "DOM.Iterable"],
    "allowSyntheticDefaultImports": true,
    "esModuleInterop": true,
    "experimentalDecorators": true,
    "resolveJsonModule": true,
    // TODO: enable once every file is ts
    // "strict": true,
    "strictFunctionTypes": true,
    "noFallthroughCasesInSwitch": true,
    "skipLibCheck": true,
    "jsx": "preserve",
    "types": ["vite/client", "vitest/globals"],
    // Check JS files too
    "allowJs": true,
    "checkJs": false,
    // Used for temp builds
    "outDir": "build",
    "moduleResolution": "bundler",
    "module": "es2022",
    // Until/if we build using tsc
    "noEmit": true
  },
  "include": ["bin/*.mts"],
  "exclude": [
    "**/.*/",
    "node_modules",
    "**/node_modules/*",
    "**/build/*",
    "**/build-electron/*",
    "**/client-build/*",
    "**/dist/*",
    "**/lib-dist/*",
    "packages/*/@types",
    "**/test-results/*",
    "**/playwright-report/*",
    "**/service-worker/*",
    "packages/docs/**/*",
    "packages/mobile-client/android/*",
    "packages/mobile-client/ios/*"
  ]
}