Skip to content

Commit

Permalink
feat(vscode): provide basic VSCode configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredallard committed Apr 18, 2024
1 parent 6f031a7 commit fc95477
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
10 changes: 10 additions & 0 deletions templates/.vscode/extensions.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"recommendations": [
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"golang.go",
"timonwong.shellcheck",
"redhat.vscode-yaml",
"foxundermoon.shell-format"
]
}
14 changes: 14 additions & 0 deletions templates/.vscode/settings.json.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"go.lintTool": "golangci-lint",
"go.formatTool": "goimports",
"go.useLanguageServer": true,
"files.trimTrailingWhitespace": true,
"editor.formatOnSave": true,
"shellcheck.customArgs": ["-P", "SCRIPTDIR", "-x"],
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml"
}
}

0 comments on commit fc95477

Please sign in to comment.