Skip to content

Commit aca326a

Browse files
authored
chore: DevContainer config for Codespaces (#109)
1 parent 1db1f39 commit aca326a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.devcontainer/devcontainer.json

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04",
3+
"settings": {
4+
"[typescript]": {
5+
"editor.defaultFormatter": "esbenp.prettier-vscode",
6+
"editor.formatOnSave": true
7+
},
8+
"[typescriptreact]": {
9+
"editor.defaultFormatter": "esbenp.prettier-vscode",
10+
"editor.formatOnSave": true
11+
},
12+
"[markdown]": {
13+
"editor.wordWrap": "on"
14+
}
15+
},
16+
"extensions": [
17+
"esbenp.prettier-vscode"
18+
],
19+
"forwardPorts": [3000],
20+
"postCreateCommand": ["yarn", "install"],
21+
"waitFor": "postCreateCommand",
22+
"features": {
23+
"node": {
24+
"version": "18"
25+
}
26+
}
27+
}

0 commit comments

Comments
 (0)