Skip to content

Commit

Permalink
Merge pull request #420 from jkjuopperi/chore/yaml-format-on-save
Browse files Browse the repository at this point in the history
chore: YAML format on save
  • Loading branch information
japsu committed Feb 9, 2024
2 parents 56fdfe6 + 2b3cd49 commit c92bdc8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
2 changes: 1 addition & 1 deletion frontend/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
"recommendations": ["dbaeumer.vscode-eslint"]
}
3 changes: 1 addition & 2 deletions frontend/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
15 changes: 14 additions & 1 deletion kompassi.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,18 @@
{
"path": "frontend"
}
]
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.insertFinalNewline": true,
"files.trimTrailingWhitespace": true,
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.formatOnSave": true
}
},
"extensions": {
"recommendations": ["esbenp.prettier-vscode"]
}
}

0 comments on commit c92bdc8

Please sign in to comment.