portainer/portainer

View on GitHub
tsconfig.json

Summary

Maintainability
Test Coverage
{
  "compilerOptions": {
    "baseUrl": "app",
    "outDir": "./dist/public",
    "module": "es6",
    // "module": "commonjs",
    // "module": "esnext",
    "incremental": true,
    "target": "es2017",
    "allowJs": true,
    "checkJs": false,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "noFallthroughCasesInSwitch": true,
    "moduleResolution": "node",
    "isolatedModules": true,
    "noEmit": false,
    "jsx": "react-jsx",
    "noImplicitReturns": true,
    "noImplicitAny": true,
    "noImplicitThis": true,
    "strictNullChecks": true,
    "noUnusedLocals": true,
    "removeComments": true,
    "resolveJsonModule": true,
    // "sourceMap": true,
    "lib": ["dom", "dom.iterable", "esnext"],
    "paths": {
      // paths relative to the baseUrl
      "@@/*": ["react/components/*"],
      "@/*": ["./*", "../app/*"],
      "Agent/*": ["agent/*"],
      "Azure/*": ["azure/*"],
      "Docker/*": ["docker/*"],
      "Kubernetes/*": ["kubernetes/*"],
      "Portainer/*": ["portainer/*"]
    },
    "types": ["vitest/globals"]
  },
  "exclude": ["api", "build", "dist", "distribution", "node_modules", "test", "webpack"],
  "include": ["app", ".storybook"]
}