Skip to content

Commit 5e0755b

Browse files
committed
VSCode workspace configurations
1 parent d703501 commit 5e0755b

File tree

2 files changed

+51
-1
lines changed

2 files changed

+51
-1
lines changed

.vscode/extensions.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"streetsidesoftware.code-spell-checker",
8+
"streetsidesoftware.code-spell-checker-dutch",
9+
"editorconfig.editorconfig",
10+
"dbaeumer.vscode-eslint",
11+
"esbenp.prettier-vscode"
12+
],
13+
14+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
15+
"unwantedRecommendations": []
16+
}

.vscode/settings.json

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,35 @@
1-
{}
1+
{
2+
/**
3+
* Code language formatting.
4+
*/
5+
"[javascript]": {
6+
"editor.defaultFormatter": "esbenp.prettier-vscode"
7+
},
8+
"[json]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode"
10+
},
11+
"[jsonc]": {
12+
"editor.defaultFormatter": "esbenp.prettier-vscode"
13+
},
14+
"[yaml]": {
15+
"editor.defaultFormatter": "esbenp.prettier-vscode"
16+
},
17+
18+
/**
19+
* Auto format.
20+
*/
21+
"editor.formatOnPaste": true,
22+
"editor.formatOnSave": true,
23+
"editor.formatOnType": true,
24+
"editor.codeActionsOnSave": {
25+
"source.fixAll": "explicit"
26+
},
27+
// Show ESLint errors in the editor. Languages should match supported files `.eslintrc.js`.
28+
"eslint.validate": [
29+
"javascript",
30+
"json",
31+
"jsonc",
32+
"yaml",
33+
"markdown"
34+
]
35+
}

0 commit comments

Comments
 (0)