update .vscode settings

This commit is contained in:
djmil 2026-04-08 19:31:36 +00:00
parent 9ea29d3ba4
commit 7e2b50faf0
3 changed files with 1 additions and 15 deletions

View File

@ -54,7 +54,7 @@
"mounts": [
"source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached"
],
// Forward the default HTTP port so `make run` is reachable from the host.
"forwardPorts": [8080],

View File

@ -1,12 +1,10 @@
{
// Go
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "workspace",
"go.testFlags": ["-race"],
"go.coverOnSave": false,
"go.generateOnSave": false,
// Editor
"[go]": {
@ -16,9 +14,6 @@
"source.organizeImports": "explicit"
}
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
},
// Files
"files.exclude": {
@ -27,13 +22,11 @@
},
"search.exclude": {
"**/bin": true,
"**/mocks": true,
"**/vendor": true
},
// Test explorer
"go.testExplorer.enable": true,
"makefile.configureOnOpen": false,
"cSpell.words": [
"djmil",
"gitea",

7
.vscode/tasks.json vendored
View File

@ -41,13 +41,6 @@
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": "$go"
},
{
"label": "mocks",
"type": "shell",
"command": "make mocks",
"group": "none",
"presentation": { "reveal": "always", "panel": "shared" }
},
{
"label": "security scan",
"type": "shell",