-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: disable option requireReturnForObjectLiteral
in arrow-body-style
#214
chore: disable option requireReturnForObjectLiteral
in arrow-body-style
#214
Conversation
dafef4d
to
d73257e
Compare
@wakamsha Why would you like to disable it? In the previous PR, you said enabling it for considering readability and I have agreed with it.
I can't see the background of this PR from your description. |
@taigakiyokawa It's more readable to omit |
@wakamsha Ah, I see. I misunderstood you thought writing Also, it's not obvious to anyone which one is readable between writing |
@taigakiyokawa |
@wakamsha OK, I'd like to wait for @thinceller and @tongari07 's opinions. I will agree with you when they've agreed with you. |
@wakamsha @taigakiyokawa |
@tongari07 This change does not mean that leave it up to users to write or omit |
Oh sorry I misunderstood. Still, I agree with wakamsha san. |
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.
OK, I respect what is readable for you all.
Summary
This PR is a patch for fix #212.
Disable
requireReturnForObjectLiteral
inarrow-body-style
rule. This is because if this option is enabled,return
cannot be omitted.TO-BE
References