Skip to content

Commit 36569bd

Browse files
committed
vscode settings
1 parent 5cc4d5c commit 36569bd

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"golang.go"
8+
],
9+
// List of extensions recommended by VS Code that should not be recommended for users of this workspace.
10+
"unwantedRecommendations": [
11+
]
12+
}

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"go.lintTool": "golangci-lint",
3+
"go.lintFlags": ["--path-mode=abs", "--fast-only"],
4+
"go.formatTool": "custom",
5+
"go.alternateTools": {
6+
"customFormatter": "golangci-lint"
7+
},
8+
"go.formatFlags": ["fmt", "--stdin"]
9+
}

0 commit comments

Comments
 (0)