Skip to content

Commit baa030c

Browse files
committed
chore: add .devcontainer/devcontainer.json
1 parent 0203a98 commit baa030c

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
3+
{
4+
"name": "Node.js & TypeScript",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-20-bullseye",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
// "features": {},
10+
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
14+
// Use 'postCreateCommand' to run commands after the container is created.
15+
"postCreateCommand": "npm install",
16+
17+
// Configure tool-specific properties.
18+
"customizations": {
19+
"vscode": {
20+
"extensions": ["dbaeumer.vscode-eslint"]
21+
}
22+
}
23+
24+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
25+
// "remoteUser": "root"
26+
}

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
!/.vscode
1717
!/docs/.vuepress
1818
!/docs/.vitepress
19+
!/.devcontainer
1920
/docs/.vuepress/dist
2021
/docs/.vuepress/components/demo/demo-code.js
2122
/docs/.vitepress/cache

0 commit comments

Comments
 (0)