Skip to content

Commit af758b8

Browse files
cexbrayathansl
authored andcommitted
feat(@angular/cli): bump to tslint 5 & codelyzer 3
Also fixes the `test.ts` file warnings.
1 parent 5e39361 commit af758b8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/@angular/cli/blueprints/ng/files/__path__/test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import {
1313
} from '@angular/platform-browser-dynamic/testing';
1414

1515
// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
16-
declare var __karma__: any;
17-
declare var require: any;
16+
declare const __karma__: any;
17+
declare const require: any;
1818

1919
// Prevent Karma from running prematurely.
2020
__karma__.loaded = function () {};

packages/@angular/cli/blueprints/ng/files/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@angular/compiler-cli": "^4.0.0",
3030
"@types/jasmine": "2.5.38",
3131
"@types/node": "~6.0.60",
32-
"codelyzer": "~2.0.0",
32+
"codelyzer": "~3.0.0",
3333
"jasmine-core": "~2.5.2",
3434
"jasmine-spec-reporter": "~3.2.0",
3535
"karma": "~1.4.1",
@@ -40,7 +40,7 @@
4040
"karma-coverage-istanbul-reporter": "^0.2.0",
4141
"protractor": "~5.1.0",
4242
"ts-node": "~2.0.0",
43-
"tslint": "~4.5.0",
43+
"tslint": "~5.1.0",
4444
"typescript": "~2.2.0"
4545
}
4646
}

0 commit comments

Comments
 (0)