# Allow users to configure ESLint's \`problems\` settings \(\#9981\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/463c16a402b85c8c9b7e3a0fa3ad25fc69288138)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 463c16a402b85c8c9b7e3a0fa3ad25fc69288138

Requested commit: 463c16a402b85c8c9b7e3a0fa3ad25fc69288138

Commit: 463c16a402b85c8c9b7e3a0fa3ad25fc69288138

Tree: 1c1062ec86cd3dbe1a9c32e46f5df6dd4eb0e72b

Author: William Villeneuve

Committer: GitHub

## Message

````
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
````

## Parents

- [5a2a85a7db29d79c406be015ff2b287e20b02548](https://git.cafe/gitcafe/zed/commit/5a2a85a7db29d79c406be015ff2b287e20b02548?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/463c16a402b85c8c9b7e3a0fa3ad25fc69288138?format=markdown)
