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

[dev]: Update eslint config version #1088

Merged
merged 6 commits into from
Apr 4, 2019
Merged

[dev]: Update eslint config version #1088

merged 6 commits into from
Apr 4, 2019

Conversation

sirugh
Copy link
Contributor

@sirugh sirugh commented Mar 29, 2019

This PR Updates our magento-eslint config dep to v1.4.0 which adds the prefer-const rule. This rule is fairly straightforward and you can see what it does in the code. That being said there were a few places it did not agree with (array destructuring) so I just ignored those lines.

@vercel
Copy link

vercel bot commented Mar 29, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

@sirugh sirugh requested review from jimbo and tjwiebell March 29, 2019 20:04
- intlPatches.js updated because it was re-assigning to a const variable
- TemplateResolver.js updated so to enforce the prefer-const rule instead of ignoring it
- purchaseHistoryContainer.js updated to restore original functionality instead of nested destructuring
@supernova-at
Copy link
Contributor

PR Updated:

  • Updates based on code review feedback
  • Updates to failing tests due to assignment to const variable 🎉

@supernova-at supernova-at removed their assignment Apr 3, 2019
@jimbo
Copy link
Contributor

jimbo commented Apr 4, 2019

@supernova-at Thanks for taking this over and making those changes. 👍

Copy link
Contributor

@zetlen zetlen left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 76.548% when pulling 28755d8 on updateeslintconfig into 97d9f2f on develop.

@jimbo jimbo merged commit 9afa103 into develop Apr 4, 2019
@jimbo jimbo deleted the updateeslintconfig branch April 4, 2019 20:34
@sirugh sirugh added the version: Patch This changeset includes backwards compatible bug fixes. label May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version: Patch This changeset includes backwards compatible bug fixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants