From 08e8ffcef21c175477a88643b269cba37bbd3480 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Wed, 3 Apr 2024 14:07:23 +0200 Subject: [PATCH] docs: minor changes to ESLint docs (#10116) We allow more than just `shortenToSingleLine`, so let's document the whole thing. Release Notes: - N/A --- docs/src/languages/javascript.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/src/languages/javascript.md b/docs/src/languages/javascript.md index 45be3c9f05..bb7deb9def 100644 --- a/docs/src/languages/javascript.md +++ b/docs/src/languages/javascript.md @@ -74,7 +74,6 @@ errors. You can configure ESLint's `nodePath` setting (requires Zed `0.127.0`): ```json - { "lsp": { "eslint": { @@ -86,9 +85,11 @@ You can configure ESLint's `nodePath` setting (requires Zed `0.127.0`): } ``` -#### Configure ESLint's `problems.shortenToSingleLine`: +#### Configure ESLint's `problems`: -You can configure ESLint's `problems.shortenToSingleLine` setting (requires Zed `0.130.x`): +You can configure ESLint's `problems` setting (requires Zed `0.130.x`). + +For example, here's how to set `problems.shortenToSingleLine`: ```json {