Browse Source

chore: added devcontainer files when using VS Code

Signed-off-by: Jonathan <theflametrooper@gmail.com>
Jonathan 3 years ago
parent
commit
2ba8d0afba
2 changed files with 34 additions and 0 deletions
  1. 15 0
      backend/.devcontainer/devcontainer.json
  2. 19 0
      frontend/.devcontainer/devcontainer.json

+ 15 - 0
backend/.devcontainer/devcontainer.json

@@ -0,0 +1,15 @@
+{
+	// Sets the run context to one level up instead of the .devcontainer folder.
+	"context": "..",
+
+	"workspaceFolder": "/opt",
+
+	"dockerFile": "..\\Dockerfile",
+
+	// Set *default* container specific settings.json values on container create.
+	"settings": {
+		"terminal.integrated.shell.linux": null
+	},
+
+	"extensions": []
+}

+ 19 - 0
frontend/.devcontainer/devcontainer.json

@@ -0,0 +1,19 @@
+{
+	// Sets the run context to one level up instead of the .devcontainer folder.
+	"context": "..",
+
+	"workspaceFolder": "/opt",
+
+	"dockerFile": "..\\Dockerfile",
+
+	// Set *default* container specific settings.json values on container create.
+	"settings": {
+		"terminal.integrated.shell.linux": null
+	},
+
+	"extensions": [
+		"dbaeumer.vscode-eslint",
+		"esbenp.prettier-vscode",
+		"octref.vetur"
+	]
+}