mirror of
https://github.com/esphome/esphome.git
synced 2024-12-28 17:37:44 +01:00
33 lines
762 B
JSON
33 lines
762 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "run",
|
|
"type": "shell",
|
|
"command": "python3 -m esphome dashboard config/",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "clang-tidy",
|
|
"type": "shell",
|
|
"command": "test -f .gcc-flags.json || pio init --silent --ide atom; ./script/clang-tidy",
|
|
"problemMatcher": [
|
|
{
|
|
"owner": "clang-tidy",
|
|
"fileLocation": "absolute",
|
|
"pattern": [
|
|
{
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(error):\\s+(.*) \\[([a-z0-9,\\-]+)\\]\\s*$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|