template/.vscode/settings.json
2026-04-08 19:31:36 +00:00

37 lines
1.4 KiB
JSON

{
// ── Go ─────────────────────────────────────────────────────────────────────
"go.lintTool": "golangci-lint",
"go.lintFlags": ["--fast"],
"go.lintOnSave": "workspace",
"go.testFlags": ["-race"],
"go.coverOnSave": false,
// ── Editor ─────────────────────────────────────────────────────────────────
"[go]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "golang.go",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
// ── Files ──────────────────────────────────────────────────────────────────
"files.exclude": {
"**/bin": true,
"**/.git": true
},
"search.exclude": {
"**/bin": true,
"**/vendor": true
},
// ── Test explorer ──────────────────────────────────────────────────────────
"go.testExplorer.enable": true,
"cSpell.words": [
"djmil",
"gitea",
"golangci",
"testutil"
]
}