docs: minor changes to ESLint docs (#10116)
We allow more than just `shortenToSingleLine`, so let's document the whole thing. Release Notes: - N/A
This commit is contained in:
parent
027897e003
commit
08e8ffcef2
1 changed files with 4 additions and 3 deletions
|
@ -74,7 +74,6 @@ errors.
|
||||||
You can configure ESLint's `nodePath` setting (requires Zed `0.127.0`):
|
You can configure ESLint's `nodePath` setting (requires Zed `0.127.0`):
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
|
||||||
{
|
{
|
||||||
"lsp": {
|
"lsp": {
|
||||||
"eslint": {
|
"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
|
```json
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue