You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should show error for class method, interface method, interface function-type property, and function.
NOTE:
I have checked that jsdoc/require-jsdoc works in all 4 cases. So, I expect jsdoc/require-returns to work where jsdoc/require-jsdoc works.
NOTE 2:
I see the lack of unification between rules.
I see that jsdoc/require-jsdoc has 4 options that determine where this rule is apply: checkConstructors, checkGetters, checkSetters, contexts.
I would expect all other rules to have these options.
However, some rules have none of the 4.
And some have only contexts option, but not the other 3.
Expected behavior
Should show error for class method, interface method, interface function-type property, and function.
NOTE:
I have checked that jsdoc/require-jsdoc works in all 4 cases. So, I expect jsdoc/require-returns to work where jsdoc/require-jsdoc works.
NOTE 2:
I see the lack of unification between rules.
I see that jsdoc/require-jsdoc has 4 options that determine where this rule is apply: checkConstructors, checkGetters, checkSetters, contexts.
I would expect all other rules to have these options.
However, some rules have none of the 4.
And some have only contexts option, but not the other 3.
Actual behavior
Shows error only for the function.
ESLint Config
ESLint sample
Environment
The text was updated successfully, but these errors were encountered: