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

Using babel-eslint as parser for esnext #3

Closed
wants to merge 1 commit into from

Conversation

joakimbeng
Copy link
Contributor

As discussed in XO #8.

A PR for XO is on its way as well...

def.rules['object-shorthand'] = 0;
def.rules['generator-star-spacing'] = 0;
def.rules['arrow-parens'] = 0;
def.rules['object-curly-spacing'] = 0;
Copy link
Member

Choose a reason for hiding this comment

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

Why is all this needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mainly to support async/await, but see eslint-plugin-babel readme for more reasons.

@joakimbeng
Copy link
Contributor Author

@sindresorhus updated according to your comments, what do you think?

@sindresorhus
Copy link
Member

Looks good :)

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.

None yet

2 participants