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
challenge(formatter): arrows comment #785
Conversation
Hi! Thanks for your contribution :) You have to lint and to format your code using |
@@ -157,6 +153,29 @@ fn handle_typecast_comment(comment: DecoratedComment<JsLanguage>) -> CommentPlac | |||
} | |||
} | |||
|
|||
|
|||
fn handle_after_arrow_fat_arrow_comment( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a documentation comment that explains what this function does? How it moves the comments and where
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review, I've put the comments in the code, do you think that's OK?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah it's great! thank you
Summary
Fixes
js/arrows/comment.js
Test Plan
Relevant prettier diff snapshots now match and have been deleted.