Skip to content

Releases: gajus/eslint-plugin-jsdoc

v7.1.0

28 May 00:21
8988510
Compare
Choose a tag to compare

7.1.0 (2019-05-28)

Features

  • add settings overrideReplacesDocs, augmentsExtendsReplacesDocs, implementsReplacesDocs and apply to require-param, require-description, require-example, and require-returns for exempting all of these from errors in the case of the presence of [@override](https://github.com/override), [@augments](https://github.com/augments)/[@extends](https://github.com/extends), or [@implements](https://github.com/implements), respectively. (9cc49a2)

v7.0.2

24 May 09:55
Compare
Choose a tag to compare

7.0.2 (2019-05-24)

Bug Fixes

  • avoid errors when tags not present or invalidTypes is empty (cda6839)

v7.0.1

24 May 09:08
Compare
Choose a tag to compare

7.0.1 (2019-05-24)

Bug Fixes

  • require-returns: Ensure that [@returns](https://github.com/returns) {undefined} tags with return undefined are not reported (5c8a011)

v7.0.0

24 May 08:19
2605705
Compare
Choose a tag to compare

7.0.0 (2019-05-24)

  • Merge pull request #259 from brettz9/check-types-preferred-generic-specific (2605705), closes #259

BREAKING CHANGES

  • Cause preferredTypes setting not to apply by default to parent types; need to target type name with "<>" appended to target parent types (and only parent types); can alternatively; also adds option unifyParentAndChildTypeChecks to restore the old behavior

Allows for warning against overly generic types only (e.g., Array without its own children) or against the parent type only (to disallow Array.<someType>)

To restore old behavior, also target type names with "<>" or set the unifyParentAndChildTypeChecks option.

v6.0.3

23 May 00:00
Compare
Choose a tag to compare

6.0.3 (2019-05-22)

Bug Fixes

  • no-undefined-types: add "object" (as with "Object") to defined types fixes #249 (bb7c1ba)
  • require-returns: don't report with forceRequireReturn when tag is explicitly undefined/void (696d048)
  • valid-types: allow more namepath-defining tags by default (54d8bec)

v6.0.2

22 May 13:07
Compare
Choose a tag to compare

6.0.2 (2019-05-22)

Bug Fixes

  • implements-on-classes: had failed to check for tag itself; added test (a989204)

v6.0.1

22 May 00:54
Compare
Choose a tag to compare

6.0.1 (2019-05-22)

Performance Improvements

  • match-description: simplify and optimize default regex (af32667)

v6.0.0

21 May 23:44
Compare
Choose a tag to compare

6.0.0 (2019-05-21)

BREAKING CHANGES

  • check-types now expects "object" instead of "Object"

Makes consistent with Typescript recommendation and fact that Object.create(null) is not instanceof Object but its typeof is object.

v5.0.2

15 May 15:38
40a7fc0
Compare
Choose a tag to compare

5.0.2 (2019-05-15)

Bug Fixes

  • remove regexp unsupported by node 6 (2fb9326)

v5.0.1

15 May 13:01
4a338a3
Compare
Choose a tag to compare

5.0.1 (2019-05-15)

Bug Fixes

  • make checkTagNames report position more precise (557885d)