github gajus/eslint-plugin-jsdoc v18.0.0

latest releases: v48.2.5, v48.2.4, v48.2.3...
4 years ago

18.0.0 (2019-11-13)

Bug Fixes

  • check-param-names: use ponyfill as such; avoid defining Object.entries when not present (ea1a626)

Features

  • check-access: add rule to check access levels (f919d5a)
  • empty-tags: expect certain tags to be empty (66ebda9)
  • check-values: add new rule for checking special tag values (within version, since, license, author) (5543c29)

BREAKING CHANGES

  • check-values: Adds to recommended.
  1. @version - Checks that there is a present and valid
    semver version value.
  2. @since - As with @version
  3. @license - Checks that there is a present and valid SPDX identifier
    or is present within an allowedLicenses option.
  4. @author - Checks there is a value present, and if the option
    allowedAuthors is present, ensure that the author value is one
    of these array items.
  • check-access: New rule updates recommended

Checks @access for allowed values and prohibits multiple access
modifier tags on the same block

  • empty-tags: Added rule to recommended.

May add additional tags to check for emptiness using tags option.

Don't miss a new eslint-plugin-jsdoc release

NewReleases is sending notifications on new releases.