Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RequireReturns Rule does not honor inheritdoc tag. #159

Merged
merged 1 commit into from
Feb 24, 2019
Merged

RequireReturns Rule does not honor inheritdoc tag. #159

merged 1 commit into from
Feb 24, 2019

Conversation

thsmi
Copy link
Contributor

@thsmi thsmi commented Feb 24, 2019

Currently the requireReturns Rule indicates false positives in case you use the inherit documentation.

In a perfect world the inherited documentation should be checked. But the requireReturns Rule has no information about the inheritance. So disabling the Rule in case a jsdoc comment with a inherit tag was found seems to be the only viable solution.

This pull request fixes #153.

@gajus gajus merged commit af5a9a9 into gajus:master Feb 24, 2019
@gajus
Copy link
Owner

gajus commented Feb 24, 2019

🎉 This PR is included in version 4.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@gajus gajus added the released label Feb 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rule 'require-returns' does not respect @inheritdoc
2 participants