summaryrefslogtreecommitdiffstats
path: root/devtools/tsconfig.json
blob: ce82b3a328de675d7359d230a54dd284d592fbd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
  "compilerOptions": {
    "module": "commonjs",
    // Set the baseUrl to the root of the project.
    "baseUrl": "..",
    // Make the type checking as strict as possible.
    "strict": true,
    // TypeScript will check JS files only if they have a @ts-check comment in them.
    "allowJs": true,
    // Only type check, don't emit files.
    "noEmit": true,
    // Allow esnext syntax. Otherwise the default is ES5 only.
    "target": "esnext",
    "lib": ["esnext", "dom"]
  },
  // Add a @ts-check comment to a JS file to start type checking it.
  "include": ["./**/*.js", "./**/*.jsx"],
  "exclude": [
    "./client/debugger",
    "./client/shared/vendor",
    "./**/node_modules",
    "./**/test"
  ]
}