Skip to content

Releases: typescript-eslint/typescript-eslint

v2.20.0

17 Feb 18:01
Compare
Choose a tag to compare

2.20.0 (2020-02-17)

Features

  • eslint-plugin: [ban-types] allow banning null and undefined (#821) (0b2b887)
  • eslint-plugin: [strict-boolean-expressions] refactor, add clearer error messages (#1480) (db4b530)

v2.19.1

10 Feb 18:02
Compare
Choose a tag to compare

2.19.1 (2020-02-10)

Bug Fixes

  • eslint-plugin: [unbound-method] blacklist a few unbound natives (#1562) (4670aab)
  • typescript-estree: ts returning wrong file with project references (#1575) (4c12dac)

v2.19.0

03 Feb 18:02
Compare
Choose a tag to compare

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

27 Jan 18:01
Compare
Choose a tag to compare

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

20 Jan 18:01
Compare
Choose a tag to compare

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

13 Jan 18:02
Compare
Choose a tag to compare

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)

v2.15.0

06 Jan 18:01
Compare
Choose a tag to compare

2.15.0 (2020-01-06)

Bug Fixes

  • eslint-plugin: crash in no-unnecessary-type-arguments (#1401) (01c939f)
  • typescript-estree: correct persisted parse for windows (#1406) (1a42f3d)

Features

  • eslint-plugin: [strict-bool-expr] add allowSafe option (#1385) (9344233)
  • eslint-plugin: add no-implied-eval (#1375) (254d276)

v2.14.0

30 Dec 18:01
Compare
Choose a tag to compare

2.14.0 (2019-12-30)

Bug Fixes

  • eslint-plugin: type assertion in rule no-extra-parens (#1376) (f40639e)
  • typescript-estree: visit typeParameters in OptionalCallExpr (#1377) (cba6a2a)

Features

  • add internal eslint plugin for repo-specific lint rules (#1373) (3a15413)

v2.13.0

23 Dec 18:01
Compare
Choose a tag to compare

2.13.0 (2019-12-23)

Bug Fixes

  • eslint-plugin: [quotes] ignore backticks for Enum members (#1355) (e51048c)
  • eslint-plugin: [type-annotation-spacing] typo in messages (#1354) (82e0dbc)
  • eslint-plugin: add isTypeAssertion utility function (#1369) (bb1671e)
  • eslint-plugin: use AST_NODE_TYPES enum instead of strings (#1366) (bd0276b)
  • typescript-estree: correct type of key for base nodes (#1367) (099225a)

Features

  • eslint-plugin: [ban-types] handle empty type literal {} (#1348) (1c0ce9b)
  • eslint-plugin: [no-use-before-define] opt to ignore enum (#1242) (6edd911)
  • eslint-plugin: [pref-str-starts/ends-with] optional chain… (#1357) (fd37bc3)
  • eslint-plugin: add no-extra-semi [extension] (#1237) (425f65c)
  • eslint-plugin: add no-throw-literal [extension] (#1331) (2aa696c)
  • eslint-plugin: more optional chain support in rules (#1363) (3dd1b02)
  • eslint-plugin-tslint: add fixer for config rule (#1342) (c52c5c9)
  • typescript-estree: computed members discriminated unions (#1349) (013df9a)
  • typescript-estree: tighten prop name and destructure types (#1346) (f335c50)

v2.12.0

16 Dec 18:01
Compare
Choose a tag to compare

2.12.0 (2019-12-16)

Bug Fixes

  • eslint-plugin: [prefer-null-coal] fixer w/ mixed logicals (#1326) (f9a9fbf)
  • eslint-plugin: [quotes] ignore backticks for interface properties (#1311) (3923a09)

Features

  • eslint-plugin: [no-unnecessary-condition] check optional chaining (#1315) (a2a8a0a)