Adds more linting rules

Fixes lint issues
This commit is contained in:
Eric Amodio
2017-05-23 17:18:44 -04:00
parent 23db83832c
commit 3502bdf6c7
32 changed files with 125 additions and 76 deletions

21
.vscode/tasks.json vendored
View File

@@ -9,24 +9,33 @@
// A task runner that calls a custom npm script that compiles the extension.
{
"version": "2.0.0",
"showOutput": "always",
"showOutput": "silent",
"tasks": [
{
"taskName": "compile",
"command": "npm run compile",
"command": "npm run compile --silent",
"isBuildCommand": true,
"isShellCommand": true,
"problemMatcher": [ "$tsc", "$tslint5" ]
"problemMatcher": [
"$tsc",
{
"base": "$tslint5",
"fileLocation": "relative"
}
]
},
{
"taskName": "lint",
"command": "npm run lint",
"command": "npm run lint --silent",
"isShellCommand": true,
"problemMatcher": "$tslint5"
"problemMatcher": {
"base": "$tslint5",
"fileLocation": "relative"
}
},
{
"taskName": "watch",
"command": "npm run watch",
"command": "npm run watch --silent",
"isBackground": true,
"isShellCommand": true,
"problemMatcher": "$tsc-watch"