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

Chore: Upgrade to eslint-config-eslint@5.0.1 #110

Merged
merged 5 commits into from
Jun 5, 2019
Merged

Chore: Upgrade to eslint-config-eslint@5.0.1 #110

merged 5 commits into from
Jun 5, 2019

Conversation

btmills
Copy link
Member

@btmills btmills commented Nov 6, 2018

The prior config was still enforcing ES5 coding standards. The earliest supported version of Node.js is 6.14.0, so this lets us use all the nice ES6 features.

I split this into multiple commits to ease review:

  • b90a6d6 is just npm installing the right versions.
  • 02ce704 was done entirely with npm run lint -- --fix.
  • 24fb9b7 was a bulk find replace assert.equal to assert.strictEqual.
  • 6ca28b5 narrowed variable declaration scope where possible.
  • 2612d95 took advantage of the array spread operator.

The prior config was still enforcing ES5 coding standards. The earliest
supported version of Node.js is 6.14.0, so this lets us use all the nice
ES6 features.
@btmills btmills added the chore label Nov 6, 2018
@klappy
Copy link

klappy commented Jun 5, 2019

Is this PR required to enable ES6 linting?

@platinumazure
Copy link
Member

@klappy I don't think so. eslint-config-eslint is used for linting within this project, so this change benefits contributors to this project but not users of this plugin.

Copy link
Member

@platinumazure platinumazure left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@btmills btmills merged commit fdacf0c into master Jun 5, 2019
@btmills btmills deleted the es6 branch June 5, 2019 04:35
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.

None yet

3 participants