phantomjscloud
Version:
Official PhantomJs Cloud Client API Library for Node.js
45 lines • 1.69 kB
JSON
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "tslint",
"type": "shell",
"command": "tslint --project tsconfig.json --config tslint.json --format verbose",
//// disabling the following "prolemMatcher" section because while it shows tslint errors
//// in the Problems Tab, the problems are "stuck" there.
//// a workaround is just to run the tslint task (example: keyboard shortcut CTRL+ALT+T)
//// and look at the Terminal window. you can CTRL+Click the file+line number shown
//// in the tslint CLI output for an error, and it will navigate you to the error.
// "problemMatcher": {
// "base": "$tslint5",
// "fileLocation": "absolute",
// "owner": "tslint-task"
// },
"group": {
"kind": "test",
"isDefault": true
}
},
{
"label": "tslint-fix",
"type": "shell",
"command": "tslint --project tsconfig.json --config tslint.json --format verbose --fix",
//// disabling the following "prolemMatcher" section because while it shows tslint errors
//// in the Problems Tab, the problems are "stuck" there.
//// a workaround is just to run the tslint task (example: keyboard shortcut CTRL+ALT+T)
//// and look at the Terminal window. you can CTRL+Click the file+line number shown
//// in the tslint CLI output for an error, and it will navigate you to the error.
// "problemMatcher": {
// "base": "$tslint5",
// "fileLocation": "absolute",
// "owner": "tslint-task"
// },
"group": {
"kind": "test",
"isDefault": false
}
},
]
}