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
This can either be done by a line based or a token tree based check, AST based checks throw away comments (mainly because there is no node in AST for comments).
I guess for this particular check a line based version would suffice.
If you want to go a step further and check if the @params match the function parameters then you would have to go token tree or have a more complex set of parsing and regex rules for a line based check.
I dislike having auto-generated, empty doc comments like this:
The text was updated successfully, but these errors were encountered: