Closed greenkeeper[bot] closed 7 years ago
Update to this version instead π
prefer-switch
: Change default min-cases
to 3. (#2669)outputAbsolutePaths
option (#2667)prefer-object-spread
(#2624)encoding
(#2368)prefer-conditional-expression
(#2363)indent
support indent size (#2723)object-literal-sort-keys
adds ignore-case
(#2592)quotemark
: Add avoid-template
option (#2766)await-promise
: What's considered a "Promise" is now configurable. (#2661)indent
(#2723)typedef-whitespace
(#2718)variable-name
(#2672)typedef
: Use name or parameters for error location (#2460)object-literal-sort-keys
: check shorthand properties (#2592)space-before-function-paren
: Handle get
/set
accessor (#2700)typedef-whitespace
added checks for arrow function, call and construct signature (#2718)no-object-literal-type-assertion
: Allow cast to any
(#2671)-p
option handles directories (#2756)tsconfig.json
is found next to tslint.json
(#2769)return-undefined
: Treat a return type void | undefined
same as void
(#2731)no-unnecessary-initializer
: Handle BindingElement
anywhere, not just in a VariableDeclaration
. (#2707)jsdoc-format
: correctly handle alignment in files with BOM (#2619)jsdoc-format
: don't treat empty comments (/**/
) as jsdoc (#2619)typedef-whitespace
don't warn for leading whitespace if token is preceded by line break (#2718)jsdoc-format
: fixed error position if line ends with \r\n
(#2619)prefer-switch
: add missing checks for some expressions (#2686)prefer-template
: Allow "a" + "b" + "c"
. (#2741)prefer-const
: fix false positive with variable declared outside of for-of or for-in (#2760)--project
: fix file matching with relative path to tsconfig.json
(#2688)no-default-export
: correctly handle export default abstract class {...}
(#2630)no-mergeable-namespace
: display correct line in error message (#2656)object-literal-sort-keys
: handle object spread correctly (#2592)await-promise
: Consider types derived from a Promise in union types too. (#2661)no-unsafe-any
: Fix bug where number literal in type position was flagged as an unsafe any
. (#2712)Lint.Utils.objectify
(#2764)Thanks to our contributors!
Update to this version instead π
not a directory
errorUpdate to this version instead π
--out
file (#2867)unified-signatures
: Don't suggest to unify rest parameters. (#2874)binary-expression-operand-order
: Allow if both sides of the binary expression are literals. (#2873)whitespace
, space-before-function-paren
and deprecation
(#2893)no-string-literal
: Fix documentation (#2875)
Version 5.2.0 of tslint just got published.
The version 5.2.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.2.0no-console
bans all console methods when no methods are specified (#2610)no-object-literal-type-assertion
(#2580)no-irregular-whitespace
(#2487)prefer-switch
(#2331)number-literal-format
(#2526)deprecation
(#2395)no-unnecessary-type-assertion
(#2519)interface-over-type-literal
(#2617)callable-types
(#2552)no-string-literal
(#2495)no-internal-module
(#2517)align
rule addedmembers
option, which checks alignment of methods and properties of classes, objects, interfaces, type literals and object destructuring (#2387)align
rule addedelements
option, which checks alignment of elements in array literals, array destructuring and tuple types (#2387)trailing-comma
adds more granular options to specify trailing commas for arrays, objects, functions, type literals, imports, and exports (#2538)ScopeAwareRuleWalker
andBlockScopeAwareRuleWalker
. (#2561)no-unused-expression
: allowvoid(0)
in addition tovoid 0
andvoid
in expression and statement position (#2645)align
: fix false positive for files with BOM (#2642)return-undefined
: Handle contextual types with ambiguous signatures; allowany
; and handle async functions. (#2576)semicolon
: don't mark semicolon as unnecessary when the next statement is on the same line (#2591)no-internal-module
: no more false positives for global augmentation (#2517)no-unnecessary-qualifier
: no longer breaks when walking a function that referencesarguments
(#2555)prefer-const
no longer shows warnings on ambient declarations (#2391)callable-types
: suggest correct fix for interfaces with type arguments (#2552)quotemark
: fix regression with jsx attributes (#2605)adjacent-overload-signatures
handles functions ending in semicolon (#2412)object-literal-key-quotes
: correctly stringify numbers when fixing (#2515)object-literal-key-quotes
: does no longer require quotes for property names containing digits (#2515)align
: Don't report 'statements are not aligned' for empty statements (#2653)class-name
now also checks class expressions (#2553)optionExamples
: Allow to use an options array directly instead of a string representation. (#2527)rulesDirectory
can now be resolved with Nodes resolve logic, if the directory contains anindex.js
(#2163) (#2358)no-unused-expression
: narrow error location for comma separated expressions and conditional expressions (#2645)no-string-literal
now handles escaped strings (#2495)no-unnecessary-callback-wrapper
: Allowx => x(x)
(#2524)no-var-keyword
: Allow global var declarations (#2513)Thanks to our contributors!
Not sure how things should work exactly?
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html) and of course you may always [ask my humans](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper Bot :palm_tree: