8000 Use `recoverable: true` option for doctrine · developit/documentation@1f403c5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f403c5

Browse files
committed
Use recoverable: true option for doctrine
1 parent 062b55e commit 1f403c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

streams/parse.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ module.exports = function () {
106106
// have doctrine itself remove the comment asterisks from content
107107
unwrap: true,
108108
// enable parsing of optional parameters in brackets, JSDoc3 style
109-
sloppy: true
109+
sloppy: true,
110+
// keep going whenever possible
111+
recoverable: true
110112
});
111113

112114
parsedComment.context = {

0 commit comments

Comments
 (0)
0