Skip to content

Latest commit

 

History

History
387 lines (223 loc) · 14.6 KB

CHANGELOG.md

File metadata and controls

387 lines (223 loc) · 14.6 KB

1.13.10 (2021-05-19)

Fixes

  • Support Array constructors in the no-assign-mutated-array rule. (e86d200)

1.13.9 (2020-11-28)

Fixes

  • Add index.js to files in package.json. (836cf8f)

1.13.8 (2020-11-28)

Changes

  • Use files in package.json instead of .npmignore. (f5fdb0e)

1.13.7 (2020-09-08)

Changes

  • Widen the TypeScript peer dependency range. (417f224)

1.13.6 (2020-08-25)

Fixes

  • Use the correct DOMException capitalization. (93fe131)

1.13.5 (2020-08-25)

Changes

  • Relax throw-error to allow throwing or rejecting a DomException. (b57d3bb)

1.13.4 (2020-08-23)

Changes

  • Don't include the TypeScript version in expect-type failure messages. (405c129)

1.13.3 (2020-08-23)

Fixes

  • In expect-type, ignore diagnostics that don't have lines. (2fe12e3)

1.13.2 (2020-08-23)

Changes

  • Remove newlines from expect-type failure message. (2391839)

1.13.1 (2020-08-10)

Fixes

  • In the no-assign-mutated-array rule, treat splice as an array creator - it returns an array containing the deleted elements. (2298a6f)

1.13.0 (2020-07-18)

Features

  • Added the no-array-foreach rule. (afea026)

1.12.0 (2020-07-12)

Features

  • Added the no-implicit-any-catch rule. (b9aeb5a)

1.11.1 (2020-06-24)

Changes

  • Don't distribute the yarn.lock file.

1.11.0 (2020-06-08)

Features

  • Support ImportEqualsDeclaration nodes in the no-unused-dependency rule. (db44d74)

1.10.1 (2020-02-29)

Fixes

  • Widen tslint peer dependency. (23b03d1)

1.10.0 (2019-12-07)

Features

  • Add a prefix option to the no-t rule. (fd63c43)

1.9.2 (2019-11-05)

Fix

  • Use a more relaxed RegExp in no-dtslint-typo. (50b4fac)

1.9.1 (2019-11-04)

Fix

  • Pass the actual version of the local typescript package in the expect-type rule. (19a35c2)

1.9.0 (2019-11-04)

Features

1.8.0 (2019-11-04)

Features

  • Add the expect-deprecation rule. (92488a4)
  • Add the no-dtslint-typo rule. (df1d697)

Changes

  • Deprecate the no-missing-dollar-expect rule. (8300eb5)

1.7.1 (2019-10-28)

Fixes

  • Don't delete a file's leading comment when removing the first unused import. (6b3beba)

1.7.0 (2019-08-28)

Features

1.6.1 (2019-10-26)

Notes

  • Published by accident. This should have been 1.7.1.

1.6.0 (2019-07-20)

Features

  • Add an ignored option to no-unused-declaration. (8f83c76)

1.5.6 (2019-06-28)

Fixes

  • Ignore qualified names in no-unsafe-callback-scope. (0a92549)

1.5.5 (2019-06-19)

Fixes

  • Add console to the no-unsafe-callback-scope whitelist. (a4a766a)

1.5.4 (2019-06-19)

Fixes

  • Fixed problems with no-unsafe-callback-scope and property-access expressions. (93d5fc0)

1.5.3 (2019-05-22)

Fixes

  • Fix no-unused-declaration fixer for situations in which default and named imports are (un)used together - see #21. (a68d3c0)

1.5.2 (2019-04-26)

Fixes

  • Fix a bug with imports and the no-unused-declaration rule - see #19. (4bbf6cc)

1.5.1 (2019-04-13)

Fixes

  • Support interfaces and type aliases in the no-unused-declaration rule. (bdc71ba)

1.5.0 (2019-03-31)

Features

  • Add an allowLocal option to the no-const-enum rule. (1637c8d)

1.4.4 (2019-03-30)

Fixes

  • Don't delete imports more than once when fixing no-unused-declaration failures. (a8b634d)

1.4.3 (2019-03-29)

Fixes

  • Allow removal of props via destructing with no-unused-declaration enabled. (e0699a7)

1.4.2 (2019-03-29)

Fixes

  • Fix a problem with no-unused-declaration and defaultProps. (2235987)

1.4.1 (2019-03-27)

Fixes

  • Don't use typed rules for no-enum and no-const-enum. (58ac299)

1.4.0 (2019-03-27)

Features

  • Add no-enum and no-const-enum rules. (06f2f59)

1.3.2 (2019-02-25)

Fixes

  • Allow throwing and rethrowing any. (6146d14)

1.3.1 (2019-02-23)

Changes

  • Replaced util.ts with tsutils-etc.

1.3.0 (2019-02-15)

Features

  • Added options to the no-unused-declaration rule. (e592d9d)

1.2.12 (2018-12-24)

Fixes

  • The no-unused-declaration rule now supports overload signatures. (a9fd1d8)
  • The no-unused-declaration rule now supports hoisting functions into object shorthand. (2bc3eb9)

1.2.11 (2018-12-22)

Fixes

  • no-unsafe-callback-scope rule now supports readonly, static class properties and parameter destructuring. (85f0801)

1.2.10 (2018-12-21)

Fixes

  • no-unsafe-callback-scope rule now considers instanceof constructors safe. (604aee3)

1.2.9 (2018-12-15)

Fixes

  • Apply fixes - from rxjs-tslint-rules - to no-unsafe-callback-scope rule. (956d7fd)

1.2.8 (2018-12-14)

Fixes

  • Supported pre/postfix operators in the no-unused-declaration rule. (788bb3a)

1.2.7 (2018-10-24)

Features

  • Added no-assign-mutated-array rule. (c4e8504)

1.2.6 (2018-09-12)

Features

  • Added no-missing-dollar-expect for dtslint expectations.

1.2.5 (2018-09-06)

Fixes

  • Fixed a problem with no-unused-declaration false positives when using functions and object-shorthand properties. (2dcdfac)
  • Fixed a problem with no-unused-declaration false positives when using self-closing JSX elements. (7948bc7)

1.2.4 (2018-09-01)

Fixes

  • Fixed a problem with no-unused-declaration false positives for exports. (600ce3c)
  • Fixed a problem with no-unused-declaration false positives for hoisted functions. (5d17a2b)
  • Fixed a problem with no-unused-declaration false positives for JSX-related imports. (a46596d)

1.2.3 (2018-07-31)

Build

  • Widen TypeScript peer semver to allow for version 3.0. (fb28cb1)

1.2.2 (2018-05-07)

Fixes

  • Fixed a problem in which the no-unused-declaration rule throw errors when inspecting variables typed as any. (b07c760)

1.2.1 (2018-05-07)

Fixes

  • Fixed a problem in which the no-unused-declaration rule did not recognise usage via object shorthand. (cc86c2e)

1.2.0 (2018-05-07)

Features

  • Added a fixer to the no-unused-declaration rule for unused imports. Other unused declarations must be fixed manually, as their automated removal would be considerably more destructive and could result in lost work. (95c221d)

Fixes

  • The no-unused-declaration rule now detects unused default imports. (cc70e40)

Build

  • The TSLint testing infrastructure is now used instead of Mocha. (1076253)

1.1.0 (2018-05-06)

Features

  • Added a no-unused-declaration rule. It's similar to TSLint's built-in no-unused-variable rule, but has a simpler implementation and fewer problems. Hopefully.