style: format devcontainer.json for improved readability and consistency

This commit is contained in:
Firman Ramdhani
2026-04-05 21:06:01 +07:00
parent 3638c8e1eb
commit a0ef96d874
+2 -7
View File
@@ -3,7 +3,7 @@
{ {
"name": "Node.js & TypeScript", "name": "Node.js & TypeScript",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/typescript-node:24-bookworm" "image": "mcr.microsoft.com/devcontainers/typescript-node:24-bookworm",
// Features to add to the dev container. More info: https://containers.dev/features. // Features to add to the dev container. More info: https://containers.dev/features.
"features": { "features": {
"ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/git:1": {},
@@ -11,12 +11,7 @@
"ghcr.io/devcontainers/features/sshd:1": {} "ghcr.io/devcontainers/features/sshd:1": {}
}, },
// Use 'forwardPorts' to make a list of ports inside the container available locally. // Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [ "forwardPorts": [6006, 5173, 5174, 5175],
6006,
5173,
5174,
5175
],
"portsAttributes": { "portsAttributes": {
"6006": { "6006": {
"label": "Storybook", "label": "Storybook",