.vscode/tasks.json
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Run Bemuse development server",
"type": "npm",
"script": "start",
"options": {
"cwd": "${workspaceFolder}/bemuse"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Semgrep",
"type": "shell",
"command": "semgrep --vim",
"problemMatcher": {
"owner": "semgrep",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": [
{
"regexp": "^([^:]+):(\\d+):(\\d+):([^:]+):([^:]+):(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"code": 5,
"message": 6
}
]
}
}
]
}