mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 08:28:12 +01:00
32 lines
762 B
JSON
32 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
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|