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
New: Add consistent and ..-as-needed to object-shorthand (fixes #5438) #5439
New: Add consistent and ..-as-needed to object-shorthand (fixes #5438) #5439
Conversation
By analyzing the blame information on this pull request, we identified @nzakas, @kaicataldo and @IanVS to be potential reviewers |
LGTM |
Marked as |
@martijndeh if you'd like to rebase, we can start moving this forward. |
@martijndeh If you're willing to rebase this, I'd love for us to get this merged. |
@IanVS Yes, will do. Thank you. |
@martijndeh Pinging one more time since it looks like you did some great work on this! Any chance you'd be willing to rebase? Like @IanVS, I'd love to see this land :) |
e341f1f
to
204478c
Compare
LGTM |
I just rebased. Let me know if this needs changing. This is the first time I touched the eslint codebase. :) |
}; | ||
``` | ||
|
||
The following will also *not* warn: |
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.
You can combine this with the preceding example. No need to have two code blocks.
Overall looks good, just a bit of refinement in the messaging. |
204478c
to
49aff51
Compare
LGTM |
49aff51
to
d28eaf8
Compare
LGTM |
Thanks for the comments. I've replaced the quotes and refined the error messages. |
@martijndeh it looks like there are several tests failing now. Can you take a look? |
@martijndeh following up, do you intend to finish this up? There are still several tests failing |
@nzakas Yes, I will pick this up later this week. |
d28eaf8
to
060bb53
Compare
LGTM |
@nzakas Everything should be resolved now. Let me know if there is something else I can do. |
060bb53
to
2835274
Compare
LGTM |
2835274
to
d259b94
Compare
LGTM |
@nzakas I resolved some new conflicts again. I see you're moving to ES6 and noticed the var-to-let refactor. I took the liberty to refactor the object-shorthand rule to use const where possible, even though |
Yup that's fine. Can I trouble you to rebase one more time? We've had a lot of changes lately. (Last time, I promise!) |
Sure no problem. I'll have time later this week. |
d259b94
to
775b45a
Compare
LGTM |
@nzakas I just did a rebase again. |
LGTM. Thanks! |
Please review my implementation for #5438.