Closed milofultz closed 6 months ago
I found this that seemed very related but not quite the same: https://github.com/gajus/eslint-plugin-jsdoc/issues/961
:tada: This issue has been resolved in version 48.0.4 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
dang you're quick! thanks @brettz9
Expected behavior
When given a code block that is not at the beginning or the end of the JSDoc block, the rule
require-description-complete-sentence
should run and provide feedback.Actual behavior
The rule is throwing a TypeError when given a code block that is not at the beginning or end of a JSDoc code block.
ESLint Config
ESLint sample
Interestingly, if you rearrange these three elements, it works.
Environment
eslint-plugin-jsdoc
version: ^48.0.3