nuth.ch/.vscode/tasks.json

33 lines
956 B
JSON
Raw Normal View History

2019-03-27 07:55:08 +00:00
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
2019-04-10 10:39:55 +00:00
"label": "Lint PHP-Code",
2019-03-27 07:55:08 +00:00
"type": "shell",
"options": {
2019-04-10 10:39:55 +00:00
"cwd": "${workspaceFolder}"
2019-03-27 07:55:08 +00:00
},
"command": "composer",
"args": [
"lint"
],
"problemMatcher": {
"owner": "phpcs",
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^\"(.*)\",(\\d+),(\\d+),(.*),\"(.*)\",(.*),(\\d+),(\\d+)",
"file": 1,
"line": 2,
"column": 3,
"message": 5,
"code": 6
}
],
"severity": "warning"
}
}
]
}