-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdevcontainer.json
More file actions
44 lines (44 loc) · 1.3 KB
/
devcontainer.json
File metadata and controls
44 lines (44 loc) · 1.3 KB
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
42
43
44
{
"name": "html2rss-web",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspace",
"shutdownAction": "stopCompose",
"customizations": {
"vscode": {
"extensions": [
"rebornix.ruby",
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint"
],
"settings": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"prettier.configPath": "./frontend/prettier.config.js",
"ruby.format": "rubocop",
"ruby.lint": { "rubocop": true },
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
},
"forwardPorts": [4000, 4001],
"portsAttributes": {
"4000": {
"label": "Ruby App",
"onAutoForward": "notify"
},
"4001": {
"label": "Vite Dev Server",
"onAutoForward": "silent"
}
},
"postCreateCommand": "bash -lc \"make setup || (echo 'make setup failed; rerun once network access is available.' && exit 0)\"",
"remoteUser": "vscode"
}