Skip to content

Commit b15d144

Browse files
authored
switch to tslint@next (microsoft#12201)
1 parent 0e879c0 commit b15d144

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"travis-fold": "latest",
7777
"ts-node": "latest",
7878
"tsd": "latest",
79-
"tslint": "4.0.0-dev.0",
79+
"tslint": "next",
8080
"typescript": "next"
8181
},
8282
"scripts": {

src/services/shims.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,11 +1261,8 @@ namespace TypeScript.Services {
12611261
export const TypeScriptServicesFactory = ts.TypeScriptServicesFactory;
12621262
}
12631263

1264-
/* tslint:disable:no-unused-variable */
12651264
// 'toolsVersion' gets consumed by the managed side, so it's not unused.
12661265
// TODO: it should be moved into a namespace though.
12671266

12681267
/* @internal */
1269-
const toolsVersion = "2.2";
1270-
1271-
/* tslint:enable:no-unused-variable */
1268+
const toolsVersion = "2.2";

tslint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"double",
1818
"avoid-escape"
1919
],
20-
"semicolon": true,
20+
"semicolon": [true, "ignore-bound-class-methods"],
2121
"whitespace": [true,
2222
"check-branch",
2323
"check-decl",
@@ -41,7 +41,6 @@
4141
"no-trailing-whitespace": true,
4242
"no-inferrable-types": true,
4343
"no-null-keyword": true,
44-
"no-unused-variable": true,
4544
"boolean-trivia": true,
4645
"type-operator-spacing": true,
4746
"prefer-const": true,

0 commit comments

Comments
 (0)