Aam-Digital/ndb-core

View on GitHub
tsconfig.json

Summary

Maintainability
Test Coverage
{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "baseUrl": "src",
    "strict": false,
    // we are working towards enabling this soon
    "noImplicitOverride": true,
    // TODO: enable more strict rules (these are included in latest angular default projects)
    //    "noPropertyAccessFromIndexSignature": true,
    //    "noImplicitReturns": true,
    //    "noFallthroughCasesInSwitch": true,
    //    "isolatedModules": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "moduleResolution": "bundler",
    "importHelpers": true,
    "allowSyntheticDefaultImports": true,
    "useDefineForClassFields": false,
    // TODO fix decorator issues caused by the changed initialization order
    "target": "ES2022",
    "module": "ES2022",
    "resolveJsonModule": true,
    "lib": [
      "ES2022",
      "dom"
    ],
    "types": [
      "jasmine"
    ],
    "paths": {
      "stream": [
        "./node_modules/stream-browserify"
      ],
      "process": [
        "./node_modules/process"
      ],
      "util": [
        "./node_modules/util"
      ],
      "assert": [
        "./node_modules/assert"
      ]
    }
  },
  "exclude": [
    "e2e",
    "./cypress.config.ts",
    "**/*.cy.tsx"
  ],
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  }
}