summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorLibravatar f0x52 <f0x@cthu.lu>2022-06-08 20:26:44 +0200
committerLibravatar GitHub <noreply@github.com>2022-06-08 20:26:44 +0200
commit4e6625ee2d0ccd036626287e3a929f10fc109e40 (patch)
tree08a0be365efacb893bbf816a4491055b55543673 /.vscode
parent[feature] Add paging via `Link` header for notifications and account statuses... (diff)
downloadgotosocial-4e6625ee2d0ccd036626287e3a929f10fc109e40.tar.xz
[feature] add vscode workspace config for linting + debugging (#588)
* vscode workspace config for debug run + linting * ignore debug build file
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json16
-rw-r--r--.vscode/settings.json6
2 files changed, 22 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 000000000..906262d2f
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,16 @@
+{
+ "version": "0.2.0",
+ "configurations": [
+ {
+ "name": "Launch Package",
+ "type": "go",
+ "request": "launch",
+ "mode": "auto",
+ "program": "${workspaceFolder}/cmd/gotosocial",
+ "args": [
+ "testrig", "start"
+ ],
+ "cwd": "${workspaceFolder}"
+ }
+ ]
+} \ No newline at end of file
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 000000000..a0304179d
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,6 @@
+{
+ "go.lintTool":"golangci-lint",
+ "go.lintFlags": [
+ "--fast"
+ ]
+} \ No newline at end of file