History

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

Thorsten Ball committed 1 year ago

Commit 3d80b211 parent 05b48e82 files · +24 −1Browse files

Showing the changes to docs/src/languages/javascript.md (1 of 2 files). Show all

Unified · Split

docs/src/languages/javascript.md+18−0
@@ -153,6 +153,24 @@ You can configure ESLint's `rulesCustomizations` setting: · 152 unmodified lines
153}153}
154```154```
155 155
156### Configure ESLint's `workingDirectory`:
157
158You can configure ESLint's `workingDirectory` setting:
159
160```json
161{
162 "lsp": {
163 "eslint": {
164 "settings": {
165 "workingDirectory": {
166 "mode": "auto"
167 }
168 }
169 }
170 }
171}
172```
173
156## See also174## See also
157 175
158- [Yarn documentation](./yarn.md) for a walkthrough of configuring your project to use Yarn.176- [Yarn documentation](./yarn.md) for a walkthrough of configuring your project to use Yarn.