This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
Update dependency tslint to version 5.2.0 #282
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates dependency tslint from version
5.1.0
to5.2.0
Changelog
5.2.0 / 2017-05-03
See issue #2608
duplicate code of the helper functions that typescript generates.
[bugfix] `quotemark`: fix regression with jsx attributes
Fixes: #2603
[rule-change] `no-console` bans all console methods when no methods are specified
Fixes: #2602
Fixes: #2492
module imports can only occur as top level statement
Rewrite to walker function.
Add some tests.
[enhancement] `no-unused-expression`: narrow error location for comma
separated expressions and conditional expressions
[bugfix] `no-unused-expression`: allow `void` in expression and
statement position
[bugfix] `no-unused-expression`: allow `void(0)` in addition to `void 0`
Fixes: #2632
[new-fixer] `interface-over-type-literal`
[no-log] simple refactoring
[bugfix] `align`: fix false positive for files with BOM
Fixes: #2640
Fixes incorrect use of \w in regex.
[no-log]
Convert all rule names to links to the docs while generating changelog.
Also filter out [no-log]
[bugfix] `semicolon`: don't mark semicolon as unnecessary when the next statement is on the same line
Fixes: #2564
[bugfix] `callable-types`: suggest correct fix for interfaces with type arguments
[new-fixer] `callable-types`
[bugfix] `object-literal-key-quotes`: does no longer require quotes for reserved words and property names containing digits
[bugfix] `object-literal-key-quotes`: correctly stringify numbers when fixing
Add the ability to use placeholders in message substitutions. Syntax is inspired by python. It uses node's `util.format()` under the hood.
[enhancement] `class-name` now also checks class expressions
[no-log] simple refactor
and avoid regex
[bugfix] `prefer-const` no longer shows warnings on ambient declarations
Fixes: #2390
[new-fixer] `no-internal-module`
[bugfix] `no-internal-module`: no more false positives for global augmentation
Fixes #2163
also fix some lint errors