forked from zulip/zulip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.json
47 lines (41 loc) · 1.29 KB
/
tsconfig.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*": ["static/js/types/*"],
},
"types": [],
/* TypeScript 3.4 added the --incremental flag but its API is not
* currently public so ts-loader cannot use it yet.
* Tracking issue: https://github.com/microsoft/TypeScript/issues/29978
*/
// "incremental": true,
/* Basic options */
"noEmit": true,
"target": "ES2020",
"esModuleInterop": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"sourceMap": true,
/* Strict type-checking */
"strict": true,
"forceConsistentCasingInFileNames": true,
"isolatedModules": true,
/* Additional checks */
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
},
"exclude": [
/* Type stubs are not part of the top-level project. */
"static/js/types",
/* Skip walking large generated directories. */
"docs/_build",
"static/webpack-bundles",
"var",
"zulip-py3-venv",
/* Even though allowJs defaults to false, typescript-eslint forces it to true. */
"**/*.js",
],
}