Skip to content

Commit 3b6eed4

Browse files
committed
Refactor devcontainer.json to consolidate features and add markdown linting extension
1 parent d076ac6 commit 3b6eed4

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

.devcontainer/devcontainer.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
{
22
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-20-bookworm",
3+
"features": {
4+
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
5+
"ghcr.io/devcontainers/features/github-cli:1": {}
6+
},
7+
"remoteUser": "node",
8+
"updateContentCommand": "npm install -g @devcontainers/cli",
9+
10+
// Add custom VS Code settings and extensions
311
"customizations": {
412
"vscode": {
513
"settings": {
@@ -13,14 +21,9 @@
1321
]
1422
},
1523
"extensions": [
16-
"mads-hartmann.bash-ide-vscode"
24+
"mads-hartmann.bash-ide-vscode",
25+
"DavidAnson.vscode-markdownlint"
1726
]
1827
}
19-
},
20-
"features": {
21-
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
22-
"ghcr.io/devcontainers/features/github-cli:1": {}
23-
},
24-
"remoteUser": "node",
25-
"updateContentCommand": "npm install -g @devcontainers/cli"
28+
}
2629
}

0 commit comments

Comments
 (0)