Skip to content

Commit

Permalink
Use new codeActionsOnSave vscode setting format (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronPlave authored Oct 10, 2023
1 parent e9eed1b commit 1201855
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"editor.formatOnSave": true,
"eslint.validate": ["javascript", "typescript", "svelte"],
"[svelte][typescript]": {
"editor.codeActionsOnSave": ["source.fixAll", "source.organizeImports", "source.sortImports"],
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "explicit",
"source.sortImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"stylelint.validate": ["css", "less", "postcss", "svelte"],
Expand Down

0 comments on commit 1201855

Please sign in to comment.