From c929016e36736a388ae6ecbf1b481c5d752846d7 Mon Sep 17 00:00:00 2001 From: lion187 <67157490+lion187@users.noreply.github.com> Date: Thu, 6 Feb 2025 00:01:48 +0100 Subject: [PATCH] Update devcontainer.json --- .devcontainer/devcontainer.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 94d8703..a955007 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -5,8 +5,24 @@ "dbaeumer.vscode-eslint", "ritwickdey.LiveServer", "stylelint.vscode-stylelint" + // Additional Extensions Here ], + "name": "Node.js", + "image": "mcr.microsoft.com/devcontainers/javascript-node:0-18-bullseye", + "features": { + "ghcr.io/devcontainers-contrib/features/jshint:2": {} + }, + // Use 'postCreateCommand' to run commands after the container is created. + "postCreateCommand": "npm install", + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + // Add the IDs of extensions you want installed when the container is created. + "extensions": [ + "streetsidesoftware.code-spell-checker" + ], "onCreateCommand": "echo PS1='\"$ \"' >> ~/.bashrc", //Set Terminal Prompt to $ "postAttachCommand": "git pull --all" }