Devcontainer improvements (#24356)

This commit is contained in:
Franck Nijhof 2022-10-05 12:37:32 +02:00 committed by GitHub
parent 7869dfbd00
commit f00ab82f86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 6 deletions

View File

@ -9,22 +9,24 @@
} }
}, },
"appPort": [4000], "appPort": [4000],
"postCreateCommand": "bundle install && npm install", "onCreateCommand": "bundle install && npm install",
"containerEnv": { "DEVCONTAINER": "true" }, "containerEnv": { "DEVCONTAINER": "true" },
"extensions": [ "extensions": [
"davidanson.vscode-markdownlint", "davidanson.vscode-markdownlint",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"GitHub.vscode-pull-request-github",
"mrmlnc.vscode-scss", "mrmlnc.vscode-scss",
"rebornix.Ruby", "rebornix.Ruby",
"streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker",
"taichi.vscode-textlint",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
], ],
"settings": { "settings": {
"editor.rulers": [80, 100, 120],
"editor.renderWhitespace": "boundary", "editor.renderWhitespace": "boundary",
"errorLens.gutterIconsEnabled": true, "editor.rulers": [80, 100, 120],
"errorLens.addAnnotationTextPrefixes": false, "gitlens.showWelcomeOnInstall": false,
"errorLens.enabledDiagnosticLevels": ["error", "warning"], "gitlens.showWhatsNewAfterUpgrades": false,
"terminal.integrated.shell.linux": "/usr/bin/zsh" "terminal.integrated.shell.linux": "/usr/bin/zsh",
"workbench.startupEditor": "none"
} }
} }

View File

@ -2,7 +2,11 @@
"recommendations": [ "recommendations": [
"davidanson.vscode-markdownlint", "davidanson.vscode-markdownlint",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"GitHub.vscode-pull-request-github",
"mrmlnc.vscode-scss",
"rebornix.Ruby",
"streetsidesoftware.code-spell-checker", "streetsidesoftware.code-spell-checker",
"taichi.vscode-textlint",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
] ]
} }