|
|
@ -1,14 +1,18 @@
|
|
|
|
{
|
|
|
|
{
|
|
|
|
"name": "stackedit-docker-dev",
|
|
|
|
"name": "stackedit-docker-dev",
|
|
|
|
"dockerComposeFile": ["docker-compose.yml"],
|
|
|
|
"dockerComposeFile": [
|
|
|
|
|
|
|
|
"docker-compose.yml"
|
|
|
|
|
|
|
|
],
|
|
|
|
"service": "vscode",
|
|
|
|
"service": "vscode",
|
|
|
|
"runServices": ["vscode"],
|
|
|
|
"runServices": [
|
|
|
|
|
|
|
|
"vscode"
|
|
|
|
|
|
|
|
],
|
|
|
|
"shutdownAction": "stopCompose",
|
|
|
|
"shutdownAction": "stopCompose",
|
|
|
|
"postCreateCommand": "go mod download",
|
|
|
|
"postCreateCommand": "go mod download",
|
|
|
|
"workspaceFolder": "/workspace",
|
|
|
|
"workspaceFolder": "/workspace",
|
|
|
|
"appPort": 8000,
|
|
|
|
"appPort": 8000,
|
|
|
|
"extensions": [
|
|
|
|
"extensions": [
|
|
|
|
"ms-vscode.go",
|
|
|
|
"golang.go",
|
|
|
|
"IBM.output-colorizer",
|
|
|
|
"IBM.output-colorizer",
|
|
|
|
"eamodio.gitlens",
|
|
|
|
"eamodio.gitlens",
|
|
|
|
"mhutchie.git-graph",
|
|
|
|
"mhutchie.git-graph",
|
|
|
@ -39,10 +43,58 @@
|
|
|
|
"deepCompletion": true,
|
|
|
|
"deepCompletion": true,
|
|
|
|
"usePlaceholders": false
|
|
|
|
"usePlaceholders": false
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
"go.lintTool": "golangci-lint",
|
|
|
|
|
|
|
|
"go.lintFlags": [
|
|
|
|
|
|
|
|
"--fast",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"rowserrcheck",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"bodyclose",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"dogsled",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"dupl",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gochecknoglobals",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gochecknoinits",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gocognit",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"goconst",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gocritic",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gocyclo",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"goimports",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"golint",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"gosec",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"interfacer",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"maligned",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"misspell",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"nakedret",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"prealloc",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"scopelint",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"unconvert",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"unparam",
|
|
|
|
|
|
|
|
"--enable",
|
|
|
|
|
|
|
|
"whitespace"
|
|
|
|
|
|
|
|
],
|
|
|
|
// Golang on save
|
|
|
|
// Golang on save
|
|
|
|
"go.buildOnSave": "package",
|
|
|
|
"go.buildOnSave": "workspace",
|
|
|
|
"go.lintOnSave": "package",
|
|
|
|
"go.lintOnSave": "workspace",
|
|
|
|
"go.vetOnSave": "package",
|
|
|
|
"go.vetOnSave": "workspace",
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"[go]": {
|
|
|
|
"[go]": {
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
|
"editor.codeActionsOnSave": {
|
|
|
@ -50,7 +102,16 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// Golang testing
|
|
|
|
// Golang testing
|
|
|
|
"go.testFlags": ["-v"],
|
|
|
|
"go.toolsEnvVars": {
|
|
|
|
|
|
|
|
"GOFLAGS": "-tags="
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"gopls.env": {
|
|
|
|
|
|
|
|
"GOFLAGS": "-tags="
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"go.testEnvVars": {},
|
|
|
|
|
|
|
|
"go.testFlags": [
|
|
|
|
|
|
|
|
"-v"
|
|
|
|
|
|
|
|
],
|
|
|
|
"go.testTimeout": "600s"
|
|
|
|
"go.testTimeout": "600s"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|