This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
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.
Version 5.7.0 of tslint just got published.
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
no-parameter-reassignment
(#3045)object-literal-sort-keys
: Addmatch-declaration-order
option (#2829)check-type-operator
forwhitespace
rule (#3083)whitespace
: Addcheck-rest-spread
option (#3089)🛠 Bugfixes & enhancements
AbstractRule#applyWithFunction
allows additional parameter that is passed through towalkFn
(#3140)AbstractRule#applyWithFunction
has better type checking for its type parameter (#2660)member-access
autofix now correcly insertspublic
keyword after decorators (#3162)prefer-const
correctly handlecatch
without binding parameter introduced intypescript@2.5.1
(#3151)no-invalid-template-strings
allows backslash-prefixed template expressions (#3116)deprecation
no longer shows errors on imports and exports (#3141)deprecation
: fix false positive when calling a function or method where another overload is deprecated (#2883)whitespace
: fixed"check-separator"
for trivialfor
cases. (#3132)prefer-object-spread
prevent spreadingthis
as it is not allowed by the compiler (#3126)msbuild
formatter uses backslashes in paths on Windows (#3145)no-namespace
ignores global augmentation (#3161)no-submodule-imports
allows whitelisting of submodules like@angular/core/testing
(#3129)ts-node
(#3108)quotemark
no longer requires"single"
or"double"
to be the first option. The rule defaults to"double"
if none is specified. (#3114)no-unused-variable
autofix removes trailing comments of imports (#3156)no-unnecessary-type-assertion
allows certain necessary assertions to prevent type widening (#3120)Thanks to our contributors!
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 🌴