Description
If you weren't aware, ESLint has end-of-lifed their jsdoc support: https://eslint.org/blog/2018/11/jsdoc-end-of-life (and are recommending eslint-plugin-jsdoc as a replacement).
Besides this it would be very nice to incorporate the functionality of See https://github.com/gajus/eslint-plugin-jsdoc/wiki/Comparison-with-deprecated-JSdoc-related-ESLint-rules for already existing equivalents or near-equivalents and below for the remaining.require-jsdoc
andvalid-jsdoc
which are not part of eslint-plugin-jsdoc and document how to transition...
For Mergedrequire-jsdoc
, see #162. (original source and tests)
For our need to deal with the deprecation of MergedsourceCode.getJSDocComment
, see #189.
We have no equivalents yet for the following behaviors:
- -
v4.8.1require-returns
- "@constructor
tag allows missing@returns
tag" - -
v4.8.1require-returns
- "class constructor allows missing@returns
tag" - -
v4.8.1require-returns
- "@override
tag allows missing ...@returns
tags"
We have no equally powerful/granular replacements for the following options:
- -
matchDescription
option:require-description-complete-sentence
andnewline-after-description
can handle subsets of this, butmatchDescription
is more flexible and powerful. - -
Reviewvalid-jsdoc
source for any discrepancies or missing subfeatures with existing equivalent behaviors (require-jsdoc
has already been reimplemented); this should also assist in closing Document how eslint-plugin-jsdoc is different from valid-jsdoc #1 ; current PRs should handle all behavior differences. - -
preferType
option:check-types
is only able to enforce one specific set of types, rather than arbitrary remapping of preferred types (I've suggested at How to disallow '*' type? #166 that we also allow the values to befalse
to indicate there is no preferred replacement--just a blanket prohibition of that type.) Update wiki mentions ofpreferType
when done