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
|
|
|
"paths": {
|
2024-06-09 19:59:39 +02:00
|
|
|
"*": ["./web/src/types/*"],
|
2019-06-20 11:59:55 +02:00
|
|
|
},
|
2023-06-12 23:38:02 +02:00
|
|
|
"types": ["@types/jquery.validation"],
|
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,
|
2023-03-26 08:46:21 +02:00
|
|
|
"target": "ESNext",
|
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
|
|
|
|
|
|
|
/* Strict type-checking */
|
|
|
|
"strict": true,
|
2024-05-16 05:05:29 +02:00
|
|
|
"exactOptionalPropertyTypes": true,
|
2019-10-30 00:25:26 +01:00
|
|
|
"forceConsistentCasingInFileNames": true,
|
|
|
|
"isolatedModules": true,
|
2021-09-11 06:56:01 +02:00
|
|
|
"noImplicitOverride": true,
|
2024-05-24 00:02:38 +02:00
|
|
|
"noUncheckedIndexedAccess": 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
|
|
|
}
|