From 7fcf99afc16727a3b885eaf92fbb81b3e096d1d0 Mon Sep 17 00:00:00 2001 From: Jason Killian Date: Fri, 28 Aug 2015 14:16:40 -0400 Subject: [PATCH 1/2] Prepare release v2.4.5 --- CHANGELOG.md | 5 +++++ README.md | 1 + package.json | 2 +- src/tslint.ts | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d276cfa49f..05be76aef53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ Change Log === +v2.4.5 +--- +* [bugfix] #500 +* [enhancement] add `allow-trailing-underscore` option to `variable-name` rule + v2.4.4 --- * [bugfix] remove "typescript" block from package.json (#606) diff --git a/README.md b/README.md index e57403382f0..ec56ea63e30 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,7 @@ A sample configuration file with all options is available [here](https://github. * `check-function` checks that all top-level functions are using strict mode * `variable-name` allows only camelCased or UPPER_CASED variable names. Rule options: * `"allow-leading-underscore"` allows underscores at the beginnning. + * `"allow-trailing-underscore"` allows underscores at the end. * `whitespace` enforces spacing whitespace. Rule options: * `"check-branch"` checks branching statements (`if`/`else`/`for`/`while`) are followed by whitespace * `"check-decl"`checks that variable declarations have whitespace around the equals token diff --git a/package.json b/package.json index ea29a5cd475..fbdc0f58cd8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "2.4.4", + "version": "2.4.5", "description": "a static analysis linter for TypeScript", "bin": { "tslint": "./bin/tslint" diff --git a/src/tslint.ts b/src/tslint.ts index 5a0fd7a928c..ab8f61e7ebf 100644 --- a/src/tslint.ts +++ b/src/tslint.ts @@ -33,7 +33,7 @@ module Lint { } export class Linter { - public static VERSION = "2.4.4"; + public static VERSION = "2.4.5"; private fileName: string; private source: string; From 56efbddc7aaa68596fce202f4742b9b0691cf168 Mon Sep 17 00:00:00 2001 From: Jason Killian Date: Fri, 28 Aug 2015 14:20:49 -0400 Subject: [PATCH 2/2] Tweak changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05be76aef53..3311ed39a9c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ Change Log v2.4.5 --- -* [bugfix] #500 +* [bugfix] fix false positives on `no-shadowed-variable` rule (#500) * [enhancement] add `allow-trailing-underscore` option to `variable-name` rule v2.4.4