Skip to content

Commit

Permalink
chore: Devcontainer settings
Browse files Browse the repository at this point in the history
  • Loading branch information
staticaland authored Nov 19, 2023
1 parent c5d6dc8 commit b4e1d0b
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,39 @@
"DavidAnson.vscode-markdownlint",
"GitHub.copilot",
"GitHub.copilot-chat"
]
],
"settings": {
"files.eol": "\n",
"editor.formatOnSave": 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.lintTool": "golangci-lint",
"go.lintOnSave": "package",
"[go]": {
"editor.codeActionsOnSave": {
"source.organizeImports": true
}
},
"gopls": {
"usePlaceholders": false,
"staticcheck": true,
"vulncheck": "Imports"
},
"remote.extensionKind": {
"ms-azuretools.vscode-docker": "workspace"
}
}
}
}
}

0 comments on commit b4e1d0b

Please sign in to comment.