Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v4.0.0-rc
See the full release - https://github.com/typescript-eslint/typescript-eslint/releases/tag/v4.0.0
v3.7.1
3.7.1 (2020-07-27)
Bug Fixes
- eslint-plugin: [adjacent-overload-signatures] fix false positive on call signatures and a method named
call
(#2313) (30fafb0) - eslint-plugin: [no-extra-parens] stop reporting on calling generic functions with one argument and type parameters containing parentheses (#2319) (616a841)
- typescript-estree: correct AST regression introduced by TS4.0 upgrade (#2316) (d7fefba)
v3.7.0
3.7.0 (2020-07-20)
Features
- eslint-plugin: [naming-convention] allow selecting only
const
variables (#2291) (156d058) - eslint-plugin: [no-empty-function] add
decoratedFunctions
option (#2295) (88f08f4) - typescript-estree: support short-circuiting assignment operators (#2307) (2c90d9f)
- typescript-estree: support type annotations on catch clauses (#2306) (b5afe9c)
v3.6.1
3.6.1 (2020-07-13)
Bug Fixes
- eslint-plugin: [no-unnecessary-condition] handle computed member access (#2288) (3a187ca)
- eslint-plugin: [prefer-literal-enum-member] allow negative numbers (#2277) (00ac9c3)
- eslint-plugin: [space-before-function-paren] incorrect handling of abstract methods (#2275) (ced6591), closes #2274
- eslint-plugin: [switch-exhaustiveness-check] handle special characters in enum keys (#2207) (98ab010)
v3.6.0
v3.5.0
v3.4.0
3.4.0 (2020-06-22)
Bug Fixes
- eslint-plugin: [no-base-to-string] handle intersection types (#2170) (9cca3a9)
- eslint-plugin: [unbound-method] handling destructuring (#2228) (c3753c2)
- experimental-utils: correct types for TS versions older than 3.8 (#2217) (5e4dda2)
- experimental-utils: getParserServices takes a readonly context (#2235) (26da8de)
Features
v3.3.0
v3.2.0
3.2.0 (2020-06-08)
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] dont report return type errors on constructor overloads (#2158) (53232d7)
- eslint-plugin: [explicit-module-boundary-types] handle bodyless arrow functions with explicit return types that return functions (#2169) (58db655)
- eslint-plugin: [explicit-module-boundary-types] handle nested functions and functions expressions in a typed variable declaration (#2176) (6ff450d)
- eslint-plugin: [no-extra-non-null-assertion] dont report for assertions not followed by the optional chain (#2167) (e4c1834)
- eslint-plugin: [no-unnecessary-conditionals] Handle comparison of generics and loose comparisons with undefined values (#2152) (c86e2a2)
- eslint-plugin: [prefer-optional-chain] handling first member expression (#2156) (de18660)
- eslint-plugin: [return-await] correct handling of ternaries (#2168) (fe4c0bf)
Features
- eslint-plugin: [naming-convention] put identifiers in quotes in error messages (#2182) (fc61932), closes #2178
- eslint-plugin: [require-array-sort-compare] add
ignoreStringArrays
option (#1972) (6dee784) - eslint-plugin: add rule
ban-tslint-comment
(#2140) (43ee226) - eslint-plugin: add rule
no-confusing-non-null-assertion
(#1941) (9b51c44)
v3.1.0
3.1.0 (2020-06-01)
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] don't check returned functions if parent function has return type (#2084) (d7d4eeb)
- eslint-plugin: [no-unnecessary-condition] handle comparison of any, unknown and loose comparisons with nullish values (#2123) (1ae1d01)
- eslint-plugin: [no-unnecessary-condition] improve optional chain handling (#2111) (9ee399b)
- eslint-plugin: [no-unnecessary-condition] improve optional chain handling 2 - electric boogaloo (#2138) (c87cfaf)
- eslint-plugin: [no-unused-expressions] ignore import expressions (#2130) (e383691)
- eslint-plugin: [no-var-requires] false negative for TSAsExpression and MemberExpression (#2139) (df95338)
- experimental-utils: downlevel type declarations for versions older than 3.8 (#2133) (7925823)