From f8664b03a66b8e3abf488be0117885137904559b Mon Sep 17 00:00:00 2001 From: Marco Muser <64737396+marcomuser@users.noreply.github.com> Date: Sun, 20 Oct 2024 00:07:22 +0200 Subject: [PATCH] chore: podman support for devcontainer (#3529) * chore: add podman devcontainer support * chore: remove deprecation warning * chore: add extensions to devcontainer --------- Co-authored-by: Marco Muser --- .devcontainer/devcontainer.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 50cab72a..4b2e9c68 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,6 +2,12 @@ "build": { "dockerfile": "Dockerfile" }, + "runArgs": [ + "--userns=keep-id" + ], + "containerEnv": { + "HOME": "/home/node" + }, "customizations": { "vscode": { "settings": { @@ -13,9 +19,13 @@ "typescriptreact" ], "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" } - } + }, + "extensions": [ + "dbaeumer.vscode-eslint", + "esbenp.prettier-vscode" + ] } } } \ No newline at end of file