Skip to content

Commit

Permalink
VSCode workspace configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
jerone committed Feb 5, 2024
1 parent d703501 commit 5e0755b
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"streetsidesoftware.code-spell-checker",
"streetsidesoftware.code-spell-checker-dutch",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
],

// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
"unwantedRecommendations": []
}
36 changes: 35 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1 +1,35 @@
{}
{
/**
* Code language formatting.
*/
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},

/**
* Auto format.
*/
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
// Show ESLint errors in the editor. Languages should match supported files `.eslintrc.js`.
"eslint.validate": [
"javascript",
"json",
"jsonc",
"yaml",
"markdown"
]
}

0 comments on commit 5e0755b

Please sign in to comment.