Skip to content

Commit

Permalink
fix: use "source.fixAll.eslint" to avoid builtin autofixes dropping c…
Browse files Browse the repository at this point in the history
…ode (#299)
  • Loading branch information
Dimava authored Oct 25, 2023
1 parent 1c32240 commit 335542e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Add the following settings to your `.vscode/settings.json`:

// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},

Expand Down

0 comments on commit 335542e

Please sign in to comment.