2017-05-24 20:31:00 +02:00
|
|
|
{
|
2019-02-08 11:51:32 +01:00
|
|
|
"compilerOptions": {
|
2019-06-20 11:59:55 +02:00
|
|
|
"baseUrl": ".",
|
|
|
|
"paths": {
|
2019-11-04 23:37:32 +01:00
|
|
|
"*": ["static/js/types/*"],
|
2019-06-20 11:59:55 +02:00
|
|
|
},
|
2020-03-26 23:56:30 +01:00
|
|
|
"types": [],
|
2019-06-20 11:59:55 +02:00
|
|
|
|
2019-06-02 06:39:34 +02:00
|
|
|
/* 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,
|
|
|
|
|
2019-02-08 11:51:32 +01:00
|
|
|
/* Basic options */
|
2019-07-20 20:40:36 +02:00
|
|
|
"noEmit": true,
|
2019-06-20 11:59:55 +02:00
|
|
|
"target": "ES2019",
|
|
|
|
"module": "ES6",
|
2019-10-30 00:25:26 +01:00
|
|
|
"esModuleInterop": true,
|
|
|
|
"moduleResolution": "node",
|
2019-02-08 11:51:32 +01:00
|
|
|
"sourceMap": true,
|
|
|
|
|
|
|
|
/* Strict type-checking */
|
|
|
|
"strict": true,
|
|
|
|
"strictNullChecks": false,
|
2019-10-30 00:25:26 +01:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"isolatedModules": true,
|
2019-02-08 11:51:32 +01:00
|
|
|
|
|
|
|
/* Additional checks */
|
|
|
|
"noUnusedLocals": true,
|
|
|
|
"noUnusedParameters": true,
|
|
|
|
"noImplicitReturns": true,
|
|
|
|
"noFallthroughCasesInSwitch": true,
|
2019-06-20 11:59:55 +02:00
|
|
|
},
|
|
|
|
"exclude": [
|
2019-11-21 22:13:41 +01:00
|
|
|
/* Type stubs are not part of the top-level project. */
|
2019-11-04 23:37:32 +01:00
|
|
|
"static/js/types",
|
2019-11-21 22:13:41 +01:00
|
|
|
|
|
|
|
/* 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",
|
2019-06-20 11:59:55 +02:00
|
|
|
],
|
2017-05-24 20:31:00 +02:00
|
|
|
}
|