From b15d1449550759f57759097a802abf14943e69cf Mon Sep 17 00:00:00 2001 From: Vladimir Matveev Date: Sun, 13 Nov 2016 13:34:18 -0800 Subject: [PATCH] switch to tslint@next (#12201) --- package.json | 2 +- src/services/shims.ts | 5 +---- tslint.json | 3 +-- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ed77c9bd35f..9c2cc3697f1 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "travis-fold": "latest", "ts-node": "latest", "tsd": "latest", - "tslint": "4.0.0-dev.0", + "tslint": "next", "typescript": "next" }, "scripts": { diff --git a/src/services/shims.ts b/src/services/shims.ts index f2984186790..4debcb23774 100644 --- a/src/services/shims.ts +++ b/src/services/shims.ts @@ -1261,11 +1261,8 @@ namespace TypeScript.Services { export const TypeScriptServicesFactory = ts.TypeScriptServicesFactory; } -/* tslint:disable:no-unused-variable */ // 'toolsVersion' gets consumed by the managed side, so it's not unused. // TODO: it should be moved into a namespace though. /* @internal */ -const toolsVersion = "2.2"; - -/* tslint:enable:no-unused-variable */ +const toolsVersion = "2.2"; \ No newline at end of file diff --git a/tslint.json b/tslint.json index 81990190ddb..26657981a63 100644 --- a/tslint.json +++ b/tslint.json @@ -17,7 +17,7 @@ "double", "avoid-escape" ], - "semicolon": true, + "semicolon": [true, "ignore-bound-class-methods"], "whitespace": [true, "check-branch", "check-decl", @@ -41,7 +41,6 @@ "no-trailing-whitespace": true, "no-inferrable-types": true, "no-null-keyword": true, - "no-unused-variable": true, "boolean-trivia": true, "type-operator-spacing": true, "prefer-const": true,