Skip to content
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

Prettier formatting #604

Merged
merged 12 commits into from
May 6, 2019
Merged

Prettier formatting #604

merged 12 commits into from
May 6, 2019

Conversation

irace-stripe
Copy link

@irace-stripe irace-stripe commented May 3, 2019

Added Prettier formatting.

@rattrayalex-stripe
Copy link
Contributor

cc @paulasjes-stripe @rob-stripe

null,
path,
{
metadata: null,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor, would you mind removing the newline before metadata here such that the output is {metadata: null}? this is the ~one place that prettier respects original formatting, annoyingly

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(same below)

@rattrayalex-stripe rattrayalex-stripe changed the base branch from master to v7.0.0 May 3, 2019 23:12
Copy link
Contributor

@paulasjes-stripe paulasjes-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome ✨

README.md Outdated
email: '[email protected]',
},
function(err, customer) {
err; // null if no error occurred
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can we do something with these values? It looks a little odd by themselves. Perhaps something like:

if (err) {
  // Deal with an error
}

// Do something with created customer object
console.log(customer.id) 

@stripe-ci stripe-ci removed the approved label May 6, 2019
@irace-stripe
Copy link
Author

@rattrayalex-stripe @paulasjes-stripe Feedback addressed. Since this was already approved and my changes were trivial, I’m going to merge this.

@irace-stripe
Copy link
Author

LGTM

@irace-stripe irace-stripe merged commit a974331 into v7.0.0 May 6, 2019
@rattrayalex-stripe rattrayalex-stripe mentioned this pull request May 6, 2019
13 tasks
@ob-stripe ob-stripe deleted the irace-prettier-formatting branch October 29, 2019 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants