devcontainer.json 1.0 KB

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "BASH Dev Container",
  3. "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
  4. "features": {
  5. "ghcr.io/devcontainers-community/npm-features/prettier:1": {
  6. "plugins": "prettier-plugin-sh"
  7. },
  8. "ghcr.io/devcontainers-extra/features/actionlint:1": {},
  9. "ghcr.io/devcontainers-extra/features/checkov:1": {},
  10. "ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
  11. "ghcr.io/devcontainers-extra/features/shellcheck:1": {},
  12. "ghcr.io/devcontainers-extra/features/yamllint:2": {},
  13. "ghcr.io/devcontainers/features/github-cli:1": {}
  14. },
  15. "customizations": {
  16. "vscode": {
  17. "extensions": [
  18. "DavidAnson.vscode-markdownlint",
  19. "editorconfig.editorconfig",
  20. "esbenp.prettier-vscode",
  21. "github.vscode-github-actions",
  22. "GitHub.vscode-pull-request-github",
  23. "redhat.vscode-yaml",
  24. "timonwong.shellcheck",
  25. "yzhang.markdown-all-in-one"
  26. ]
  27. }
  28. },
  29. "postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
  30. }