jsdoc-to-markdown
jsdoc-to-markdown copied to clipboard
Add line numbers to JSDOC_ERRORs
Any time I get an error generating the markdown, it's usually something like this:
$ jsdoc2md file.js > file.md
JSDOC_ERROR: ERROR: Unable to parse file.js: Unexpected token {
Is there a way to produce a more verbose output? Line numbers would really help out a lot.
Unfortunately, that's as much information as we receive from the underlying jsdoc app. If jsdoc returned the full error stack jsdoc2md would print it.
Follow the upstream issue here.
The upstream issue has landed. They now return line numbers.
true, the fix has landed on master.. Once @hegemonic has finished the new release (3.5.0) i'll pull it into jsdoc2md.
Bump