[new-rule-option]align rule added members option, which checks alignment of methods and properties of classes, objects, interfaces, type literals and object destructuring (#2387)
[new-rule-option]align rule added elements option, which checks alignment of elements in array literals, array destructuring and tuple types (#2387)
[new-rule-option]trailing-comma adds more granular options to specify trailing commas for arrays, objects, functions, type literals, imports, and exports (#2538)
[api] Deprecate ScopeAwareRuleWalker and BlockScopeAwareRuleWalker. (#2561)
[bugfix] In tslint:recommended move no-reference-import from jsRules to rules (#2441)
[bugfix] no-unnecessary-callback-wrapper: only check if callback is identifier, allow all other expressions (#2510)
[bugfix] member-access: Skip index signature, it can not have an access modifier (#2437)
[bugfix] restrict-plus-operands fixes regression where every assignment and comparison was checked (#2454)
[bugfix] no-unnecessary-callback-wrapper: allow async wrapper function (#2510)
[bugfix] prefer-for-of: No error if delete is used (#2458)
[bugfix] radix: don't warn for missing radix on method calls (#2352)
[bugfix] no-use-before-declare: Handle symbol with empty declarations list. (#2436)
[bugfix] strict-type-predicates: Check for construct signatures in isFunction. (#2479)
[enhancement] strict-boolean-expressions: When --strictNullChecks is turned off, allow-null-union and allow-undefined-union turn off "always truthy" errors. (#2373)
[enhancement] radix: added check for global.parseInt and window.parseInt (#2352)
[enhancement] arrow-return-shorthand: Improve failure message when return expression is an object literal (#2466)
This Pull Request updates dependency tslint from
v4.5.1
tov5.11.0
Release Notes
v5.11.0
Compare Source
v5.10.0
Compare Source
v5.9.1
Compare Source
v5.9.0
Compare Source
v5.8.0
Compare Source
v5.7.0
Compare Source
v5.6.0
Compare Source
v5.5.0
Compare Source
Editor's note: This release features an important bugfix for overlapping fixes when using
--project
and--fix
(#2864).v5.4.3
Compare Source
v5.4.2
Compare Source
v5.4.1
Compare Source
v5.4.0
Compare Source
v5.3.2
Compare Source
not a directory
error (#2813)v5.3.0
Compare Source
v5.2.0
Compare Source
no-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!
v5.1.0
Compare Source
no-invalid-template-strings
(#2332)no-sparse-arrays
(#2407)no-void-expression
: addsignore-arrow-function-shorthand
(#2445)tslint:all
configuration (#2417)no-reference-import
fromjsRules
torules
(#2441)no-unnecessary-callback-wrapper
: only check if callback is identifier, allow all other expressions (#2510)member-access
: Skip index signature, it can not have an access modifier (#2437)restrict-plus-operands
fixes regression where every assignment and comparison was checked (#2454)no-unnecessary-callback-wrapper
: allow async wrapper function (#2510)prefer-for-of
: No error ifdelete
is used (#2458)radix
: don't warn for missing radix on method calls (#2352)no-use-before-declare
: Handle symbol with empty declarations list. (#2436)strict-type-predicates
: Check for construct signatures inisFunction
. (#2479)strict-boolean-expressions
: When--strictNullChecks
is turned off,allow-null-union
andallow-undefined-union
turn off "always truthy" errors. (#2373)radix
: added check for global.parseInt and window.parseInt (#2352)arrow-return-shorthand
: Improve failure message when return expression is an object literal (#2466)Thanks to our contributors!
v5.0.0
Compare Source
This PR has been generated by Renovate Bot.