Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Prepare for v4.4.0 #2109

Merged
merged 7 commits into from
Jan 25, 2017
Merged

Prepare for v4.4.0 #2109

merged 7 commits into from
Jan 25, 2017

Conversation

Copy link
Contributor

@adidahiya adidahiya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting for tslint:latest changes, and blocking on the linked PRs

* [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)
Copy link
Contributor

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)

* [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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR 1976

* [bugfix] `no-empty` no longer fails for private or protected constructor
* [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)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[bugfix] whitespace finds all whitespace errors in JsxExpressions and TemplateExpressions (2036)
[bugfix] comment-format no more false positives in JsxText (2036)

* [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)
* [enhancement] `--test` option now accepts glob
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR 2079


// added in v4.4
"arrow-return-shorthand": true,
"no-unbound-method": true,
Copy link
Contributor

Choose a reason for hiding this comment

The 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.

@nchen63
Copy link
Contributor Author

nchen63 commented Jan 25, 2017

should prefer-function-over-method be in latest? I think it would be a bit much for most people

@adidahiya
Copy link
Contributor

@nchen63 agreed, I would leave it out of the built-in configs

"no-unnecessary-initializer": true,
"no-misused-new ": true,
"prefer-method-signature": true,
"prefer-function-over-method": false,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't need this line if you're setting it to disabled

"arrow-return-shorthand": true,
"no-unnecessary-initializer": true,
"no-misused-new ": true,
"prefer-method-signature": true,
Copy link
Contributor

Choose a reason for hiding this comment

The 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants