Skip to content

Commit ecab88c

Browse files
authored
Prepare release 5.10.0 (palantir#3871)
* Prepare release 5.10.0
1 parent 93fd0ac commit ecab88c

File tree

3 files changed

+54
-3
lines changed

3 files changed

+54
-3
lines changed

CHANGELOG.md

+52-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,57 @@
11
Change Log
22
===
33

4+
v5.10.0
5+
---
6+
7+
## :tada: Features
8+
9+
- [new-rule] [`prefer-while`](https://palantir.github.io/tslint/rules/prefer-while/) (#3750)
10+
- [new-fixer] [`comment-format`](https://palantir.github.io/tslint/rules/comment-format/) (#3845)
11+
- [new-rule-option] `"allow-empty-functions"` for [`no-empty`](https://palantir.github.io/tslint/rules/no-empty/) rule (#3624)
12+
- [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)
13+
14+
## :hammer_and_wrench: Bugfixes & enhancements
15+
16+
- [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)
17+
- [bugfix] [`no-unbound-method`](https://palantir.github.io/tslint/rules/no-unbound-method/) rule allows square bracket property access (#3610)
18+
- [bugfix] [`no-unsafe-any`](https://palantir.github.io/tslint/rules/no-unsafe-any/) no longer marks native JSX elements as unsafe (#3699)
19+
- [enhancement] [`file-header`](https://palantir.github.io/tslint/rules/file-header/) auto-fixes use '!' character to ensure header stays above imports (#3741)
20+
- [enhancement] Better error messages if a rule crashes (#3836)
21+
- [enhancement] Better error messages when no valid rules are specified (#3729)
22+
- [enhancement] Better lint messages for unused imports in [`no-unused-variable`](https://palantir.github.io/tslint/rules/no-unused-variable/) rule (#3831)
23+
- [docs] Improve documentation of cli flag --project (#3703)
24+
- [docs] Added short rationales for about thirty rules (#3734)
25+
- [docs] Added optional capability to provide code examples in rules' metadata (#3602)
26+
- [docs] Many small docs fixes and tweaks from many great contributors!
27+
28+
Thanks to our contributors!
29+
30+
- Achim Weimert
31+
- BB9z
32+
- Blair Zajac
33+
- Chia-Lun Wu (Leo)
34+
- Ethan
35+
- Janis Koehr
36+
- Josh Goldberg
37+
- Julian Verdurmen
38+
- Lucas Sloan
39+
- Mark Vincze
40+
- Martin Möhwald
41+
- Oliver Joseph Ash
42+
- Pichest Wongsiripiphat
43+
- Rafael Santana
44+
- Ruben Bridgewater
45+
- Ryan Waskiewicz
46+
- Sehrope Sarkuni
47+
- Suchan Lee
48+
- Victor Belozyorov
49+
- aervin_
50+
- cwgorman
51+
- felipeissa
52+
- jishi9
53+
54+
455
v5.9.1
556
---
657

@@ -74,7 +125,7 @@ For more details, see the relevant PRs:
74125
- [bugfix] Fix condition for deprecation of [`typeof-compare`](https://palantir.github.io/tslint/rules/typeof-compare) (#3429)
75126
- [enhancement] Better error message for files not contained in the project (#3313)
76127
- [enhancement] `"properties"` option for [`completed-docs`](https://palantir.github.io/tslint/rules/completed-docs/) rule now checks getter and setter accessors. (#3497)
77-
- [enhancement]: [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers) ignores parseInt radix parameter (#3536)
128+
- [enhancement] [`no-magic-numbers`](https://palantir.github.io/tslint/rules/no-magic-numbers) ignores parseInt radix parameter (#3536)
78129
- [enhancement] Avoid duplicate I/O when using `--project` option (#3313)
79130
- [enhancement] clicking the filename in `stylish`-formatter's output jumps to the first failure in that file. (#3491)
80131
- [enhancement] [`ban-comma-operator`](https://palantir.github.io/tslint/rules/ban-comma-operator/) ignores comma operator inside for-loop incrementor (#3485)

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tslint",
3-
"version": "5.9.1",
3+
"version": "5.10.0",
44
"description": "An extensible static analysis linter for the TypeScript language",
55
"bin": {
66
"tslint": "./bin/tslint"

src/linter.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import { arrayify, dedent, flatMap, mapDefined } from "./utils";
4141
* Linter that can lint multiple files in consecutive runs.
4242
*/
4343
export class Linter {
44-
public static VERSION = "5.9.1";
44+
public static VERSION = "5.10.0";
4545

4646
public static findConfiguration = findConfiguration;
4747
public static findConfigurationPath = findConfigurationPath;

0 commit comments

Comments
 (0)