-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
40 lines (40 loc) · 1.16 KB
/
devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"containerEnv": {
"GH_TOKEN": "${localEnv:GH_TOKEN}"
},
"customizations": {
"vscode": {
"extensions": [
"arahata.linter-actionlint",
"esbenp.prettier-vscode",
"github.vscode-github-actions"
],
"settings": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable"
}
}
},
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers-contrib/features/act:1": {},
"ghcr.io/devcontainers-contrib/features/actionlint:1": {},
"ghcr.io/devcontainers-contrib/features/npm-package:1": {
"package": "prettier",
"version": "2.8.8"
},
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
},
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"initializeCommand": ".devcontainer/initialize.sh",
"mounts": [
{
"source": "${localEnv:HOME}/.config/gh",
"target": "/.config/gh",
"type": "bind"
}
],
"postCreateCommand": ".devcontainer/postCreate.sh"
}