update .vscode settings
This commit is contained in:
parent
9ea29d3ba4
commit
7e2b50faf0
@ -54,7 +54,7 @@
|
|||||||
"mounts": [
|
"mounts": [
|
||||||
"source=${localEnv:HOME}/.claude,target=/home/vscode/.claude,type=bind,consistency=cached"
|
"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.
|
// Forward the default HTTP port so `make run` is reachable from the host.
|
||||||
"forwardPorts": [8080],
|
"forwardPorts": [8080],
|
||||||
|
|
||||||
|
|||||||
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@ -1,12 +1,10 @@
|
|||||||
{
|
{
|
||||||
// ── Go ─────────────────────────────────────────────────────────────────────
|
// ── Go ─────────────────────────────────────────────────────────────────────
|
||||||
"go.useLanguageServer": true,
|
|
||||||
"go.lintTool": "golangci-lint",
|
"go.lintTool": "golangci-lint",
|
||||||
"go.lintFlags": ["--fast"],
|
"go.lintFlags": ["--fast"],
|
||||||
"go.lintOnSave": "workspace",
|
"go.lintOnSave": "workspace",
|
||||||
"go.testFlags": ["-race"],
|
"go.testFlags": ["-race"],
|
||||||
"go.coverOnSave": false,
|
"go.coverOnSave": false,
|
||||||
"go.generateOnSave": false,
|
|
||||||
|
|
||||||
// ── Editor ─────────────────────────────────────────────────────────────────
|
// ── Editor ─────────────────────────────────────────────────────────────────
|
||||||
"[go]": {
|
"[go]": {
|
||||||
@ -16,9 +14,6 @@
|
|||||||
"source.organizeImports": "explicit"
|
"source.organizeImports": "explicit"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"[yaml]": {
|
|
||||||
"editor.defaultFormatter": "redhat.vscode-yaml"
|
|
||||||
},
|
|
||||||
|
|
||||||
// ── Files ──────────────────────────────────────────────────────────────────
|
// ── Files ──────────────────────────────────────────────────────────────────
|
||||||
"files.exclude": {
|
"files.exclude": {
|
||||||
@ -27,13 +22,11 @@
|
|||||||
},
|
},
|
||||||
"search.exclude": {
|
"search.exclude": {
|
||||||
"**/bin": true,
|
"**/bin": true,
|
||||||
"**/mocks": true,
|
|
||||||
"**/vendor": true
|
"**/vendor": true
|
||||||
},
|
},
|
||||||
|
|
||||||
// ── Test explorer ──────────────────────────────────────────────────────────
|
// ── Test explorer ──────────────────────────────────────────────────────────
|
||||||
"go.testExplorer.enable": true,
|
"go.testExplorer.enable": true,
|
||||||
"makefile.configureOnOpen": false,
|
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
"djmil",
|
"djmil",
|
||||||
"gitea",
|
"gitea",
|
||||||
|
|||||||
7
.vscode/tasks.json
vendored
7
.vscode/tasks.json
vendored
@ -41,13 +41,6 @@
|
|||||||
"presentation": { "reveal": "always", "panel": "shared" },
|
"presentation": { "reveal": "always", "panel": "shared" },
|
||||||
"problemMatcher": "$go"
|
"problemMatcher": "$go"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"label": "mocks",
|
|
||||||
"type": "shell",
|
|
||||||
"command": "make mocks",
|
|
||||||
"group": "none",
|
|
||||||
"presentation": { "reveal": "always", "panel": "shared" }
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"label": "security scan",
|
"label": "security scan",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user