tsconfig: Fix typescript-eslint memory usage disaster.

typescript-eslint was using hundreds of megabytes to track `*.js`
files that it shouldn’t be checking.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
This commit is contained in:
Anders Kaseorg 2019-11-21 13:13:41 -08:00 committed by Tim Abbott
parent bf117fed96
commit 35e2013199
1 changed files with 10 additions and 0 deletions

View File

@ -33,6 +33,16 @@
"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",
],
}