38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
// ── 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]": {
|
|
"editor.formatOnSave": true,
|
|
"editor.defaultFormatter": "golang.go",
|
|
"editor.codeActionsOnSave": {
|
|
"source.organizeImports": "explicit"
|
|
}
|
|
},
|
|
"[yaml]": {
|
|
"editor.defaultFormatter": "redhat.vscode-yaml"
|
|
},
|
|
|
|
// ── Files ──────────────────────────────────────────────────────────────────
|
|
"files.exclude": {
|
|
"**/bin": true,
|
|
"**/.git": true
|
|
},
|
|
"search.exclude": {
|
|
"**/bin": true,
|
|
"**/mocks": true,
|
|
"**/vendor": true
|
|
},
|
|
|
|
// ── Test explorer ──────────────────────────────────────────────────────────
|
|
"go.testExplorer.enable": true,
|
|
"makefile.configureOnOpen": false
|
|
}
|