mirror of https://github.com/zulip/zulip.git
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:
parent
bf117fed96
commit
35e2013199
|
@ -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",
|
||||
],
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue