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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user