-
-
Notifications
You must be signed in to change notification settings - Fork 169
Closed
Description
Expected behavior
jsdoc/require-yields-type reports errors even if I have set my preferred tag name to yield via tagNamePreference
Actual behavior
The error is not detected
ESLint Config
{
"extends": [ "plugin:jsdoc/recommended" ],
"settings": {
"jsdoc": {
"tagNamePreference": {
"returns": "return",
"yields": "yield"
}
}
},
"rules": {
"jsdoc/require-yields-type": "error"
}
}ESLint sample
/**
* @yield
*/