Skip to content

Commit d2ab5da

Browse files
Remove comments from devcontainer JSON (#138)
Comments aren't allowed in the JSON.
1 parent 751e51f commit d2ab5da

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

.devcontainer/devcontianer.json

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,23 @@
11
{
22
"name": "Record a vaccination prototype",
33
"image": "mcr.microsoft.com/devcontainers/universal:2",
4-
// codespaces seems to have an issue using port 2000 so setting to 2001 for the NHS Prototype Kit
54
"runArgs": ["--env", "PORT=2001"],
65
"portsAttributes": {
76
"3001": {
87
"label": "Running prototype",
9-
// --------------------------------
10-
// onAutoForward possible options
11-
// --------------------------------
12-
// you can change the value to one of the following possible options:
13-
// 'notify' (shows a prompt),
14-
// 'silent' (does nothing)
15-
// 'openBrowser' (opens the prototype URL in a browser window/tab)
16-
// 'openPrview' (opens the codespaces preview window to present the running prototype to the user)
178
"onAutoForward": "openPreview"
189
}
1910
},
20-
// forward the port for the browersync process
2111
"forwardPorts": [3001],
2212
"otherPortsAttributes": { "onAutoForward": "ignore" },
23-
// when created - sets the git merge statergy to rebase to hopefully make easier time of merging
2413
"onCreateCommand": "git config --global pull.rebase true",
25-
// after creation - installs the node packages
2614
"postCreateCommand": "npm install",
27-
// A command to run each time a tool has successfully attached to the container
2815
"postAttachCommand": {
2916
"server": "npm run watch"
3017
},
31-
// codespace customisations
3218
"customizations": {
33-
// Configure properties specific to VS Code web-basde IDE used within codespaces.
3419
"vscode": {
35-
// editor settings
3620
"settings": {
37-
// uncomment the following lines to hide files not needed to update content
38-
// "files.exclude": {
39-
// "{docs,lib,linters,middleware,node_modules,public,tests,NHS111.Shared.Frontend}/": true,
40-
// "*{CHANGELOG,CONTRIBUTING}.md": true,
41-
// "app/{data,assets}/": true,
42-
// "app/*.js": true,
43-
// "*.{js,yml,json}": true,
44-
// ".*": true,
45-
// "LICENSE": true
46-
// },
47-
// make emmet work within nunjucks
4821
"emmet.includeLanguages": {
4922
"njk": "html",
5023
"nunjucks": "html",
@@ -55,9 +28,7 @@
5528
},
5629
"html.suggest.html5": true
5730
},
58-
// bundle the following editor extensions
5931
"extensions": [
60-
// nunjuck syntax highlighting
6132
"douglaszaltron.nunjucks-vscode-extensionpack"
6233
]
6334
}

0 commit comments

Comments
 (0)