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

Use babel-eslint as parser ? #173

Closed
mr-wildcard opened this issue Dec 2, 2015 · 4 comments
Closed

Use babel-eslint as parser ? #173

mr-wildcard opened this issue Dec 2, 2015 · 4 comments

Comments

@mr-wildcard
Copy link

because this cool project generates ES2015 stuff, and soon ES2016 we hope.

And:

Given the recent developments in the world of parsers, I think that using babel-eslint is the best way to play with cutting edge features like this. https://github.com/babel/babel-eslint

That means you don't have to wait for us, and we don't need to worry about constantly updating experimental features.

from eslint/eslint#1657 (comment)

Default parser couldn't handle http://babeljs.io/docs/plugins/transform-object-rest-spread/ plugin I my case.

@mr-wildcard mr-wildcard changed the title Use babel-eslint as lint parser ? Use babel-eslint as parser ? Dec 2, 2015
@weblogixx
Copy link
Member

@mr-wildcard: Sounds like a good idea. I will play around with and check if it can be easily integrated (as stated on the project page, that should be the case).

@mr-wildcard
Copy link
Author

👍

Indeed, this can be easily integrated in two steps ;)

  • adding babel-eslint as devDependency
  • adding "parser": "babel-eslint", in .eslintrc file

weblogixx added a commit to react-webpack-generators/react-webpack-template that referenced this issue Dec 4, 2015
@weblogixx
Copy link
Member

@mr-wildcard: Just added it to the underlying template. It should be available after updating your installed generator.

@mr-wildcard
Copy link
Author

💯 thx @weblogixx

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

No branches or pull requests

2 participants