Releases: typescript-eslint/typescript-eslint
Releases · typescript-eslint/typescript-eslint
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)
v2.15.0
v2.14.0
v2.13.0
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
v2.11.0
v2.10.0
2.10.0 (2019-12-02)
Bug Fixes
- eslint-plugin: [no-empty-function] add missed node types (#1271) (e9d44f5)
- eslint-plugin: [no-untyped-pub-sig] ignore set return (#1264) (6daff10)
- eslint-plugin: [no-unused-expressions] ignore directives (#1285) (ce4c803)
- eslint-plugin: [prefer-optional-chain] allow $ in identifiers (c72c3c1)
- eslint-plugin: [prefer-optional-chain] handle more cases (#1261) (57ddba3)
- eslint-plugin: [return-await] allow Any and Unknown (#1270) (ebf5e0a)
- eslint-plugin: [strict-bool-expr] allow nullish coalescing (#1275) (3b39340)
- typescript-estree: make FunctionDeclaration.body non-null (#1288) (dc73510)
Features
- eslint-plugin: [no-empty-func] private/protected construct (#1267) (3b931ac)
- eslint-plugin: [no-non-null-assert] add suggestion fixer (#1260) (e350a21)
- eslint-plugin: [no-unnec-cond] support nullish coalescing (#1148) (96ef1e7)
- eslint-plugin: [prefer-null-coal] opt for suggestion fixer (#1272) (f84eb96)
- experimental-utils: add isSpaceBetween declaration to Sou… (#1268) (f83f04b)
v2.9.0
2.9.0 (2019-11-25)
Bug Fixes
- eslint-plugin: [no-dynamic-delete] correct invalid fixer for identifiers (#1244) (5b1300d)
- eslint-plugin: [no-untyped-pub-sig] constructor return (#1231) (6cfd468)
- eslint-plugin: [prefer-optional-chain] unhandled cases (b1a065f)
- eslint-plugin: [req-await] crash on nonasync promise return (#1228) (56c00b3)
- typescript-estree: fix synthetic default import (#1245) (d97f809)
Features
- eslint-plugin: [camelcase] add genericType option (#925) (d785c61)
- eslint-plugin: [no-empty-interface] noEmptyWithSuper fixer (#1247) (b91b0ba)
- eslint-plugin: [no-extran-class] add allowWithDecorator opt (#886) (f1ab9a2)
- eslint-plugin: [no-unnece-cond] Add allowConstantLoopConditions (#1029) (ceb6f1c)
- eslint-plugin: [restrict-plus-operands] check += (#892) (fa88cb9)
- suggestion types, suggestions for no-explicit-any (#1250) (b16a4b6)
- eslint-plugin: add no-extra-non-null-assertion (#1183) (2b3b5d6)
- eslint-plugin: add no-unused-vars-experimental (#688) (05ebea5)
- eslint-plugin: add prefer-nullish-coalescing (#1069) (a9cd399)
- eslint-plugin: add return-await rule (#1050) (0ff4620)
- eslint-plugin: add rule prefer-optional-chain (#1213) (ad7e1a7)
- eslint-plugin: optional chain support in rules (part 1) (#1253) (f5c0e02)