forked from hacs/frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
41 lines (41 loc) · 983 Bytes
/
.devcontainer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "HACS Frontend",
"image": "mcr.microsoft.com/vscode/devcontainers/typescript-node:18",
"remoteUser": "node",
"postCreateCommand": "make init",
"forwardPorts": [
5000
],
"portsAttributes": {
"5000": {
"label": "Frontend server port",
"onAutoForward": "ignore"
}
},
"customizations": {
"vscode": {
"extensions": [
"github.vscode-pull-request-github",
"dbaeumer.vscode-eslint",
"ms-vscode.vscode-typescript-tslint-plugin",
"esbenp.prettier-vscode",
"bierner.lit-html",
"runem.lit-plugin"
],
"settings": {
"files.eol": "\n",
"editor.tabSize": 2,
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"files.trimTrailingWhitespace": true
}
}
}
}