Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Releases: palantir/tslint

v4.4.2

26 Jan 14:35
Compare
Choose a tag to compare
  • [bugfix] whitespace rule caused false positive on EOF (#2131)
  • [bugfix] WebStorm fails because json formatter parameter has extra space (#2132)

v4.4.1

25 Jan 21:25
Compare
Choose a tag to compare
  • [bugfix] errant space in recommended ruleset (couldn't find no-misused-new)

v4.4.0

26 Jan 14:37
Compare
Choose a tag to compare
  • [new-rule] arrow-return-shorthand (#1972)
  • [new-rule] no-unbound-method (#2089)
  • [new-rule] no-boolean-literal-compare (#2013)
  • [new-rule] no-unsafe-any (#2047)
  • [new-rule] no-unnecessary-qualifier (#2008)
  • [new-rule] no-unnecessary-initializer (#2106)
  • [new-rule] await-promise (#2102)
  • [new-rule] no-floating-promises (#1632)
  • [new-rule] strict-type-predicates (#2046)
  • [new-rule] no-misused-new (#1963)
  • [new-rule] prefer-method-signature (#2028)
  • [new-rule] prefer-function-over-method (#2037)
  • [new-rule-option] allow-fast-null-checks added to no-unused-expression (#1638)
  • [new-rule-option] comment-format-rule adds ignore-words and ignore-pattern options (#1757)
  • [new-rule-option] whitespace adds check-preblock option (#2002)
  • [new-rule-option] strict-boolean-expressions adds allow-null-union, allow-undefined-union, allow-string, and allow-number and (#2033)
  • [new-fixer] align (#2097)
  • [new-fixer] no-trailing-whitespace (#2060)
  • [bugfix] no-magic-numbers false positive on default parameter values (#2004)
  • [bugfix] no-empty-interface allow empty interface with 2 or more parents (#2070)
  • [bugfix] no-trailing-whitespace fixed for comments and EOF (#2060)
  • [bugfix] no-empty no longer fails for private or protected constructor (#1976)
  • [bugfix] tslint:disable/tslint-enable now handles multiple rules and fixes what code is enabled/disabled (#2061)
  • [bugfix] no-inferrable-types now validates property declarations (#2081)
  • [bugfix] unified-signatures false positive (#2016)
  • [bugfix] whitespace finds all whitespace errors in JsxExpressions and TemplateExpressions (#2036)
  • [bugfix] comment-format no more false positives in JsxText (#2036)
  • [enhancement] --test option now accepts glob (#2079)

v4.3.1

06 Jan 09:46
Compare
Choose a tag to compare
  • [bugfix] Fix back-compat break. Allow formattersDirectory === null (#1997)

v4.3.0

06 Jan 05:14
Compare
Choose a tag to compare
  • Enabled additional rules in tslint:latest configuration (#1981)
  • [new-rule] space-before-function-paren (#1897)
  • [new-rule] typeof-compare (#1927)
  • [new-rule] import-spacing (#1935)
  • [new-rule] unified-signatures (#1944)
  • [new-fixer] object-literal-key-quotes (#1953)
  • [new-fixer] no-angle-bracket-type-assertion (#1979)
  • [bugfix] adjacent-overload-signature now handles static/computed function names (#1831)
  • [bugfix] file-header now handles files with only comments (#1913)
  • [bugfix] no-consecutive-blank-lines now allows blank lines in template strings (#1886)
  • [bugfix] object-literal-key-quotes no longer throws exception when using rest operator (#1916)
  • [bugfix] restrict-plus-operands no longer shows false positive in ternary operation (#1925)
  • [bugfix] prefer-for-of now handles nested for loops with reused iterator (#1926)
  • [bugfix] Exit gracefully when tsconfig.json passed as --project argument doens't have files (#1933)
  • [bugfix] object-literal-key-quotes now handles shorthand and spread properties (#1945)
  • [bugfix] arrow-parens Allow binding patterns ([x, y]) => ... and ({x, y}) => ... to have parens (#1958)
  • [bugfix] semicolon fixer now handles comma separator in interfaces and indicates failure when commas are using in interfaces (#1856)
  • [bugfix] only-arrow-functions option allow-named-functions now allows function declarations (#1961)
  • [bugfix] prefer-for-of no longer shows false positive when array is in parentheses (#1986)
  • [bugfix] prefer-const now works for TypeScript versions < 2.1.0 (#1989)
  • [enhancement] member-access narrow location of error (#1964)

Thanks to our contributors!

  • Andrii Dieiev
  • @andy-ms
  • Andy Hanson
  • Josh Goldberg
  • Klaus Meinhardt
  • Linda_pp
  • Mohsen Azimi
  • Victor Grigoriu
  • Yuichi Nukiyama
  • cameron-mcateer

v4.3.0-dev.0

06 Jan 17:43
Compare
Choose a tag to compare
v4.3.0-dev.0 Pre-release
Pre-release
  • Include latest v4.3.1 changes

4.2.0

23 Dec 06:38
Compare
Choose a tag to compare
  • [new-rule] no-string-throw (#1878)
  • [new-rule] no-empty-interface (#1889)
  • [new-rule] interface-over-type-literal (#1890)
  • [new-rule] callable-types (#1891)
  • [new-rule] no-void-expression (#1903)
  • [new-rule-option] ban-single-arg-parens added to arrow-parens (#1893)
  • [bugfix] prefer-const handles destructuring arrays (#1894), destructuring objects (#1906), and forward references (#1908)
  • [bugfix] Don't error for misplaced braces for 'else' in one-line rule (#1866)
  • [bugfix] no-shadowed-variable now identifies shadowed for iterator (#1816)
  • [bugfix] object-literal-key-quotes now includes function names (#1874)
  • [bugfix] error when EOF comes after disable-next-line comment (#1902)

Thanks to our contributors!

  • Andrew Scott
  • @andy-ms
  • Andy Hanson
  • James Booth
  • Klaus Meinhardt
  • Vladimir Matveev

v4.2.0-dev.0

23 Dec 06:48
Compare
Choose a tag to compare
v4.2.0-dev.0 Pre-release
Pre-release

Include changes from v4.2.0

v4.1.0-dev.0

17 Dec 05:02
Compare
Choose a tag to compare
v4.1.0-dev.0 Pre-release
Pre-release

Include changes from v4.1.1

v4.1.1

16 Dec 16:54
Compare
Choose a tag to compare
  • [bugfix] typedef rule was showing false positive for catch clause (#1887)