chore(tslint): disallow variable names that look like keywords.

We've had issues such as the one I documented: https://github.com/Microsoft/TypeScript/issues/5187
This tslint check prevents this happening again.
This change also updates to the newest tslint which gets typings from npm.

Closes #4970
This commit is contained in:
Alex Eagle
2015-10-27 20:51:03 -07:00
committed by Alex Eagle
parent 25ddd8718d
commit c90e1920f5
7 changed files with 708 additions and 275 deletions
+2 -2
View File
@@ -78,7 +78,7 @@
"gulp-sourcemaps": "1.3.*",
"gulp-template": "^3.0.0",
"gulp-traceur": "0.17.*",
"gulp-tslint": "^3.3.0-beta",
"gulp-tslint": "^3.4.0",
"gulp-typescript": "^2.9.0",
"gulp-uglify": "^1.2.0",
"gulp-webserver": "^0.8.7",
@@ -130,7 +130,7 @@
"through2": "^0.6.1",
"ts2dart": "^0.7.12",
"tsd": "^0.6.5-beta",
"tslint": "^2.5.0",
"tslint": "^3.0.0-dev.1",
"typescript": "^1.6.2",
"universal-analytics": "^0.3.9",
"vinyl": "^0.4.6",