Changelog
v4.4.2
whitespace
rule caused false positive on EOF (#2131)json
formatter parameter has extra space (#2132)Changelog
v4.4.0
arrow-return-shorthand
(#1972)no-unbound-method
(#2089)no-boolean-literal-compare
(#2013)no-unsafe-any
(#2047)no-unnecessary-qualifier
(#2008)no-unnecessary-initializer
(#2106)await-promise
(#2102)no-floating-promises
(#1632)strict-type-predicates
(#2046)no-misused-new
(#1963)prefer-method-signature
(#2028)prefer-function-over-method
(#2037)allow-fast-null-checks
added to no-unused-expression
(#1638)comment-format-rule
adds ignore-words
and ignore-pattern
options (#1757)whitespace
adds check-preblock
option (#2002)strict-boolean-expressions
adds allow-null-union
, allow-undefined-union
, allow-string
, and allow-number
and (#2033)align
(#2097)no-trailing-whitespace
(#2060)no-magic-numbers
false positive on default parameter values (#2004)no-empty-interface
allow empty interface with 2 or more parents (#2070)no-trailing-whitespace
fixed for comments and EOF (#2060)no-empty
no longer fails for private or protected constructor (#1976)tslint:disable
/tslint-enable
now handles multiple rules and fixes what code is enabled/disabled (#2061)no-inferrable-types
now validates property declarations (#2081)unified-signatures
false positive (#2016)whitespace
finds all whitespace errors in JsxExpressions and TemplateExpressions (#2036)comment-format
no more false positives in JsxText (#2036)--test
option now accepts glob (#2079)Thanks to our contributors!
Changelog
v4.3.0
tslint:latest
configuration (#1981)space-before-function-paren
(#1897)typeof-compare
(#1927)import-spacing
(#1935)unified-signatures
(#1944)object-literal-key-quotes
(#1953)no-angle-bracket-type-assertion
(#1979)adjacent-overload-signature
now handles static/computed function names (#1831)file-header
now handles files with only comments (#1913)no-consecutive-blank-lines
now allows blank lines in template strings (#1886)object-literal-key-quotes
no longer throws exception when using rest operator (#1916)restrict-plus-operands
no longer shows false positive in ternary operation (#1925)prefer-for-of
now handles nested for
loops with reused iterator (#1926)tsconfig.json
passed as --project
argument doens't have files (#1933)object-literal-key-quotes
now handles shorthand and spread properties (#1945)arrow-parens
Allow binding patterns ([x, y]) => ...
and ({x, y}) => ...
to have parens (#1958)semicolon
fixer now handles comma separator in interfaces and indicates failure when commas are using in interfaces (#1856)only-arrow-functions
option allow-named-functions
now allows function declarations (#1961)prefer-for-of
no longer shows false positive when array is in parentheses (#1986)prefer-const
now works for TypeScript versions < 2.1.0 (#1989)member-access
narrow location of error (#1964)Thanks to our contributors!
Changelog
v4.2.0
no-string-throw
(#1878)no-empty-interface
(#1889)interface-over-type-literal
(#1890)callable-types
(#1891)no-void-expression
(#1903)ban-single-arg-parens
added to arrow-parens
(#1893)prefer-const
handles destructuring arrays (#1894), destructuring objects (#1906), and forward references (#1908)one-line
rule (#1866)no-shadowed-variable
now identifies shadowed for
iterator (#1816)object-literal-key-quotes
now includes function names (#1874)disable-next-line
comment (#1902)Thanks to our contributors!