valid-jsdoc
failed on property getter setter without a return
#2407
Labels
accepted
There is consensus among the team that this change meets the criteria for inclusion
archived due to age
This issue has been archived; please open a new issue for any further discussion
bug
ESLint is working incorrectly
rule
Relates to ESLint's core rules
I'm receiving an error for the below code
Getters and setters are not particularly well supported or documented by jsdoc but from reading around the most commonly recommended way to document them is with one doclet and a single @type tag.
This failing because of the lack of a @return tag.
The text was updated successfully, but these errors were encountered: