Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.12.0 (2019-07-12)

Bug Fixes

Features

  • eslint-plugin: [ban-types] Support namespaced type (#616) (e325b72)
  • eslint-plugin: [explicit-function-return-type] add handling for usage as arguments (#680) (e0aeb18)
  • eslint-plugin: [no-explicit-any] Add an optional fixer (#609) (606fc70)
  • eslint-plugin: Add rule no-reference-import (#625) (af70a59)
  • eslint-plugin: add rule strict-boolean-expressions (#579) (34e7d1e)
  • eslint-plugin: added new rule prefer-readonly (#555) (76b89a5)

1.11.0 (2019-06-23)

Bug Fixes

  • eslint-plugin: [no-magic-numbers] add support for enums (#543) (5c40d01)
  • eslint-plugin: [promise-function-async] allow any as return value (#553) (9a387b0)

Features

  • eslint-plugin: [no-explicit-any] ignoreRestArgs (#548) (753ad75)
  • eslint-plugin: add consistent-type-definitions rule (#463) (ec87d06)
  • eslint-plugin: add new rule no-empty-function (#626) (747bfcb)
  • eslint-plugin: add new rule no-floating-promises (#495) (61e6385)

1.10.2 (2019-06-10)

Bug Fixes

  • eslint-plugin: peerDep should specify semver major range (#602) (5589938)

1.10.1 (2019-06-09)

Note: Version bump only for package @typescript-eslint/eslint-plugin

1.10.0 (2019-06-09)

Bug Fixes

  • eslint-plugin: [explicit-function-return-type] Fix obj setter prop (8c8497c), closes #525
  • eslint-plugin: [no-extra-parens] Fix crash default switch case crash (5ec2b32), closes #509
  • eslint-plugin: [no-type-alias] Fix parenthesized type handling (#576) (6489293)
  • eslint-plugin: [NUTA] false positive for null assign to undefined (#536) (b16409a), closes #529
  • eslint-plugin: Remove no-dupe-class-members from eslint-recommended (#520) (1a0e60b)

Features

  • make utils/TSESLint export typed classes instead of just types (#526) (370ac72)
  • support TypeScript versions >=3.2.1 <3.6.0 (#597) (5d2b962)
  • eslint-plugin: [explicit-function-return-type] allowHigherOrderFunctions (#193) (#538) (50a493e)
  • eslint-plugin: add config all.json (#313) (67537b8)

1.9.0 (2019-05-12)

Bug Fixes

  • eslint-plugin: Add missing dependency (89c87cc), closes #516
  • eslint-plugin: Fix exported name of eslint-recommended (#513) (5c65350)

Features

  • eslint-plugin: add prefer-regexp-exec rule (#305) (f61d421)

1.8.0 (2019-05-10)

Bug Fixes

  • eslint-plugin: [array-type] support readonly operator (#429) (8e2d2f5)
  • eslint-plugin: [explicit-function-return-type] Add handling for class properties (#502) (2c36325)
  • eslint-plugin: [no-extra-parens] Fix build error (298d66c)
  • eslint-plugin: [unbound-method] Work around class prototype bug (#499) (3219aa7)
  • eslint-plugin: correct eslint-recommended settings (d52a683)
  • eslint-plugin: explicit-func-return-type: support object types and as expressions (#459) (d19e512)
  • eslint-plugin: restrict-plus-operands: generic constraint support (#440) (3f305b1)
  • eslint-plugin: Support more nodes no-extra-parens (2d15644)
  • eslint-plugin: support switch statement unbound-method (e99ca81)

Features

1.7.0 (2019-04-20)

Bug Fixes

  • eslint-plugin: indent: fix false positive on type parameters (#385) (d476f15)
  • eslint-plugin: no-object-literal-type-assertion: fix as const is reported (#390) (2521b85)
  • eslint-plugin: support BigInt in restrict-plus-operands rule (#344) (eee6d49), closes #309

Features

  • eslint-plugin: [member-accessibility] add more options (#322) (4b3d820)
  • eslint-plugin: add prefer-for-of rule (#338) (3e26ab6)
  • eslint-plugin: add prefer-includes rule (#294) (01c4dae), closes #284
  • eslint-plugin: add prefer-string-starts-ends-with rule (#289) (5592a2c), closes #285
  • eslint-plugin: added new rule await-promise (#192) (5311342)
  • eslint-plugin: added new rule unbound-method (#204) (6718906)
  • eslint-plugin: support type assertions in no-extra-parens rule (#311) (116ca75)

1.6.0 (2019-04-03)

Bug Fixes

  • eslint-plugin: explicit-function-return-type: ensure class arrow methods are validated (#377) (643a223), closes #348
  • eslint-plugin: Fix allowExpressions false positives in explicit-function-return-type and incorrect documentation (#388) (f29d1c9), closes #387
  • eslint-plugin: member-naming false flagging constructors (#376) (ad0f2be), closes #359
  • eslint-plugin: no-type-alias: fix typeof alias erroring (#380) (cebcfe6)

Features

  • change TypeScript version range to >=3.2.1 <3.5.0 (#399) (a4f95d3)
  • eslint-plugin: allow explicit variable type with arrow functions (#260) (bea6b92), closes #149

1.5.0 (2019-03-20)

Bug Fixes

  • eslint-plugin: [interface-name-prefix] correct error message in always mode (#333) (097262f)
  • eslint-plugin: fix false positives for adjacent-overload-signatures regarding computed property names (#340) (f6e5118)
  • eslint-plugin: fix incorrect rule name (#357) (0a5146b)

Features

  • eslint-plugin: Add unified-signature rule (#178) (6ffaa0b)

1.4.2 (2019-02-25)

Note: Version bump only for package @typescript-eslint/eslint-plugin

1.4.1 (2019-02-23)

Bug Fixes

  • eslint-plugin: out-of-bounds access in member-ordering rule (#304) (4526f27)
  • eslint-plugin: support BigInt in restrict-plus-operands rule (#309) (#310) (9a88363)

1.4.0 (2019-02-19)

Bug Fixes

  • parser: fix crash when visiting decorators in parameters (#237) (225fc26)
  • parser: fix visiting props of TSDeclareFunction (#244) (b40def8)
  • ts-estree: make sure that every node can be converted to tsNode (#287) (9f1d314)
  • typescript-estree, eslint-plugin: stop adding ParenthesizedExpressions to node maps (#226) (317405a)

Features

  • eslint-plugin: add ‘no-unnecessary-qualifier’ rule (#231) (cc8f906)
  • eslint-plugin: add ban-ts-ignore rule (#276) (859ab29)
  • eslint-plugin: add prefer-function-type rule (#222) (b95c4cf)
  • eslint-plugin: add require-array-sort-compare rule (#261) (2a4aaaa), closes #247
  • eslint-plugin: Migrate plugin to ts (#120) (61c60dc)
  • eslint-plugin: update types to allow parameter type inferrence (#272) (80bd72c)
  • no-empty-interface: add allowSingleExtend option (#215) (bf46f8c)

1.3.0 (2019-02-07)

Bug Fixes

  • eslint-plugin: fix false positive from adjacent-overload-signatures (#206) (07e950e)

Features

  • change TypeScript version range to >=3.2.1 <3.4.0 (#184) (f513a14)
  • eslint-plugin: add new rule no-for-in-array (#155) (84162ba)
  • eslint-plugin: add new rule no-require-imports (#199) (683e5bc)
  • eslint-plugin: added new rule promise-function-async (#194) (5f3aec9)

1.2.0 (2019-02-01)

Bug Fixes

  • eslint-plugin: fix no-extraneous-class for class without name (#174) (b1dbb64)
  • eslint-plugin: fix wrong URL (#180) (00d020d)
  • eslint-plugin: use bracket for infer type in array-type rule (#173) (1f868ce)
  • parser: fix regression with no-unused-vars for jsx attributes (#161) (6147de1)

Features

  • eslint-plugin: add eslint rule no-useless-constructor (#167) (3fb57a5)
  • eslint-plugin: add no-unnecessary-type-assertion rule (#157) (38abc28)

1.1.1 (2019-01-29)

Bug Fixes

  • eslint-plugin: make parser services error clearer (#132) (aa9d1e1)
  • parser: add visiting of type parameters in JSXOpeningElement (#150) (5e16003)

1.1.0 (2019-01-23)

Bug Fixes

  • eslint-plugin: don’t mark declare class as unused (#110) (5841cd2), closes #106
  • eslint-plugin: improve detection of used vars in heritage (#102) (193b434)

Features

  • eslint-plugin: add new rule restrict-plus-operands (#70) (c541ede)
  • eslint-plugin: add option to no-object-literal-type-assertion rule (#87) (9f501a1)

1.0.0 (2019-01-20)

Bug Fixes

  • eslint-plugin: fix crash in rule indent for eslint 5.12.1 (#89) (3f51d51)
  • eslint-plugin: no-unused-vars: mark declared statements as used (#88) (2df5e0c)
  • eslint-plugin: update remaining parser refs (#97) (055c3fc)

Features

  • eslint-plugin: remove exported parser (#94) (0ddb93c)

0.2.1 (2019-01-20)

Note: Version bump only for package @typescript-eslint/eslint-plugin