Skip to content

Commit

Permalink
build: Update devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdihadeli authored Jul 21, 2024
1 parent 614e6a7 commit 350b088
Showing 1 changed file with 32 additions and 6 deletions.
38 changes: 32 additions & 6 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
// "ghcr.io/devcontainers/features/terraform:1": {},
// https://github.com/devcontainers/features/tree/main/src/docker-in-docker
// https://devopscube.com/run-docker-in-docker/
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"dockerDashComposeVersion": "v2"
},
//"ghcr.io/devcontainers/features/docker-in-docker:2": {
// "dockerDashComposeVersion": "v2"
//},
"ghcr.io/devcontainers/features/git:1": {},
// https://github.com/devcontainers/features/tree/main/src/common-utils
"ghcr.io/devcontainers/features/common-utils:2": {
Expand Down Expand Up @@ -67,9 +67,32 @@
"terminal.integrated.defaultProfile.linux": "zsh",
"powershell.cwd": "~",
"terminal.external.windowsExec": "%LOCALAPPDATA%\\Microsoft\\WindowsApps\\pwsh.exe",
"gopls": {
"ui.semanticTokens": true
},
"go.buildTags": "",
"go.toolsEnvVars": {
"CGO_ENABLED": "0"
},
"go.useLanguageServer": true,
"go.testEnvVars": {
"CGO_ENABLED": "1"
},
"go.testFlags": [
"-v",
"-race"
],
"go.testTimeout": "10s",
"go.coverOnSingleTest": true,
"go.coverOnSingleTestFile": true,
"go.coverOnTestPackage": true,
"go.lintOnSave": "package",
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": "always"
}
},
"gopls": {
"usePlaceholders": false,
"staticcheck": true
},
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "package",
Expand All @@ -82,11 +105,14 @@
"golang.Go",
"esbenp.prettier-vscode",
"streetsidesoftware.code-spell-checker",
"vscode-icons-team.vscode-icons",
"redhat.vscode-yaml", // Kubernetes,
"mutantdino.resourcemonitor",
"humao.rest-client",
"dzhavat.bracket-pair-toggler",
"ms-azuretools.vscode-docker",
"vivaxy.vscode-conventional-commits",
"IBM.output-colorizer", // Colorize your output/test logs
"emmanuelbeziat.vscode-great-icons",
"ms-vscode.vs-keybindings",
"GitHub.vscode-github-actions",
Expand Down

0 comments on commit 350b088

Please sign in to comment.