Eslint-plugin-jsdoc: `require-description-complete-sentence` rule provides TypeError without empty JSDoc

Created on 24 Jun 2019  路  6Comments  路  Source: gajus/eslint-plugin-jsdoc

Hello, rule require-description-complete-sentence fails ESLint

image

released

Most helpful comment

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

The release is available on:

Your semantic-release bot :package::rocket:

All 6 comments

What is the actual comment that this rule is failing with?

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

The release is available on:

Your semantic-release bot :package::rocket:

What is the actual comment that this rule is failing with?

I write this code:

import React from 'react';

/**
 *
 */
const Product = () => (
  <div>
    Test
  </div>
);

export default Product;

Yes, this is now fixed in 8.5.1, thanks!

While the error has been fixed, note that this rule will only report an error when there is a (bad) description. If you want to report missing descriptions, you need require-description.

Yes, this issue was resolved and can be closed. Thank you for fastest release!

Was this page helpful?
0 / 5 - 0 ratings