2020-04-05 20:50:52 +02:00
|
|
|
{
|
|
|
|
"name": "ESPHome Dev",
|
2022-10-26 01:04:29 +02:00
|
|
|
"image": "ghcr.io/esphome/esphome-lint:dev",
|
2021-06-15 00:45:22 +02:00
|
|
|
"postCreateCommand": [
|
|
|
|
"script/devcontainer-post-create"
|
|
|
|
],
|
|
|
|
"runArgs": [
|
|
|
|
"--privileged",
|
|
|
|
"-e",
|
|
|
|
"ESPHOME_DASHBOARD_USE_PING=1"
|
|
|
|
],
|
2020-04-05 20:50:52 +02:00
|
|
|
"appPort": 6052,
|
|
|
|
"extensions": [
|
2021-06-15 00:45:22 +02:00
|
|
|
// python
|
2020-04-05 20:50:52 +02:00
|
|
|
"ms-python.python",
|
|
|
|
"visualstudioexptteam.vscodeintellicode",
|
2021-06-15 00:45:22 +02:00
|
|
|
// yaml
|
|
|
|
"redhat.vscode-yaml",
|
|
|
|
// cpp
|
|
|
|
"ms-vscode.cpptools",
|
|
|
|
// editorconfig
|
|
|
|
"editorconfig.editorconfig",
|
2020-04-05 20:50:52 +02:00
|
|
|
],
|
|
|
|
"settings": {
|
2021-06-15 00:45:22 +02:00
|
|
|
"python.languageServer": "Pylance",
|
|
|
|
"python.pythonPath": "/usr/bin/python3",
|
2020-04-05 20:50:52 +02:00
|
|
|
"python.linting.pylintEnabled": true,
|
|
|
|
"python.linting.enabled": true,
|
|
|
|
"python.formatting.provider": "black",
|
|
|
|
"editor.formatOnPaste": false,
|
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"editor.formatOnType": true,
|
|
|
|
"files.trimTrailingWhitespace": true,
|
2021-06-22 16:37:05 +02:00
|
|
|
"terminal.integrated.defaultProfile.linux": "bash",
|
2020-04-05 20:50:52 +02:00
|
|
|
"yaml.customTags": [
|
|
|
|
"!secret scalar",
|
2020-05-20 02:02:10 +02:00
|
|
|
"!lambda scalar",
|
2020-04-05 20:50:52 +02:00
|
|
|
"!include_dir_named scalar",
|
|
|
|
"!include_dir_list scalar",
|
|
|
|
"!include_dir_merge_list scalar",
|
|
|
|
"!include_dir_merge_named scalar"
|
2021-06-15 00:45:22 +02:00
|
|
|
],
|
|
|
|
"files.exclude": {
|
|
|
|
"**/.git": true,
|
|
|
|
"**/.DS_Store": true,
|
|
|
|
"**/*.pyc": {
|
|
|
|
"when": "$(basename).py"
|
|
|
|
},
|
|
|
|
"**/__pycache__": true
|
|
|
|
},
|
|
|
|
"files.associations": {
|
|
|
|
"**/.vscode/*.json": "jsonc"
|
|
|
|
},
|
2023-03-20 04:38:41 +01:00
|
|
|
"C_Cpp.clang_format_path": "/usr/bin/clang-format-13",
|
2020-04-05 20:50:52 +02:00
|
|
|
}
|
|
|
|
}
|