Ctrl K
ComunidadGuías…

tsconfig.app.json

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

Archivo original ↗Preguntar a KiBot
{
  "compilerOptions": {
    "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
    "target": "ES2020",
    "useDefineForClassFields": true,
    // ES2022 exposes ErrorOptions/Error.cause types used by ts-pg-schema-diff;
    // the Electron runtime supports these APIs while emitted JS still targets ES2020.
    "lib": ["ES2022", "DOM", "DOM.Iterable"],
    "module": "ESNext",
    "skipLibCheck": true,

    /* Bundler mode */
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    "isolatedModules": true,
    "moduleDetection": "force",
    "noEmit": true,
    "jsx": "react-jsx",

    /* Linting */
    "strict": true,
    "noUnusedLocals": false,
    "noUnusedParameters": false,
    "noFallthroughCasesInSwitch": true,
    "noUncheckedSideEffectImports": true,
    // import
    "paths": {
      "*": ["./*"],
      "@/*": ["./src/*"],
      "pg-schema-classifier": ["./packages/pg-schema-classifier/src/index.ts"],
      "pg-schema-classifier/*": ["./packages/pg-schema-classifier/src/*"],
      "ts-pg-schema-diff": ["./packages/ts-pg-schema-diff/src/index.ts"],
      "ts-pg-schema-diff/*": ["./packages/ts-pg-schema-diff/src/*"]
    }
  },
  "include": [
    "src",
    "e2e-tests",
    "shared",
    "packages/ts-pg-schema-diff/src",
    "packages/pg-schema-classifier/src"
  ],
  "exclude": [
    "e2e-tests/fixtures",
    "src/__tests__/evals/fixtures",
    "eval-results"
  ]
}