Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Respect `eslint.nodePath` setting (#9073)
Yanguk9ff3cff6f807
diff --git a/crates/languages/src/typescript.rs b/crates/languages/src/typescript.rsindex 33083c2fd1e..4979f7febb8 100644--- a/crates/languages/src/typescript.rs+++ b/crates/languages/src/typescript.rs@@ -254,12 +254,14 @@ impl LspAdapter for EsLintLspAdapter {}}+ let node_path = eslint_user_settings.get("nodePath").unwrap_or(&Value::Null);+json!({"": {"validate": "on","rulesCustomizations": [],"run": "onType",- "nodePath": null,+ "nodePath": node_path,"workingDirectory": {"mode": "auto"},"workspaceFolder": {"uri": workspace_root,