mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-12-18 16:07:57 +01:00
37 lines
839 B
JSON
37 lines
839 B
JSON
{
|
|
"name": "ESPHome Home Assistant add-on devcontainer",
|
|
"image": "ghcr.io/esphome/devcontainer:addons",
|
|
"appPort": [
|
|
"7123:8123",
|
|
"7357:4357"
|
|
],
|
|
"postStartCommand": "bash devcontainer_bootstrap",
|
|
"runArgs": [
|
|
"-e",
|
|
"GIT_EDITOR=code --wait",
|
|
"--privileged"
|
|
],
|
|
"containerEnv": {
|
|
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
|
|
},
|
|
"extensions": [
|
|
"timonwong.shellcheck",
|
|
"esbenp.prettier-vscode"
|
|
],
|
|
"mounts": [
|
|
"type=volume,target=/var/lib/docker"
|
|
],
|
|
"settings": {
|
|
"terminal.integrated.profiles.linux": {
|
|
"zsh": {
|
|
"path": "/usr/bin/zsh"
|
|
}
|
|
},
|
|
"terminal.integrated.defaultProfile.linux": "zsh",
|
|
"editor.formatOnPaste": false,
|
|
"editor.formatOnSave": true,
|
|
"editor.formatOnType": true,
|
|
"files.trimTrailingWhitespace": true
|
|
}
|
|
}
|