docs: minor changes to ESLint docs (#10116)
Thorsten Ball
created
We allow more than just `shortenToSingleLine`, so let's document the
whole thing.
Release Notes:
- N/A
Change summary
docs/src/languages/javascript.md | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Detailed changes
@@ -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` setting (requires Zed `0.130.x`).
-You can configure ESLint's `problems.shortenToSingleLine` setting (requires Zed `0.130.x`):
+For example, here's how to set `problems.shortenToSingleLine`:
```json
{