-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
Expected behavior
/** Some Description
*
* @class
*
* @param {number} value - Some useful text
*/
function MyAmazingThing(value)
{
this.thing = value;
}should not produce a "This description only repeats the name it provides" warning on the @class line. The jsdoc documentation on @class doesn't require anything else on the line, and to be honest, the only description that is applicable to some classes is the short one.
Actual behavior
The @class line generates the above warning.
ESLint Config
---
plugins:
- jsdoc
rules:
"jsdoc/informative-docs": warn
ESLint sample
See above
Environment
-
Node version: v18.16.0
-
ESLint version v8.38.0
-
eslint-plugin-jsdocversion: 43.0.7