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": {
|
2023-02-22 23:03:47 +01:00
|
|
|
"*": ["web/src/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
|
|
|
|
2020-10-23 02:43:28 +02:00
|
|
|
/* TypeScript 3.4 added the --incremental flag but its API is not
|
2019-06-02 06:39:34 +02:00
|
|
|
* 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,
|
2021-05-27 20:08:50 +02:00
|
|
|
"target": "ES2020",
|
2019-10-30 00:25:26 +01:00
|
|
|
"esModuleInterop": true,
|
|
|
|
"moduleResolution": "node",
|
2020-05-27 01:02:28 +02:00
|
|
|
"resolveJsonModule": true,
|
2019-02-08 11:51:32 +01:00
|
|
|
"sourceMap": true,
|
|
|
|
|
|
|
|
/* Strict type-checking */
|
|
|
|
"strict": true,
|
2019-10-30 00:25:26 +01:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"isolatedModules": true,
|
2021-09-11 06:56:01 +02:00
|
|
|
"noImplicitOverride": 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. */
|
2023-02-22 23:03:47 +01:00
|
|
|
"web/src/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
|
|
|
}
|