diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ebe9e6a4270e..fcc62bf31d9e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,32 +1,36 @@ { - "image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.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 + "image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04", + "customizations": { + "vscode": { + "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" + ] } }, - "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" + "version": "22" }, "github-cli": "latest" }