From 369242968905963c95acfa45f0bd4d2569aaaea1 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Wed, 21 Dec 2016 16:38:48 +0100 Subject: [PATCH] update vscode settings --- .vscode/settings.json | 4 +++- .vscode/tasks.json | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index a119360d8..0e92553f7 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 769b0b3d3..c037625c8 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 } ]