-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Labels
Description
Expected behavior
Not sure is it bug but "empty-tags" error is shown.
Actual behavior
Strangely error disappears if I delete empty line after @private tag.
ESLint Config
{
"jsdoc/require-jsdoc": 0,
"jsdoc/check-param-names": 2,
"jsdoc/check-tag-names": 2,
"jsdoc/check-types": 2,
"jsdoc/newline-after-description": 2,
"jsdoc/require-description-complete-sentence": 2,
"jsdoc/require-hyphen-before-param-description": 2,
"jsdoc/require-param-description": 2,
"jsdoc/require-param-name": 2,
"jsdoc/require-param-type": 2,
"jsdoc/require-param": 2,
"jsdoc/valid-types": 2,
}
}ESLint sample
/**
* Create an array.
*
* @private
*
* @param {string[]} [elem] - Elements to make an array of.
* @param {boolean} [clone] - Optionally clone nodes.
* @returns {string[]} The array of nodes.
*/
// Format JS code hereEnvironment
- Node version: v12.19.0
- ESLint version 7.17.0
eslint-plugin-jsdocversion: 31.0.3