-
Notifications
You must be signed in to change notification settings - Fork 887
Prepare for v4.4.0 #2109
Prepare for v4.4.0 #2109
Changes from 4 commits
fac3e0d
55b1e25
dd20024
3f62750
3fb63ec
9438f8d
dc6dc8a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,39 @@ | ||
Change Log | ||
=== | ||
|
||
v4.4.0 | ||
--- | ||
|
||
* [new-rule] `arrow-return-shorthand` (#1972) | ||
* [new-rule] `no-unbound-method` (#2089) | ||
* [new-rule] `no-boolean-literal-compare` (#2013) | ||
* [new-rule] `no-unsafe-any` (#2047) | ||
* [new-rule] `no-unnecessary-qualifier` (#2008) | ||
* [new-rule] `no-unnecessary-initializer` (#2106) | ||
* [new-rule] `await-promise` (#2102) | ||
* [new-rule] `no-floating-promises` (#1632) | ||
* [new-rule] `strict-type-predicates` (#2046) | ||
* [new-rule] `no-misused-new` (#1963) | ||
* [new-rule] `prefer-method-signature` (#2028) | ||
* [new-rule] `prefer-function-over-method` (#2037) | ||
* [new-rule-option] `allow-fast-null-checks` added to `no-unused-expression` (#1638) | ||
* [new-rule-option] `comment-format-rule` adds `ignore-words` and `ignore-pattern` options (#1757) | ||
* [new-rule-option] `whitespace` adds `check-preblock` option (#2002) | ||
* [new-rule-option] `member-ordering` adds categories, allowing flexible ordering of different types of members (#2041) | ||
* [new-rule-option] `strict-boolean-expressions` adds `allow-null-union`, `allow-undefined-union`, `allow-string`, and `allow-number` and (#2033) | ||
* [new-fixer] `align` (#2097) | ||
* [new-fixer] `no-trailing-whitespace` (#2060) | ||
* [bugfix] `no-magic-numbers` false positive on default parameter values (#2004) | ||
* [bugfix] `no-empty-interface` allow empty interface with 2 or more parents (#2070) | ||
* [bugfix] `no-trailing-whitespace` fixed for comments and EOF (#2060) | ||
* [bugfix] `no-empty` no longer fails for private or protected constructor (#1976) | ||
* [bugfix] `tslint:disable`/`tslint-enable` now handles multiple rules and fixes what code is enabled/disabled (#2061) | ||
* [bugfix] `no-inferrable-types` now validates property declarations (#2081) | ||
* [bugfix] `unified-signatures` false positive (#2016) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [bugfix] |
||
* [bugfix] `whitespace` finds all whitespace errors in JsxExpressions and TemplateExpressions (#2036) | ||
* [bugfix] `comment-format` no more false positives in JsxText (#2036) | ||
* [enhancement] `--test` option now accepts glob (#2079) | ||
|
||
v4.3.1 | ||
--- | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,6 +47,20 @@ export const rules = { | |
}], | ||
"typeof-compare": true, | ||
"unified-signatures": true, | ||
|
||
// added in v4.4 | ||
"arrow-return-shorthand": true, | ||
"no-unbound-method": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We haven't enabled any other rules that require type information in this config and I don't think we should start now. We could introduce a separate config for type checking rules and perhaps reconsider for the next major release. |
||
"no-boolean-literal-compare": true, | ||
"no-unsafe-any": true, | ||
"no-unnecessary-qualifier": true, | ||
"no-unnecessary-initializer": true, | ||
"await-promise": true, | ||
"no-floating-promises": true, | ||
"strict-type-predicates": true, | ||
"no-misused-new ": true, | ||
"prefer-method-signature": true, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. let's remove this too; I think it's a little too opinionated and would fail a lot of our builds |
||
"prefer-function-over-method": false, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. don't need this line if you're setting it to disabled |
||
}; | ||
// tslint:enable object-literal-sort-keys | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[new-fixer]
no-trailing-whitespace
(2060)