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

Refactor 3570 willopez fix eslint errors #3604

Merged
merged 20 commits into from
Feb 3, 2018

Conversation

willopez
Copy link
Member

Fixes linting errors caused by enabling several linting rules.

Testing

  • Run eslint and confirm there are no errors
  • Enable shipping
  • Enable a payment method
  • Place an order

@@ -22,7 +22,7 @@ Template.React.onRendered(function () {
const comp = data && data.component;
if (!comp) {
throw new Error(
"In template " + parentTemplate + ", call to `{{> React ... }}` missing " +
`In template ${parentTemplate}, call to \`{{> React ... }}\` missing ` +
"`component` argument.");
Copy link
Member

Choose a reason for hiding this comment

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

Is this line supposed to be part of the top template?

throw new Meteor.Error(`ACK ${
parsedResponse.ACK}: ${
parsedResponse.L_LONGMESSAGE0}:${
parsedResponse.L_ERRORCODE0}`);
Copy link
Member

Choose a reason for hiding this comment

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

These look kinda strange. Should the opening tag${ not be on the same line as the matching closing }? Or just be a single line like the other instances I see.

@spencern spencern changed the base branch from master to release-1.8.0 February 2, 2018 16:38
…0-willopez-fix-eslint-errors

# Conflicts:
#	server/api/core/ui.js
…0-willopez-fix-eslint-errors

# Conflicts:
#	.eslintrc
#	imports/plugins/core/accounts/client/components/groupsTableCell.js
#	imports/plugins/core/accounts/client/templates/members/member.js
#	imports/plugins/included/payments-braintree/client/checkout/braintree.js
#	imports/plugins/included/payments-paypal/server/methods/express.js
#	imports/plugins/included/product-variant/containers/gridItemControlsContainer.js
#	server/api/core/import.js
#	server/methods/catalog.js
#	server/methods/core/cart.js
@spencern spencern merged commit 71e4253 into release-1.8.0 Feb 3, 2018
@spencern spencern deleted the refactor-3570-willopez-fix-eslint-errors branch February 3, 2018 00:01
@spencern spencern mentioned this pull request Feb 5, 2018
@spencern spencern mentioned this pull request Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants