Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Revert "languages: Bump ESLint LSP server to version 3.0.10 (#32717)" (#33659)

Kirill Bulatov6e77e8405b3f
diff --git a/crates/languages/src/typescript.rs b/crates/languages/src/typescript.rs
index 0a0326f4f78..4a9626c8b82 100644
--- a/crates/languages/src/typescript.rs
+++ b/crates/languages/src/typescript.rs
@@ -767,8 +767,8 @@ pub struct EsLintLspAdapter {
}
impl EsLintLspAdapter {
- const CURRENT_VERSION: &'static str = "3.0.10";
- const CURRENT_VERSION_TAG_NAME: &'static str = "release/3.0.10";
+ const CURRENT_VERSION: &'static str = "2.4.4";
+ const CURRENT_VERSION_TAG_NAME: &'static str = "release/2.4.4";
#[cfg(not(windows))]
const GITHUB_ASSET_KIND: AssetKind = AssetKind::TarGz;
@@ -846,7 +846,9 @@ impl LspAdapter for EsLintLspAdapter {
"enable": true
}
},
- "useFlatConfig": use_flat_config,
+ "experimental": {
+ "useFlatConfig": use_flat_config,
+ },
});
let override_options = cx.update(|cx| {