Skip to content

Commit

Permalink
chore: setup vscode settings for dev (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan authored Oct 17, 2023
1 parent 22aae90 commit 7ec6e99
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
// See https://code.visualstudio.com/docs/editor/extension-marketplace#_workspace-recommended-extensions
"recommendations": [
"golang.go",
"redhat.vscode-yaml",
"davidanson.vscode-markdownlint"
]
}
24 changes: 24 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
// Default Editor Config
"editor.formatOnSave": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.associations": {
"*.yaml.tpl": "yaml",
"*.yaml.envtpl": "yaml"
},
// Golang Config
"go.enableCodeLens": {
"references": false,
"runtest": false
},
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
"go.buildOnSave": "off",
"go.lintOnSave": "on",
"go.vetOnSave": "on",
// YAML Config
"[yaml]": {
"editor.formatOnSave": true
},
}

0 comments on commit 7ec6e99

Please sign in to comment.