{
  "image": "mcr.microsoft.com/vscode/devcontainers/base:ubuntu-20.04",
  "settings": {
    "[typescript]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "editor.formatOnSave": true
    },
    "[json]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "editor.formatOnSave": true
    },
    "[jsonc]": {
      "editor.defaultFormatter": "esbenp.prettier-vscode",
      "editor.formatOnSave": true
    }
  },
  "extensions": [
    "dbaeumer.vscode-eslint",
    "orta.vscode-jest",
    "esbenp.prettier-vscode",
    "streetsidesoftware.code-spell-checker"
  ],
  "forwardPorts": [3000],
  "containerUser": "vscode",
  "postCreateCommand": "yarn install",
  "waitFor": "postCreateCommand", // otherwise automated jest tests fail
  "features": {
    "node": {
      "version": "18"
    },
    "github-cli": "latest"
  }
}
