Browse Source

feat(devcontainer): update devcontainer configuration for improved tooling

* Changed container name to "BASH Dev Container"
* Added additional features: `actionlint`, `checkov`, `markdownlint-cli`, and `github-cli`
* Updated VSCode extensions for enhanced development experience

a
develop
Daniel Gibbs 4 days ago
parent
commit
e2397f126b
Failed to extract signature
  1. 24
      .devcontainer/devcontainer.json

24
.devcontainer/devcontainer.json

@ -1,21 +1,29 @@
{ {
"name": "Ubuntu", "name": "BASH Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": { "features": {
"ghcr.io/devcontainers-extra/features/prettier:1": {}, "ghcr.io/devcontainers-community/npm-features/prettier:1": {
"ghcr.io/devcontainers-extra/features/shellcheck:1": {} "plugins": "prettier-plugin-sh"
},
"ghcr.io/devcontainers-extra/features/actionlint:1": {},
"ghcr.io/devcontainers-extra/features/checkov:1": {},
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
"ghcr.io/devcontainers-extra/features/shellcheck:1": {},
"ghcr.io/devcontainers-extra/features/yamllint:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {}
}, },
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [
"editorconfig.editorconfig", "DavidAnson.vscode-markdownlint",
"esbenp.prettier-vscode", "github.vscode-github-actions",
"ms-python.python", "GitHub.vscode-pull-request-github",
"hashicorp.terraform",
"ms-azuretools.vscode-azureterraform",
"redhat.vscode-yaml", "redhat.vscode-yaml",
"timonwong.shellcheck", "timonwong.shellcheck",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
] ]
} }
}, }
"postCreateCommand": "npm install --save-dev prettier-plugin-sh"
} }

Loading…
Cancel
Save