From ecab88c8d60a2d5a7ee4f2d879e66b950971760e Mon Sep 17 00:00:00 2001 From: Jason Killian Date: Thu, 3 May 2018 16:09:17 -0700 Subject: [PATCH] Prepare release 5.10.0 (#3871) * Prepare release 5.10.0 --- CHANGELOG.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++- package.json | 2 +- src/linter.ts | 2 +- 3 files changed, 54 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a69f78d5705..198b14cf486 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,57 @@ Change Log === +v5.10.0 +--- + +## :tada: Features + +- [new-rule] [`prefer-while`](https://palantir.github.io/tslint/rules/prefer-while/) (#3750) +- [new-fixer] [`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) (#3845) +- [new-rule-option] `"allow-empty-functions"` for [`no-empty`](https://palantir.github.io/tslint/rules/no-empty/) rule (#3624) +- [new-rule-option] New options for [`promise-function-async`](https://palantir.github.io/tslint/rules/promise-function-async/) specifying what kinds of functions to check (#3807) + +## :hammer_and_wrench: Bugfixes & enhancements + +- [bugfix] [`file-header`](https://palantir.github.io/tslint/rules/file-header/) rule plays nice with [`no-trailing-whitespace`](https://palantir.github.io/tslint/rules/no-trailing-whitespace/) rule (#3802) +- [bugfix] [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) rule allows square bracket property access (#3610) +- [bugfix] [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/) no longer marks native JSX elements as unsafe (#3699) +- [enhancement] [`file-header`](https://palantir.github.io/tslint/rules/file-header/) auto-fixes use '!' character to ensure header stays above imports (#3741) +- [enhancement] Better error messages if a rule crashes (#3836) +- [enhancement] Better error messages when no valid rules are specified (#3729) +- [enhancement] Better lint messages for unused imports in [`no-unused-variable`](https://palantir.github.io/tslint/rules/no-unused-variable/) rule (#3831) +- [docs] Improve documentation of cli flag --project (#3703) +- [docs] Added short rationales for about thirty rules (#3734) +- [docs] Added optional capability to provide code examples in rules' metadata (#3602) +- [docs] Many small docs fixes and tweaks from many great contributors! + +Thanks to our contributors! + +- Achim Weimert +- BB9z +- Blair Zajac +- Chia-Lun Wu (Leo) +- Ethan +- Janis Koehr +- Josh Goldberg +- Julian Verdurmen +- Lucas Sloan +- Mark Vincze +- Martin Möhwald +- Oliver Joseph Ash +- Pichest Wongsiripiphat +- Rafael Santana +- Ruben Bridgewater +- Ryan Waskiewicz +- Sehrope Sarkuni +- Suchan Lee +- Victor Belozyorov +- aervin_ +- cwgorman +- felipeissa +- jishi9 + + v5.9.1 --- @@ -74,7 +125,7 @@ For more details, see the relevant PRs: - [bugfix] Fix condition for deprecation of [`typeof-compare`](https://palantir.github.io/tslint/rules/typeof-compare) (#3429) - [enhancement] Better error message for files not contained in the project (#3313) - [enhancement] `"properties"` option for [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) rule now checks getter and setter accessors. (#3497) -- [enhancement]: [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers) ignores parseInt radix parameter (#3536) +- [enhancement] [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers) ignores parseInt radix parameter (#3536) - [enhancement] Avoid duplicate I/O when using `--project` option (#3313) - [enhancement] clicking the filename in `stylish`-formatter's output jumps to the first failure in that file. (#3491) - [enhancement] [`ban-comma-operator`](https://palantir.github.io/tslint/rules/ban-comma-operator/) ignores comma operator inside for-loop incrementor (#3485) diff --git a/package.json b/package.json index f79bb1ea619..6abdf96eae5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tslint", - "version": "5.9.1", + "version": "5.10.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 d432c2001a7..ab6cbbb18f7 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -41,7 +41,7 @@ import { arrayify, dedent, flatMap, mapDefined } from "./utils"; * Linter that can lint multiple files in consecutive runs. */ export class Linter { - public static VERSION = "5.9.1"; + public static VERSION = "5.10.0"; public static findConfiguration = findConfiguration; public static findConfigurationPath = findConfigurationPath;