Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
v2.22.0
2.22.0 (2020-03-02)
Bug Fixes
- eslint-plugin: [ban-types] add option extendDefaults (#1379) (ae7f7c5)
- eslint-plugin: [default-param-last] handle param props (#1650) (3534c6e)
- eslint-plugin: [no-implied-eval] correct logic for ts3.8 (#1652) (33e3e6f)
Features
- eslint-plugin: [explicit-member-accessibility] autofix no-public (#1548) (dd233b5)
- eslint-plugin: [typedef] add variable-declaration-ignore-function (#1578) (fc0a55e)
- eslint-plugin: add new no-base-to-string rule (#1522) (8333d41)
- eslint-plugin: add prefer-readonly-parameters (#1513) (3be9854)
- eslint-plugin: additional annotation spacing rules for va… (#1496) (b097245)
v2.21.0
2.21.0 (2020-02-24)
Bug Fixes
- eslint-plugin: [embt] ignore JSX callbacks (#1630) (4d45b33)
- eslint-plugin: [no-floating-promises] handle finally callback (#1620) (1aa7135)
- eslint-plugin: [typedef] allow array/object destructuring in for/of (#1570) (660bace)
- typescript-estree: process.stdout can be undefined (#1619) (0d8e87e)
Features
v2.20.0
v2.19.1
v2.19.0
2.19.0 (2020-02-03)
Bug Fixes
- eslint-plugin: [embt] fix allowTypedFunctionExpressions (#1553) (9e7d161)
- eslint-plugin: [require-await] improve performance (#1536) (45ae0b9)
- typescript-estree: fix regression introduced in #1525 (#1543) (bec4572)
- typescript-estree: persisted parse and module none (#1516) (7c70323)
Features
- eslint-plugin: [no-extra-non-null-assert] add fixer (#1468) (54201ab)
- eslint-plugin: [no-float-prom] fixer + msg for ignoreVoid (#1473) (159b16e)
- eslint-plugin: [unbound-method] support bound builtins (#1526) (0a110eb)
- eslint-plugin: add extension [no-dupe-class-members] (#1492) (b22424e)
- eslint-plugin: add no-unnecessary-boolean-literal-compare (#242) (6bebb1d)
- eslint-plugin: add switch-exhaustiveness-check rule (#972) (9e0f6dd)
- eslint-plugin: support negative matches for
filter
(#1517) (b24fbe8)
v2.18.0
2.18.0 (2020-01-27)
Bug Fixes
- eslint-plugin: [explicit-module-boundary-types] false positive for returned fns (#1490) (5562ad5)
- improve token types and add missing type guards (#1497) (ce41d7d)
- eslint-plugin: [naming-convention] fix filter option (#1482) (718cd88)
- eslint-plugin: fix property access on undefined error (#1507) (d89e8e8)
- experimental-utils: widen type of
settings
property (#1527) (b515e47) - typescript-estree: error on unexpected jsdoc nodes (#1525) (c8dfac3)
- typescript-estree: fix identifier tokens typed as
Keyword
(#1487) (77a1caa)
Features
- eslint-plugin: add comma-spacing (#1495) (1fd86be)
- eslint-plugin: add new rule prefer-as-const (#1431) (420db96)
- eslint-plugin: create
ban-ts-comment
rule (#1361) (2a83d13) - eslint-plugin-internal: add
prefer-ast-types-enum
(#1508) (c3d0a3a) - experimental-utils: make RuleMetaData.docs optional (#1462) (cde97ac)
- parser: improve scope-analysis types (#1481) (4a727fa)
v2.17.0
2.17.0 (2020-01-20)
Bug Fixes
- eslint-plugin: [naming-convention] handle empty array-pattern (#1450) (4726605)
- eslint-plugin: [unbound-method] handling of logical expr (#1440) (9c5b857)
- eslint-plugin: set default-param-last as an extension rule (#1445) (b5ef704)
- typescript-estree: correct type of
ArrayPattern.elements
(#1451) (62e4ca0)
Features
- eslint-plugin: [naming-convention] allow not check format (#1455) (61eb434)
- eslint-plugin: [naming-convention] correct example (#1455) (60683d7)
- eslint-plugin: [no-extra-!-assert] flag ?. after !-assert (#1460) (58c7c25)
- eslint-plugin: add explicit-module-boundary-types rule (#1020) (bb0a846)
- eslint-plugin: add no-non-null-asserted-optional-chain (#1469) (498aa24)
- experimental-utils: expose getParserServices from utils (#1448) (982c8bc)
v2.16.0
2.16.0 (2020-01-13)
Bug Fixes
- eslint-plugin: [no-magic-numbers] handle UnaryExpression for enums (#1415) (852fc31)
- eslint-plugin: [no-unnec-type-assert] handle JSX attributes (#1002) (3c5659b)
- eslint-plugin: handle error classes using generics (#1428) (b139540)
- typescript-estree: fix persisted parse for relative paths (#1424) (9720d2c)
- typescript-estree: parsing of deeply nested new files in new folder (#1412) (206c94b)
- typescript-estree: resolve path relative to tsconfigRootDir (#1439) (c709056)
Features
- eslint-plugin: [no-unnec-cond] array predicate callbacks (#1206) (f7ad716)
- eslint-plugin: add default-param-last rule (#1418) (a37ff9f)
- eslint-plugin: add rule naming-conventions (#1318) (9eab26f)
- typescript-estree: add parserOption to turn on debug logs (#1413) (25092fd)
- typescript-estree: add strict type mapping to esTreeNodeToTSNodeMap (#1382) (d3d70a3)