superlint/.devcontainer/devcontainer.json
Marco Ferrari 30fc3ae199
chore: mount the whole lib dir in the devcontainer (#5984)
Bind-mount the whole lib directory as /action/lib in the
devcontainer so we don't have to manually add  lib
subdirectories to the devcontainer configuration as we create
them.
2024-08-08 09:16:03 +02:00

36 lines
853 B
JSON

{
"name": "Super-Linter",
"image": "ghcr.io/super-linter/super-linter:latest",
"customizations": {
"vscode": {
"settings": {},
"extensions": [
"DavidAnson.vscode-markdownlint",
"EditorConfig.EditorConfig",
"GitHub.vscode-github-actions",
"GitHub.vscode-pull-request-github",
"mads-hartmann.bash-ide-vscode",
"mkhl.shfmt",
"ms-azuretools.vscode-docker",
"ms-vscode.makefile-tools",
"timonwong.shellcheck"
]
}
},
"mounts": [
{
"source": "${localWorkspaceFolder}/TEMPLATES",
"target": "/action/lib/.automation",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/lib",
"target": "/action/lib",
"type": "bind"
}
],
"runArgs": [
"--env-file",
".devcontainer/devcontainer.env"
]
}