Skip to content

Commit

Permalink
feat(@angular/cli): bump to tslint 5 & codelyzer 3
Browse files Browse the repository at this point in the history
Also fixes the `test.ts` file warnings.
  • Loading branch information
cexbrayat authored and hansl committed May 4, 2017
1 parent 5e39361 commit af758b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/@angular/cli/blueprints/ng/files/__path__/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ import {
} from '@angular/platform-browser-dynamic/testing';

// Unfortunately there's no typing for the `__karma__` variable. Just declare it as any.
declare var __karma__: any;
declare var require: any;
declare const __karma__: any;
declare const require: any;

// Prevent Karma from running prematurely.
__karma__.loaded = function () {};
Expand Down
4 changes: 2 additions & 2 deletions packages/@angular/cli/blueprints/ng/files/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@angular/compiler-cli": "^4.0.0",
"@types/jasmine": "2.5.38",
"@types/node": "~6.0.60",
"codelyzer": "~2.0.0",
"codelyzer": "~3.0.0",
"jasmine-core": "~2.5.2",
"jasmine-spec-reporter": "~3.2.0",
"karma": "~1.4.1",
Expand All @@ -40,7 +40,7 @@
"karma-coverage-istanbul-reporter": "^0.2.0",
"protractor": "~5.1.0",
"ts-node": "~2.0.0",
"tslint": "~4.5.0",
"tslint": "~5.1.0",
"typescript": "~2.2.0"
}
}

0 comments on commit af758b8

Please sign in to comment.