-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.devcontainer.json
33 lines (33 loc) · 1.37 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
{
"name": "local-jwks-server",
"image": "mcr.microsoft.com/devcontainers/go:1",
// Mount the remote workspace to the same path as the local workspace.
// This is done to allow the use of bind mounts from within the devcontainer.
// See https://github.com/devcontainers/features/tree/main/src/docker-outside-of-docker
"workspaceFolder": "${localWorkspaceFolder}",
"workspaceMount": "source=${localWorkspaceFolder},target=${localWorkspaceFolder},type=bind",
"features": {
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {},
"ghcr.io/guiyomh/features/golangci-lint:0": {},
"ghcr.io/devcontainers-contrib/features/prettier:1": {},
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
},
"customizations": {
"vscode": {
"settings": {
// Make gopls work with build tags.
// See https://github.com/golang/go/issues/29202#issuecomment-881953121
"go.buildTags": "e2e",
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"]
},
"extensions": [
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"foxundermoon.shell-format",
"github.vscode-github-actions",
"tamasfe.even-better-toml"
]
}
}
}