-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Labels
Description
I'm trying to disable the use of the @description tag for jsdoc descriptions. E.g.
/**
* Some description
*/
Instead of:
/**
* @description Some description
*/
My settings are:
settings: {
jsdoc: {
tagNamePreference: {
description: false
}
}
},
rules: {
'jsdoc/require-description': 2
}
When I run the linter, it gives me this error:
error Missing JSDoc @false declaration jsdoc/require-description
Based on the documentation, I would expect providing false to reject a normally valid tag.
Am I just not understanding how it's supposed to work? Am I missing a necessary rule?
Versions:
- eslint:
^6.6.0 - eslint-plugin-jsdoc:
^18.1.2