Eslint-plugin-jsdoc: require-description-complete-sentence: false positive with Markdown table

Created on 8 Nov 2019  路  3Comments  路  Source: gajus/eslint-plugin-jsdoc

If I have a comment which contains a Markdown table:

/**
 * This method is working on 2聽steps.
 *
 * | Step | Comment     |
 * |------|-------------|
 * |   1  | do it       |
 * |   2  | do it again |
 */

The rule require-description-complete-sentence requires/adds a period after the table.

bug released

All 3 comments

:tada: This issue has been resolved in version 17.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

What about tables like:

Still |   a
----- | -----
valid | table

Still | a
----- | -----
valid | table

@ExE-Boss : Yeah, there are so many possibilities here. Unless we are going to install a Markdown processor and/or grammar processor, I don't think we can adequately address all cases for this rule.

Was this page helpful?
0 / 5 - 0 ratings