-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
The valid-jsdoc
rule and jsdoc comments for fields.
#2938
Comments
Could be related to either eslint/espree#155 or eslint/espree#136 |
I dont think its related since the AST getting generated is correct. I verified it on my machine. If we fix that line then the above scenario would work fine. |
UPDATE: Once issue gets accepted I will work on this. |
Thank you a lot!
In this case, I guess the comparison becomes |
I tried to write a jsdoc comment for a field, but the comment seems to be bonded to a function in its right hand expression.
On the following code, I expected the comment
"Description for this.xs"
is bonded tothis.xs
, but actually the comment seems to be bonded tox => x != null
.Actual
Expected
No errors.
The text was updated successfully, but these errors were encountered: