File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -176,11 +176,11 @@ Add the following settings to your `.zed/settings.json`:
176176
177177``` jsonc
178178{
179- " format_on_save " : " on " ,
180- " formatter " : [
181- // Use ESLint's --fix:
182- { " code_action " : " source.fixAll.eslint " }
183- ],
179+ // Use ESLint's --fix:
180+ " code_actions_on_format " : {
181+ " source.fixAll.eslint " : true
182+ },
183+ " formatter " : [ ],
184184 // Enable eslint for all supported languages
185185 // Defaults only include https://github.com/search?q=repo%3Azed-industries%2Fzed%20eslint_languages&type=code
186186 " languages" : {
@@ -190,6 +190,9 @@ Add the following settings to your `.zed/settings.json`:
190190 " Markdown" : {
191191 " language_servers" : [" ..." , " eslint" ]
192192 },
193+ " Markdown-Inline" : {
194+ " language_servers" : [" ..." , " eslint" ]
195+ },
193196 " JSON" : {
194197 " language_servers" : [" ..." , " eslint" ]
195198 },
@@ -207,10 +210,7 @@ Add the following settings to your `.zed/settings.json`:
207210 " lsp" : {
208211 " eslint" : {
209212 " settings" : {
210- // Remove after https://github.com/zed-industries/zed/issues/49387
211- " experimental" : {
212- " useFlatConfig" : false
213- },
213+ " workingDirectories" : [" ./" ],
214214
215215 // Silent the stylistic rules in your IDE, but still auto fix them
216216 " rulesCustomizations" : [
You can’t perform that action at this time.
0 commit comments