bump eslint memory usage (#17724)

Release Notes:

- Increased memory limit for eslint to reduce crashes
This commit is contained in:
Conrad Irwin
2024-09-11 16:22:10 -04:00
committed by GitHub
parent 3a6a29f117
commit 25b6e43b0f
+5 -1
View File
@@ -58,7 +58,11 @@ fn typescript_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
}
fn eslint_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
vec![server_path.into(), "--stdio".into()]
vec![
"--max-old-space-size=8192".into(),
server_path.into(),
"--stdio".into(),
]
}
pub struct TypeScriptLspAdapter {