This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Releases: palantir/tslint
Releases · palantir/tslint
v4.4.2
v4.4.1
v4.4.0
- [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 tono-unused-expression
(#1638) - [new-rule-option]
comment-format-rule
addsignore-words
andignore-pattern
options (#1757) - [new-rule-option]
whitespace
addscheck-preblock
option (#2002) - [new-rule-option]
strict-boolean-expressions
addsallow-null-union
,allow-undefined-union
,allow-string
, andallow-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
v4.3.0
- 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 nestedfor
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
optionallow-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
- Include latest v4.3.1 changes
4.2.0
- [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 toarrow-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 shadowedfor
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
Include changes from v4.2.0
v4.1.0-dev.0
Include changes from v4.1.1