diff --git a/.vscode/settings.json b/.vscode/settings.json index a119360d..0e92553f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,8 +2,10 @@ { "editor.tabSize": 2, - "go.buildTags": "json", "go.lintTool": "gometalinter", + "go.lintFlags": [ + "--enable-gc" + ], "go.formatTool": "goimports", "protoc": { diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 769b0b3d..c037625c 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -6,7 +6,7 @@ "tasks": [ { "taskName": "build", - "args": ["-tags", "json", "v2ray.com/core/..."], + "args": ["v2ray.com/core/..."], "isBuildCommand": true, "problemMatcher": { "owner": "go", @@ -21,7 +21,7 @@ }, { "taskName": "test", - "args": ["-tags", "json", "v2ray.com/core/..."], + "args": ["v2ray.com/core/..."], "isBuildCommand": false } ]