zed/docs
William Villeneuve 463c16a402
Allow users to configure ESLint's problems settings (#9981)
Presently the only available setting under `problems` is
`shortenToSingleLine`, which defaults to `false`.

Example Zed `settings.json` to shorten eslint error squiggles to only
show on the first line of the problem:
```json
{
    "lsp": {
        "eslint": {
            "settings": {
                "problems": {
                    "shortenToSingleLine": true
                }
            }
        }
    }
}
```


Release Notes:

- Added support for configuring ESLint `problems` settings, ie. `{"lsp":
{"eslint": {"settings": {"problems": {"shortenToSingleLine": true}}}}}`

Demo:



https://github.com/zed-industries/zed/assets/2072378/379faa75-1f37-4fd1-85da-1510f1397d07
2024-04-03 09:29:07 +02:00
..
src Allow users to configure ESLint's problems settings (#9981) 2024-04-03 09:29:07 +02:00
.gitignore WIP 2023-12-11 19:17:13 -05:00
book.toml WIP 2023-12-11 19:17:13 -05:00
how-to-deploy.md Format docs with Prettier (#8134) 2024-02-21 13:21:22 -05:00