-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer-ruby.json
More file actions
73 lines (67 loc) · 1.79 KB
/
devcontainer-ruby.json
File metadata and controls
73 lines (67 loc) · 1.79 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "Ruby Development Container",
"image": "mcr.microsoft.com/devcontainers/ruby:3.3",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": true,
"configureZshAsDefaultShell": true,
"installOhMyZsh": true
},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/github-cli:1": {
"version": "latest"
},
"ghcr.io/devcontainers/features/node:1": {
"version": "lts"
}
},
"customizations": {
"vscode": {
"extensions": [
"editorconfig.editorconfig",
"streetsidesoftware.code-spell-checker",
"davidanson.vscode-markdownlint",
"eamodio.gitlens",
"github.vscode-github-actions",
"ms-azuretools.vscode-docker",
"shopify.ruby-lsp",
"castwide.solargraph",
"misogi.ruby-rubocop",
"kaiwood.endwise",
"aki77.rails-db-schema"
],
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnSave": true,
"editor.defaultFormatter": "shopify.ruby-lsp",
"[ruby]": {
"editor.defaultFormatter": "shopify.ruby-lsp",
"editor.formatOnSave": true,
"editor.tabSize": 2
},
"rubyLsp.formatter": "rubocop",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
},
"postCreateCommand": "bundle install",
"remoteUser": "vscode",
"forwardPorts": [3000, 4000, 5000],
"portsAttributes": {
"3000": {
"label": "Rails Server",
"onAutoForward": "notify"
},
"4000": {
"label": "Jekyll/Other",
"onAutoForward": "notify"
},
"5000": {
"label": "Alt Application",
"onAutoForward": "silent"
}
}
}