Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Support ESLint flat configs (#8109)
Kristján Oddsson347f68887f64
diff --git a/crates/zed/src/languages/typescript.rs b/crates/zed/src/languages/typescript.rsindex a6aa9667e66..60a9d3cc8f3 100644--- a/crates/zed/src/languages/typescript.rs+++ b/crates/zed/src/languages/typescript.rs@@ -237,6 +237,10 @@ impl LspAdapter for EsLintLspAdapter {"name": workspace_root.file_name().unwrap_or_else(|| workspace_root.as_os_str()),},+ "problems": {},+ "experimental": {+ "useFlatConfig": workspace_root.join("eslint.config.js").is_file(),+ },}})}