diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..72906ef1 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,8 @@ +{ + // This list should be kept to the strict minimum + // to develop this project. + "recommendations": [ + "golang.go", + "davidanson.vscode-markdownlint", + ], +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..38903555 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,29 @@ +{ + // The settings should be kept to the strict minimum + // to develop this project. + "files.eol": "\n", + "editor.formatOnSave": true, + "go.buildTags": "linux", + "go.toolsEnvVars": { + "CGO_ENABLED": "0" + }, + "go.testEnvVars": { + "CGO_ENABLED": "1" + }, + "go.testFlags": [ + "-v", + "-race" + ], + "go.testTimeout": "10s", + "go.coverOnSingleTest": true, + "go.coverOnSingleTestFile": true, + "go.coverOnTestPackage": true, + "go.useLanguageServer": true, + "[go]": { + "editor.codeActionsOnSave": { + "source.organizeImports": true + } + }, + "go.lintTool": "golangci-lint", + "go.lintOnSave": "package" +} \ No newline at end of file