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
Docs: Adding an example for the spread operator to prefer-spread.md (#7802) #7804
Conversation
@butlermd, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mysticatea, @aubergine10 and @gcochard to be potential reviewers. |
Michael D Butler seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
Thanks for the pull request, @butlermd! I took a look to make sure it's ready for merging and found some changes are needed:
Can you please update the pull request to address these? (More information can be found in our pull request guide.) |
Thanks! No need to squash the commits, we can take care of that when we merge. |
Sounds good. |
@@ -41,6 +41,11 @@ Examples of **correct** code for this rule: | |||
```js | |||
/*eslint prefer-spread: "error"*/ | |||
|
|||
// Using the spread operator | |||
|
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.
Minor nit: could you get rid of this empty line, as none of the other examples below have one?
Yes, that makes sense. While I'm looking at it, the incorrect examples have an empty line between them while the correct examples don't. Should I also remove those empty lines (33 and 35)? |
Thanks for the pull request, @butlermd! I took a look to make sure it's ready for merging and found some changes are needed:
Can you please update the pull request to address these? (More information can be found in our pull request guide.) |
@butlermd Could you please sign our Contributor License Agreement? We can't accept pull requests unless the committer(s) sign the CLA. Thanks! |
I did and when I try to sign it again it says I've already signed. Some issue with the integration? |
It looks like the git commit author/email of your most recent commit ("removed excess whitespace per vitorbal's comment") is different from the author/email of the other commits. The bot requires that all the commit authors must have signed the CLA. Assuming the last commit was also created by you, you could amend it to use the same author/email as before. |
Thanks @not-an-aardvark and @platinumazure. Got it figured out. Committed with a key that's associated with my work email. Added the email to my github profile. I think I'll need to make another commit to get the integration to recognize it. Should I make the change to the spacing of the incorrect examples to make it consistent with the correct examples? |
Thanks for the pull request, @butlermd! I took a look to make sure it's ready for merging and found some changes are needed:
Can you please update the pull request to address these? (More information can be found in our pull request guide.) |
@butlermd sure, makes sense to make sure they're all consistent!
…On Wed, Dec 21, 2016 at 7:10 PM ESLint Bot ***@***.***> wrote:
Thanks for the pull request, @butlermd <https://github.com/butlermd>! I
took a look to make sure it's ready for merging and found some changes are
needed:
- The commit summary needs to begin with a tag (such as Fix: or Update:).
Please check out our guide
<http://eslint.org/docs/developer-guide/contributing/pull-requests#step-2-make-your-changes>
for how to properly format your commit summary and update
<http://eslint.org/docs/developer-guide/contributing/pull-requests#updating-the-commit-message>
it on this pull request.
Can you please update the pull request to address these?
(More information can be found in our pull request guide
<http://eslint.org/docs/developer-guide/contributing/pull-requests>.)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7804 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAmNdpsxaygY3mYdDI5rw_hQ017lz72eks5rKWuEgaJpZM4LTB4V>
.
|
I amended the commit and force pushed. It appears to have fixed the license issue. |
Thanks for the pull request, @butlermd! I took a look to make sure it's ready for merging and found some changes are needed:
Can you please update the pull request to address these? (More information can be found in our pull request guide.) |
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.
LGTM. Thanks!
Thanks for the contribution, @butlermd! |
Glad to help! |
What is the purpose of this pull request? (put an "X" next to item)
[ X ] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofixing to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:
Adding an example of using the spread operator per #7802.
Do I need to squash the commits?