Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel#11

Closed
corbinu wants to merge 10 commits into
eslint:masterfrom
corbinu:node-4
Closed

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel#11
corbinu wants to merge 10 commits into
eslint:masterfrom
corbinu:node-4

Conversation

@corbinu

@corbinu corbinu commented Feb 10, 2017

Copy link
Copy Markdown
Contributor

Lets try this one more time

This removes Babel, converts to commonjs modules and removes other ES6 features not supported on Node 4. I think it was all destructuring.

Updated version of #8 which removes .defaults and rebased on master

@corbinu corbinu mentioned this pull request Feb 10, 2017

@not-an-aardvark not-an-aardvark left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, just waiting for someone else to review.

Comment thread src/referencer.js Outdated
this.visitChildren(node.body);
} else {
this.visit(node.body);
if (node.body) {

@JamesHenry JamesHenry Feb 10, 2017

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This code change should not be in this PR, it is being applied via #2

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry thought I had gotten that out with all my reattempts one sec

@JamesHenry

Copy link
Copy Markdown
Member

Please can you rebase this (and all your other PRs)? Merging in master is less safe than rebasing, and maintaining a messy commit history does not really make sense on small-scale PRs.

We are currently not enforcing it, but commits should be following our contributing guidelines, as with any other ESLint project.

@corbinu

corbinu commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

@JamesHenry sure one sec

…ve Babel

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check
…ve Babel

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check

Convert to ES6 that is supported on Node 4, commonjs modules and remove Babel

Remove babel task from gulpfile

Switch main to src/lib.js

Remove node body check
@corbinu corbinu closed this Feb 10, 2017
@corbinu corbinu deleted the node-4 branch February 10, 2017 18:21
@not-an-aardvark

not-an-aardvark commented Feb 10, 2017

Copy link
Copy Markdown
Member

@corbinu In the future, may you please update an existing PR rather than closing/recreating a new PR every time a change is requested? It makes things much easier to review when all the comments are in one place.

@corbinu

corbinu commented Feb 10, 2017

Copy link
Copy Markdown
Contributor Author

@not-an-aardvark Yes I am sorry I was having trouble getting the rebase to work after mistakenly merging

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants