Created by: greenkeeper[bot]
tslint just got published.
Version 5.7.0 ofDependency | tslint |
---|---|
Current Version | 5.3.2 |
Type | devDependency |
The version 5.7.0 is not covered by your current version range.
Without accepting this pull request your project will work just like it did before. There might be a bunch of new features, fixes and perf improvements that the maintainers worked on for you though.
I recommend you look into these changes and try to get onto the latest version of tslint. Given that you have a decent test suite, a passing build is a strong indicator that you can take advantage of these changes by merging the proposed change into your project. Otherwise this branch is a great starting point for you to work on the update.
Release Notes
v5.7.0
🎉 New rules, options, and fixers
- [new-rule]
no-parameter-reassignment
(#3045) - [new-rule-option]:
object-literal-sort-keys
: Addmatch-declaration-order
option (#2829) - [new-rule-option]
check-type-operator
forwhitespace
rule (#3083) - [new-rule-option]
whitespace
: Addcheck-rest-spread
option (#3089)
🛠 Bugfixes & enhancements
- [api]
AbstractRule#applyWithFunction
allows additional parameter that is passed through towalkFn
(#3140) - [api]
AbstractRule#applyWithFunction
has better type checking for its type parameter (#2660) - [bugfix]
member-access
autofix now correcly insertspublic
keyword after decorators (#3162) - [bugfix]
prefer-const
correctly handlecatch
without binding parameter introduced intypescript@2.5.1
(#3151) - [bugfix]
no-invalid-template-strings
allows backslash-prefixed template expressions (#3116) - [bugfix]
deprecation
no longer shows errors on imports and exports (#3141) - [bugfix]
deprecation
: fix false positive when calling a function or method where another overload is deprecated (#2883) - [bugfix]
whitespace
: fixed"check-separator"
for trivialfor
cases. (#3132) - [bugfix]
prefer-object-spread
prevent spreadingthis
as it is not allowed by the compiler (#3126) - [bugfix]
msbuild
formatter uses backslashes in paths on Windows (#3145) - [bugfix]
no-namespace
ignores global augmentation (#3161) - [enhancement] remove superfluous empty lines on tslint output. (#3121)
- [enhancement]
no-submodule-imports
allows whitelisting of submodules like@angular/core/testing
(#3129) - [enhancement] custom lint rules will be resolved using node's path resolution to allow for loaders like
ts-node
(#3108) - [enhancement]
quotemark
no longer requires"single"
or"double"
to be the first option. The rule defaults to"double"
if none is specified. (#3114) - [enhancement]
no-unused-variable
autofix removes trailing comments of imports (#3156) - [enhancement]
no-unnecessary-type-assertion
allows certain necessary assertions to prevent type widening (#3120)
Thanks to our contributors!
- Paul Gschwendtner
- Andy Hanson
- ksvitkovsky
- Santi Albo
- aervin
- Junle Li
- Joscha Feth
- WiseBird
- Caleb Eggensperger
- WGroenestein
- Bowen Ni
Not sure how things should work exactly?
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot