Fixing lint errors for many of the projects

This commit is contained in:
Matt Bierner
2019-05-10 14:43:54 -07:00
parent 03cf5fa9f1
commit 5553fee13b
33 changed files with 125 additions and 46 deletions

View File

@ -31,8 +31,9 @@
"main": "./out/extension.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./"
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "tslint -p ./"
},
"devDependencies": {
"@types/node": "^6.0.40",

View File

@ -14,7 +14,7 @@ export function activate(context: ExtensionContext) {
cancellable: true
}, (progress, token) => {
token.onCancellationRequested(() => {
console.log("User canceled the long running operation")
console.log("User canceled the long running operation");
});
progress.report({ increment: 0 });

View File

@ -0,0 +1,12 @@
{
"rules": {
"no-string-throw": true,
"no-unused-expression": true,
"no-duplicate-variable": true,
"curly": true,
"class-name": true,
"semicolon": [true, "always"],
"triple-equals": true
},
"defaultSeverity": "warning"
}