mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-28 01:24:17 +00:00
eslint: Allow configuring workingDirectory (#22972)
This addresses this comment here: https://github.com/zed-industries/zed/issues/9648#issuecomment-2579246865 Release Notes: - Added ability to configure `workingDirectory` when using ESLint. Example: `{"lsp": {"eslint": {"settings": {"workingDirectory": {"mode": "auto" }}}}}`
This commit is contained in:
parent
05b48e8877
commit
3d80b21a91
2 changed files with 24 additions and 1 deletions
|
|
@ -153,6 +153,24 @@ You can configure ESLint's `rulesCustomizations` setting:
|
|||
}
|
||||
```
|
||||
|
||||
### Configure ESLint's `workingDirectory`:
|
||||
|
||||
You can configure ESLint's `workingDirectory` setting:
|
||||
|
||||
```json
|
||||
{
|
||||
"lsp": {
|
||||
"eslint": {
|
||||
"settings": {
|
||||
"workingDirectory": {
|
||||
"mode": "auto"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## See also
|
||||
|
||||
- [Yarn documentation](./yarn.md) for a walkthrough of configuring your project to use Yarn.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue