github gajus/eslint-plugin-jsdoc v7.0.0

latest releases: v50.3.0, v50.2.5, v50.2.4...
5 years ago

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.

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

NewReleases is sending notifications on new releases.