From 9f72565b8e67f155a70ea1a5f7b78f66514deb02 Mon Sep 17 00:00:00 2001 From: Noah Chen Date: Thu, 22 Dec 2016 22:37:41 -0800 Subject: [PATCH] Prepare version 4.2.0 (#1915) --- CHANGELOG.md | 15 +++++++++++++++ package.json | 2 +- src/linter.ts | 2 +- src/tsconfig.json | 1 - test/tsconfig.json | 1 - 5 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a206996bebe..3332337b43e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,21 @@ Change Log === +v4.2.0 +--- + +* [new-rule] `no-string-throw` (#1878) +* [new-rule] `no-empty-interface` (#1889) +* [new-rule] `interface-over-type-literal` (#1890) +* [new-rule] `callable-types` (#1891) +* [new-rule] `no-void-expression` (#1903) +* [new-rule-option] `ban-single-arg-parens` added to `arrow-parens` (#1893) +* [bugfix] `prefer-const` handles destructuring arrays (#1894), destructuring objects (#1906), and forward references (#1908) +* [bugfix] Don't error for misplaced braces for 'else' in `one-line` rule (#1866) +* [bugfix] `no-shadowed-variable` now identifies shadowed `for` iterator (#1816) +* [bugfix] `object-literal-key-quotes` now includes function names (#1874) +* [bugfix] error when EOF comes after `disable-next-line` comment (#1902) + v4.1.1 --- diff --git a/package.json b/package.json index 466a570db59..6978d919284 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "4.1.1", + "version": "4.2.0", "description": "An extensible static analysis linter for the TypeScript language", "bin": { "tslint": "./bin/tslint" diff --git a/src/linter.ts b/src/linter.ts index 14e86e2daad..1516226a35d 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -42,7 +42,7 @@ import { arrayify, dedent } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ class Linter { - public static VERSION = "4.1.1"; + public static VERSION = "4.2.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath; diff --git a/src/tsconfig.json b/src/tsconfig.json index 82843d7dc6f..4b9e929f990 100644 --- a/src/tsconfig.json +++ b/src/tsconfig.json @@ -1,5 +1,4 @@ { - "version": "2.0.10", "compilerOptions": { "module": "commonjs", "noImplicitAny": true, diff --git a/test/tsconfig.json b/test/tsconfig.json index c6911ca7df6..e8e57dcf422 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -1,5 +1,4 @@ { - "version": "2.0.10", "compilerOptions": { "module": "commonjs", "noImplicitAny": true,